// *********************************************************************** // Assembly : Unity // Author : Kimch // Created : 2018-2-8 // Description : 帮会商店物品 // Last Modified By : Kimch // Last Modified On : // *********************************************************************** // // // *********************************************************************** namespace G { public struct GuildShopItem { public int goodId; public int leftCount; public GuildShopItem(int goodId, int leftCount) { this.goodId = goodId; this.leftCount = leftCount; } public bool IsValid() { return goodId != GlobalDefine.INVALID_ID && leftCount > 0; } } }