mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-25 14:15:47 +03:00
Callback fix
This commit is contained in:
parent
abb749078b
commit
4b10d72d12
@ -1479,7 +1479,7 @@ internal struct UserStatsUnloaded_t : ICallbackData
|
||||
#endregion
|
||||
}
|
||||
|
||||
[StructLayout( LayoutKind.Sequential, Pack = Platform.StructPlatformPackSize )]
|
||||
[StructLayout( LayoutKind.Sequential, Pack = Platform.StructPackSize )]
|
||||
internal struct UserAchievementIconFetched_t : ICallbackData
|
||||
{
|
||||
internal GameId GameID; // m_nGameID CGameID
|
||||
|
@ -17,11 +17,6 @@ public class TypeDef
|
||||
|
||||
private Dictionary<string, TypeDef> TypeDefs = new Dictionary<string, TypeDef>();
|
||||
|
||||
public readonly static string[] ForceLargePackStructs = new string[]
|
||||
{
|
||||
"LeaderboardEntry_t"
|
||||
};
|
||||
|
||||
void Structs()
|
||||
{
|
||||
foreach ( var c in def.structs )
|
||||
|
@ -108,6 +108,9 @@ public bool IsPack4OnWindows
|
||||
if ( Fields.Any( x => x.Type.Contains( "CSteamID" ) ) )
|
||||
return true;
|
||||
|
||||
if ( Fields.Any( x => x.Type.Contains( "CGameID" ) ) )
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user