OnLootItem
Usage
- No return behavior
Example Autogenerated
csharp
private void OnLootItem( PlayerLoot instance, Item item )
{
Puts( "OnLootItem works!" );
}
Location
- PlayerLoot::StartLootingItem(Item item)
csharp
//---
this.PositionChecks = true;
this.containers.Add(item.contents);
item.contents.onDirty += new Action(this.MarkDirty);
this.itemSource = item;
this.entitySource = item.GetWorldEntity();
Interface.CallHook("OnLootItem", this, item);
this.MarkDirty();
}