Beispiel #1
0
 public Timer_delay_141__Fun(global::haxe.Timer t, global::haxe.lang.Function f) : base(0, 0)
 {
                 #line 141 "C:\\HaxeToolkit\\haxe\\std\\haxe\\Timer.hx"
     this.t = t;
                 #line 141 "C:\\HaxeToolkit\\haxe\\std\\haxe\\Timer.hx"
     this.f = f;
 }
Beispiel #2
0
 public Timer___hx_ctor_haxe_Timer_74__Fun(double dt, global::haxe.Timer _gthis) : base(0, 0)
 {
                 #line 74 "C:\\HaxeToolkit\\haxe\\std\\haxe\\Timer.hx"
     this.dt = dt;
                 #line 74 "C:\\HaxeToolkit\\haxe\\std\\haxe\\Timer.hx"
     this._gthis = _gthis;
 }
Beispiel #3
0
 public static global::haxe.Timer delay(global::haxe.lang.Function f, int time_ms)
 {
                 #line 140 "C:\\HaxeToolkit\\haxe\\std\\haxe\\Timer.hx"
     global::haxe.Timer t = new global::haxe.Timer(((int)(time_ms)));
     t.run = new global::haxe.Timer_delay_141__Fun(t, f);
                 #line 145 "C:\\HaxeToolkit\\haxe\\std\\haxe\\Timer.hx"
     return(t);
 }
Beispiel #4
0
        public override object __hx_setField(string field, int hash, object @value, bool handleProperties)
        {
            unchecked {
                                #line 13 "D:\\project\\sangong\\sangong\\src\\utils\\TimerOne.hx"
                switch (hash)
                {
                case 400657953:
                {
                                                #line 13 "D:\\project\\sangong\\sangong\\src\\utils\\TimerOne.hx"
                    this.totoal = ((uint)(global::haxe.lang.Runtime.toInt(@value)));
                                                #line 13 "D:\\project\\sangong\\sangong\\src\\utils\\TimerOne.hx"
                    return(@value);
                }


                case 116:
                {
                                                #line 13 "D:\\project\\sangong\\sangong\\src\\utils\\TimerOne.hx"
                    this.t = ((int)(global::haxe.lang.Runtime.toInt(@value)));
                                                #line 13 "D:\\project\\sangong\\sangong\\src\\utils\\TimerOne.hx"
                    return(@value);
                }


                case 5442204:
                {
                                                #line 13 "D:\\project\\sangong\\sangong\\src\\utils\\TimerOne.hx"
                    this.map = ((global::haxe.ds.IntMap)(@value));
                                                #line 13 "D:\\project\\sangong\\sangong\\src\\utils\\TimerOne.hx"
                    return(@value);
                }


                case 271957957:
                {
                                                #line 13 "D:\\project\\sangong\\sangong\\src\\utils\\TimerOne.hx"
                    this.timer = ((global::haxe.Timer)(@value));
                                                #line 13 "D:\\project\\sangong\\sangong\\src\\utils\\TimerOne.hx"
                    return(@value);
                }


                default:
                {
                                                #line 13 "D:\\project\\sangong\\sangong\\src\\utils\\TimerOne.hx"
                    return(base.__hx_setField(field, hash, @value, handleProperties));
                }
                }
            }
                        #line default
        }
Beispiel #5
0
 protected static void __hx_ctor_haxe_Timer(global::haxe.Timer __hx_this, int time_ms)
 {
     unchecked {
                         #line 128 "C:\\HaxeToolkit\\haxe\\std\\haxe\\Timer.hx"
         __hx_this.run = (((global::haxe.Timer___hx_ctor_haxe_Timer_128__Fun.__hx_current != null)) ? (global::haxe.Timer___hx_ctor_haxe_Timer_128__Fun.__hx_current) : (global::haxe.Timer___hx_ctor_haxe_Timer_128__Fun.__hx_current = ((global::haxe.Timer___hx_ctor_haxe_Timer_128__Fun)(new global::haxe.Timer___hx_ctor_haxe_Timer_128__Fun()))));
                         #line 60 "C:\\HaxeToolkit\\haxe\\std\\haxe\\Timer.hx"
         {
                                 #line 60 "C:\\HaxeToolkit\\haxe\\std\\haxe\\Timer.hx"
             global::haxe.Timer _gthis = __hx_this;
                                 #line 73 "C:\\HaxeToolkit\\haxe\\std\\haxe\\Timer.hx"
             double dt = (((double)(time_ms)) / 1000);
             __hx_this.@event = global::haxe.MainLoop.@add(new global::haxe.Timer___hx_ctor_haxe_Timer_74__Fun(dt, _gthis), null);
                                 #line 78 "C:\\HaxeToolkit\\haxe\\std\\haxe\\Timer.hx"
             [email protected](dt);
         }
     }
                 #line default
 }
Beispiel #6
0
        public override object __hx_setField(string field, int hash, object @value, bool handleProperties)
        {
            unchecked {
                                #line 54 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Hall.hx"
                switch (hash)
                {
                case 1451561102:
                {
                                                #line 54 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Hall.hx"
                    this.oneByte = ((global::haxe.io.Bytes)(@value));
                                                #line 54 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Hall.hx"
                    return(@value);
                }


                case 796168079:
                {
                                                #line 54 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Hall.hx"
                    this.heardTimder = ((global::haxe.Timer)(@value));
                                                #line 54 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Hall.hx"
                    return(@value);
                }


                case 1816119224:
                {
                                                #line 54 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Hall.hx"
                    this.sPath = global::haxe.lang.Runtime.toString(@value);
                                                #line 54 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Hall.hx"
                    return(@value);
                }


                case 1300511267:
                {
                                                #line 54 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Hall.hx"
                    this.gamesDLL = ((global::haxe.root.Array)(@value));
                                                #line 54 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Hall.hx"
                    return(@value);
                }


                case 938763356:
                {
                                                #line 54 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Hall.hx"
                    this.handerAndPlayer = ((global::haxe.ds.IntMap)(@value));
                                                #line 54 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Hall.hx"
                    return(@value);
                }


                case 401430337:
                {
                                                #line 54 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Hall.hx"
                    this.roomMap = ((global::haxe.ds.IntMap)(@value));
                                                #line 54 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Hall.hx"
                    return(@value);
                }


                case 1205545654:
                {
                                                #line 54 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Hall.hx"
                    this.roomID = ((uint)(global::haxe.lang.Runtime.toInt(@value)));
                                                #line 54 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Hall.hx"
                    return(@value);
                }


                case 1324703024:
                {
                                                #line 54 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Hall.hx"
                    this.webD = ((global::web.proto.WebEventDispatch)(@value));
                                                #line 54 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Hall.hx"
                    return(@value);
                }


                default:
                {
                                                #line 54 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Hall.hx"
                    return(base.__hx_setField(field, hash, @value, handleProperties));
                }
                }
            }
                        #line default
        }