public override void OnRelease() { if (this.stFrom != null) { this.stFrom.Release(); this.stFrom = null; } this.bChatType = 0; if (this.stChatInfo != null) { this.stChatInfo.Release(); this.stChatInfo = null; } }
public override void OnUse() { this.stFrom = (COMDT_INBAT_CHAT_PLAYER_INFO)ProtocolObjectPool.Get(COMDT_INBAT_CHAT_PLAYER_INFO.CLASS_ID); this.stChatInfo = (COMDT_INBATTLE_CHAT_UNION)ProtocolObjectPool.Get(COMDT_INBATTLE_CHAT_UNION.CLASS_ID); }
public COMDT_CHAT_MSG_INBATTLE() { this.stFrom = (COMDT_INBAT_CHAT_PLAYER_INFO)ProtocolObjectPool.Get(COMDT_INBAT_CHAT_PLAYER_INFO.CLASS_ID); this.stChatInfo = (COMDT_INBATTLE_CHAT_UNION)ProtocolObjectPool.Get(COMDT_INBATTLE_CHAT_UNION.CLASS_ID); }