public override object __hx_setField(string field, int hash, object @value, bool handleProperties) { unchecked { switch (hash) { case 1291439277: { this.text = global::haxe.lang.Runtime.toString(@value); return(@value); } case 1475155156: { this.ratioPosition = ((double)(global::haxe.lang.Runtime.toDouble(@value))); return(@value); } case 834174833: { this.@value = ((double)(global::haxe.lang.Runtime.toDouble(@value))); return(@value); } case 1292432058: { this.type = ((global::alphatab.model.AutomationType)(@value)); return(@value); } case 1158278511: { this.isLinear = ((bool)(@value)); return(@value); } default: { return(base.__hx_setField(field, hash, @value, handleProperties)); } } } }
public virtual global::alphatab.model.Automation getAutomation(global::alphatab.model.AutomationType type) { unchecked { { int _g = 0; global::haxe.root.Array <object> _g1 = this.automations; while ((_g < _g1.length)) { global::alphatab.model.Automation a = ((global::alphatab.model.Automation)(_g1[_g])); ++_g; if ((a.type == type)) { return(a); } } } return(default(global::alphatab.model.Automation)); } }
public override object __hx_setField(string field, int hash, object @value, bool handleProperties) { unchecked { switch (hash) { case 1291439277: { this.text = global::haxe.lang.Runtime.toString(@value); return @value; } case 1475155156: { this.ratioPosition = ((double) (global::haxe.lang.Runtime.toDouble(@value)) ); return @value; } case 834174833: { this.@value = ((double) (global::haxe.lang.Runtime.toDouble(@value)) ); return @value; } case 1292432058: { this.type = ((global::alphatab.model.AutomationType) (@value) ); return @value; } case 1158278511: { this.isLinear = ((bool) (@value) ); return @value; } default: { return base.__hx_setField(field, hash, @value, handleProperties); } } } }