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