Skip to content

IOnRunCommandLine

WARNING

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

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

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

Location

  • ConsoleSystem::UpdateValuesFromCommandLine()
csharp
public static void UpdateValuesFromCommandLine()
{
	if (Interface.CallHook("IOnRunCommandLine") != null)
	{
		return;
	}
	foreach (KeyValuePair<string, string> current in Facepunch.CommandLine.GetSwitches())
	{
//---

Released under the MIT License.