コード例 #1
0
 public GuiRecordTrading(InventoryPlayer player, IMerchant merchant, World world) {
   super(new ContainerRecordTrading(player, merchant, world));
   this.theIMerchant = merchant;
   this.storeId = CustomRecordHelper.getStoreID(((Entity) merchant).entityId);
   this.recordList = CustomRecordHelper.getStoreCatalog(this.storeId);
 }
コード例 #2
0
 public InventoryRecordTrading(EntityPlayer par1EntityPlayer, IMerchant merchant) {
   this.theMerchant = merchant;
   this.storeId = CustomRecordHelper.getStoreID(((Entity) merchant).entityId);
 }