Steamworks.SteamGameServer.InitGameServer C# (CSharp) Method

InitGameServer() public static method

Basic server data. These properties, if set, must be set before before calling LogOn. They

may not be changed after logged in.

/ This is called by SteamGameServer_Init, and you will usually not need to call it directly

public static InitGameServer ( uint unIP, ushort usGamePort, ushort usQueryPort, uint unFlags, AppId_t nGameAppId, string pchVersionString ) : bool
unIP uint
usGamePort ushort
usQueryPort ushort
unFlags uint
nGameAppId AppId_t
pchVersionString string
return bool
		public static bool InitGameServer(uint unIP, ushort usGamePort, ushort usQueryPort, uint unFlags, AppId_t nGameAppId, string pchVersionString) {
			InteropHelp.TestIfAvailableGameServer();
			using (var pchVersionString2 = new InteropHelp.UTF8StringHandle(pchVersionString)) {
				return NativeMethods.ISteamGameServer_InitGameServer(unIP, usGamePort, usQueryPort, unFlags, nGameAppId, pchVersionString2);
			}
		}