示例#1
0
 public override void OnRelease()
 {
     if (this.stDesk != null)
     {
         this.stDesk.Release();
         this.stDesk = null;
     }
 }
示例#2
0
 public COMDT_GREATMATCH()
 {
     this.stDesk   = (COMDT_OB_DESK)ProtocolObjectPool.Get(COMDT_OB_DESK.CLASS_ID);
     this.astLabel = new COMDT_HEROLABEL[2];
     for (int i = 0; i < 2; i++)
     {
         this.astLabel[i] = (COMDT_HEROLABEL)ProtocolObjectPool.Get(COMDT_HEROLABEL.CLASS_ID);
     }
 }
示例#3
0
 public override void OnUse()
 {
     this.stDesk = (COMDT_OB_DESK)ProtocolObjectPool.Get(COMDT_OB_DESK.CLASS_ID);
     if (this.astLabel != null)
     {
         for (int i = 0; i < this.astLabel.Length; i++)
         {
             this.astLabel[i] = (COMDT_HEROLABEL)ProtocolObjectPool.Get(COMDT_HEROLABEL.CLASS_ID);
         }
     }
 }
 public override void OnRelease()
 {
     if (this.stDesk != null)
     {
         this.stDesk.Release();
         this.stDesk = null;
     }
     this.dwHeroID       = 0u;
     this.dwStartTime    = 0u;
     this.bShowRankGrade = 0;
     this.dwClass        = 0u;
     this.dwObserveNum   = 0u;
     this.ullCltVersion  = 0uL;
 }
示例#5
0
 public override void OnRelease()
 {
     this.bCamp = 0;
     if (this.stRelayTGW != null)
     {
         this.stRelayTGW.Release();
         this.stRelayTGW = null;
     }
     if (this.stDeskInfo != null)
     {
         this.stDeskInfo.Release();
         this.stDeskInfo = null;
     }
 }
示例#6
0
 public override void OnRelease()
 {
     if (this.stDesk != null)
     {
         this.stDesk.Release();
         this.stDesk = null;
     }
     this.dwStartTime  = 0;
     this.dwObserveNum = 0;
     this.ullFeature   = 0L;
     this.dwLabelNum   = 0;
     if (this.astLabel != null)
     {
         for (int i = 0; i < this.astLabel.Length; i++)
         {
             if (this.astLabel[i] != null)
             {
                 this.astLabel[i].Release();
                 this.astLabel[i] = null;
             }
         }
     }
 }
示例#7
0
 public CSPKG_OBSERVE_GREAT_REQ()
 {
     this.stDesk = (COMDT_OB_DESK)ProtocolObjectPool.Get(COMDT_OB_DESK.CLASS_ID);
 }
示例#8
0
 public override void OnUse()
 {
     this.stDesk = (COMDT_OB_DESK)ProtocolObjectPool.Get(COMDT_OB_DESK.CLASS_ID);
 }
 public COMDT_GAMEINFO_DETAIL()
 {
     this.stDesk = (COMDT_OB_DESK)ProtocolObjectPool.Get(COMDT_OB_DESK.CLASS_ID);
 }
示例#10
0
 public SCPKG_MULTGAMEREADYNTF()
 {
     this.stRelayTGW = (COMDT_TGWINFO)ProtocolObjectPool.Get(COMDT_TGWINFO.CLASS_ID);
     this.stDeskInfo = (COMDT_OB_DESK)ProtocolObjectPool.Get(COMDT_OB_DESK.CLASS_ID);
 }
示例#11
0
 public override void OnUse()
 {
     this.stRelayTGW = (COMDT_TGWINFO)ProtocolObjectPool.Get(COMDT_TGWINFO.CLASS_ID);
     this.stDeskInfo = (COMDT_OB_DESK)ProtocolObjectPool.Get(COMDT_OB_DESK.CLASS_ID);
 }