Skip to content

OnLootNetworkUpdate

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private object OnLootNetworkUpdate( PlayerLoot instance )
{
    Puts( "OnLootNetworkUpdate works!" );
    return null;
}

Location

  • PlayerLoot::SendUpdate()
csharp
private void SendUpdate()
{
	isInvokingSendUpdate = false;
	if (!base.baseEntity.IsValid() || Interface.CallHook("OnLootNetworkUpdate", this) != null)
	{
		return;
	}
	using PlayerUpdateLoot playerUpdateLoot = Pool.Get<PlayerUpdateLoot>();
	if ((bool)entitySource && entitySource.net != null)
//---

Released under the MIT License.