mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-01-02 03:18:23 -05:00
This commit imports the C# engine code and game files, excluding C++ source code. [Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
23 lines
627 B
C#
23 lines
627 B
C#
namespace Sandbox;
|
|
|
|
/// <summary>
|
|
/// Allows listening to network events on a specific GameObject
|
|
/// </summary>
|
|
public interface IGameObjectNetworkEvents : ISceneEvent<IGameObjectNetworkEvents>
|
|
{
|
|
/// <summary>
|
|
/// Called when the owner of a network GameObject is changed
|
|
/// </summary>
|
|
void NetworkOwnerChanged( Connection newOwner, Connection previousOwner ) { }
|
|
|
|
/// <summary>
|
|
/// We have become the controller of this object, we are no longer a proxy
|
|
/// </summary>
|
|
void StartControl() { }
|
|
|
|
/// <summary>
|
|
/// This object has become a proxy, controlled by someone else
|
|
/// </summary>
|
|
void StopControl() { }
|
|
}
|