Example #1
0
        public HandlerAction OnAddWeaponOrPetEmail(Message message)
        {
            AddWeaponOrPetEmailRes response = (AddWeaponOrPetEmailRes)message.Protocol;
            Guid guid = new Guid();

            if (response.guid == null || response.guid.Length == 0)
            {
                guid = new Guid(BigEndianTransfer.GUIDToBytes(response.guid));
            }
            clientHelper.OnAddWeaponOrPetEmail(response.result, guid, response.callback);

            return(HandlerAction.TERMINAL);
        }