Skip to content

OnServerInformationUpdated ​

Usage ​

  • No return behavior

Example Autogenerated ​

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

Location ​

  • ServerMgr::UpdateServerInformation()
csharp
//---
		SteamServer.SetKey("fps", Performance.report.frameRate.ToString());
		SteamServer.SetKey("fps_avg", Performance.report.frameRateAverage.ToString("0.00"));
		SteamServer.SetKey("ent_cnt", BaseNetworkable.serverEntities.Count.ToString());
		SteamServer.SetKey("build", BuildInfo.Current.Scm.ChangeId);
	}
	Interface.CallHook("OnServerInformationUpdated");
}

Released under the MIT License.