OnDemoRecordingStopped
Usage
- No return behavior
Example Autogenerated
csharp
private void OnDemoRecordingStopped( string RecordFilename, BasePlayer instance )
{
Puts( "OnDemoRecordingStopped works!" );
}Location
- BasePlayer::StopServerDemoRecording()
csharp
//---
if (net != null && net.connection != null && net.connection.IsRecording && Interface.CallHook("OnDemoRecordingStop", net.connection.recordFilename, this) == null)
{
Debug.Log(ToString() + " recording stopped: " + net.connection.RecordFilename);
net.connection.StopRecording();
CancelInvoke(actionMonitorServerDemoRecording);
Interface.CallHook("OnDemoRecordingStopped", net.connection.recordFilename, this);
}
}