public override void OnRelease() { if (this.stNpcInfo != null) { this.stNpcInfo.Release(); this.stNpcInfo = null; } }
public CSPKG_ADD_NPC_REQ() { this.stNpcInfo = (COMDT_ADDNPC_REQ)ProtocolObjectPool.Get(COMDT_ADDNPC_REQ.CLASS_ID); }
public override void OnUse() { this.stNpcInfo = (COMDT_ADDNPC_REQ)ProtocolObjectPool.Get(COMDT_ADDNPC_REQ.CLASS_ID); }