예제 #1
0
    public PartyData(int partyNumber, List <object> memberDatas)
    {
        this.partyNumber = partyNumber;
        partyMemberData  = new List <PartyMemberData>();

        if (memberDatas != null)
        {
            foreach (var memberData in memberDatas)
            {
                partyMemberData.Add(JsonHelpers.DictionaryToObject <PartyMemberData>(memberData as Dictionary <string, object>));
            }
        }
    }