Пример #1
0
		public ExpeditionItem(ExpeditionItemId id, int amount)
		{
			this.Id = id;
			this.Amount = amount;
		}
Пример #2
0
 /// <summary>
 /// 遠征獲得アイテムの名前を取得します。
 /// </summary>
 public static string GetExpeditionItemName( ExpeditionItemId id )
 {
     switch ( id ) {
         case ExpeditionItemId.InstantConstruction:
             return "高速建造材";
         case ExpeditionItemId.InstantRepair:
             return "高速修復材";
         case ExpeditionItemId.DevelopmentMaterial:
             return "開発資材";
         case ExpeditionItemId.ModdingMaterial:
             return "改修資材";
         case ExpeditionItemId.FurnitureBoxSmall:
             return "家具箱(小)";
         case ExpeditionItemId.FurnitureBoxMedium:
             return "家具箱(中)";
         case ExpeditionItemId.FurnitureBoxLarge:
             return "家具箱(大)";
         default:
             return "";
     }
 }