Package-level declarations

Types

Link copied to clipboard
class VarpLarge : OutgoingGameMessage

Varp large messages are used to send a varp to the client that has a value which does not fit in the range of a byte, being -128..127. For values which do fit in the aforementioned range, the VarpSmall message is preferred as it takes up less bandwidth, although nothing prevents one from sending all varps using this variant.

Link copied to clipboard
data object VarpReset : OutgoingGameMessage

The varp reset packet is used to set the values of every varplayer type to 0. It is worth noting that the client will only reset the varps up until the last one which has a respective cache config. So if the varps array is extended, but respective configs are not made, the extended ones will not be zero'd out.

Link copied to clipboard
class VarpSmall : OutgoingGameMessage

Varp small messages are used to send a varp to the client that has a value which fits in the range of a byte, being -128..127. Note that this class does not verify that the value is in the correct range - instead any bits beyond the range of a byte get ignored.

Link copied to clipboard
data object VarpSync : OutgoingGameMessage

The varp sync packet is used to synchronize the client's cache of varps back up with the server's version.