コード例 #1
0
 public override void OnRelease()
 {
     this.bFromType = 0;
     if (this.stFromInfo != null)
     {
         this.stFromInfo.Release();
         this.stFromInfo = null;
     }
 }
コード例 #2
0
 public override void OnRelease()
 {
     this.wItemType = 0;
     this.dwItemID  = 0u;
     this.wItemCnt  = 0;
     this.bFromType = 0;
     if (this.stFromInfo != null)
     {
         this.stFromInfo.Release();
         this.stFromInfo = null;
     }
 }
コード例 #3
0
 public override void OnUse()
 {
     this.stFromInfo = (COMDT_REWARDS_FROM)ProtocolObjectPool.Get(COMDT_REWARDS_FROM.CLASS_ID);
 }
コード例 #4
0
 public COMDT_REWARD_ITEMOBJ()
 {
     this.stFromInfo = (COMDT_REWARDS_FROM)ProtocolObjectPool.Get(COMDT_REWARDS_FROM.CLASS_ID);
 }
コード例 #5
0
 public CSDT_MAILACCESS_FROM()
 {
     this.stFromInfo = (COMDT_REWARDS_FROM)ProtocolObjectPool.Get(COMDT_REWARDS_FROM.CLASS_ID);
 }
コード例 #6
0
 public COMDT_REWARD_INFO()
 {
     this.stRewardInfo = (COMDT_REWARDS_UNION)ProtocolObjectPool.Get(COMDT_REWARDS_UNION.CLASS_ID);
     this.stFromInfo   = (COMDT_REWARDS_FROM)ProtocolObjectPool.Get(COMDT_REWARDS_FROM.CLASS_ID);
 }