public void Complete()
            {
                FriendPresentGaveWindow instance = FriendPresentGaveWindow.instance;

                if (instance != null && this.m_Param != null)
                {
                    instance.ClearFuids();
                    FriendPresentReceiveList.Param obj = MonoSingleton <GameManager> .Instance.Player.FriendPresentReceiveList.GetParam(this.m_Param.iname);

                    if (obj != null)
                    {
                        for (int index = 0; index < obj.uids.Count; ++index)
                        {
                            instance.AddUid(obj.uids[index]);
                        }
                        this.Success();
                    }
                    else
                    {
                        this.Failed();
                    }
                }
                else
                {
                    this.Failed();
                }
            }
 public void Deserialize(FriendPresentReceiveList.Json[] jsons)
 {
     if (jsons == null)
     {
         throw new InvalidJSONException();
     }
     for (int index = 0; index < jsons.Length; ++index)
     {
         // ISSUE: object of a compiler-generated type is created
         // ISSUE: variable of a compiler-generated type
         FriendPresentReceiveList.\u003CDeserialize\u003Ec__AnonStorey2ED deserializeCAnonStorey2Ed = new FriendPresentReceiveList.\u003CDeserialize\u003Ec__AnonStorey2ED();
         // ISSUE: reference to a compiler-generated field
         deserializeCAnonStorey2Ed.json = jsons[index];
         // ISSUE: reference to a compiler-generated field
         if (deserializeCAnonStorey2Ed.json != null)
         {
             // ISSUE: reference to a compiler-generated field
             FriendPresentReceiveList.Param obj = this.GetParam(deserializeCAnonStorey2Ed.json.pname);
             if (obj != null)
             {
                 ++obj.num;
                 // ISSUE: reference to a compiler-generated method
                 if (obj.uids.FindIndex(new Predicate <string>(deserializeCAnonStorey2Ed.\u003C\u003Em__2EE)) == -1)
                 {
                     // ISSUE: reference to a compiler-generated field
                     obj.uids.Add(deserializeCAnonStorey2Ed.json.fuid);
                 }
             }
             else
             {
                 // ISSUE: reference to a compiler-generated field
                 // ISSUE: reference to a compiler-generated field
                 // ISSUE: reference to a compiler-generated field
                 this.m_List.Add(new FriendPresentReceiveList.Param()
                 {
                     present = MonoSingleton <GameManager> .Instance.MasterParam.GetFriendPresentItemParam(deserializeCAnonStorey2Ed.json.pname),
                     iname   = deserializeCAnonStorey2Ed.json.pname,
                     num     = 1,
                     uids    = new List <string>((IEnumerable <string>) new string[1]
                     {
                         deserializeCAnonStorey2Ed.json.fuid
                     })
                 });
             }
         }
     }
 }
 public void Deserialize(FriendPresentReceiveList.Json[] jsons)
 {
     if (jsons == null)
     {
         throw new InvalidJSONException();
     }
     for (int index = 0; index < jsons.Length; ++index)
     {
         FriendPresentReceiveList.Json json = jsons[index];
         if (json != null)
         {
             FriendPresentReceiveList.Param obj = this.GetParam(json.pname);
             if (obj != null)
             {
                 ++obj.num;
                 if (obj.uids.FindIndex((Predicate <string>)(prop => prop == json.fuid)) == -1)
                 {
                     obj.uids.Add(json.fuid);
                 }
             }
             else
             {
                 this.m_List.Add(new FriendPresentReceiveList.Param()
                 {
                     present = MonoSingleton <GameManager> .Instance.MasterParam.GetFriendPresentItemParam(json.pname),
                     iname   = json.pname,
                     num     = 1,
                     uids    = new List <string>((IEnumerable <string>) new string[1]
                     {
                         json.fuid
                     })
                 });
             }
         }
     }
 }
 public ItemParam(FriendPresentReceiveList.Param param)
 {
     this.m_Accessor.Setup(param);
 }
 public void Setup(FriendPresentReceiveList.Param param)
 {
     this.m_Param = param;
 }