コード例 #1
0
 public void ItemSheetInitialize()
 {
     ItemSheet = new ItemSheet();
     ItemSheet.Set(ConsumableItemSheet, false);
     ItemSheet.Set(CostumeItemSheet, false);
     ItemSheet.Set(EquipmentItemSheet, false);
     ItemSheet.Set(MaterialItemSheet);
 }
コード例 #2
0
        public static ItemSheet GetItemSheet(this IAccountStateDelta states)
        {
            var sheet = new ItemSheet();

            sheet.Set(GetSheet <ConsumableItemSheet>(states), false);
            sheet.Set(GetSheet <CostumeItemSheet>(states), false);
            sheet.Set(GetSheet <EquipmentItemSheet>(states), false);
            sheet.Set(GetSheet <MaterialItemSheet>(states));
            return(sheet);
        }