OnEntityFlagsNetworkUpdate
Usage
- Return a non-null value to override default behavior
Example Autogenerated
csharp
private void OnEntityFlagsNetworkUpdate( BaseEntity instance )
{
Puts( "OnEntityFlagsNetworkUpdate works!" );
}
Location
- BaseEntity::SendNetworkUpdate_Flags()
csharp
//---
return;
}
using (TimeWarning.New("SendNetworkUpdate_Flags", 0))
{
base.LogEntry(RustLog.EntryType.Network, 3, "SendNetworkUpdate_Flags");
if (Interface.CallHook("OnEntityFlagsNetworkUpdate", this) != null)
{
return;
}
List<Connection> subscribers = base.GetSubscribers();
if (subscribers != null && subscribers.Count > 0)
//---