コード例 #1
0
 public override void OnRelease()
 {
     if (this.stBaseInfo != null)
     {
         this.stBaseInfo.Release();
         this.stBaseInfo = null;
     }
     if (this.stPvpInfo != null)
     {
         this.stPvpInfo.Release();
         this.stPvpInfo = null;
     }
 }
コード例 #2
0
 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);
 }
コード例 #3
0
 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);
 }