05-10-2013, 02:05 AM
Do you want to have a separate function for each sound? I'd parametrize the sound, making a BroadcastSound() function and it would accept either a SoundName (string) or a SoundType (enum / number) parameter.
Also, have a look at the protocol specification, I think there are two separate sound-related packets, maybe we could refactor them to a more usable form.
Also, have a look at the protocol specification, I think there are two separate sound-related packets, maybe we could refactor them to a more usable form.