Callback fix

This commit is contained in:
Garry Newman 2020-02-22 21:13:47 +00:00
parent abb749078b
commit 4b10d72d12
3 changed files with 4 additions and 6 deletions

View File

@ -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

View File

@ -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 )

View File

@ -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;
}
}