Version: 2023.1

Arguments

class in UnityEngine.DedicatedServer

切换到手册

描述

DedicatedServer.Arguments provides accessors for common CLI options

静态变量

ErrorPolicyErrorPolicy defines how errors in arguments are handled.
LogLevelLogLevel defines the loglevel.
LogPathLogPath is the path the logfile(s).
PortPort is the port on which the server will listen for connections.
QueryPortQueryPort is the port on which the server will listen for status requests.
QueryTypeQueryType is the query protocl the server will handle for status requests.
TargetFramerateTargetFramerate is the rate at which the server process frames.