Esempio 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;
		}
Esempio n. 2
0
		public StopWaveMessage(StopSound PlayInfo) 
			: base(MessageTypeGameMode.StopWave)
		{
			this.PlayInfo = PlayInfo;
		}
Esempio n. 3
0
		public override unsafe void ReadFrom(ref byte* Buffer)
		{
			base.ReadFrom(ref Buffer);

			PlayInfo = new StopSound(ref Buffer);
		}