Ejemplo n.º 1
0
 public void Clear()
 {
     if (UnityEngine.Object.op_Inequality((UnityEngine.Object) this.m_Icon, (UnityEngine.Object)null))
     {
         this.m_Icon.Clear();
         this.m_Icon = (FriendPresentItemIcon)null;
     }
     this.m_Node = (ContentNode)null;
 }
Ejemplo n.º 2
0
 public void Bind(ContentNode node)
 {
     this.m_Node = node;
     this.m_Icon = (FriendPresentItemIcon)((Component)this.m_Node).GetComponent <FriendPresentItemIcon>();
     if (!UnityEngine.Object.op_Inequality((UnityEngine.Object) this.m_Icon, (UnityEngine.Object)null))
     {
         return;
     }
     this.m_Icon.Bind(this.present, false);
 }
Ejemplo n.º 3
0
 public void Bind(ContentNode node)
 {
     this.m_Node       = node;
     this.m_DataSource = DataSource.Create(((Component)node).get_gameObject());
     this.m_DataSource.Add(typeof(FriendData), (object)this.m_Friend);
     this.m_DataSource.Add(typeof(UnitData), (object)this.m_Friend.Unit);
     this.m_Icon = (FriendPresentItemIcon)((Component)this.m_Node).GetComponent <FriendPresentItemIcon>();
     if (!UnityEngine.Object.op_Inequality((UnityEngine.Object) this.m_Icon, (UnityEngine.Object)null))
     {
         return;
     }
     this.m_Icon.Bind(this.present, false);
 }
Ejemplo n.º 4
0
 public void Bind(ContentNode node)
 {
     this.m_Node = node;
     this.m_Icon = (FriendPresentItemIcon)((Component)this.m_Node).GetComponent <FriendPresentItemIcon>();
     if (UnityEngine.Object.op_Inequality((UnityEngine.Object) this.m_Icon, (UnityEngine.Object)null))
     {
         this.m_Icon.Bind(this.present, false);
     }
     this.m_Value = (SerializeValueBehaviour)((Component)this.m_Node).GetComponent <SerializeValueBehaviour>();
     if (!UnityEngine.Object.op_Inequality((UnityEngine.Object) this.m_Value, (UnityEngine.Object)null))
     {
         return;
     }
     this.m_Value.list.SetField("num", this.m_Param.num);
 }
Ejemplo n.º 5
0
 public void Bind(ContentNode node)
 {
     this.m_Node = node;
     this.m_Icon = (FriendPresentItemIcon)((Component)this.m_Node).GetComponent <FriendPresentItemIcon>();
     if (!UnityEngine.Object.op_Inequality((UnityEngine.Object) this.m_Icon, (UnityEngine.Object)null))
     {
         return;
     }
     if (this.present != null)
     {
         this.m_Icon.Bind(this.present, true);
     }
     else
     {
         this.m_Icon.Clear();
         this.m_Icon.Refresh();
     }
 }