blob: e227934747114f3a07d3a132d8fae74df4808184 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001SYNOPSIS
2 int call_direct_resolved(mixed result, object ob, string func, ...)
3
4DESCRIPTION
5 Similar to call_direct(). If ob->func() is defined and publicly
6 accessible, any of the optional extra arguments are passed to
7 ob->func(...). The result of that function call is stored in
8 result, which must be passed by reference.
9
10 This efun is a twin to call_resolved(), with the difference
11 being that call_direct_resolved() never calls a default method.
12
13 The efun returns 1 if the function could be called.
14 If ob::fun does not define a publicly accessible function, the
15 efun will return 0.
16
17 ob can also be an object_name. If a string is passed for ob, and
18 no object with that name does exist, an error occurs.
19
20HISTORY
21 Introduced in LDMud 3.3.113 with the H_DEFAULT_METHOD hook.
22
23SEE ALSO
24 call_direct(E), call_resolved(E), function_exists(E),
25 find_object(E)