Enum NetworkFlags
Syntax
[Flags]
public enum NetworkFlags
Fields
NotActive
If both server and client are not active. Can be used to check for singleplayer or unspawned object
Declaration
NotActive = 1
Server
Declaration
Server = 2
Client
Declaration
Client = 4
Active
If either Server or Client is active.
Note this will not check host mode. For host mode you need to use and
Declaration
Active = 6
HasAuthority
Declaration
HasAuthority = 8
LocalOwner
Declaration
LocalOwner = 16