internal void iOnTakeItemFromContainer(MobContainer container, Player pl, Item item, int amount) { if (OnTakeItemFromContainer != null) { OnTakeItemFromContainer(container, pl, item, amount); } }
internal void iOnPutItemToContainer(MobContainer container, Player pl, Item item, int amount) { if (OnPutItemToContainer != null) { OnPutItemToContainer(container, pl, item, amount); } }
internal static void isOnTakeItemMessage(MobContainer container, Player pl, Item item, int amount) { container.iOnTakeItemFromContainer(container, pl, item, amount); if (sOnTakeItemFromContainer != null) { sOnTakeItemFromContainer(container, pl, item, amount); } }
internal static void isOnPutItemToContainer(MobContainer container, Player pl, Item item, int amount) { container.iOnPutItemToContainer(container, pl, item, amount); if (sOnPutItemToContainer != null) { sOnPutItemToContainer(container, pl, item, amount); } }
public void toContainer(Mob.MobContainer container) { container.Proto.addItem(this.ProtoItem); _toContainer(container); }