public override void OnRelease() { this.iIndex = 0; if (this.stChatMsg != null) { this.stChatMsg.Release(); this.stChatMsg = null; } }
public CSDT_OFFLINE_CHAT_INFO() { this.stChatMsg = (COMDT_OFFLINE_CHAT_MSG)ProtocolObjectPool.Get(COMDT_OFFLINE_CHAT_MSG.CLASS_ID); }
public override void OnUse() { this.stChatMsg = (COMDT_OFFLINE_CHAT_MSG)ProtocolObjectPool.Get(COMDT_OFFLINE_CHAT_MSG.CLASS_ID); }