Ejemplo n.º 1
0
        /// <summary>
        /// Reads ACGItem (Uint32 LID, Uint32 HID, Uint32 QL) from packet.
        /// </summary>
        /// <returns></returns>
        public ACGItem PopACGItem()
        {
            ACGItem acgItem = new ACGItem();

            acgItem.LID = (uint)PopInt();
            acgItem.HID = (uint)PopInt();
            acgItem.QL  = (uint)PopInt();
            return(acgItem);
        }
 public bool PushACGItem(ACGItem _acgitem)
 {
     return PushACGItem((int) _acgitem.LID, (int) _acgitem.HID, (int) _acgitem.QL);
 }
Ejemplo n.º 3
0
 public bool PushACGItem(ACGItem _acgitem)
 {
     return(PushACGItem((int)_acgitem.LID, (int)_acgitem.HID, (int)_acgitem.QL));
 }
 /// <summary>
 /// Reads ACGItem (Uint32 LID, Uint32 HID, Uint32 QL) from packet.
 /// </summary>
 /// <returns></returns>
 public ACGItem PopACGItem()
 {
     ACGItem acgItem = new ACGItem();
     acgItem.LID = (uint) PopInt();
     acgItem.HID = (uint) PopInt();
     acgItem.QL = (uint) PopInt();
     return acgItem;
 }