Skip to content

IOnServerInitialized

WARNING

This is an internal hook and will not be called in plugins. See Internal Hooks for more information.

Usage

  • No return behavior

Example Autogenerated

csharp
private void IOnServerInitialized(  )
{
    Puts( "IOnServerInitialized works!" );
}

Location

  • ServerMgr::OpenConnection(bool useSteamServer)
csharp
//---
	EACServer.DoStartup();
	base.InvokeRepeating("DoTick", 1f, 1f / (float)ConVar.Server.tickrate);
	base.InvokeRepeating("DoHeartbeat", 1f, 1f);
	this.runFrameUpdate = true;
	ConsoleSystem.OnReplicatedVarChanged += new Action<string, string>(ServerMgr.OnReplicatedVarChanged);
	Interface.CallHook("IOnServerInitialized");
}

Released under the MIT License.