public override void OnRelease()
 {
     this.iInviteType = 0;
     if (this.stInviterInfo != null)
     {
         this.stInviterInfo.Release();
         this.stInviterInfo = null;
     }
     this.dwInviteTime = 0;
     if (this.stInviteDetail != null)
     {
         this.stInviteDetail.Release();
         this.stInviteDetail = null;
     }
 }
 public override void OnUse()
 {
     this.stInviterInfo  = (COMDT_INVITER_INFO)ProtocolObjectPool.Get(COMDT_INVITER_INFO.CLASS_ID);
     this.stInviteDetail = (COMDT_INVITE_DETAIL)ProtocolObjectPool.Get(COMDT_INVITE_DETAIL.CLASS_ID);
 }
Example #3
0
 public COMDT_INVITE_JOIN_INFO()
 {
     this.stInviterInfo  = (COMDT_INVITER_INFO)ProtocolObjectPool.Get(COMDT_INVITER_INFO.CLASS_ID);
     this.stInviteDetail = (COMDT_INVITE_DETAIL)ProtocolObjectPool.Get(COMDT_INVITE_DETAIL.CLASS_ID);
 }