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; }
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); }
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); }
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); }
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(); } }