API ReferenceSandbox
IGameObjectNetworkEventsclass
Allows listening to network events on a specific GameObject
object→IGameObjectNetworkEvents
Methods3
Showing 3 methods
public virtual void NetworkOwnerChanged(Sandbox.Connection newOwner, Sandbox.Connection previousOwner)
Called when the owner of a network GameObject is changed
| Parameter | Type | Description |
|---|---|---|
| newOwner | Connection | — |
| previousOwner | Connection | — |
Returns:
void—public virtual void StartControl()
We have become the controller of this object, we are no longer a proxy
Returns:
void—public virtual void StopControl()
This object has become a proxy, controlled by someone else
Returns:
void—No results match this filter.