コード例 #1
0
ファイル: Inventory.cs プロジェクト: Jorch72/CS-MiNET
 protected virtual void OnInventoryChange(Player player, byte slot, Item itemStack)
 {
     InventoryChange?.Invoke(player, this, slot, itemStack);
 }
コード例 #2
0
 protected virtual void OnInventoryChange()
 {
     InventoryChange?.Invoke(this, EventArgs.Empty);
 }