Example #1
0
 private static void __hx_ctor_web_proto_ResultEvent(global::web.proto.ResultEvent __hx_this, string type, global::haxe.root.Array results, global::server.IHander hander, object bubbles, object cancelable)
 {
                 #line 22 "D:\\project\\sangong\\sangong\\src\\web\\proto\\ResultEvent.hx"
     bool cancelable1 = (((cancelable == default(object))) ? (false) : (global::haxe.lang.Runtime.toBool(cancelable)));
                 #line 22 "D:\\project\\sangong\\sangong\\src\\web\\proto\\ResultEvent.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 26 "D:\\project\\sangong\\sangong\\src\\web\\proto\\ResultEvent.hx"
     __hx_this.hander  = hander;
     __hx_this.results = results;
 }
Example #2
0
 public override global::openfl.events.Event clone()
 {
                 #line 31 "D:\\project\\sangong\\sangong\\src\\web\\proto\\ResultEvent.hx"
     global::web.proto.ResultEvent @event = new global::web.proto.ResultEvent(this.type, this.results, this.hander, this.bubbles, this.cancelable);
     @event.target = this.target;
                 #line 33 "D:\\project\\sangong\\sangong\\src\\web\\proto\\ResultEvent.hx"
     @event.currentTarget = this.currentTarget;
     @event.eventPhase    = this.eventPhase;
                 #line 35 "D:\\project\\sangong\\sangong\\src\\web\\proto\\ResultEvent.hx"
     @event.results = this.results;
                 #line 37 "D:\\project\\sangong\\sangong\\src\\web\\proto\\ResultEvent.hx"
     return(@event);
 }