Ejemplo n.º 1
0
 public override void OnRelease()
 {
     this.iErrCode    = 0;
     this.dwRewardNum = 0u;
     this.bGameType   = 0;
     if (this.stGameParam != null)
     {
         this.stGameParam.Release();
         this.stGameParam = null;
     }
     this.iLevelId = 0;
     if (this.stDetail != null)
     {
         this.stDetail.Release();
         this.stDetail = null;
     }
 }
Ejemplo n.º 2
0
 public SCPKG_STARTSINGLEGAMERSP()
 {
     this.stGameParam = (CSDT_SINGLEGAMETYPE_RSP)ProtocolObjectPool.Get(CSDT_SINGLEGAMETYPE_RSP.CLASS_ID);
     this.stDetail    = (CSDT_SINGLEGAME_DETAIL)ProtocolObjectPool.Get(CSDT_SINGLEGAME_DETAIL.CLASS_ID);
 }
Ejemplo n.º 3
0
 public override void OnUse()
 {
     this.stGameParam = (CSDT_SINGLEGAMETYPE_RSP)ProtocolObjectPool.Get(CSDT_SINGLEGAMETYPE_RSP.CLASS_ID);
     this.stDetail    = (CSDT_SINGLEGAME_DETAIL)ProtocolObjectPool.Get(CSDT_SINGLEGAME_DETAIL.CLASS_ID);
 }