Exemplo n.º 1
0
 public void BasicHandler(getmember_basic data)
 {
     if (data == null) return;
     Level = data.api_level;
     MemberID = data.api_member_id;
     Nickname = data.api_nickname;
     Comment = data.api_comment;
     Exp = new Exp(data.api_experience, data.api_level);
     Rank = ConstData.AdmiralRanks[data.api_rank];
     Fleet = data.api_count_deck;
     MaxShip = data.api_max_chara;
     MaxEquip = data.api_max_slotitem;
     FurnitureCoin = data.api_fcoin;
 }
Exemplo n.º 2
0
 public void RecordHandler(getmember_record data)
 {
     if (data == null) return;
     Level = data.api_level;
     MemberID = data.api_member_id;
     Nickname = data.api_nickname;
     Comment = data.api_cmt;
     Exp = new Exp(data.api_experience, Level, false);
     Rank = ConstData.AdmiralRanks[data.api_rank];
     Fleet = data.api_deck;
     ShipCount = data.api_ship[0];
     MaxShip = data.api_ship[1];
     EquipCount = data.api_slotitem[0];
     MaxEquip = data.api_slotitem[1];
     Furniture = data.api_furniture;
 }