mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-02-03 17:20:45 +03:00
Replace int64_t with long, int32_t with int
This commit is contained in:
parent
73b5c9ceb6
commit
6291c8f117
Binary file not shown.
@ -257,7 +257,7 @@ namespace Steamworks
|
|||||||
var returnValue = _SetConnectionConfigValueFloat( Self, hConn, eValue, val );
|
var returnValue = _SetConnectionConfigValueFloat( Self, hConn, eValue, val );
|
||||||
return returnValue;
|
return returnValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
#region FunctionMeta
|
#region FunctionMeta
|
||||||
[DllImport( Platform.LibraryName, EntryPoint = "SteamAPI_ISteamNetworkingUtils_SetConnectionConfigValueString", CallingConvention = Platform.CC)]
|
[DllImport( Platform.LibraryName, EntryPoint = "SteamAPI_ISteamNetworkingUtils_SetConnectionConfigValueString", CallingConvention = Platform.CC)]
|
||||||
[return: MarshalAs( UnmanagedType.I1 )]
|
[return: MarshalAs( UnmanagedType.I1 )]
|
||||||
|
@ -91,10 +91,10 @@ namespace Steamworks.Data
|
|||||||
internal partial struct NetKeyValue
|
internal partial struct NetKeyValue
|
||||||
{
|
{
|
||||||
[DllImport( Platform.LibraryName, EntryPoint = "SteamAPI_SteamNetworkingConfigValue_t_SetInt32", CallingConvention = Platform.CC)]
|
[DllImport( Platform.LibraryName, EntryPoint = "SteamAPI_SteamNetworkingConfigValue_t_SetInt32", CallingConvention = Platform.CC)]
|
||||||
internal static extern void InternalSetInt32( ref NetKeyValue self, NetConfig eVal, int32_t data );
|
internal static extern void InternalSetInt32( ref NetKeyValue self, NetConfig eVal, int data );
|
||||||
|
|
||||||
[DllImport( Platform.LibraryName, EntryPoint = "SteamAPI_SteamNetworkingConfigValue_t_SetInt64", CallingConvention = Platform.CC)]
|
[DllImport( Platform.LibraryName, EntryPoint = "SteamAPI_SteamNetworkingConfigValue_t_SetInt64", CallingConvention = Platform.CC)]
|
||||||
internal static extern void InternalSetInt64( ref NetKeyValue self, NetConfig eVal, int64_t data );
|
internal static extern void InternalSetInt64( ref NetKeyValue self, NetConfig eVal, long data );
|
||||||
|
|
||||||
[DllImport( Platform.LibraryName, EntryPoint = "SteamAPI_SteamNetworkingConfigValue_t_SetFloat", CallingConvention = Platform.CC)]
|
[DllImport( Platform.LibraryName, EntryPoint = "SteamAPI_SteamNetworkingConfigValue_t_SetFloat", CallingConvention = Platform.CC)]
|
||||||
internal static extern void InternalSetFloat( ref NetKeyValue self, NetConfig eVal, float data );
|
internal static extern void InternalSetFloat( ref NetKeyValue self, NetConfig eVal, float data );
|
||||||
|
@ -16,6 +16,8 @@ public static class Cleanup
|
|||||||
type = type.Replace( "unsigned long long", "uint64" );
|
type = type.Replace( "unsigned long long", "uint64" );
|
||||||
type = type.Replace( "unsigned int", "uint" );
|
type = type.Replace( "unsigned int", "uint" );
|
||||||
type = type.Replace( "uint32", "uint" );
|
type = type.Replace( "uint32", "uint" );
|
||||||
|
type = type.Replace( "int32_t", "int" );
|
||||||
|
type = type.Replace( "int64_t", "long" );
|
||||||
|
|
||||||
type = type.Replace( "CSteamID", "SteamId" );
|
type = type.Replace( "CSteamID", "SteamId" );
|
||||||
type = type.Replace( "CGameID", "GameId" );
|
type = type.Replace( "CGameID", "GameId" );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user