Skip to content

OnPlayerLootEnd

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnPlayerLootEnd( PlayerLoot instance )
{
    Puts( "OnPlayerLootEnd works!" );
}

Location

  • PlayerLoot::Clear()
csharp
//---
{
	if (!IsLooting())
	{
		return;
	}
	Interface.CallHook("OnPlayerLootEnd", this);
	base.baseEntity.HasClosedLoot();
	MarkDirty();
	if ((bool)entitySource)
	{
		entitySource.SendMessage("PlayerStoppedLooting", base.baseEntity, SendMessageOptions.DontRequireReceiver);
//---

Released under the MIT License.