Skip to content

OnDemoRecordingStarted

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnDemoRecordingStarted( string text, BasePlayer instance )
{
    Puts( "OnDemoRecordingStarted works!" );
}

Location

  • BasePlayer::StartDemoRecording()
csharp
//---
	this.SendFullSnapshot();
	this.SendEntityUpdate();
	TreeManager.SendSnapshot(this);
	ServerMgr.SendReplicatedVars(this.net.connection);
	base.InvokeRepeating(new Action(this.MonitorDemoRecording), 10f, 10f);
	Interface.CallHook("OnDemoRecordingStarted", text, this);
}

Released under the MIT License.