Skip to content

OnPlayerLootEnd

Usage

  • No return behavior

Example Autogenerated

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

Location

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

Released under the MIT License.