コード例 #1
0
        protected static void __hx_ctor_web_proto_ErrorEventCS(global::web.proto.ErrorEventCS __hx_this, string type, string text, object playerID, object bubbles, object cancelable, object id)
        {
            unchecked {
                                #line 21 "D:\\project\\sangong\\sangong\\src\\web\\proto\\ErrorEventCS.hx"
                int id1 = (((id == default(object))) ? (0) : (((int)(global::haxe.lang.Runtime.toInt(id)))));
                                #line 21 "D:\\project\\sangong\\sangong\\src\\web\\proto\\ErrorEventCS.hx"
                bool cancelable1 = (((cancelable == default(object))) ? (false) : (global::haxe.lang.Runtime.toBool(cancelable)));
                                #line 21 "D:\\project\\sangong\\sangong\\src\\web\\proto\\ErrorEventCS.hx"
                bool bubbles1 = (((bubbles == default(object))) ? (false) : (global::haxe.lang.Runtime.toBool(bubbles)));
                                #line 21 "D:\\project\\sangong\\sangong\\src\\web\\proto\\ErrorEventCS.hx"
                int playerID1 = (((playerID == default(object))) ? (-1) : (((int)(global::haxe.lang.Runtime.toInt(playerID)))));
                                #line 21 "D:\\project\\sangong\\sangong\\src\\web\\proto\\ErrorEventCS.hx"
                if ((text == null))
                {
                                        #line 21 "D:\\project\\sangong\\sangong\\src\\web\\proto\\ErrorEventCS.hx"
                    text = "";
                }

                                #line 22 "D:\\project\\sangong\\sangong\\src\\web\\proto\\ErrorEventCS.hx"
                global::openfl.events.ErrorEvent.__hx_ctor_openfl_events_ErrorEvent(__hx_this, type, bubbles1, cancelable1, text, id1);
                __hx_this.playerID = playerID1;
            }
                        #line default
        }
コード例 #2
0
ファイル: Client.cs プロジェクト: sonygod/unitywebsocket
 public virtual void onErrorFromServer(global::web.proto.ErrorEventCS e)
 {
             #line 128 "D:\\project\\sangong\\sangong\\src\\Client.hx"
     this.onGlobalError.Invoke(((global::web.proto.ErrorEventCS)(e)));
 }