IGameObjectNetworkEventsclass

Allows listening to network events on a specific GameObject

object→IGameObjectNetworkEvents
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public abstract interface Sandbox.IGameObjectNetworkEvents

Methods3

Showing 3 methods

public virtual void NetworkOwnerChanged(Sandbox.Connection newOwner, Sandbox.Connection previousOwner)PUBLICVIRTUAL

Called when the owner of a network GameObject is changed

ParameterTypeDescription
newOwnerConnection—
previousOwnerConnection—
Returns:void—

public virtual void StartControl()PUBLICVIRTUAL

We have become the controller of this object, we are no longer a proxy

Returns:void—

public virtual void StopControl()PUBLICVIRTUAL

This object has become a proxy, controlled by someone else

Returns:void—

On this page