protected void sendScreenshotWatchPlayerMessage(bool send_screenshot, int current_index, int index, String name)
{
byte[] name_bytes = encoder.GetBytes(name);
byte[] bytes = new byte[9 + name_bytes.Length];
bytes[0] = send_screenshot ? (byte)1 : (byte)0;
KLFCommon.intToBytes(index).CopyTo(bytes, 1);
KLFCommon.intToBytes(current_index).CopyTo(bytes, 5);
name_bytes.CopyTo(bytes, 9);
sendMessageTCP(KLFCommon.ClientMessageID.SCREEN_WATCH_PLAYER, bytes);
}