public override object __hx_invoke1_o(double __fn_float1, object __fn_dyn1) { #line 63 "/my-component/src/shoppingcart/ShoppingCartLogic.hx" global::Array <object> items = (((__fn_dyn1 == global::haxe.lang.Runtime.undefined)) ? (((global::Array <object>)(global::Array <object> .__hx_cast <object>(((global::Array)(((object)(__fn_float1)))))))) : (((global::Array <object>)(global::Array <object> .__hx_cast <object>(((global::Array)(__fn_dyn1))))))); double total = ((double)(0)); #line 65 "/my-component/src/shoppingcart/ShoppingCartLogic.hx" int count = 0; { #line 66 "/my-component/src/shoppingcart/ShoppingCartLogic.hx" int _g = 0; #line 66 "/my-component/src/shoppingcart/ShoppingCartLogic.hx" while ((_g < items.length)) { #line 66 "/my-component/src/shoppingcart/ShoppingCartLogic.hx" global::shoppingcart.ItemModel item = ((global::shoppingcart.ItemModel)(items[_g])); #line 66 "/my-component/src/shoppingcart/ShoppingCartLogic.hx" ++_g; if ((item != null)) { #line 68 "/my-component/src/shoppingcart/ShoppingCartLogic.hx" total += (item.qty * item.price); count += item.qty; } } } #line 72 "/my-component/src/shoppingcart/ShoppingCartLogic.hx" object summary = new global::haxe.lang.DynamicObject(new int[] {}, new object[] {}, new int[] { 338842564, 1108126720 }, new double[] { total, ((double)(count)) }); #line 76 "/my-component/src/shoppingcart/ShoppingCartLogic.hx" this.callback.__hx_invoke1_o(default(double), summary); #line 63 "/my-component/src/shoppingcart/ShoppingCartLogic.hx" return(null); }
public static void __hx_ctor_haxe_lang_DynamicObject(global::haxe.lang.DynamicObject __hx_this) { __hx_this.__hx_hashes = new int[] {}; __hx_this.__hx_dynamics = new object[] {}; __hx_this.__hx_hashes_f = new int[] {}; __hx_this.__hx_dynamics_f = new double[] {}; }
public virtual global::Array <object> SerializeRelations() { global::Array <object> json = new global::Array <object>(); { object key = ((global::haxe.ds.ObjectMap <object, object>)(global::haxe.ds.ObjectMap <object, object> .__hx_cast <object, object>(((global::haxe.ds.ObjectMap)(((global::haxe.IMap <object, object>)(this._relations))))))).keys(); while (global::haxe.lang.Runtime.toBool(global::haxe.lang.Runtime.callField(key, "hasNext", 407283053, null))) { global::graph.EndPoint key1 = ((global::graph.EndPoint)(global::haxe.lang.Runtime.callField(key, "next", 1224901875, null))); string endPointJson = key1.SerializeToJson(); global::Array <object> relationObj = ((global::Array <object>)(global::Array <object> .__hx_cast <object>(((global::Array)((((global::haxe.ds.ObjectMap <object, object>)(global::haxe.ds.ObjectMap <object, object> .__hx_cast <object, object>(((global::haxe.ds.ObjectMap)(((global::haxe.IMap <object, object>)(this._relations))))))).@get(key1)).@value))))); global::Array <object> relationJson = new global::Array <object>(); { int _g = 0; while ((_g < relationObj.length)) { global::graph.EndPoint obj = ((global::graph.EndPoint)(relationObj[_g])); ++_g; relationJson.push(obj.SerializeToJson()); } } object realtionPair = new global::haxe.lang.DynamicObject(new int[] { 4949376, 1224901875 }, new object[] { endPointJson, relationJson }, new int[] {}, new double[] {}); json.push(global::haxe.format.JsonPrinter.print(realtionPair, null, null)); } } return(json); }
public override object __hx_invoke1_o(double __fn_float1, object __fn_dyn1) { #line 29 "/my-component/src/shoppingcart/ShoppingCartLogic.hx" global::Array <object> items = (((__fn_dyn1 == global::haxe.lang.Runtime.undefined)) ? (((global::Array <object>)(global::Array <object> .__hx_cast <object>(((global::Array)(((object)(__fn_float1)))))))) : (((global::Array <object>)(global::Array <object> .__hx_cast <object>(((global::Array)(__fn_dyn1))))))); global::Array <object> list = new global::Array <object>(); #line 31 "/my-component/src/shoppingcart/ShoppingCartLogic.hx" { #line 31 "/my-component/src/shoppingcart/ShoppingCartLogic.hx" int _g = 0; #line 31 "/my-component/src/shoppingcart/ShoppingCartLogic.hx" while ((_g < items.length)) { #line 31 "/my-component/src/shoppingcart/ShoppingCartLogic.hx" global::shoppingcart.ItemModel item = ((global::shoppingcart.ItemModel)(items[_g])); #line 31 "/my-component/src/shoppingcart/ShoppingCartLogic.hx" ++_g; object cartItem = new global::haxe.lang.DynamicObject(new int[] { 151629774 }, new object[] { item.itemId }, new int[] { 5243965, 5645366, 1217089161 }, new double[] { ((double)(item.idx)), ((double)(item.qty)), item.price }); #line 38 "/my-component/src/shoppingcart/ShoppingCartLogic.hx" list.push(cartItem); } } #line 40 "/my-component/src/shoppingcart/ShoppingCartLogic.hx" this.callback.__hx_invoke1_o(default(double), list); #line 29 "/my-component/src/shoppingcart/ShoppingCartLogic.hx" return(null); }
public Client() { unchecked { #line 78 "D:\\project\\sangong\\sangong\\src\\Client.hx" global::haxe.Log.trace.__hx_invoke2_o(default(double), "\u662f\u5426\u6211\u7684\u7248\u672c\uff1f", default(double), new global::haxe.lang.DynamicObject(new int[] { 302979532, 1547539107, 1648581351 }, new object[] { "new", "Client", "src/Client.hx" }, new int[] { 1981972957 }, new double[] { ((double)(78)) })); #line 80 "D:\\project\\sangong\\sangong\\src\\Client.hx" global::utils.AES_Test.test(); object a = new global::haxe.lang.DynamicObject(new int[] { 97 }, new object[] { "\u4e2d\u6587\u6d4b\u8bd5" }, new int[] {}, new double[] {}); #line 85 "D:\\project\\sangong\\sangong\\src\\Client.hx" global::Client.testThread(); #line 87 "D:\\project\\sangong\\sangong\\src\\Client.hx" global::haxe.io.Bytes b = global::org.msgpack.MsgPack.encode(a); object c = global::org.msgpack.MsgPack.decode(b, null); #line 90 "D:\\project\\sangong\\sangong\\src\\Client.hx" global::haxe.Log.trace.__hx_invoke2_o(default(double), global::haxe.lang.Runtime.getField(c, "a", 97, true), default(double), new global::haxe.lang.DynamicObject(new int[] { 302979532, 1547539107, 1648581351 }, new object[] { "new", "Client", "src/Client.hx" }, new int[] { 1981972957 }, new double[] { ((double)(90)) })); #line 94 "D:\\project\\sangong\\sangong\\src\\Client.hx" global::haxe.lang.Function replacer = null; #line 94 "D:\\project\\sangong\\sangong\\src\\Client.hx" string space = null; #line 94 "D:\\project\\sangong\\sangong\\src\\Client.hx" string a1 = global::haxe.format.JsonPrinter.print(((object)(a)), replacer, space); object b1 = new global::haxe.format.JsonParser(((string)(a1))).doParse(); #line 98 "D:\\project\\sangong\\sangong\\src\\Client.hx" global::web.proto.WebEventDispatch.getInstance().addEventListener(((string)("error")), ((global::haxe.lang.Function)(new global::haxe.lang.Closure(this, "onErrorFromServer", 1415277398))), default(object), default(object), default(object)); #line 100 "D:\\project\\sangong\\sangong\\src\\Client.hx" this.code = global::haxe.root.Random.@string(32, null); } #line default }
public static object copy(object o) { #line 150 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Reflect.hx" if (global::haxe.lang.Runtime.eq(o, null)) { #line 151 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Reflect.hx" return(null); } #line 152 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Reflect.hx" object o2 = new global::haxe.lang.DynamicObject(new int[] {}, new object[] {}, new int[] {}, new double[] {}); { #line 153 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Reflect.hx" int _g = 0; #line 153 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Reflect.hx" global::haxe.root.Array _g1 = global::haxe.root.Reflect.fields(o); #line 153 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Reflect.hx" while ((_g < _g1.length)) { #line 153 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Reflect.hx" string f = global::haxe.lang.Runtime.toString(_g1.__get(_g)); #line 153 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Reflect.hx" ++_g; global::haxe.root.Reflect.setField(o2, f, global::haxe.root.Reflect.field(o, f)); } } #line 155 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Reflect.hx" return((object)(o2)); }
public virtual global::format.gif.Block readImage() { unchecked { int x = this.i.readUInt16(); int y = this.i.readUInt16(); int width = this.i.readUInt16(); int height = this.i.readUInt16(); int packed = this.i.readByte(); bool localColorTable = (((packed & 128)) == 128); bool interlaced = (((packed & 64)) == 64); bool sorted = (((packed & 32)) == 32); int localColorTableSize = (2 << ((packed & 7))); global::haxe.io.Bytes lct = null; if (localColorTable) { lct = this.readColorTable(localColorTableSize); } object __temp_stmt2 = null; { global::haxe.io.Bytes __temp_odecl1 = this.readPixels(width, height, interlaced); __temp_stmt2 = new global::haxe.lang.DynamicObject(new int[] { 212463405, 706588918, 793759659, 808948541, 1501088657 }, new object[] { __temp_odecl1, localColorTable, lct, sorted, interlaced }, new int[] { 120, 121, 38537191, 1247983110, 1584738519 }, new double[] { ((double)(x)), ((double)(y)), ((double)(height)), ((double)(width)), ((double)(localColorTableSize)) }); } return(global::format.gif.Block.BFrame(__temp_stmt2)); } }
public static object convertRoomData(string data) { #line 22 "D:\\project\\sangong\\sangong\\src\\client\\ConvertCSHX.hx" object roomInfo = new global::haxe.format.JsonParser(((string)(data))).doParse(); #line 24 "D:\\project\\sangong\\sangong\\src\\client\\ConvertCSHX.hx" object result = new global::haxe.lang.DynamicObject(new int[] {}, new object[] {}, new int[] {}, new double[] {}); #line 26 "D:\\project\\sangong\\sangong\\src\\client\\ConvertCSHX.hx" global::haxe.root.Array fs = global::haxe.root.Reflect.fields(roomInfo); #line 28 "D:\\project\\sangong\\sangong\\src\\client\\ConvertCSHX.hx" { #line 28 "D:\\project\\sangong\\sangong\\src\\client\\ConvertCSHX.hx" int _g = 0; #line 28 "D:\\project\\sangong\\sangong\\src\\client\\ConvertCSHX.hx" while ((_g < fs.length)) { #line 28 "D:\\project\\sangong\\sangong\\src\\client\\ConvertCSHX.hx" string f = global::haxe.lang.Runtime.toString(fs.__get(_g)); #line 28 "D:\\project\\sangong\\sangong\\src\\client\\ConvertCSHX.hx" ++_g; if ((global::haxe.root.Reflect.field(roomInfo, f) != null)) { #line 30 "D:\\project\\sangong\\sangong\\src\\client\\ConvertCSHX.hx" global::haxe.root.Reflect.setField(result, f, global::haxe.root.Reflect.field(roomInfo, f)); } } } #line 33 "D:\\project\\sangong\\sangong\\src\\client\\ConvertCSHX.hx" return(result); }
public static global::haxe.lang.Null <T> copy <T>(global::haxe.lang.Null <T> o) { #line 150 "/opt/haxe/std/cs/_std/Reflect.hx" if (!(o.hasValue)) { #line 151 "/opt/haxe/std/cs/_std/Reflect.hx" return(default(global::haxe.lang.Null <T>)); } #line 152 "/opt/haxe/std/cs/_std/Reflect.hx" object o2 = new global::haxe.lang.DynamicObject(new int[] {}, new object[] {}, new int[] {}, new double[] {}); { #line 153 "/opt/haxe/std/cs/_std/Reflect.hx" int _g = 0; #line 153 "/opt/haxe/std/cs/_std/Reflect.hx" global::Array <string> _g1 = global::Reflect.fields((o).toDynamic()); #line 153 "/opt/haxe/std/cs/_std/Reflect.hx" while ((_g < _g1.length)) { #line 153 "/opt/haxe/std/cs/_std/Reflect.hx" string f = _g1[_g]; #line 153 "/opt/haxe/std/cs/_std/Reflect.hx" ++_g; global::Reflect.setField(o2, f, global::Reflect.field((o).toDynamic(), f)); } } #line 155 "/opt/haxe/std/cs/_std/Reflect.hx" return(global::haxe.lang.Null <object> .ofDynamic <T>(o2)); }
public static object convertPlayerData(object data) { #line 42 "D:\\project\\sangong\\sangong\\src\\client\\ConvertCSHX.hx" object roomInfo = new global::haxe.lang.DynamicObject(new int[] { 23515 }, new object[] { ((object)(0)) }, new int[] {}, new double[] {}); #line 44 "D:\\project\\sangong\\sangong\\src\\client\\ConvertCSHX.hx" global::haxe.root.Array fs = global::haxe.root.Reflect.fields(data); #line 46 "D:\\project\\sangong\\sangong\\src\\client\\ConvertCSHX.hx" { #line 46 "D:\\project\\sangong\\sangong\\src\\client\\ConvertCSHX.hx" int _g = 0; #line 46 "D:\\project\\sangong\\sangong\\src\\client\\ConvertCSHX.hx" while ((_g < fs.length)) { #line 46 "D:\\project\\sangong\\sangong\\src\\client\\ConvertCSHX.hx" string f = global::haxe.lang.Runtime.toString(fs.__get(_g)); #line 46 "D:\\project\\sangong\\sangong\\src\\client\\ConvertCSHX.hx" ++_g; object v = global::haxe.root.Reflect.field(data, f); #line 48 "D:\\project\\sangong\\sangong\\src\\client\\ConvertCSHX.hx" if ((v != null)) { #line 49 "D:\\project\\sangong\\sangong\\src\\client\\ConvertCSHX.hx" global::haxe.root.Reflect.setField(roomInfo, f, v); } } } #line 53 "D:\\project\\sangong\\sangong\\src\\client\\ConvertCSHX.hx" return(roomInfo); }
public override string SerializeToJson() { global::Array <object> nodesJson = this.SerializeNodes(); global::Array <object> relations = this.SerializeRelations(); object json = new global::haxe.lang.DynamicObject(new int[] { 532592689, 1682648631, 1946631881 }, new object[] { nodesJson, relations, this.graphId }, new int[] {}, new double[] {}); return(global::haxe.format.JsonPrinter.print(json, null, null)); }
public virtual string SerializeToJson() { global::Array <object> slotsObj = this.SerializeSlots(); global::Array <object> datumMapObj = this.SerializeDatumMap(); object json = new global::haxe.lang.DynamicObject(new int[] { 580141348, 1224700491, 1292432058, 2127323317 }, new object[] { datumMapObj, this.name, this.type, slotsObj }, new int[] { 656559741 }, new double[] { ((double)(this.nodeId)) }); return(global::haxe.format.JsonPrinter.print(json, null, null)); }
protected static void __hx_ctor_haxe_lang_DynamicObject(global::haxe.lang.DynamicObject __hx_this) { __hx_this.__hx_hashes = new int[0]; __hx_this.__hx_dynamics = new object[0]; __hx_this.__hx_hashes_f = new int[0]; __hx_this.__hx_dynamics_f = new double[0]; __hx_this.__hx_conflicts = null; }
public static void __hx_ctor_haxe_lang_DynamicObject(global::haxe.lang.DynamicObject __hx_this, int[] __hx_hashes, object[] __hx_dynamics, int[] __hx_hashes_f, double[] __hx_dynamics_f) { __hx_this.__hx_hashes = __hx_hashes; __hx_this.__hx_dynamics = __hx_dynamics; __hx_this.__hx_hashes_f = __hx_hashes_f; __hx_this.__hx_dynamics_f = __hx_dynamics_f; __hx_this.__hx_length = __hx_hashes.Length; __hx_this.__hx_length_f = __hx_hashes_f.Length; }
static Hall() { #line 54 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Hall.hx" { #line 54 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Hall.hx" object __temp_odecl1 = new global::haxe.lang.DynamicObject(new int[] { 684760918 }, new object[] { null }, new int[] {}, new double[] {}); #line 54 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Hall.hx" global::gameRoom.Hall.__meta__ = new global::haxe.lang.DynamicObject(new int[] { 5541879 }, new object[] { __temp_odecl1 }, new int[] {}, new double[] {}); } }
protected static void __hx_ctor_haxe_lang_DynamicObject(global::haxe.lang.DynamicObject __hx_this, int[] hashes, object[] dynamics, int[] hashes_f, double[] dynamics_f) { __hx_this.__hx_hashes = hashes; __hx_this.__hx_dynamics = dynamics; __hx_this.__hx_hashes_f = hashes_f; __hx_this.__hx_dynamics_f = dynamics_f; __hx_this.__hx_length = (hashes as global::System.Array).Length; __hx_this.__hx_length_f = (hashes_f as global::System.Array).Length; __hx_this.__hx_conflicts = null; }
public static void __hx_ctor_haxe_lang_DynamicObject(global::haxe.lang.DynamicObject __temp_me279, global::haxe.root.Array <int> __hx_hashes, global::haxe.root.Array <object> __hx_dynamics, global::haxe.root.Array <int> __hx_hashes_f, global::haxe.root.Array <double> __hx_dynamics_f) { unchecked { __temp_me279.__hx_hashes = __hx_hashes; __temp_me279.__hx_dynamics = __hx_dynamics; __temp_me279.__hx_hashes_f = __hx_hashes_f; __temp_me279.__hx_dynamics_f = __hx_dynamics_f; } }
public static void __hx_ctor_haxe_lang_DynamicObject(global::haxe.lang.DynamicObject __temp_me280) { unchecked { __temp_me280.__hx_hashes = new global::haxe.root.Array <int>(new int[] {}); __temp_me280.__hx_dynamics = new global::haxe.root.Array <object>(new object[] {}); __temp_me280.__hx_hashes_f = new global::haxe.root.Array <int>(new int[] {}); __temp_me280.__hx_dynamics_f = new global::haxe.root.Array <double>(new double[] {}); } }
protected static void __hx_ctor_haxe_lang_DynamicObject(global::haxe.lang.DynamicObject __hx_this) { #line 59 "/opt/haxe/std/cs/internal/HxObject.hx" __hx_this.__hx_hashes = new int[0]; __hx_this.__hx_dynamics = new object[0]; #line 61 "/opt/haxe/std/cs/internal/HxObject.hx" __hx_this.__hx_hashes_f = new int[0]; __hx_this.__hx_dynamics_f = new double[0]; #line 63 "/opt/haxe/std/cs/internal/HxObject.hx" __hx_this.__hx_conflicts = null; }
protected static void __hx_ctor_haxe_lang_DynamicObject(global::haxe.lang.DynamicObject __hx_this) { #line 59 "C:\\HaxeToolkit\\haxe\\std\\cs\\internal\\HxObject.hx" __hx_this.__hx_hashes = new int[0]; __hx_this.__hx_dynamics = new object[0]; #line 61 "C:\\HaxeToolkit\\haxe\\std\\cs\\internal\\HxObject.hx" __hx_this.__hx_hashes_f = new int[0]; __hx_this.__hx_dynamics_f = new double[0]; #line 63 "C:\\HaxeToolkit\\haxe\\std\\cs\\internal\\HxObject.hx" __hx_this.__hx_conflicts = null; }
public virtual void addBetC(uint b) { unchecked { #line 557 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Player.hx" global::haxe.Log.trace.__hx_invoke2_o(default(double), "\u7528\u6237\u4e0b\u6ce8", default(double), new global::haxe.lang.DynamicObject(new int[] { 302979532, 1547539107, 1648581351 }, new object[] { "addBetC", "gameRoom.Player", "src/gameRoom/Player.hx" }, new int[] { 1981972957 }, new double[] { ((double)(557)) })); object b1 = new global::haxe.lang.DynamicObject(new int[] {}, new object[] {}, new int[] { 888664408, 1213433212 }, new double[] { ((double)(b)), ((double)(this.id)) }); #line 560 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Player.hx" global::web.SocketAsync.sendCS(((int)(((uint)(1)))), ((int)(4)), ((int)(this.id)), global::org.msgpack.MsgPack.encode(b1), null); } #line default }
public virtual void createClubC(string name, string password, uint pay) { unchecked { #line 565 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Player.hx" global::haxe.Log.trace.__hx_invoke2_o(default(double), "\u521b\u5efa\u4ff1\u4e50\u90e8", default(double), new global::haxe.lang.DynamicObject(new int[] { 302979532, 1547539107, 1648581351 }, new object[] { "createClubC", "gameRoom.Player", "src/gameRoom/Player.hx" }, new int[] { 1981972957 }, new double[] { ((double)(565)) })); object b = new global::haxe.lang.DynamicObject(new int[] { 5591400, 1221600027, 1224700491 }, new object[] { ((object)(pay)), password, name }, new int[] {}, new double[] {}); #line 568 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Player.hx" global::web.SocketAsync.sendCS(((int)(((uint)(1)))), ((int)(6)), ((int)(this.id)), global::org.msgpack.MsgPack.encode(b), null); } #line default }
public virtual void sendCommandC(int cmd, int targetID, int @value, int password, string openid) { unchecked { #line 588 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Player.hx" global::haxe.Log.trace.__hx_invoke2_o(default(double), "\u7ba1\u7406\u5458\u53d1\u9001\u547d\u4ee4\u3002\u5148\u68c0\u67e5\u7528\u6237\u662f\u5426isGM\uff0c\u5426\u5219\u53d1\u8fc7\u53bb\u4e5f\u662f\u6ca1\u6709\u6548\u679c", default(double), new global::haxe.lang.DynamicObject(new int[] { 302979532, 1547539107, 1648581351 }, new object[] { "sendCommandC", "gameRoom.Player", "src/gameRoom/Player.hx" }, new int[] { 1981972957 }, new double[] { ((double)(588)) })); object cmd1 = new global::haxe.lang.DynamicObject(new int[] { 23515, 4947578, 563373605, 834174833, 1221600027 }, new object[] { ((object)(targetID)), ((object)(cmd)), openid, ((object)(@value)), ((object)(password)) }, new int[] {}, new double[] {}); #line 597 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Player.hx" global::web.SocketAsync.sendCS(((int)(((uint)(1)))), ((int)(15)), ((int)(this.id)), global::org.msgpack.MsgPack.encode(cmd1), null); } #line default }
public virtual void removeFrmClubC(int targetID) { unchecked { #line 579 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Player.hx" global::haxe.Log.trace.__hx_invoke2_o(default(double), "\u5220\u9664\u4ff1\u4e50\u90e8\u6210\u5458", default(double), new global::haxe.lang.DynamicObject(new int[] { 302979532, 1547539107, 1648581351 }, new object[] { "removeFrmClubC", "gameRoom.Player", "src/gameRoom/Player.hx" }, new int[] { 1981972957 }, new double[] { ((double)(579)) })); object tp = new global::haxe.lang.DynamicObject(new int[] { 23515 }, new object[] { ((object)(targetID)) }, new int[] {}, new double[] {}); #line 582 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Player.hx" global::web.SocketAsync.sendCS(((int)(((uint)(1)))), ((int)(14)), ((int)(this.id)), global::org.msgpack.MsgPack.encode(tp), null); } #line default }
public virtual void getClubListC(int id) { unchecked { #line 572 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Player.hx" global::haxe.Log.trace.__hx_invoke2_o(default(double), "\u83b7\u53d6\u4ff1\u4e50\u90e8\u6210\u5458", default(double), new global::haxe.lang.DynamicObject(new int[] { 302979532, 1547539107, 1648581351 }, new object[] { "getClubListC", "gameRoom.Player", "src/gameRoom/Player.hx" }, new int[] { 1981972957 }, new double[] { ((double)(572)) })); object b = new global::haxe.lang.DynamicObject(new int[] { 23515 }, new object[] { ((object)(id)) }, new int[] {}, new double[] {}); #line 575 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Player.hx" global::web.SocketAsync.sendCS(((int)(((uint)(1)))), ((int)(6)), id, global::org.msgpack.MsgPack.encode(b), null); } #line default }
public static bool deleteField(object o, string field) { #line 143 "/opt/haxe/std/cs/_std/Reflect.hx" global::haxe.lang.DynamicObject ihx = (o as global::haxe.lang.DynamicObject); if ((ihx != null)) { #line 145 "/opt/haxe/std/cs/_std/Reflect.hx" return(ihx.__hx_deleteField(field, global::haxe.lang.FieldLookup.hash(field))); } #line 146 "/opt/haxe/std/cs/_std/Reflect.hx" return(false); }
public static bool deleteField(object o, string field) { #line 143 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Reflect.hx" global::haxe.lang.DynamicObject ihx = ((global::haxe.lang.DynamicObject)((o as global::haxe.lang.DynamicObject))); if ((ihx != null)) { #line 145 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Reflect.hx" return(ihx.__hx_deleteField(field, global::haxe.lang.FieldLookup.hash(field))); } #line 146 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Reflect.hx" return(false); }
public virtual void changeStatusC(int status) { unchecked { #line 542 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Player.hx" global::haxe.Log.trace.__hx_invoke2_o(default(double), "\u7528\u6237\u72b6\u6001\u6539\u53d8\uff0c\u5750\u7acb\uff0c\u6216\u8005\u7ad9\u8d77var UP = 0;\tvar SIT = 1; ready=2;", default(double), new global::haxe.lang.DynamicObject(new int[] { 302979532, 1547539107, 1648581351 }, new object[] { "changeStatusC", "gameRoom.Player", "src/gameRoom/Player.hx" }, new int[] { 1981972957 }, new double[] { ((double)(542)) })); object tp = new global::haxe.lang.DynamicObject(new int[] { 23515 }, new object[] { ((object)(this.id)) }, new int[] {}, new double[] {}); #line 544 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Player.hx" global::haxe.lang.Runtime.setField(tp, "status", 100394802, status); #line 547 "D:\\project\\sangong\\sangong\\src\\gameRoom\\Player.hx" global::web.SocketAsync.sendCS(((int)(((uint)(1)))), ((int)(11)), ((int)(this.id)), global::org.msgpack.MsgPack.encode(tp), null); } #line default }
protected static void __hx_ctor_haxe_lang_DynamicObject(global::haxe.lang.DynamicObject __hx_this, int[] hashes, object[] dynamics, int[] hashes_f, double[] dynamics_f) { #line 67 "C:\\HaxeToolkit\\haxe\\std\\cs\\internal\\HxObject.hx" __hx_this.__hx_hashes = hashes; __hx_this.__hx_dynamics = dynamics; #line 69 "C:\\HaxeToolkit\\haxe\\std\\cs\\internal\\HxObject.hx" __hx_this.__hx_hashes_f = hashes_f; __hx_this.__hx_dynamics_f = dynamics_f; #line 71 "C:\\HaxeToolkit\\haxe\\std\\cs\\internal\\HxObject.hx" __hx_this.__hx_length = (hashes as global::System.Array).Length; __hx_this.__hx_length_f = (hashes_f as global::System.Array).Length; #line 73 "C:\\HaxeToolkit\\haxe\\std\\cs\\internal\\HxObject.hx" __hx_this.__hx_conflicts = null; }
protected static void __hx_ctor_haxe_lang_DynamicObject(global::haxe.lang.DynamicObject __hx_this, int[] hashes, object[] dynamics, int[] hashes_f, double[] dynamics_f) { #line 67 "/opt/haxe/std/cs/internal/HxObject.hx" __hx_this.__hx_hashes = hashes; __hx_this.__hx_dynamics = dynamics; #line 69 "/opt/haxe/std/cs/internal/HxObject.hx" __hx_this.__hx_hashes_f = hashes_f; __hx_this.__hx_dynamics_f = dynamics_f; #line 71 "/opt/haxe/std/cs/internal/HxObject.hx" __hx_this.__hx_length = (hashes as global::System.Array).Length; __hx_this.__hx_length_f = (hashes_f as global::System.Array).Length; #line 73 "/opt/haxe/std/cs/internal/HxObject.hx" __hx_this.__hx_conflicts = null; }
public virtual void addNoteGlyph(global::alphatab.rendering.Glyph noteGlyph, global::alphatab.model.Note note, int noteLine) { unchecked { object info = new global::haxe.lang.DynamicObject(new global::haxe.root.Array<int>(new int[]{369425836}), new global::haxe.root.Array<object>(new object[]{noteGlyph}), new global::haxe.root.Array<int>(new int[]{1202919412}), new global::haxe.root.Array<double>(new double[]{((double) (noteLine) )})); this._infos.push(info); this._noteLookup.@set(note.@string, noteGlyph); if (( global::haxe.lang.Runtime.refEq(this.minNote, default(object)) || ( global::haxe.lang.Runtime.compare(((int) (global::haxe.lang.Runtime.getField_f(this.minNote, "line", 1202919412, true)) ), ((int) (global::haxe.lang.Runtime.getField_f(info, "line", 1202919412, true)) )) > 0 ) )) { this.minNote = info; } if (( global::haxe.lang.Runtime.refEq(this.maxNote, default(object)) || ( global::haxe.lang.Runtime.compare(((int) (global::haxe.lang.Runtime.getField_f(this.maxNote, "line", 1202919412, true)) ), ((int) (global::haxe.lang.Runtime.getField_f(info, "line", 1202919412, true)) )) < 0 ) )) { this.maxNote = info; } } }