Zig: Server, ticks and system information¶
Functions¶
props.srvBdsVersion¶
| Zig | |
|---|---|
PIER_SRV_BDS_VERSION: Common::getGameVersionString
- Parameters:
- allocator :
std.mem.Allocator
- allocator :
- Return type:
core.Error![]u8 - Slots:
server_info_str
props.srvProtocolVersion¶
| Zig | |
|---|---|
PIER_SRV_PROTOCOL_VERSION: LevelData::mNetworkVersion: the protocol the level was last written by. Says how old the save is, not what the server speaks.
- Parameters:
- allocator :
std.mem.Allocator
- allocator :
- Return type:
core.Error![]u8 - Slots:
server_info_str
props.srvLevelProtocolVersion¶
| Zig | |
|---|---|
PIER_SRV_LEVEL_PROTOCOL_VERSION: "major.minor.patch" of the running build, from CurrentGameSemVersion. Lets a mod carry its own versionโprotocol table instead of waiting for a Pier release.
- Parameters:
- allocator :
std.mem.Allocator
- allocator :
- Return type:
core.Error![]u8 - Slots:
server_info_str
props.srvGameSemVersion¶
| Zig | |
|---|---|
PIER_SRV_GAME_SEM_VERSION: PIER_SRV_GAME_SEM_VERSION
- Parameters:
- allocator :
std.mem.Allocator
- allocator :
- Return type:
core.Error![]u8 - Slots:
server_info_str
props.sysOsName¶
| Zig | |
|---|---|
PIER_SYS_OS_NAME: sys_utils::getSystemName
- Parameters:
- allocator :
std.mem.Allocator
- allocator :
- Return type:
core.Error![]u8 - Slots:
sys_info_str
props.sysOsVersion¶
| Zig | |
|---|---|
PIER_SYS_OS_VERSION: sys_utils::getSystemVersion โ string
- Parameters:
- allocator :
std.mem.Allocator
- allocator :
- Return type:
core.Error![]u8 - Slots:
sys_info_str
props.sysLocale¶
| Zig | |
|---|---|
PIER_SYS_LOCALE: sys_utils::getSystemLocaleCode
- Parameters:
- allocator :
std.mem.Allocator
- allocator :
- Return type:
core.Error![]u8 - Slots:
sys_info_str
props.sysLocalTime¶
| Zig | |
|---|---|
PIER_SYS_LOCAL_TIME: sys_utils::getLocalTime โ SNBT {year,month,day,hour,minute,second,ms}
- Parameters:
- allocator :
std.mem.Allocator
- allocator :
- Return type:
core.Error![]u8 - Slots:
sys_info_str