Ejemplo n.º 1
0
 public virtual void onLoginC(global::web.proto.HallEvent e)
 {
     unchecked {
                         #line 86 "D:\\project\\sangong\\sangong\\src\\Comments.hx"
         //  用户登录成功,如果检测到player.roomid有值,跳对应的游戏房间。                                             ;
                         #line 1274 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Hall.hx"
         object player = e.player;
         global::haxe.Log.trace.__hx_invoke2_o(default(double), "\u767b\u9646\u6210\u529f", default(double), new global::haxe.lang.DynamicObject(new int[] { 302979532, 1547539107, 1648581351 }, new object[] { "onLoginC", "gameRoom.Hall", "src/gameRoom/Hall.hx" }, new int[] { 1981972957 }, new double[] { ((double)(1275)) }));
                         #line 1276 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Hall.hx"
         global::haxe.lang.Function replacer = null;
                         #line 1276 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Hall.hx"
         string space = null;
                         #line 1276 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Hall.hx"
         global::haxe.Log.trace.__hx_invoke2_o(default(double), global::haxe.format.JsonPrinter.print(((object)(player)), replacer, space), default(double), new global::haxe.lang.DynamicObject(new int[] { 302979532, 1547539107, 1648581351 }, new object[] { "onLoginC", "gameRoom.Hall", "src/gameRoom/Hall.hx" }, new int[] { 1981972957 }, new double[] { ((double)(1276)) }));
                         #line 1278 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Hall.hx"
         object tiny_pay = ((object)(2));
                         #line 1278 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Hall.hx"
         object tiny_owerID = global::haxe.lang.Runtime.getField(player, "id", 23515, true);
                         #line 1278 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Hall.hx"
         object tiny_playType = ((object)(0));
                         #line 1278 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Hall.hx"
         object tiny_gameID = ((object)(1001));
     }
                 #line default
 }
Ejemplo n.º 2
0
 private static void __hx_ctor_web_proto_HallEvent(global::web.proto.HallEvent __hx_this, string type, object player, global::server.IHander hander, global::haxe.root.Array roomList, object bubbles, object cancelable)
 {
                 #line 39 "D:\\project\\sangong\\sangong\\src\\web\\proto\\HallEvent.hx"
     bool cancelable1 = (((cancelable == default(object))) ? (false) : (global::haxe.lang.Runtime.toBool(cancelable)));
                 #line 39 "D:\\project\\sangong\\sangong\\src\\web\\proto\\HallEvent.hx"
     bool bubbles1 = (((bubbles == default(object))) ? (true) : (global::haxe.lang.Runtime.toBool(bubbles)));
     global::openfl.events.Event.__hx_ctor_openfl_events_Event(__hx_this, type, bubbles1, cancelable1);
                 #line 42 "D:\\project\\sangong\\sangong\\src\\web\\proto\\HallEvent.hx"
     __hx_this.player = player;
     __hx_this.hander = hander;
                 #line 44 "D:\\project\\sangong\\sangong\\src\\web\\proto\\HallEvent.hx"
     __hx_this.roomList = roomList;
 }
Ejemplo n.º 3
0
 public override global::openfl.events.Event clone()
 {
                 #line 49 "D:\\project\\sangong\\sangong\\src\\web\\proto\\HallEvent.hx"
     global::web.proto.HallEvent @event = new global::web.proto.HallEvent(this.type, this.player, this.hander, this.roomList, this.bubbles, this.cancelable);
     @event.target = this.target;
                 #line 51 "D:\\project\\sangong\\sangong\\src\\web\\proto\\HallEvent.hx"
     @event.currentTarget = this.currentTarget;
     @event.eventPhase    = this.eventPhase;
                 #line 53 "D:\\project\\sangong\\sangong\\src\\web\\proto\\HallEvent.hx"
     @event.player = this.player;
     @event.hander = this.hander;
                 #line 55 "D:\\project\\sangong\\sangong\\src\\web\\proto\\HallEvent.hx"
     @event.roomList = this.roomList;
     return(@event);
 }