mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-24 12:38:00 +03:00
Fixed GlobalStatsReceived not added to debug list
This commit is contained in:
parent
773ea24aa4
commit
e9978ec55b
@ -296,9 +296,7 @@ namespace Steamworks
|
||||
{ CallbackType.UserAchievementIconFetched, typeof( UserAchievementIconFetched_t )},
|
||||
{ CallbackType.GlobalAchievementPercentagesReady, typeof( GlobalAchievementPercentagesReady_t )},
|
||||
{ CallbackType.LeaderboardUGCSet, typeof( LeaderboardUGCSet_t )},
|
||||
// { CallbackType.PS3TrophiesInstalled, typeof( PS3TrophiesInstalled_t )},
|
||||
// { CallbackType.GlobalStatsReceived, typeof( GlobalStatsReceived_t )},
|
||||
// { CallbackType.SocketStatusCallback, typeof( SocketStatusCallback_t )},
|
||||
{ CallbackType.GlobalStatsReceived, typeof( GlobalStatsReceived_t )},
|
||||
{ CallbackType.P2PSessionRequest, typeof( P2PSessionRequest_t )},
|
||||
{ CallbackType.P2PSessionConnectFail, typeof( P2PSessionConnectFail_t )},
|
||||
{ CallbackType.SteamNetConnectionStatusChangedCallback, typeof( SteamNetConnectionStatusChangedCallback_t )},
|
||||
|
@ -26,7 +26,10 @@ namespace Generator
|
||||
StartBlock( "internal static System.Collections.Generic.Dictionary<CallbackType, System.Type> All = new System.Collections.Generic.Dictionary<CallbackType, System.Type>" );
|
||||
foreach ( var c in def.callback_structs.OrderBy( x => x.CallbackId ) )
|
||||
{
|
||||
if ( Cleanup.IsDeprecated( c.Name ) || last == c.CallbackId )
|
||||
if ( Cleanup.IsDeprecated( c.Name ) )
|
||||
continue;
|
||||
|
||||
if ( last == c.CallbackId )
|
||||
Write( "// " );
|
||||
|
||||
WriteLine( $"{{ CallbackType.{c.Name.Replace( "_t", "" ) }, typeof( {Cleanup.ConvertType(c.Name)} )}}," );
|
||||
|
Loading…
x
Reference in New Issue
Block a user