Network Broadcast

Network handling is quite extensive and you can read about it in the Quake 2 Network Protocol Chapter.

gi.unicast(entity, reliable)

Send the prepared data to a single entity. Set reliable to true for important messages?

gi.multicast(origin, to)

Send prepared data to several clients.

gi.WriteChar(char)

gi.WriteByte(byte)

gi.WriteShort(short)

gi.WriteLong(long)

gi.WriteString(string)

gi.WritePosition(position)

gi.WriteDir(direction)

gi.WriteAngle(angle)