Пример #1
0
 public static void __hx_ctor_alphatab_model_PlaybackInformation(global::alphatab.model.PlaybackInformation __temp_me82)
 {
     unchecked
     {
         {
         }
     }
 }
Пример #2
0
        public override object __hx_setField(string field, int hash, object @value, bool handleProperties)
        {
            unchecked
            {
                switch (hash)
                {
                case 1085707415:
                {
                    this.chords = ((global::haxe.ds.StringMap <object>)(global::haxe.ds.StringMap <object> .__hx_cast <object>(((global::haxe.ds.StringMap)(@value)))));
                    return(@value);
                }


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


                case 2027516754:
                {
                    this.score = ((global::alphatab.model.Score)(@value));
                    return(@value);
                }


                case 73353859:
                {
                    this.isPercussion = ((bool)(@value));
                    return(@value);
                }


                case 983703593:
                {
                    this.playbackInfo = ((global::alphatab.model.PlaybackInformation)(@value));
                    return(@value);
                }


                case 1247572323:
                {
                    this.color = ((global::alphatab.platform.model.Color)(@value));
                    return(@value);
                }


                case 695082016:
                {
                    this.tuningName = global::haxe.lang.Runtime.toString(@value);
                    return(@value);
                }


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


                case 432148711:
                {
                    this.shortName = global::haxe.lang.Runtime.toString(@value);
                    return(@value);
                }


                case 1224700491:
                {
                    this.name = global::haxe.lang.Runtime.toString(@value);
                    return(@value);
                }


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


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


                default:
                {
                    return(base.__hx_setField(field, hash, @value, handleProperties));
                }
                }
            }
        }
Пример #3
0
		public virtual   void readPlaybackInfos()
		{
			unchecked 
			{
				this._playbackInfos = new global::haxe.root.Array<object>();
				{
					int _g = 0;
					while (( _g < 64 ))
					{
						int i = _g++;
						global::alphatab.model.PlaybackInformation info = new global::alphatab.model.PlaybackInformation();
						info.primaryChannel = i;
						info.secondaryChannel = i;
						info.program = this.readInt32();
						info.volume = this._data.readByte();
						info.balance = this._data.readByte();
						this._data.read(6);
						this._playbackInfos.push(info);
					}
					
				}
				
			}
		}
Пример #4
0
		public override   object __hx_setField(string field, int hash, object @value, bool handleProperties)
		{
			unchecked 
			{
				switch (hash)
				{
					case 1085707415:
					{
						this.chords = ((global::haxe.ds.StringMap<object>) (global::haxe.ds.StringMap<object>.__hx_cast<object>(((global::haxe.ds.StringMap) (@value) ))) );
						return @value;
					}
					
					
					case 1091626816:
					{
						this.bars = ((global::haxe.root.Array<object>) (global::haxe.root.Array<object>.__hx_cast<object>(((global::haxe.root.Array) (@value) ))) );
						return @value;
					}
					
					
					case 2027516754:
					{
						this.score = ((global::alphatab.model.Score) (@value) );
						return @value;
					}
					
					
					case 73353859:
					{
						this.isPercussion = ((bool) (@value) );
						return @value;
					}
					
					
					case 983703593:
					{
						this.playbackInfo = ((global::alphatab.model.PlaybackInformation) (@value) );
						return @value;
					}
					
					
					case 1247572323:
					{
						this.color = ((global::alphatab.platform.model.Color) (@value) );
						return @value;
					}
					
					
					case 695082016:
					{
						this.tuningName = global::haxe.lang.Runtime.toString(@value);
						return @value;
					}
					
					
					case 139280181:
					{
						this.tuning = ((global::haxe.root.Array<int>) (global::haxe.root.Array<object>.__hx_cast<int>(((global::haxe.root.Array) (@value) ))) );
						return @value;
					}
					
					
					case 432148711:
					{
						this.shortName = global::haxe.lang.Runtime.toString(@value);
						return @value;
					}
					
					
					case 1224700491:
					{
						this.name = global::haxe.lang.Runtime.toString(@value);
						return @value;
					}
					
					
					case 1041537810:
					{
						this.index = ((int) (global::haxe.lang.Runtime.toInt(@value)) );
						return @value;
					}
					
					
					case 1102715933:
					{
						this.capo = ((int) (global::haxe.lang.Runtime.toInt(@value)) );
						return @value;
					}
					
					
					default:
					{
						return base.__hx_setField(field, hash, @value, handleProperties);
					}
					
				}
				
			}
		}