forked from UNLOZE/sm-plugins
[AutoRecorder] Add native to determine if recording.
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
#endif
|
||||
#define AutoRecorder_included
|
||||
|
||||
native bool IsDemoRecording();
|
||||
|
||||
native int GetDemoRecordingNumber();
|
||||
native int GetDemoRecordingTick();
|
||||
|
||||
@@ -20,6 +22,7 @@ public SharedPlugin __pl_AutoRecorder =
|
||||
#if !defined REQUIRE_PLUGIN
|
||||
public void __pl_AutoRecorder_SetNTVOptional()
|
||||
{
|
||||
MarkNativeAsOptional("IsDemoRecording");
|
||||
MarkNativeAsOptional("GetDemoRecordingNumber");
|
||||
MarkNativeAsOptional("GetDemoRecordingTick");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user