Example #1
0
 public ClientRenamePetInfoEventArgs(RenamePetInfo i)
 {
     info = i;
 }
Example #2
0
        public static RenamePetInfo RecvRenamePet(Packet p)
        {
            p.Skip(2);
            int mapid = p.ReadInt();
            int petid = p.ReadInt();
            string newname = p.ReadString();

            RenamePetInfo i = new RenamePetInfo
            {
                MapID = mapid,
                PetID = petid,
                NewName = newname
            };

            return i;
        }