public object ReadySetupCallback()
        {
            var response = new ReadyCallbackResponse();

            if (Server.Id == Guid.Empty)
            {
                response.FailedReason = "invalid id";

                return(response);
            }

            response.Success = true;

            return(response);
        }
示例#2
0
        public object ReadySetupCallback()
        {
            var response = new ReadyCallbackResponse();

            if (UchuServer.Id == Guid.Empty)
            {
                response.FailedReason = "invalid id";

                return(response);
            }

            if (!UchuServer.RakNetServer.TcpStarted)
            {
                response.FailedReason = "not ready";

                return(response);
            }

            response.Success = true;

            return(response);
        }