mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-13 15:18:07 +03:00
Callback fix
This commit is contained in:
parent
abb749078b
commit
4b10d72d12
@ -1479,7 +1479,7 @@ namespace Steamworks.Data
|
||||
#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 @@ namespace Generator
|
||||
|
||||
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 @@ namespace Generator
|
||||
if ( Fields.Any( x => x.Type.Contains( "CSteamID" ) ) )
|
||||
return true;
|
||||
|
||||
if ( Fields.Any( x => x.Type.Contains( "CGameID" ) ) )
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user