Example #1
0
 public override void OnRelease()
 {
     this.bIsUsed     = 0;
     this.wItemType   = 0;
     this.dwItemID    = 0;
     this.dwItemObjID = 0;
     this.ullUniqueID = 0L;
     this.iOverCnt    = 0;
     if (this.stItemInfo != null)
     {
         this.stItemInfo.Release();
         this.stItemInfo = null;
     }
 }
Example #2
0
 public override void OnUse()
 {
     this.stItemInfo = (COMDT_ITEM_UNION)ProtocolObjectPool.Get(COMDT_ITEM_UNION.CLASS_ID);
 }
 public COMDT_ITEM_INFO()
 {
     this.stItemInfo = (COMDT_ITEM_UNION)ProtocolObjectPool.Get(COMDT_ITEM_UNION.CLASS_ID);
 }