public override global::openfl.events.Event clone() { #line 31 "D:\\project\\sangong\\sangong\\src\\web\\proto\\ChatEvent.hx" global::web.proto.ChatEvent @event = new global::web.proto.ChatEvent(this.type, this.chat, this.hander, this.bubbles, this.cancelable); @event.chat = this.chat; #line 33 "D:\\project\\sangong\\sangong\\src\\web\\proto\\ChatEvent.hx" @event.hander = this.hander; return(@event); }
private static void __hx_ctor_web_proto_ChatEvent(global::web.proto.ChatEvent __hx_this, string type, object chat, global::server.IHander hander, object bubbles, object cancelable) { #line 24 "D:\\project\\sangong\\sangong\\src\\web\\proto\\ChatEvent.hx" bool cancelable1 = (((cancelable == default(object))) ? (false) : (global::haxe.lang.Runtime.toBool(cancelable))); #line 24 "D:\\project\\sangong\\sangong\\src\\web\\proto\\ChatEvent.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\\ChatEvent.hx" __hx_this.chat = chat; __hx_this.hander = hander; }