public S2C_InteractiveMusicCommand(PacketReader reader, ChannelID channelID, NetID senderNetID)
        {
            this.SenderNetID = senderNetID;
            this.ChannelID   = channelID;

            this.MusicCommand = reader.ReadMusicCommand();
            this.MusicEventID = reader.ReadAudioEventID();
            this.MusicParamID = reader.ReadAudioEventID();

            this.ExtraBytes = reader.ReadLeft();
        }
Esempio n. 2
0
 public static void WriteAudioEventID(this PacketWriter writer, AudioEventID data)
 {
     writer.WriteUInt32((uint)data);
 }