Skip to content

Commit

Permalink
Fix SteamGameServer_Init pointing to SteamGameServer_InitSafe. Fixes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
rlabrecque committed Apr 10, 2021
1 parent e64ec98 commit 8ef3d2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plugins/Steamworks.NET/autogen/NativeMethods.cs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ internal static class NativeMethods {
public static extern bool SteamAPI_ManualDispatch_GetAPICallResult(HSteamPipe hSteamPipe, SteamAPICall_t hSteamAPICall, IntPtr pCallback, int cubCallback, int iCallbackExpected, out bool pbFailed);
#endregion
#region steam_gameserver.h
[DllImport(NativeLibraryName, EntryPoint = "SteamGameServer_InitSafe", CallingConvention = CallingConvention.Cdecl)]
[DllImport(NativeLibraryName, EntryPoint = "SteamGameServer_Init", CallingConvention = CallingConvention.Cdecl)]
[return: MarshalAs(UnmanagedType.I1)]
public static extern bool SteamGameServer_Init(uint unIP, ushort usGamePort, ushort usQueryPort, EServerMode eServerMode, InteropHelp.UTF8StringHandle pchVersionString);

Expand Down

0 comments on commit 8ef3d2a

Please sign in to comment.