public ClientBaitPetInfoEventArgs(BaitPetInfo i) { info = i; }
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; }