Module networked_multiplayer_e_net

Consts

COMPRESS_NONE = 0'i64
COMPRESS_RANGE_CODER = 1'i64
COMPRESS_FASTLZ = 2'i64
COMPRESS_ZLIB = 3'i64
COMPRESS_ZSTD = 4'i64

Procs

proc compressionMode(self: NetworkedMultiplayerENet): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc compressionMode=(self: NetworkedMultiplayerENet; val: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc transferChannel(self: NetworkedMultiplayerENet): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc transferChannel=(self: NetworkedMultiplayerENet; val: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc channelCount(self: NetworkedMultiplayerENet): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc channelCount=(self: NetworkedMultiplayerENet; val: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc alwaysOrdered(self: NetworkedMultiplayerENet): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc alwaysOrdered=(self: NetworkedMultiplayerENet; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc createServer(self: NetworkedMultiplayerENet; port: int64;
                 maxClients: int64 = 32'i64; inBandwidth: int64 = 0'i64;
                 outBandwidth: int64 = 0'i64): Error {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc createClient(self: NetworkedMultiplayerENet; address: string; port: int64;
                 inBandwidth: int64 = 0'i64; outBandwidth: int64 = 0'i64;
                 clientPort: int64 = 0'i64): Error {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc closeConnection(self: NetworkedMultiplayerENet; waitUsec: int64 = 100'i64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc disconnectPeer(self: NetworkedMultiplayerENet; id: int64; now: bool = false) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setBindIp(self: NetworkedMultiplayerENet; ip: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getPeerAddress(self: NetworkedMultiplayerENet; id: int64): string {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getPeerPort(self: NetworkedMultiplayerENet; id: int64): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getPacketChannel(self: NetworkedMultiplayerENet): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getLastPacketChannel(self: NetworkedMultiplayerENet): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}