public override object __hx_setField(string field, int hash, object @value, bool handleProperties) { unchecked { switch (hash) { case 1751303026: { this.dynamicValue = ((global::alphatab.model.DynamicValue)(@value)); return(@value); } case 67859554: { this.start = ((int)(global::haxe.lang.Runtime.toInt(@value))); return(@value); } case 848728090: { this.crescendo = ((global::alphatab.rendering.glyphs.CrescendoType)(@value)); return(@value); } case 706091227: { this.tremoloSpeed = new global::haxe.lang.Null <global::alphatab.model.Duration>(global::haxe.lang.Null <object> .ofDynamic <global::alphatab.model.Duration>(@value).@value, true); return(@value); } case 1801219961: { this.pickStroke = ((global::alphatab.model.PickStrokeType)(@value)); return(@value); } case 233406162: { this.graceType = ((global::alphatab.model.GraceType)(@value)); return(@value); } case 1594575703: { this.chordId = global::haxe.lang.Runtime.toString(@value); return(@value); } case 1598475321: { this.vibrato = ((global::alphatab.model.VibratoType)(@value)); return(@value); } case 1147430701: { this.whammyBarPoints = ((global::haxe.root.Array <object>)(global::haxe.root.Array <object> .__hx_cast <object>(((global::haxe.root.Array)(@value))))); return(@value); } case 438479229: { this.tupletNumerator = ((int)(global::haxe.lang.Runtime.toInt(@value))); return(@value); } case 1310257562: { this.tupletDenominator = ((int)(global::haxe.lang.Runtime.toInt(@value))); return(@value); } case 1650208238: { this.brushDuration = ((int)(global::haxe.lang.Runtime.toInt(@value))); return(@value); } case 1321811028: { this.brushType = ((global::alphatab.model.BrushType)(@value)); return(@value); } case 1291439277: { this.text = global::haxe.lang.Runtime.toString(@value); return(@value); } case 5790307: { this.tap = ((bool)(@value)); return(@value); } case 1280692680: { this.slap = ((bool)(@value)); return(@value); } case 650430015: { this.hasRasgueado = ((bool)(@value)); return(@value); } case 5594513: { this.pop = ((bool)(@value)); return(@value); } case 632389428: { this.lyrics = ((global::haxe.root.Array <object>)(global::haxe.root.Array <object> .__hx_cast <object>(((global::haxe.root.Array)(@value))))); return(@value); } case 1688947841: { this.fadeIn = ((bool)(@value)); return(@value); } case 1114502602: { this.dots = ((int)(global::haxe.lang.Runtime.toInt(@value))); return(@value); } case 638277820: { this.automations = ((global::haxe.root.Array <object>)(global::haxe.root.Array <object> .__hx_cast <object>(((global::haxe.root.Array)(@value))))); return(@value); } case 207609411: { this.isEmpty = ((bool)(@value)); return(@value); } case 344854356: { this.duration = ((global::alphatab.model.Duration)(@value)); return(@value); } case 49465911: { this._maxNote = ((global::alphatab.model.Note)(@value)); return(@value); } case 1942741029: { this._minNote = ((global::alphatab.model.Note)(@value)); return(@value); } case 533388353: { this.notes = ((global::haxe.root.Array <object>)(global::haxe.root.Array <object> .__hx_cast <object>(((global::haxe.root.Array)(@value))))); return(@value); } case 989275570: { this.voice = ((global::alphatab.model.Voice)(@value)); return(@value); } case 1041537810: { this.index = ((int)(global::haxe.lang.Runtime.toInt(@value))); return(@value); } case 1826654217: { this.nextBeat = ((global::alphatab.model.Beat)(@value)); return(@value); } case 1739960653: { this.previousBeat = ((global::alphatab.model.Beat)(@value)); return(@value); } default: { return(base.__hx_setField(field, hash, @value, handleProperties)); } } } }
public override object __hx_setField(string field, int hash, object @value, bool handleProperties) { unchecked { switch (hash) { case 1751303026: { this.dynamicValue = ((global::alphatab.model.DynamicValue) (@value) ); return @value; } case 67859554: { this.start = ((int) (global::haxe.lang.Runtime.toInt(@value)) ); return @value; } case 848728090: { this.crescendo = ((global::alphatab.rendering.glyphs.CrescendoType) (@value) ); return @value; } case 706091227: { this.tremoloSpeed = new global::haxe.lang.Null<global::alphatab.model.Duration>(global::haxe.lang.Null<object>.ofDynamic<global::alphatab.model.Duration>(@value).@value, true); return @value; } case 1801219961: { this.pickStroke = ((global::alphatab.model.PickStrokeType) (@value) ); return @value; } case 233406162: { this.graceType = ((global::alphatab.model.GraceType) (@value) ); return @value; } case 1594575703: { this.chordId = global::haxe.lang.Runtime.toString(@value); return @value; } case 1598475321: { this.vibrato = ((global::alphatab.model.VibratoType) (@value) ); return @value; } case 1147430701: { this.whammyBarPoints = ((global::haxe.root.Array<object>) (global::haxe.root.Array<object>.__hx_cast<object>(((global::haxe.root.Array) (@value) ))) ); return @value; } case 438479229: { this.tupletNumerator = ((int) (global::haxe.lang.Runtime.toInt(@value)) ); return @value; } case 1310257562: { this.tupletDenominator = ((int) (global::haxe.lang.Runtime.toInt(@value)) ); return @value; } case 1650208238: { this.brushDuration = ((int) (global::haxe.lang.Runtime.toInt(@value)) ); return @value; } case 1321811028: { this.brushType = ((global::alphatab.model.BrushType) (@value) ); return @value; } case 1291439277: { this.text = global::haxe.lang.Runtime.toString(@value); return @value; } case 5790307: { this.tap = ((bool) (@value) ); return @value; } case 1280692680: { this.slap = ((bool) (@value) ); return @value; } case 650430015: { this.hasRasgueado = ((bool) (@value) ); return @value; } case 5594513: { this.pop = ((bool) (@value) ); return @value; } case 632389428: { this.lyrics = ((global::haxe.root.Array<object>) (global::haxe.root.Array<object>.__hx_cast<object>(((global::haxe.root.Array) (@value) ))) ); return @value; } case 1688947841: { this.fadeIn = ((bool) (@value) ); return @value; } case 1114502602: { this.dots = ((int) (global::haxe.lang.Runtime.toInt(@value)) ); return @value; } case 638277820: { this.automations = ((global::haxe.root.Array<object>) (global::haxe.root.Array<object>.__hx_cast<object>(((global::haxe.root.Array) (@value) ))) ); return @value; } case 207609411: { this.isEmpty = ((bool) (@value) ); return @value; } case 344854356: { this.duration = ((global::alphatab.model.Duration) (@value) ); return @value; } case 49465911: { this._maxNote = ((global::alphatab.model.Note) (@value) ); return @value; } case 1942741029: { this._minNote = ((global::alphatab.model.Note) (@value) ); return @value; } case 533388353: { this.notes = ((global::haxe.root.Array<object>) (global::haxe.root.Array<object>.__hx_cast<object>(((global::haxe.root.Array) (@value) ))) ); return @value; } case 989275570: { this.voice = ((global::alphatab.model.Voice) (@value) ); return @value; } case 1041537810: { this.index = ((int) (global::haxe.lang.Runtime.toInt(@value)) ); return @value; } case 1826654217: { this.nextBeat = ((global::alphatab.model.Beat) (@value) ); return @value; } case 1739960653: { this.previousBeat = ((global::alphatab.model.Beat) (@value) ); return @value; } default: { return base.__hx_setField(field, hash, @value, handleProperties); } } } }