⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 reference.cs

📁 五子棋的源代码
💻 CS
📖 第 1 页 / 共 4 页
字号:
            object[] results = this.Invoke("AnswerDraw", new object[] {
                        bAgree});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void AnswerDrawAsync(bool bAgree) {
            this.AnswerDrawAsync(bAgree, null);
        }
        
        /// <remarks/>
        public void AnswerDrawAsync(bool bAgree, object userState) {
            if ((this.AnswerDrawOperationCompleted == null)) {
                this.AnswerDrawOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAnswerDrawOperationCompleted);
            }
            this.InvokeAsync("AnswerDraw", new object[] {
                        bAgree}, this.AnswerDrawOperationCompleted, userState);
        }
        
        private void OnAnswerDrawOperationCompleted(object arg) {
            if ((this.AnswerDrawCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.AnswerDrawCompleted(this, new AnswerDrawCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapHeaderAttribute("CredentialSoapHeaderValue")]
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://hawkwolf.com/webservices/AskDraw", RequestNamespace="http://hawkwolf.com/webservices/", ResponseNamespace="http://hawkwolf.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string AskDraw() {
            object[] results = this.Invoke("AskDraw", new object[0]);
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void AskDrawAsync() {
            this.AskDrawAsync(null);
        }
        
        /// <remarks/>
        public void AskDrawAsync(object userState) {
            if ((this.AskDrawOperationCompleted == null)) {
                this.AskDrawOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAskDrawOperationCompleted);
            }
            this.InvokeAsync("AskDraw", new object[0], this.AskDrawOperationCompleted, userState);
        }
        
        private void OnAskDrawOperationCompleted(object arg) {
            if ((this.AskDrawCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.AskDrawCompleted(this, new AskDrawCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapHeaderAttribute("CredentialSoapHeaderValue")]
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://hawkwolf.com/webservices/GetRecentSets", RequestNamespace="http://hawkwolf.com/webservices/", ResponseNamespace="http://hawkwolf.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string GetRecentSets() {
            object[] results = this.Invoke("GetRecentSets", new object[0]);
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void GetRecentSetsAsync() {
            this.GetRecentSetsAsync(null);
        }
        
        /// <remarks/>
        public void GetRecentSetsAsync(object userState) {
            if ((this.GetRecentSetsOperationCompleted == null)) {
                this.GetRecentSetsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetRecentSetsOperationCompleted);
            }
            this.InvokeAsync("GetRecentSets", new object[0], this.GetRecentSetsOperationCompleted, userState);
        }
        
        private void OnGetRecentSetsOperationCompleted(object arg) {
            if ((this.GetRecentSetsCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetRecentSetsCompleted(this, new GetRecentSetsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapHeaderAttribute("CredentialSoapHeaderValue")]
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://hawkwolf.com/webservices/SitDown", RequestNamespace="http://hawkwolf.com/webservices/", ResponseNamespace="http://hawkwolf.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string SitDown(string tableid, string side) {
            object[] results = this.Invoke("SitDown", new object[] {
                        tableid,
                        side});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void SitDownAsync(string tableid, string side) {
            this.SitDownAsync(tableid, side, null);
        }
        
        /// <remarks/>
        public void SitDownAsync(string tableid, string side, object userState) {
            if ((this.SitDownOperationCompleted == null)) {
                this.SitDownOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSitDownOperationCompleted);
            }
            this.InvokeAsync("SitDown", new object[] {
                        tableid,
                        side}, this.SitDownOperationCompleted, userState);
        }
        
        private void OnSitDownOperationCompleted(object arg) {
            if ((this.SitDownCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.SitDownCompleted(this, new SitDownCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapHeaderAttribute("CredentialSoapHeaderValue")]
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://hawkwolf.com/webservices/StandUp", RequestNamespace="http://hawkwolf.com/webservices/", ResponseNamespace="http://hawkwolf.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string StandUp() {
            object[] results = this.Invoke("StandUp", new object[0]);
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void StandUpAsync() {
            this.StandUpAsync(null);
        }
        
        /// <remarks/>
        public void StandUpAsync(object userState) {
            if ((this.StandUpOperationCompleted == null)) {
                this.StandUpOperationCompleted = new System.Threading.SendOrPostCallback(this.OnStandUpOperationCompleted);
            }
            this.InvokeAsync("StandUp", new object[0], this.StandUpOperationCompleted, userState);
        }
        
        private void OnStandUpOperationCompleted(object arg) {
            if ((this.StandUpCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.StandUpCompleted(this, new StandUpCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapHeaderAttribute("CredentialSoapHeaderValue")]
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://hawkwolf.com/webservices/RegisterRoom", RequestNamespace="http://hawkwolf.com/webservices/", ResponseNamespace="http://hawkwolf.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string RegisterRoom(string gameid, string roomid, string setType) {
            object[] results = this.Invoke("RegisterRoom", new object[] {
                        gameid,
                        roomid,
                        setType});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void RegisterRoomAsync(string gameid, string roomid, string setType) {
            this.RegisterRoomAsync(gameid, roomid, setType, null);
        }
        
        /// <remarks/>
        public void RegisterRoomAsync(string gameid, string roomid, string setType, object userState) {
            if ((this.RegisterRoomOperationCompleted == null)) {
                this.RegisterRoomOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRegisterRoomOperationCompleted);
            }
            this.InvokeAsync("RegisterRoom", new object[] {
                        gameid,
                        roomid,
                        setType}, this.RegisterRoomOperationCompleted, userState);
        }
        
        private void OnRegisterRoomOperationCompleted(object arg) {
            if ((this.RegisterRoomCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.RegisterRoomCompleted(this, new RegisterRoomCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapHeaderAttribute("CredentialSoapHeaderValue")]
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://hawkwolf.com/webservices/UnRegisterRoom", RequestNamespace="http://hawkwolf.com/webservices/", ResponseNamespace="http://hawkwolf.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string UnRegisterRoom() {
            object[] results = this.Invoke("UnRegisterRoom", new object[0]);
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void UnRegisterRoomAsync() {
            this.UnRegisterRoomAsync(null);
        }
        
        /// <remarks/>
        public void UnRegisterRoomAsync(object userState) {
            if ((this.UnRegisterRoomOperationCompleted == null)) {
                this.UnRegisterRoomOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUnRegisterRoomOperationCompleted);
            }
            this.InvokeAsync("UnRegisterRoom", new object[0], this.UnRegisterRoomOperationCompleted, userState);
        }
        
        private void OnUnRegisterRoomOperationCompleted(object arg) {
            if ((this.UnRegisterRoomCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.UnRegisterRoomCompleted(this, new UnRegisterRoomCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://hawkwolf.com/webservices/HelloWorld", RequestNamespace="http://hawkwolf.com/webservices/", ResponseNamespace="http://hawkwolf.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string HelloWorld() {
            object[] results = this.Invoke("HelloWorld", new object[0]);
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void HelloWorldAsync() {
            this.HelloWorldAsync(null);
        }
        
        /// <remarks/>
        public void HelloWorldAsync(object userState) {
            if ((this.HelloWorldOperationCompleted == null)) {
                this.HelloWorldOperationCompleted = new System.Threading.SendOrPostCallback(this.OnHelloWorldOperationCompleted);
            }
            this.InvokeAsync("HelloWorld", new object[0], this.HelloWorldOperationCompleted, userState);
        }
        
        private void OnHelloWorldOperationCompleted(object arg) {
            if ((this.HelloWorldCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.HelloWorldCompleted(this, new HelloWorldCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapHeaderAttribute("CredentialSoapHeaderValue")]
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://hawkwolf.com/webservices/StartMatch", RequestNamespace="http://hawkwolf.com/webservices/", ResponseNamespace="http://hawkwolf.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string StartMatch() {
            object[] results = this.Invoke("StartMatch", new object[0]);
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void StartMatchAsync() {
            this.StartMatchAsync(null);
        }
        
        /// <remarks/>
        public void StartMatchAsync(object userState) {

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -