(965c31410a) Unstable v0.10.4.0
This commit is contained in:
@@ -13,32 +13,18 @@ namespace Steamworks
|
||||
#if PLATFORM_WIN64
|
||||
public const int StructPlatformPackSize = 8;
|
||||
public const string LibraryName = "steam_api64";
|
||||
public const CallingConvention MemberConvention = CallingConvention.Cdecl;
|
||||
#elif PLATFORM_WIN32
|
||||
public const int StructPlatformPackSize = 8;
|
||||
public const string LibraryName = "steam_api";
|
||||
public const CallingConvention MemberConvention = CallingConvention.ThisCall;
|
||||
#elif PLATFORM_POSIX32
|
||||
public const int StructPlatformPackSize = 4;
|
||||
public const string LibraryName = "libsteam_api";
|
||||
public const CallingConvention MemberConvention = CallingConvention.Cdecl;
|
||||
#elif PLATFORM_POSIX64
|
||||
public const int StructPlatformPackSize = 4;
|
||||
public const string LibraryName = "libsteam_api64";
|
||||
public const CallingConvention MemberConvention = CallingConvention.Cdecl;
|
||||
#elif PLATFORM_POSIX
|
||||
public const int StructPlatformPackSize = 4;
|
||||
public const string LibraryName = "libsteam_api";
|
||||
#endif
|
||||
|
||||
public const CallingConvention CC = CallingConvention.Cdecl;
|
||||
public const int StructPackSize = 4;
|
||||
|
||||
|
||||
|
||||
public static int MemoryOffset( int memLocation )
|
||||
{
|
||||
#if PLATFORM_64
|
||||
return memLocation;
|
||||
#else
|
||||
return memLocation / 2;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user