30 lines
791 B
C#
30 lines
791 B
C#
![]() |
// ***********************************************************************
|
|||
|
// Assembly : Unity
|
|||
|
// Author : Kimch
|
|||
|
// Created : 2018-2-8
|
|||
|
// Description : 帮会商店物品
|
|||
|
// Last Modified By : Kimch
|
|||
|
// Last Modified On :
|
|||
|
// ***********************************************************************
|
|||
|
// <copyright file= "GuildShopItem" company=""></copyright>
|
|||
|
// <summary></summary>
|
|||
|
// ***********************************************************************
|
|||
|
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;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|