Example #1
0
        public override object __hx_setField(string field, int hash, object @value, bool handleProperties)
        {
            unchecked
            {
                switch (hash)
                {
                case 792673520:
                {
                    this.octave = ((int)(global::haxe.lang.Runtime.toInt(@value)));
                    return(@value);
                }


                case 1751303026:
                {
                    this.dynamicValue = ((global::alphatab.model.DynamicValue)(@value));
                    return(@value);
                }


                case 1091821942:
                {
                    this.beat = ((global::alphatab.model.Beat)(@value));
                    return(@value);
                }


                case 2132043430:
                {
                    this.swapAccidentals = ((bool)(@value));
                    return(@value);
                }


                case 949687761:
                {
                    this.durationPercent = ((double)(global::haxe.lang.Runtime.toDouble(@value)));
                    return(@value);
                }


                case 1428159260:
                {
                    this.trillSpeed = ((global::alphatab.model.Duration)(@value));
                    return(@value);
                }


                case 91153158:
                {
                    this.trillValue = ((int)(global::haxe.lang.Runtime.toInt(@value)));
                    return(@value);
                }


                case 1618969487:
                {
                    this.isFingering = ((bool)(@value));
                    return(@value);
                }


                case 1806698356:
                {
                    this.rightHandFinger = ((int)(global::haxe.lang.Runtime.toInt(@value)));
                    return(@value);
                }


                case 1286276959:
                {
                    this.leftHandFinger = ((int)(global::haxe.lang.Runtime.toInt(@value)));
                    return(@value);
                }


                case 55629992:
                {
                    this.isTieDestination = ((bool)(@value));
                    return(@value);
                }


                case 1361216012:
                {
                    this.isTieOrigin = ((bool)(@value));
                    return(@value);
                }


                case 1923205974:
                {
                    this.tieOrigin = ((global::alphatab.model.Note)(@value));
                    return(@value);
                }


                case 253080294:
                {
                    this.isStaccato = ((bool)(@value));
                    return(@value);
                }


                case 1598475321:
                {
                    this.vibrato = ((global::alphatab.model.VibratoType)(@value));
                    return(@value);
                }


                case 59156322:
                {
                    this.slideTarget = ((global::alphatab.model.Note)(@value));
                    return(@value);
                }


                case 1293078667:
                {
                    this.slideType = ((global::alphatab.model.SlideType)(@value));
                    return(@value);
                }


                case 1607275438:
                {
                    this.isDead = ((bool)(@value));
                    return(@value);
                }


                case 1725549749:
                {
                    this.isPalmMute = ((bool)(@value));
                    return(@value);
                }


                case 1914101345:
                {
                    this.isLetRing = ((bool)(@value));
                    return(@value);
                }


                case 1528640775:
                {
                    this.harmonicType = ((global::alphatab.model.HarmonicType)(@value));
                    return(@value);
                }


                case 1969111172:
                {
                    this.harmonicValue = ((double)(global::haxe.lang.Runtime.toDouble(@value)));
                    return(@value);
                }


                case 1833015931:
                {
                    this.isHammerPullOrigin = ((bool)(@value));
                    return(@value);
                }


                case 152554969:
                {
                    this.isHammerPullDestination = ((bool)(@value));
                    return(@value);
                }


                case 1958899313:
                {
                    this.hammerPullOrigin = ((global::alphatab.model.Note)(@value));
                    return(@value);
                }


                case 288368849:
                {
                    this.@string = ((int)(global::haxe.lang.Runtime.toInt(@value)));
                    return(@value);
                }


                case 803091205:
                {
                    this.isGhost = ((bool)(@value));
                    return(@value);
                }


                case 1136827579:
                {
                    this.fret = ((int)(global::haxe.lang.Runtime.toInt(@value)));
                    return(@value);
                }


                case 1402094524:
                {
                    this.bendPoints = ((global::haxe.root.Array <object>)(global::haxe.root.Array <object> .__hx_cast <object>(((global::haxe.root.Array)(@value)))));
                    return(@value);
                }


                case 860647805:
                {
                    this.accentuated = ((global::alphatab.model.AccentuationType)(@value));
                    return(@value);
                }


                default:
                {
                    return(base.__hx_setField(field, hash, @value, handleProperties));
                }
                }
            }
        }
Example #2
0
        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));
                }
                }
            }
        }
Example #3
0
		public override   object __hx_setField(string field, int hash, object @value, bool handleProperties)
		{
			unchecked 
			{
				switch (hash)
				{
					case 792673520:
					{
						this.octave = ((int) (global::haxe.lang.Runtime.toInt(@value)) );
						return @value;
					}
					
					
					case 1751303026:
					{
						this.dynamicValue = ((global::alphatab.model.DynamicValue) (@value) );
						return @value;
					}
					
					
					case 1091821942:
					{
						this.beat = ((global::alphatab.model.Beat) (@value) );
						return @value;
					}
					
					
					case 2132043430:
					{
						this.swapAccidentals = ((bool) (@value) );
						return @value;
					}
					
					
					case 949687761:
					{
						this.durationPercent = ((double) (global::haxe.lang.Runtime.toDouble(@value)) );
						return @value;
					}
					
					
					case 1428159260:
					{
						this.trillSpeed = ((global::alphatab.model.Duration) (@value) );
						return @value;
					}
					
					
					case 91153158:
					{
						this.trillValue = ((int) (global::haxe.lang.Runtime.toInt(@value)) );
						return @value;
					}
					
					
					case 1618969487:
					{
						this.isFingering = ((bool) (@value) );
						return @value;
					}
					
					
					case 1806698356:
					{
						this.rightHandFinger = ((int) (global::haxe.lang.Runtime.toInt(@value)) );
						return @value;
					}
					
					
					case 1286276959:
					{
						this.leftHandFinger = ((int) (global::haxe.lang.Runtime.toInt(@value)) );
						return @value;
					}
					
					
					case 55629992:
					{
						this.isTieDestination = ((bool) (@value) );
						return @value;
					}
					
					
					case 1361216012:
					{
						this.isTieOrigin = ((bool) (@value) );
						return @value;
					}
					
					
					case 1923205974:
					{
						this.tieOrigin = ((global::alphatab.model.Note) (@value) );
						return @value;
					}
					
					
					case 253080294:
					{
						this.isStaccato = ((bool) (@value) );
						return @value;
					}
					
					
					case 1598475321:
					{
						this.vibrato = ((global::alphatab.model.VibratoType) (@value) );
						return @value;
					}
					
					
					case 59156322:
					{
						this.slideTarget = ((global::alphatab.model.Note) (@value) );
						return @value;
					}
					
					
					case 1293078667:
					{
						this.slideType = ((global::alphatab.model.SlideType) (@value) );
						return @value;
					}
					
					
					case 1607275438:
					{
						this.isDead = ((bool) (@value) );
						return @value;
					}
					
					
					case 1725549749:
					{
						this.isPalmMute = ((bool) (@value) );
						return @value;
					}
					
					
					case 1914101345:
					{
						this.isLetRing = ((bool) (@value) );
						return @value;
					}
					
					
					case 1528640775:
					{
						this.harmonicType = ((global::alphatab.model.HarmonicType) (@value) );
						return @value;
					}
					
					
					case 1969111172:
					{
						this.harmonicValue = ((double) (global::haxe.lang.Runtime.toDouble(@value)) );
						return @value;
					}
					
					
					case 1833015931:
					{
						this.isHammerPullOrigin = ((bool) (@value) );
						return @value;
					}
					
					
					case 152554969:
					{
						this.isHammerPullDestination = ((bool) (@value) );
						return @value;
					}
					
					
					case 1958899313:
					{
						this.hammerPullOrigin = ((global::alphatab.model.Note) (@value) );
						return @value;
					}
					
					
					case 288368849:
					{
						this.@string = ((int) (global::haxe.lang.Runtime.toInt(@value)) );
						return @value;
					}
					
					
					case 803091205:
					{
						this.isGhost = ((bool) (@value) );
						return @value;
					}
					
					
					case 1136827579:
					{
						this.fret = ((int) (global::haxe.lang.Runtime.toInt(@value)) );
						return @value;
					}
					
					
					case 1402094524:
					{
						this.bendPoints = ((global::haxe.root.Array<object>) (global::haxe.root.Array<object>.__hx_cast<object>(((global::haxe.root.Array) (@value) ))) );
						return @value;
					}
					
					
					case 860647805:
					{
						this.accentuated = ((global::alphatab.model.AccentuationType) (@value) );
						return @value;
					}
					
					
					default:
					{
						return base.__hx_setField(field, hash, @value, handleProperties);
					}
					
				}
				
			}
		}
Example #4
0
		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);
					}
					
				}
				
			}
		}