Class ZNetExtension
Extends ZNet with a clear diversion between local, client and server instances.
Inherited Members
Namespace: Jotunn
Assembly: Jotunn.dll
Syntax
public static class ZNetExtension
Methods
Name | Description |
---|---|
GetInstanceType(ZNet) | Determine the current game instance type regarding to networking. |
IsAdmin(ZNet, long) | Determine if a peer uid is in the admin list on the current ZNet. Only works on the server instance |
IsClientInstance(ZNet) | Returns true if the game was started locally and is connected to a server. |
IsLocalInstance(ZNet) | Returns true if the game was started locally and a local world was started. |
IsServerInstance(ZNet) | Returns true if the game was started as a dedicated server. |