Ejemplo n.º 1
0
		public override int ReadFrom(byte[] Buffer, int StartIndex = 0)
		{
			int cursor = StartIndex;

			cursor += base.ReadFrom(Buffer, cursor);

			PlayInfo = new StopSound(Buffer, cursor);
			cursor += PlayInfo.ByteLength;

			return cursor - StartIndex;
		}
Ejemplo n.º 2
0
		public StopWaveMessage(StopSound PlayInfo) 
			: base(MessageTypeGameMode.StopWave)
		{
			this.PlayInfo = PlayInfo;
		}
Ejemplo n.º 3
0
		public override unsafe void ReadFrom(ref byte* Buffer)
		{
			base.ReadFrom(ref Buffer);

			PlayInfo = new StopSound(ref Buffer);
		}