Ejemplo n.º 1
0
        public int CreateCharacter(int gameUserID, int fileNumber, string name, string race, string playerClass,
                                   string image)
        {
            int result = 0;

            try
            {
                result = UserAccessor.CreateCharacter(gameUserID, fileNumber, name, race, playerClass, image);
            }
            catch (Exception ex)
            {
                throw new ApplicationException("There was a problem connecting to the server.", ex);
            }

            return(result);
        }