OnObjectDestroyed
Name
OnObjectDestroyed
- Raises when an object gets destroyed.
Synopsis
Namespace: LoadBalancer.Client.Game
protected CallResult OnObjectDestroyed(ClientCallContext call, DestroyObjectParameters parameters)
Parameters
DestroyObjectParameters
consists of the following parameters:
RoomId
string
- The unique identifier of the room.ObjectId
string
- The unique identifier of the object to destroy.
Return Value
The CallResult
which can be one of the following values:
NotHandled
= 0,
Completed
= 1,
Failed
= 2,
Reenqueued
= 3,