Skip to content

Commit 71c229b

Browse files
committed
Fix compile error
1 parent a6892d0 commit 71c229b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Utility/GameManagerExtension.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public DateTime GameLaunchStartTime
110110
CancellationToken token = default)
111111
{
112112
ArgumentNullException.ThrowIfNull(context, nameof(context));
113-
if (!context.PluginHandle.TryGetExport("LaunchGameFromGameManagerAsync", out SharedStatic.LaunchGameFromGameManagerAsyncDelegate launchGameFromGameManagerAsyncCallback))
113+
if (!context.PluginHandle.TryGetExport("LaunchGameFromGameManagerAsync", out SharedStaticV1Ext.LaunchGameFromGameManagerAsyncDelegate launchGameFromGameManagerAsyncCallback))
114114
{
115115
return (false, new NotSupportedException("Plugin doesn't have LaunchGameFromGameManagerAsync export in its API definition!"));
116116
}
@@ -186,7 +186,7 @@ public static bool IsGameRunning(this RunGameFromGameManager
186186
errorException = null;
187187
gameStartTime = default;
188188

189-
if (!context.PluginHandle.TryGetExport("IsGameRunning", out SharedStatic.IsGameRunningDelegate isGameRunningCallback))
189+
if (!context.PluginHandle.TryGetExport("IsGameRunning", out SharedStaticV1Ext.IsGameRunningDelegate isGameRunningCallback))
190190
{
191191
errorException = new NotSupportedException("Plugin doesn't have IsGameRunning export in its API definition!");
192192
return false;
@@ -236,7 +236,7 @@ public static bool IsGameRunning(this RunGameFromGameManager
236236
CancellationToken token)
237237
{
238238
ArgumentNullException.ThrowIfNull(context, nameof(context));
239-
if (!context.PluginHandle.TryGetExport("WaitRunningGameAsync", out SharedStatic.WaitRunningGameAsyncDelegate waitRunningGameAsyncCallback))
239+
if (!context.PluginHandle.TryGetExport("WaitRunningGameAsync", out SharedStaticV1Ext.WaitRunningGameAsyncDelegate waitRunningGameAsyncCallback))
240240
{
241241
return (false, new NotSupportedException("Plugin doesn't have WaitRunningGameAsync export in its API definition!"));
242242
}
@@ -299,7 +299,7 @@ public static bool KillRunningGame(this RunGameFromGameManag
299299
wasGameRunning = false;
300300
gameStartTime = default;
301301

302-
if (!context.PluginHandle.TryGetExport("KillRunningGame", out SharedStatic.IsGameRunningDelegate killRunningGameCallback))
302+
if (!context.PluginHandle.TryGetExport("KillRunningGame", out SharedStaticV1Ext.IsGameRunningDelegate killRunningGameCallback))
303303
{
304304
errorException = new NotSupportedException("Plugin doesn't have KillRunningGame export in its API definition!");
305305
return false;

0 commit comments

Comments
 (0)