public static global::haxe.root.Array concat(object a, object b) { #line 256 "C:\\HaxeToolkit\\haxe\\std\\Lambda.hx" global::haxe.root.Array l = new global::haxe.root.Array(); { #line 257 "C:\\HaxeToolkit\\haxe\\std\\Lambda.hx" object x = ((object)(global::haxe.lang.Runtime.callField(a, "iterator", 328878574, null))); #line 257 "C:\\HaxeToolkit\\haxe\\std\\Lambda.hx" while (global::haxe.lang.Runtime.toBool(global::haxe.lang.Runtime.callField(x, "hasNext", 407283053, null))) { #line 257 "C:\\HaxeToolkit\\haxe\\std\\Lambda.hx" object x1 = ((object)(global::haxe.lang.Runtime.callField(x, "next", 1224901875, null))); l.push(x1); } } #line 259 "C:\\HaxeToolkit\\haxe\\std\\Lambda.hx" { #line 259 "C:\\HaxeToolkit\\haxe\\std\\Lambda.hx" object x2 = ((object)(global::haxe.lang.Runtime.callField(b, "iterator", 328878574, null))); #line 259 "C:\\HaxeToolkit\\haxe\\std\\Lambda.hx" while (global::haxe.lang.Runtime.toBool(global::haxe.lang.Runtime.callField(x2, "hasNext", 407283053, null))) { #line 259 "C:\\HaxeToolkit\\haxe\\std\\Lambda.hx" object x3 = ((object)(global::haxe.lang.Runtime.callField(x2, "next", 1224901875, null))); l.push(x3); } } #line 261 "C:\\HaxeToolkit\\haxe\\std\\Lambda.hx" return(l); }
public override void __hx_getFields(global::haxe.root.Array <object> baseArr) { unchecked { { { object __temp_iterator452 = this.__hx_hashes.iterator(); while (((bool)(global::haxe.lang.Runtime.callField(__temp_iterator452, "hasNext", 407283053, default(global::haxe.root.Array))))) { int __temp_field282 = ((int)(global::haxe.lang.Runtime.toInt(global::haxe.lang.Runtime.callField(__temp_iterator452, "next", 1224901875, default(global::haxe.root.Array))))); baseArr.push(global::haxe.lang.FieldLookup.lookupHash(__temp_field282)); } } { object __temp_iterator453 = this.__hx_hashes_f.iterator(); while (((bool)(global::haxe.lang.Runtime.callField(__temp_iterator453, "hasNext", 407283053, default(global::haxe.root.Array))))) { int __temp_field281 = ((int)(global::haxe.lang.Runtime.toInt(global::haxe.lang.Runtime.callField(__temp_iterator453, "next", 1224901875, default(global::haxe.root.Array))))); baseArr.push(global::haxe.lang.FieldLookup.lookupHash(__temp_field281)); } } base.__hx_getFields(baseArr); } } }
public override void __hx_getFields(global::haxe.root.Array baseArr) { #line 192 "C:\\HaxeToolkit\\haxe\\std\\cs\\internal\\HxObject.hx" { #line 192 "C:\\HaxeToolkit\\haxe\\std\\cs\\internal\\HxObject.hx" int _g = 0; #line 192 "C:\\HaxeToolkit\\haxe\\std\\cs\\internal\\HxObject.hx" int _g1 = this.__hx_length; #line 192 "C:\\HaxeToolkit\\haxe\\std\\cs\\internal\\HxObject.hx" while ((_g < _g1)) { #line 192 "C:\\HaxeToolkit\\haxe\\std\\cs\\internal\\HxObject.hx" int i = _g++; baseArr.push(global::haxe.lang.FieldLookup.lookupHash(((int)(this.__hx_hashes[i])))); } } #line 195 "C:\\HaxeToolkit\\haxe\\std\\cs\\internal\\HxObject.hx" { #line 195 "C:\\HaxeToolkit\\haxe\\std\\cs\\internal\\HxObject.hx" int _g2 = 0; #line 195 "C:\\HaxeToolkit\\haxe\\std\\cs\\internal\\HxObject.hx" int _g3 = this.__hx_length_f; #line 195 "C:\\HaxeToolkit\\haxe\\std\\cs\\internal\\HxObject.hx" while ((_g2 < _g3)) { #line 195 "C:\\HaxeToolkit\\haxe\\std\\cs\\internal\\HxObject.hx" int i1 = _g2++; baseArr.push(global::haxe.lang.FieldLookup.lookupHash(((int)(this.__hx_hashes_f[i1])))); } } #line 198 "C:\\HaxeToolkit\\haxe\\std\\cs\\internal\\HxObject.hx" global::haxe.lang.FieldLookup.addHashConflictNames(this.__hx_conflicts, baseArr); }
public override void __hx_getFields(global::haxe.root.Array <object> baseArr) { baseArr.push("length"); baseArr.push("q"); baseArr.push("h"); base.__hx_getFields(baseArr); }
public override void __hx_getFields(global::haxe.root.Array <object> baseArr) { baseArr.push("_eof"); baseArr.push("stream"); baseArr.push("canSeek"); base.__hx_getFields(baseArr); }
public override void __hx_getFields(global::haxe.root.Array <object> baseArr) { baseArr.push("blink_status"); baseArr.push("next_blink_time"); baseArr.push("current_weight"); baseArr.push("last_time"); base.__hx_getFields(baseArr); }
public override void __hx_getFields(global::haxe.root.Array <object> baseArr) { baseArr.push("frames"); baseArr.push("picture"); baseArr.push("height"); baseArr.push("width"); base.__hx_getFields(baseArr); }
public override void __hx_getFields(global::haxe.root.Array <object> baseArr) { baseArr.push("w"); baseArr.push("z"); baseArr.push("y"); baseArr.push("x"); base.__hx_getFields(baseArr); }
public override void doLayout() { unchecked { this._glyphs.sort(( (( global::alphatab.rendering.glyphs.AccidentalGroupGlyph_doLayout_35__Fun.__hx_current != default(global::alphatab.rendering.glyphs.AccidentalGroupGlyph_doLayout_35__Fun) )) ? (global::alphatab.rendering.glyphs.AccidentalGroupGlyph_doLayout_35__Fun.__hx_current) : (global::alphatab.rendering.glyphs.AccidentalGroupGlyph_doLayout_35__Fun.__hx_current = ((global::alphatab.rendering.glyphs.AccidentalGroupGlyph_doLayout_35__Fun) (new global::alphatab.rendering.glyphs.AccidentalGroupGlyph_doLayout_35__Fun()) )) )); global::haxe.root.Array<int> columns = new global::haxe.root.Array<int>(); columns.push(-3000); int accidentalSize = ((int) (( 21 * this.renderer.stave.staveGroup.layout.renderer.settings.scale )) ); { int _g = 0; global::haxe.root.Array<object> _g1 = this._glyphs; while (( _g < _g1.length )) { global::alphatab.rendering.Glyph g = ((global::alphatab.rendering.Glyph) (_g1[_g]) ); ++ _g; g.renderer = this.renderer; g.doLayout(); int gColumn = 0; while (( columns[gColumn] > g.y )) { gColumn++; if (( gColumn == columns.length )) { columns.push(-3000); } } g.x = gColumn; columns[gColumn] = ( g.y + accidentalSize ); } } int columnWidth = ((int) (( 8 * this.renderer.stave.staveGroup.layout.renderer.settings.scale )) ); if (( this._glyphs.length == 0 )) { this.width = 0; } else { this.width = ( columnWidth * columns.length ); } { int _g2 = 0; global::haxe.root.Array<object> _g11 = this._glyphs; while (( _g2 < _g11.length )) { global::alphatab.rendering.Glyph g1 = ((global::alphatab.rendering.Glyph) (_g11[_g2]) ); ++ _g2; g1.x = ( this.width - ( (( g1.x + 1 )) * columnWidth ) ); } } } }
public override void __hx_getFields(global::haxe.root.Array baseArr) { #line 16 "D:\\project\\sangong\\sangong\\src\\web\\proto\\CMDEvent.hx" baseArr.push("hander"); #line 16 "D:\\project\\sangong\\sangong\\src\\web\\proto\\CMDEvent.hx" baseArr.push("cmd"); #line 16 "D:\\project\\sangong\\sangong\\src\\web\\proto\\CMDEvent.hx" base.__hx_getFields(baseArr); }
public override void __hx_getFields(global::haxe.root.Array baseArr) { #line 63 "C:\\HaxeToolkit\\haxe\\std\\cs\\NativeArray.hx" baseArr.push("idx"); #line 63 "C:\\HaxeToolkit\\haxe\\std\\cs\\NativeArray.hx" baseArr.push("arr"); #line 63 "C:\\HaxeToolkit\\haxe\\std\\cs\\NativeArray.hx" base.__hx_getFields(baseArr); }
public override void __hx_getFields(global::haxe.root.Array baseArr) { #line 60 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\sys\\thread\\Thread.hx" baseArr.push("messages"); #line 60 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\sys\\thread\\Thread.hx" baseArr.push("native"); #line 60 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\sys\\thread\\Thread.hx" base.__hx_getFields(baseArr); }
public override void __hx_getFields(global::haxe.root.Array baseArr) { #line 39 "C:\\HaxeToolkit\\haxe\\std\\haxe\\Timer.hx" baseArr.push("run"); #line 39 "C:\\HaxeToolkit\\haxe\\std\\haxe\\Timer.hx" baseArr.push("event"); #line 39 "C:\\HaxeToolkit\\haxe\\std\\haxe\\Timer.hx" base.__hx_getFields(baseArr); }
public override void __hx_getFields(global::haxe.root.Array baseArr) { #line 28 "C:\\HaxeToolkit\\haxe\\std\\haxe\\crypto\\Adler32.hx" baseArr.push("a2"); #line 28 "C:\\HaxeToolkit\\haxe\\std\\haxe\\crypto\\Adler32.hx" baseArr.push("a1"); #line 28 "C:\\HaxeToolkit\\haxe\\std\\haxe\\crypto\\Adler32.hx" base.__hx_getFields(baseArr); }
public override void __hx_getFields(global::haxe.root.Array baseArr) { #line 8 "D:\\project\\sangong\\sangong\\src\\hx\\ws\\cs\\NonBlockingSocket.hx" baseArr.push("_socketAsyncEventArgs"); #line 8 "D:\\project\\sangong\\sangong\\src\\hx\\ws\\cs\\NonBlockingSocket.hx" baseArr.push("_acceptedSockets"); #line 8 "D:\\project\\sangong\\sangong\\src\\hx\\ws\\cs\\NonBlockingSocket.hx" base.__hx_getFields(baseArr); }
public override void __hx_getFields(global::haxe.root.Array baseArr) { #line 31 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Date.hx" baseArr.push("dateUTC"); #line 31 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Date.hx" baseArr.push("date"); #line 31 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Date.hx" base.__hx_getFields(baseArr); }
public override void __hx_getFields(global::haxe.root.Array baseArr) { #line 262 "C:\\HaxeToolkit\\haxe\\std\\haxe\\ds\\List.hx" baseArr.push("next"); #line 262 "C:\\HaxeToolkit\\haxe\\std\\haxe\\ds\\List.hx" baseArr.push("item"); #line 262 "C:\\HaxeToolkit\\haxe\\std\\haxe\\ds\\List.hx" base.__hx_getFields(baseArr); }
public override void __hx_getFields(global::haxe.root.Array baseArr) { #line 103 "C:\\HaxeToolkit\\haxe\\std\\haxe\\ds\\HashMap.hx" baseArr.push("values"); #line 103 "C:\\HaxeToolkit\\haxe\\std\\haxe\\ds\\HashMap.hx" baseArr.push("keys"); #line 103 "C:\\HaxeToolkit\\haxe\\std\\haxe\\ds\\HashMap.hx" base.__hx_getFields(baseArr); }
public override void __hx_getFields(global::haxe.root.Array baseArr) { #line 17 "D:\\project\\sangong\\sangong\\src\\org\\msgpack\\Decoder.hx" baseArr.push("v"); #line 17 "D:\\project\\sangong\\sangong\\src\\org\\msgpack\\Decoder.hx" baseArr.push("k"); #line 17 "D:\\project\\sangong\\sangong\\src\\org\\msgpack\\Decoder.hx" base.__hx_getFields(baseArr); }
public override void __hx_getFields(global::haxe.root.Array baseArr) { #line 33 "C:\\HaxeToolkit\\haxe\\std\\haxe\\iterators\\StringIteratorUnicode.hx" baseArr.push("s"); #line 33 "C:\\HaxeToolkit\\haxe\\std\\haxe\\iterators\\StringIteratorUnicode.hx" baseArr.push("offset"); #line 33 "C:\\HaxeToolkit\\haxe\\std\\haxe\\iterators\\StringIteratorUnicode.hx" base.__hx_getFields(baseArr); }
public override void __hx_getFields(global::haxe.root.Array baseArr) { #line 32 "C:\\HaxeToolkit\\haxe\\std\\haxe\\io\\Input.hx" baseArr.push("helper"); #line 32 "C:\\HaxeToolkit\\haxe\\std\\haxe\\io\\Input.hx" baseArr.push("bigEndian"); #line 32 "C:\\HaxeToolkit\\haxe\\std\\haxe\\io\\Input.hx" base.__hx_getFields(baseArr); }
public override void __hx_getFields(global::haxe.root.Array baseArr) { #line 29 "C:\\HaxeToolkit\\haxe\\std\\cs\\io\\NativeOutput.hx" baseArr.push("stream"); #line 29 "C:\\HaxeToolkit\\haxe\\std\\cs\\io\\NativeOutput.hx" baseArr.push("canSeek"); #line 29 "C:\\HaxeToolkit\\haxe\\std\\cs\\io\\NativeOutput.hx" base.__hx_getFields(baseArr); }
public override void __hx_getFields(global::haxe.root.Array baseArr) { #line 26 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\StringBuf.hx" baseArr.push("length"); #line 26 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\StringBuf.hx" baseArr.push("b"); #line 26 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\StringBuf.hx" base.__hx_getFields(baseArr); }
public override void __hx_getFields(global::haxe.root.Array baseArr) { #line 29 "C:\\HaxeToolkit\\haxe\\std\\haxe\\io\\Bytes.hx" baseArr.push("b"); #line 29 "C:\\HaxeToolkit\\haxe\\std\\haxe\\io\\Bytes.hx" baseArr.push("length"); #line 29 "C:\\HaxeToolkit\\haxe\\std\\haxe\\io\\Bytes.hx" base.__hx_getFields(baseArr); }
public override void __hx_getFields(global::haxe.root.Array baseArr) { #line 31 "C:\\HaxeToolkit\\haxe\\std\\haxe\\iterators\\MapKeyValueIterator.hx" baseArr.push("keys"); #line 31 "C:\\HaxeToolkit\\haxe\\std\\haxe\\iterators\\MapKeyValueIterator.hx" baseArr.push("map"); #line 31 "C:\\HaxeToolkit\\haxe\\std\\haxe\\iterators\\MapKeyValueIterator.hx" base.__hx_getFields(baseArr); }
public override void __hx_getFields(global::haxe.root.Array baseArr) { #line 36 "C:\\HaxeToolkit\\haxe\\std\\IntIterator.hx" baseArr.push("max"); #line 36 "C:\\HaxeToolkit\\haxe\\std\\IntIterator.hx" baseArr.push("min"); #line 36 "C:\\HaxeToolkit\\haxe\\std\\IntIterator.hx" base.__hx_getFields(baseArr); }
public override void __hx_getFields(global::haxe.root.Array baseArr) { #line 10 "D:\\project\\sangong\\sangong\\src\\web\\proto\\HallEvent.hx" baseArr.push("roomList"); #line 10 "D:\\project\\sangong\\sangong\\src\\web\\proto\\HallEvent.hx" baseArr.push("hander"); #line 10 "D:\\project\\sangong\\sangong\\src\\web\\proto\\HallEvent.hx" baseArr.push("player"); #line 10 "D:\\project\\sangong\\sangong\\src\\web\\proto\\HallEvent.hx" base.__hx_getFields(baseArr); }
public override void __hx_getFields(global::haxe.root.Array <object> baseArr) { unchecked { baseArr.push("_higherBits"); baseArr.push("_lowerBits"); { base.__hx_getFields(baseArr); } } }
public override void __hx_getFields(global::haxe.root.Array <object> baseArr) { unchecked { baseArr.push("params"); baseArr.push("index"); { base.__hx_getFields(baseArr); } } }
public override void __hx_getFields(global::haxe.root.Array <object> baseArr) { unchecked { baseArr.push("files"); baseArr.push("_fileFilter"); { base.__hx_getFields(baseArr); } } }
public static global::haxe.root.Array<object> availableImporters() { unchecked { global::haxe.root.Array<object> scoreImporter = new global::haxe.root.Array<object>(); scoreImporter.push(new global::alphatab.importer.Gp3To5Importer()); scoreImporter.push(new global::alphatab.importer.AlphaTexImporter()); scoreImporter.push(new global::alphatab.importer.GpxImporter()); return scoreImporter; } }
public override void __hx_getFields(global::haxe.root.Array baseArr) { #line 28 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\sys\\thread\\Deque.hx" baseArr.push("addEvent"); #line 28 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\sys\\thread\\Deque.hx" baseArr.push("lockObj"); #line 28 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\sys\\thread\\Deque.hx" baseArr.push("storage"); #line 28 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\sys\\thread\\Deque.hx" base.__hx_getFields(baseArr); }
public virtual void parseBeatProperties(global::haxe.root.Xml node, global::alphatab.model.Beat beat) { unchecked { bool isWhammy = false; global::alphatab.model.BendPoint whammyOrigin = default(global::alphatab.model.BendPoint); global::haxe.lang.Null<int> whammyMiddleValue = default(global::haxe.lang.Null<int>); global::haxe.lang.Null<int> whammyMiddleOffset1 = default(global::haxe.lang.Null<int>); global::haxe.lang.Null<int> whammyMiddleOffset2 = default(global::haxe.lang.Null<int>); global::alphatab.model.BendPoint whammyDestination = default(global::alphatab.model.BendPoint); { object __temp_iterator435 = node.iterator(); while (((bool) (global::haxe.lang.Runtime.callField(__temp_iterator435, "hasNext", 407283053, default(global::haxe.root.Array))) )) { global::haxe.root.Xml c = ((global::haxe.root.Xml) (global::haxe.lang.Runtime.callField(__temp_iterator435, "next", 1224901875, default(global::haxe.root.Array))) ); if (( c.nodeType == global::haxe.root.Xml.Element )) { string _g = c._get_nodeName(); switch (_g) { case "Property": { string name = c.@get("name"); switch (name) { case "Brush": { if (string.Equals(this.getValue(this.findChildElement(c, "Direction")), "Up")) { beat.brushType = global::alphatab.model.BrushType.BrushUp; } else { beat.brushType = global::alphatab.model.BrushType.BrushDown; } break; } case "PickStroke": { if (string.Equals(this.getValue(this.findChildElement(c, "Direction")), "Up")) { beat.pickStroke = global::alphatab.model.PickStrokeType.Up; } else { beat.pickStroke = global::alphatab.model.PickStrokeType.Down; } break; } case "Slapped": { if (( this.findChildElement(c, "Enable") != default(global::haxe.root.Xml) )) { beat.slap = true; } break; } case "Popped": { if (( this.findChildElement(c, "Enable") != default(global::haxe.root.Xml) )) { beat.pop = true; } break; } case "VibratoWTremBar": { string _g1 = this.getValue(this.findChildElement(c, "Strength")); switch (_g1) { case "Wide": { beat.vibrato = global::alphatab.model.VibratoType.Wide; break; } case "Slight": { beat.vibrato = global::alphatab.model.VibratoType.Slight; break; } } break; } case "WhammyBar": { isWhammy = true; break; } case "WhammyBarExtend": { { } break; } case "WhammyBarOriginValue": { if (( whammyOrigin == default(global::alphatab.model.BendPoint) )) { whammyOrigin = new global::alphatab.model.BendPoint(((global::haxe.lang.Null<int>) (default(global::haxe.lang.Null<int>)) ), ((global::haxe.lang.Null<int>) (default(global::haxe.lang.Null<int>)) )); } { double x = ( global::Std.parseFloat(this.getValue(this.findChildElement(c, "Float"))) * 0.04 ); whammyOrigin.@value = ((int) (x) ); } break; } case "WhammyBarOriginOffset": { if (( whammyOrigin == default(global::alphatab.model.BendPoint) )) { whammyOrigin = new global::alphatab.model.BendPoint(((global::haxe.lang.Null<int>) (default(global::haxe.lang.Null<int>)) ), ((global::haxe.lang.Null<int>) (default(global::haxe.lang.Null<int>)) )); } { double x1 = ( global::Std.parseFloat(this.getValue(this.findChildElement(c, "Float"))) * 0.6 ); whammyOrigin.offset = ((int) (x1) ); } break; } case "WhammyBarMiddleValue": { double x2 = ( global::Std.parseFloat(this.getValue(this.findChildElement(c, "Float"))) * 0.04 ); whammyMiddleValue = new global::haxe.lang.Null<int>(new global::haxe.lang.Null<int>(((int) (x2) ), true).@value, true); break; } case "WhammyBarMiddleOffset1": { double x3 = ( global::Std.parseFloat(this.getValue(this.findChildElement(c, "Float"))) * 0.6 ); whammyMiddleOffset1 = new global::haxe.lang.Null<int>(new global::haxe.lang.Null<int>(((int) (x3) ), true).@value, true); break; } case "WhammyBarMiddleOffset2": { double x4 = ( global::Std.parseFloat(this.getValue(this.findChildElement(c, "Float"))) * 0.6 ); whammyMiddleOffset2 = new global::haxe.lang.Null<int>(new global::haxe.lang.Null<int>(((int) (x4) ), true).@value, true); break; } case "WhammyBarDestinationValue": { if (( whammyDestination == default(global::alphatab.model.BendPoint) )) { whammyDestination = new global::alphatab.model.BendPoint(new global::haxe.lang.Null<int>(60, true), ((global::haxe.lang.Null<int>) (default(global::haxe.lang.Null<int>)) )); } { double x5 = ( global::Std.parseFloat(this.getValue(this.findChildElement(c, "Float"))) * 0.04 ); whammyDestination.@value = ((int) (x5) ); } break; } case "WhammyBarDestinationOffset": { if (( whammyDestination == default(global::alphatab.model.BendPoint) )) { whammyDestination = new global::alphatab.model.BendPoint(((global::haxe.lang.Null<int>) (default(global::haxe.lang.Null<int>)) ), ((global::haxe.lang.Null<int>) (default(global::haxe.lang.Null<int>)) )); } { double x6 = ( global::Std.parseFloat(this.getValue(this.findChildElement(c, "Float"))) * 0.6 ); whammyDestination.offset = ((int) (x6) ); } break; } } break; } } } } } if (isWhammy) { if (( whammyOrigin == default(global::alphatab.model.BendPoint) )) { whammyOrigin = new global::alphatab.model.BendPoint(((global::haxe.lang.Null<int>) (default(global::haxe.lang.Null<int>)) ), ((global::haxe.lang.Null<int>) (default(global::haxe.lang.Null<int>)) )); } if (( whammyDestination == default(global::alphatab.model.BendPoint) )) { whammyDestination = new global::alphatab.model.BendPoint(new global::haxe.lang.Null<int>(60, true), ((global::haxe.lang.Null<int>) (default(global::haxe.lang.Null<int>)) )); } global::haxe.root.Array<object> whammy = new global::haxe.root.Array<object>(); whammy.push(whammyOrigin); if (( ( ! (global::haxe.lang.Runtime.eq((whammyMiddleOffset1).toDynamic(), (default(global::haxe.lang.Null<int>)).toDynamic())) ) && ( ! (global::haxe.lang.Runtime.eq((whammyMiddleValue).toDynamic(), (default(global::haxe.lang.Null<int>)).toDynamic())) ) )) { whammy.push(new global::alphatab.model.BendPoint(((global::haxe.lang.Null<int>) (whammyMiddleOffset1) ), ((global::haxe.lang.Null<int>) (whammyMiddleValue) ))); } if (( ( ! (global::haxe.lang.Runtime.eq((whammyMiddleOffset2).toDynamic(), (default(global::haxe.lang.Null<int>)).toDynamic())) ) && ( ! (global::haxe.lang.Runtime.eq((whammyMiddleValue).toDynamic(), (default(global::haxe.lang.Null<int>)).toDynamic())) ) )) { whammy.push(new global::alphatab.model.BendPoint(((global::haxe.lang.Null<int>) (whammyMiddleOffset2) ), ((global::haxe.lang.Null<int>) (whammyMiddleValue) ))); } if (( ( global::haxe.lang.Runtime.eq((whammyMiddleOffset1).toDynamic(), (default(global::haxe.lang.Null<int>)).toDynamic()) && global::haxe.lang.Runtime.eq((whammyMiddleOffset2).toDynamic(), (default(global::haxe.lang.Null<int>)).toDynamic()) ) && ( ! (global::haxe.lang.Runtime.eq((whammyMiddleValue).toDynamic(), (default(global::haxe.lang.Null<int>)).toDynamic())) ) )) { whammy.push(new global::alphatab.model.BendPoint(new global::haxe.lang.Null<int>(30, true), ((global::haxe.lang.Null<int>) (whammyMiddleValue) ))); } whammy.push(whammyDestination); beat.whammyBarPoints = whammy; } } }
public virtual void parseNoteProperties(global::haxe.root.Xml node, global::alphatab.model.Note note, string noteId) { unchecked { bool isBended = false; global::alphatab.model.BendPoint bendOrigin = default(global::alphatab.model.BendPoint); global::haxe.lang.Null<int> bendMiddleValue = default(global::haxe.lang.Null<int>); global::haxe.lang.Null<int> bendMiddleOffset1 = default(global::haxe.lang.Null<int>); global::haxe.lang.Null<int> bendMiddleOffset2 = default(global::haxe.lang.Null<int>); global::alphatab.model.BendPoint bendDestination = default(global::alphatab.model.BendPoint); { object __temp_iterator438 = node.iterator(); while (((bool) (global::haxe.lang.Runtime.callField(__temp_iterator438, "hasNext", 407283053, default(global::haxe.root.Array))) )) { global::haxe.root.Xml c = ((global::haxe.root.Xml) (global::haxe.lang.Runtime.callField(__temp_iterator438, "next", 1224901875, default(global::haxe.root.Array))) ); if (( c.nodeType == global::haxe.root.Xml.Element )) { string _g = c._get_nodeName(); switch (_g) { case "Property": { string name = c.@get("name"); switch (name) { case "String": { note.@string = ( global::Std.parseInt(this.getValue(this.findChildElement(c, "String"))).@value + 1 ); break; } case "Fret": { note.fret = global::Std.parseInt(this.getValue(this.findChildElement(c, "Fret"))).@value; break; } case "Tapped": { this._tappedNotes.@set(noteId, true); break; } case "HarmonicType": { global::haxe.root.Xml htype = this.findChildElement(c, "HType"); if (( htype != default(global::haxe.root.Xml) )) { string _g1 = this.getValue(htype); switch (_g1) { case "NoHarmonic": { note.harmonicType = global::alphatab.model.HarmonicType.None; break; } case "Natural": { note.harmonicType = global::alphatab.model.HarmonicType.Natural; break; } case "Artificial": { note.harmonicType = global::alphatab.model.HarmonicType.Artificial; break; } case "Pinch": { note.harmonicType = global::alphatab.model.HarmonicType.Pinch; break; } case "Tap": { note.harmonicType = global::alphatab.model.HarmonicType.Tap; break; } case "Semi": { note.harmonicType = global::alphatab.model.HarmonicType.Semi; break; } case "Feedback": { note.harmonicType = global::alphatab.model.HarmonicType.Feedback; break; } } } break; } case "HarmonicFret": { global::haxe.root.Xml hfret = this.findChildElement(c, "HFret"); if (( hfret != default(global::haxe.root.Xml) )) { note.harmonicValue = global::Std.parseFloat(this.getValue(hfret)); } break; } case "PalmMuted": { if (( this.findChildElement(c, "Enable") != default(global::haxe.root.Xml) )) { note.isPalmMute = true; } break; } case "Octave": { note.octave = global::Std.parseInt(this.getValue(this.findChildElement(c, "Number"))).@value; break; } case "Bended": { isBended = true; break; } case "BendOriginValue": { if (( bendOrigin == default(global::alphatab.model.BendPoint) )) { bendOrigin = new global::alphatab.model.BendPoint(((global::haxe.lang.Null<int>) (default(global::haxe.lang.Null<int>)) ), ((global::haxe.lang.Null<int>) (default(global::haxe.lang.Null<int>)) )); } { double x = ( global::Std.parseFloat(this.getValue(this.findChildElement(c, "Float"))) * 0.04 ); bendOrigin.@value = ((int) (x) ); } break; } case "BendOriginOffset": { if (( bendOrigin == default(global::alphatab.model.BendPoint) )) { bendOrigin = new global::alphatab.model.BendPoint(((global::haxe.lang.Null<int>) (default(global::haxe.lang.Null<int>)) ), ((global::haxe.lang.Null<int>) (default(global::haxe.lang.Null<int>)) )); } { double x1 = ( global::Std.parseFloat(this.getValue(this.findChildElement(c, "Float"))) * 0.6 ); bendOrigin.offset = ((int) (x1) ); } break; } case "BendMiddleValue": { double x2 = ( global::Std.parseFloat(this.getValue(this.findChildElement(c, "Float"))) * 0.04 ); bendMiddleValue = new global::haxe.lang.Null<int>(new global::haxe.lang.Null<int>(((int) (x2) ), true).@value, true); break; } case "BendMiddleOffset1": { double x3 = ( global::Std.parseFloat(this.getValue(this.findChildElement(c, "Float"))) * 0.6 ); bendMiddleOffset1 = new global::haxe.lang.Null<int>(new global::haxe.lang.Null<int>(((int) (x3) ), true).@value, true); break; } case "BendMiddleOffset2": { double x4 = ( global::Std.parseFloat(this.getValue(this.findChildElement(c, "Float"))) * 0.6 ); bendMiddleOffset2 = new global::haxe.lang.Null<int>(new global::haxe.lang.Null<int>(((int) (x4) ), true).@value, true); break; } case "BendDestinationValue": { if (( bendDestination == default(global::alphatab.model.BendPoint) )) { bendDestination = new global::alphatab.model.BendPoint(new global::haxe.lang.Null<int>(60, true), ((global::haxe.lang.Null<int>) (default(global::haxe.lang.Null<int>)) )); } { double x5 = ( global::Std.parseFloat(this.getValue(this.findChildElement(c, "Float"))) * 0.04 ); bendDestination.@value = ((int) (x5) ); } break; } case "BendDestinationOffset": { if (( bendDestination == default(global::alphatab.model.BendPoint) )) { bendDestination = new global::alphatab.model.BendPoint(((global::haxe.lang.Null<int>) (default(global::haxe.lang.Null<int>)) ), ((global::haxe.lang.Null<int>) (default(global::haxe.lang.Null<int>)) )); } { double x6 = ( global::Std.parseFloat(this.getValue(this.findChildElement(c, "Float"))) * 0.6 ); bendDestination.offset = ((int) (x6) ); } break; } case "HopoOrigin": { if (( this.findChildElement(c, "Enable") != default(global::haxe.root.Xml) )) { note.isHammerPullOrigin = true; } break; } case "HopoDestination": { { } break; } case "Slide": { global::haxe.lang.Null<int> slideFlags = global::Std.parseInt(this.getValue(this.findChildElement(c, "Flags"))); if (( (( slideFlags.@value & 1 )) != 0 )) { note.slideType = global::alphatab.model.SlideType.Shift; } if (( (( slideFlags.@value & 2 )) != 0 )) { note.slideType = global::alphatab.model.SlideType.Legato; } if (( (( slideFlags.@value & 4 )) != 0 )) { note.slideType = global::alphatab.model.SlideType.OutDown; } if (( (( slideFlags.@value & 8 )) != 0 )) { note.slideType = global::alphatab.model.SlideType.OutUp; } if (( (( slideFlags.@value & 16 )) != 0 )) { note.slideType = global::alphatab.model.SlideType.IntoFromBelow; } if (( (( slideFlags.@value & 32 )) != 0 )) { note.slideType = global::alphatab.model.SlideType.IntoFromAbove; } break; } } break; } } } } } if (isBended) { if (( bendOrigin == default(global::alphatab.model.BendPoint) )) { bendOrigin = new global::alphatab.model.BendPoint(((global::haxe.lang.Null<int>) (default(global::haxe.lang.Null<int>)) ), ((global::haxe.lang.Null<int>) (default(global::haxe.lang.Null<int>)) )); } if (( bendDestination == default(global::alphatab.model.BendPoint) )) { bendDestination = new global::alphatab.model.BendPoint(new global::haxe.lang.Null<int>(60, true), ((global::haxe.lang.Null<int>) (default(global::haxe.lang.Null<int>)) )); } global::haxe.root.Array<object> bend = new global::haxe.root.Array<object>(); bend.push(bendOrigin); if (( ( ! (global::haxe.lang.Runtime.eq((bendMiddleOffset1).toDynamic(), (default(global::haxe.lang.Null<int>)).toDynamic())) ) && ( ! (global::haxe.lang.Runtime.eq((bendMiddleValue).toDynamic(), (default(global::haxe.lang.Null<int>)).toDynamic())) ) )) { bend.push(new global::alphatab.model.BendPoint(((global::haxe.lang.Null<int>) (bendMiddleOffset1) ), ((global::haxe.lang.Null<int>) (bendMiddleValue) ))); } if (( ( ! (global::haxe.lang.Runtime.eq((bendMiddleOffset2).toDynamic(), (default(global::haxe.lang.Null<int>)).toDynamic())) ) && ( ! (global::haxe.lang.Runtime.eq((bendMiddleValue).toDynamic(), (default(global::haxe.lang.Null<int>)).toDynamic())) ) )) { bend.push(new global::alphatab.model.BendPoint(((global::haxe.lang.Null<int>) (bendMiddleOffset2) ), ((global::haxe.lang.Null<int>) (bendMiddleValue) ))); } if (( ( global::haxe.lang.Runtime.eq((bendMiddleOffset1).toDynamic(), (default(global::haxe.lang.Null<int>)).toDynamic()) && global::haxe.lang.Runtime.eq((bendMiddleOffset2).toDynamic(), (default(global::haxe.lang.Null<int>)).toDynamic()) ) && ( ! (global::haxe.lang.Runtime.eq((bendMiddleValue).toDynamic(), (default(global::haxe.lang.Null<int>)).toDynamic())) ) )) { bend.push(new global::alphatab.model.BendPoint(new global::haxe.lang.Null<int>(30, true), ((global::haxe.lang.Null<int>) (bendMiddleValue) ))); } bend.push(bendDestination); note.bendPoints = bend; } } }