public override void OnRelease() { if (this.stBaseInfo != null) { this.stBaseInfo.Release(); this.stBaseInfo = null; } if (this.stPvpInfo != null) { this.stPvpInfo.Release(); this.stPvpInfo = null; } }
public COMDT_ASSIST_ROLE_EXTINFO() { this.stBaseInfo = (COMDT_ASSIST_ROLE_EXTBASE)ProtocolObjectPool.Get(COMDT_ASSIST_ROLE_EXTBASE.CLASS_ID); this.stPvpInfo = (COMDT_ASSIST_ROLE_EXTPVP)ProtocolObjectPool.Get(COMDT_ASSIST_ROLE_EXTPVP.CLASS_ID); }
public override void OnUse() { this.stBaseInfo = (COMDT_ASSIST_ROLE_EXTBASE)ProtocolObjectPool.Get(COMDT_ASSIST_ROLE_EXTBASE.CLASS_ID); this.stPvpInfo = (COMDT_ASSIST_ROLE_EXTPVP)ProtocolObjectPool.Get(COMDT_ASSIST_ROLE_EXTPVP.CLASS_ID); }