Esempio n. 1
0
 public PartySlotData(PartySlotType type, string unitName, PartySlotIndex index, bool isSettable = false)
 {
     this.Type       = type;
     this.Index      = index;
     this.UnitName   = unitName;
     this.IsSettable = isSettable;
 }
Esempio n. 2
0
 public bool Deserialize(JSON_QuestPartyParam json)
 {
     this.iname        = json.iname;
     this.type_1       = (PartySlotType)json.type_1;
     this.type_2       = (PartySlotType)json.type_2;
     this.type_3       = (PartySlotType)json.type_3;
     this.type_4       = (PartySlotType)json.type_4;
     this.support_type = (PartySlotType)json.support_type;
     this.subtype_1    = (PartySlotType)json.subtype_1;
     this.subtype_2    = (PartySlotType)json.subtype_2;
     this.unit_1       = json.unit_1;
     this.unit_2       = json.unit_2;
     this.unit_3       = json.unit_3;
     this.unit_4       = json.unit_4;
     this.subunit_1    = json.subunit_1;
     this.subunit_2    = json.subunit_2;
     this.l_npc_rare   = json.l_npc_rare;
     return(true);
 }