protected override void Reset() { m_eErrorCode = eErrorCode.Error; if (null != m_gameconst) { using (m_gameconst) { } m_gameconst = null; } }
public override void Deserialize(Packet p) { base.Deserialize(p); m_eErrorCode = (eErrorCode)p.ReadInt(); if (m_eErrorCode != eErrorCode.Success) { return; } m_gameconst = new fmGameConst(); m_gameconst.Read(ref p); }