Files
sbox-public/engine/Sandbox.Engine/Scene/Events/IGameObjectNetworkEvents.cs
s&box team 71f266059a Open source release
This commit imports the C# engine code and game files, excluding C++ source code.

[Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
2025-11-24 09:05:18 +00:00

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() { }
}