void RegisterCustomOperationCheck( CustomOperationCheck pfCustomOperationCheck );
Name | Description | |
---|---|---|
pfCustomOperationCheck | [in] Registers a callback function for determining whether to allow or deny an operation. Returns true if the given operation is accepted; otherwise, false must be returned. |
Registers a callback function for determining whether to allow or deny a system operation (Operation).
The callback function specified by this function determines whether the operation represented by the system operation (Operation
) is illegal. Use of the registered callback function allows you to work around bugs in the application code and reduce cheating behavior by players.
Even if this function is registered, by default it does not determine whether to accept or reject system operations from the local station (from self). The TrustLocalStation
function must be called in order to call pfCustomOperationCheck
CONFIDENTIAL