Пример #1
0
 public ClientBaitPetInfoEventArgs(BaitPetInfo i)
 {
     info = i;
 }
Пример #2
0
        public static BaitPetInfo RecvBaitPet(Packet p)
        {
            p.Skip(2);
            byte bag = p.ReadByte();
            byte slot = p.ReadByte();
            int itemid = p.ReadInt();
            byte monstertype = p.ReadByte();
            int monsterid = p.ReadInt();

            BaitPetInfo i = new BaitPetInfo
            {
                Bag = bag,
                Slot = slot,
                ItemID = itemid,
                MonsterType = monstertype,
                MonsterID = monsterid
            };

            return i;
        }