using System; using System.Collections.Generic; namespace XMainClient { internal class XAttrData : XDataBase { public string Title { get; set; } public string StrEmpty { get; set; } public List Left { get { return this.m_Left; } } public List Right { get { return this.m_Right; } } public AttriDataType Type { get; set; } private List m_Left = new List(); private List m_Right = new List(); public void Reset() { this.m_Left.Clear(); this.m_Right.Clear(); this.Title = string.Empty; this.StrEmpty = string.Empty; } public override void Init() { base.Init(); this.Reset(); } public override void Recycle() { XDataPool.Recycle(this); this.Reset(); } } }