PrivateCall (deprecated since 4.9.10.14 [355] LC)

Category: Script/Function call
Since engine version: 4.6.5.0 CP

Description

Calls the specified private, protected, or public function in the target object. You should reconsider whether this workaround is really necessary.

Syntax

any PrivateCall (object pObj, string szFunction, any ...);

Parameters

pObj:
Object in which to call the function.
szFunction:
Function to be called.
...:
Parameters of the function.

Changelog

Date Author Version Description
14th September 2022 DerTod 4.9.10.14 [355] LC Deprecated: Instead of this function, the new syntax for calling functions should be used. See Calling script functions.
See also: Call, GameCall, ObjectCall, ProtectedCall, eval
jwk, June 2002