public override void OnRelease() { if (this.stChatMsg != null) { this.stChatMsg.Release(); this.stChatMsg = null; } }
public CSPKG_CMD_CHAT_REQ() { this.stChatMsg = (COMDT_CHAT_MSG)ProtocolObjectPool.Get(COMDT_CHAT_MSG.CLASS_ID); }
public override void OnUse() { this.stChatMsg = (COMDT_CHAT_MSG)ProtocolObjectPool.Get(COMDT_CHAT_MSG.CLASS_ID); }