diff --git a/Facepunch.Steamworks/Callbacks/User.cs b/Facepunch.Steamworks/Callbacks/User.cs index 2838f99..5958531 100644 --- a/Facepunch.Steamworks/Callbacks/User.cs +++ b/Facepunch.Steamworks/Callbacks/User.cs @@ -6,7 +6,7 @@ namespace Facepunch.Steamworks.Callbacks.User { - [StructLayout( LayoutKind.Sequential, Pack = 1 )] + [StructLayout( LayoutKind.Sequential, Pack = 4 )] internal struct ValidateAuthTicketResponse { public ulong SteamID; diff --git a/Facepunch.Steamworks/SteamNative/SteamNative.Structs.cs b/Facepunch.Steamworks/SteamNative/SteamNative.Structs.cs index 9dc5cf8..fa745a0 100644 --- a/Facepunch.Steamworks/SteamNative/SteamNative.Structs.cs +++ b/Facepunch.Steamworks/SteamNative/SteamNative.Structs.cs @@ -3,61 +3,31 @@ namespace SteamNative { - [StructLayout( LayoutKind.Sequential, Pack = 8 )] - public struct ValvePackingSentinel_t - { - public uint m_u32; // uint32 - public ulong m_u64; // uint64 - public ushort m_u16; // uint16 - public double m_d; // double - public static ValvePackingSentinel_t FromPointer( IntPtr p ) { return (ValvePackingSentinel_t) Marshal.PtrToStructure( p, typeof(ValvePackingSentinel_t) ); } - - [StructLayout( LayoutKind.Sequential, Pack = 4 )] - public struct PackSmall - { - public uint m_u32; // uint32 - public ulong m_u64; // uint64 - public ushort m_u16; // uint16 - public double m_d; // double - - public static implicit operator ValvePackingSentinel_t ( ValvePackingSentinel_t.PackSmall d ) - { - return new ValvePackingSentinel_t() - { - m_u32 = d.m_u32, - m_u64 = d.m_u64, - m_u16 = d.m_u16, - m_d = d.m_d, - }; - } - } - } - [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct CallbackMsg_t { - public int m_hSteamUser; // HSteamUser - public int m_iCallback; // int - public IntPtr m_pubParam; // uint8 * - public int m_cubParam; // int + public int SteamUser; // m_hSteamUser HSteamUser + public int Callback; // m_iCallback int + public IntPtr ParamPtr; // m_pubParam uint8 * + public int ParamCount; // m_cubParam int public static CallbackMsg_t FromPointer( IntPtr p ) { return (CallbackMsg_t) Marshal.PtrToStructure( p, typeof(CallbackMsg_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public int m_hSteamUser; // HSteamUser - public int m_iCallback; // int - public IntPtr m_pubParam; // uint8 * - public int m_cubParam; // int + public int SteamUser; // m_hSteamUser HSteamUser + public int Callback; // m_iCallback int + public IntPtr ParamPtr; // m_pubParam uint8 * + public int ParamCount; // m_cubParam int - public static implicit operator CallbackMsg_t ( CallbackMsg_t.PackSmall d ) + public static implicit operator CallbackMsg_t ( CallbackMsg_t.PackSmall d ) { return new CallbackMsg_t() { - m_hSteamUser = d.m_hSteamUser, - m_iCallback = d.m_iCallback, - m_pubParam = d.m_pubParam, - m_cubParam = d.m_cubParam, + SteamUser = d.SteamUser, + Callback = d.Callback, + ParamPtr = d.ParamPtr, + ParamCount = d.ParamCount, }; } } @@ -66,24 +36,24 @@ public static implicit operator CallbackMsg_t ( CallbackMsg_t.PackSmall d ) [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct SteamServerConnectFailure_t { - public Result m_eResult; // enum EResult + public Result Result; // m_eResult enum EResult [MarshalAs(UnmanagedType.I1)] - public bool m_bStillRetrying; // _Bool + public bool StillRetrying; // m_bStillRetrying _Bool public static SteamServerConnectFailure_t FromPointer( IntPtr p ) { return (SteamServerConnectFailure_t) Marshal.PtrToStructure( p, typeof(SteamServerConnectFailure_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult + public Result Result; // m_eResult enum EResult [MarshalAs(UnmanagedType.I1)] - public bool m_bStillRetrying; // _Bool + public bool StillRetrying; // m_bStillRetrying _Bool - public static implicit operator SteamServerConnectFailure_t ( SteamServerConnectFailure_t.PackSmall d ) + public static implicit operator SteamServerConnectFailure_t ( SteamServerConnectFailure_t.PackSmall d ) { return new SteamServerConnectFailure_t() { - m_eResult = d.m_eResult, - m_bStillRetrying = d.m_bStillRetrying, + Result = d.Result, + StillRetrying = d.StillRetrying, }; } } @@ -92,19 +62,19 @@ public static implicit operator SteamServerConnectFailure_t ( SteamServerConne [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct SteamServersDisconnected_t { - public Result m_eResult; // enum EResult + public Result Result; // m_eResult enum EResult public static SteamServersDisconnected_t FromPointer( IntPtr p ) { return (SteamServersDisconnected_t) Marshal.PtrToStructure( p, typeof(SteamServersDisconnected_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult + public Result Result; // m_eResult enum EResult - public static implicit operator SteamServersDisconnected_t ( SteamServersDisconnected_t.PackSmall d ) + public static implicit operator SteamServersDisconnected_t ( SteamServersDisconnected_t.PackSmall d ) { return new SteamServersDisconnected_t() { - m_eResult = d.m_eResult, + Result = d.Result, }; } } @@ -113,31 +83,31 @@ public static implicit operator SteamServersDisconnected_t ( SteamServersDisco [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct ClientGameServerDeny_t { - public uint m_uAppID; // uint32 - public uint m_unGameServerIP; // uint32 - public ushort m_usGameServerPort; // uint16 - public ushort m_bSecure; // uint16 - public uint m_uReason; // uint32 + public uint AppID; // m_uAppID uint32 + public uint GameServerIP; // m_unGameServerIP uint32 + public ushort GameServerPort; // m_usGameServerPort uint16 + public ushort Secure; // m_bSecure uint16 + public uint Reason; // m_uReason uint32 public static ClientGameServerDeny_t FromPointer( IntPtr p ) { return (ClientGameServerDeny_t) Marshal.PtrToStructure( p, typeof(ClientGameServerDeny_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint m_uAppID; // uint32 - public uint m_unGameServerIP; // uint32 - public ushort m_usGameServerPort; // uint16 - public ushort m_bSecure; // uint16 - public uint m_uReason; // uint32 + public uint AppID; // m_uAppID uint32 + public uint GameServerIP; // m_unGameServerIP uint32 + public ushort GameServerPort; // m_usGameServerPort uint16 + public ushort Secure; // m_bSecure uint16 + public uint Reason; // m_uReason uint32 - public static implicit operator ClientGameServerDeny_t ( ClientGameServerDeny_t.PackSmall d ) + public static implicit operator ClientGameServerDeny_t ( ClientGameServerDeny_t.PackSmall d ) { return new ClientGameServerDeny_t() { - m_uAppID = d.m_uAppID, - m_unGameServerIP = d.m_unGameServerIP, - m_usGameServerPort = d.m_usGameServerPort, - m_bSecure = d.m_bSecure, - m_uReason = d.m_uReason, + AppID = d.AppID, + GameServerIP = d.GameServerIP, + GameServerPort = d.GameServerPort, + Secure = d.Secure, + Reason = d.Reason, }; } } @@ -146,25 +116,25 @@ public static implicit operator ClientGameServerDeny_t ( ClientGameServerDeny_ [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct ValidateAuthTicketResponse_t { - public ulong m_SteamID; // class CSteamID - public AuthSessionResponse m_eAuthSessionResponse; // enum EAuthSessionResponse - public ulong m_OwnerSteamID; // class CSteamID + public ulong SteamID; // m_SteamID class CSteamID + public AuthSessionResponse AuthSessionResponse; // m_eAuthSessionResponse enum EAuthSessionResponse + public ulong OwnerSteamID; // m_OwnerSteamID class CSteamID public static ValidateAuthTicketResponse_t FromPointer( IntPtr p ) { return (ValidateAuthTicketResponse_t) Marshal.PtrToStructure( p, typeof(ValidateAuthTicketResponse_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_SteamID; // class CSteamID - public AuthSessionResponse m_eAuthSessionResponse; // enum EAuthSessionResponse - public ulong m_OwnerSteamID; // class CSteamID + public ulong SteamID; // m_SteamID class CSteamID + public AuthSessionResponse AuthSessionResponse; // m_eAuthSessionResponse enum EAuthSessionResponse + public ulong OwnerSteamID; // m_OwnerSteamID class CSteamID - public static implicit operator ValidateAuthTicketResponse_t ( ValidateAuthTicketResponse_t.PackSmall d ) + public static implicit operator ValidateAuthTicketResponse_t ( ValidateAuthTicketResponse_t.PackSmall d ) { return new ValidateAuthTicketResponse_t() { - m_SteamID = d.m_SteamID, - m_eAuthSessionResponse = d.m_eAuthSessionResponse, - m_OwnerSteamID = d.m_OwnerSteamID, + SteamID = d.SteamID, + AuthSessionResponse = d.AuthSessionResponse, + OwnerSteamID = d.OwnerSteamID, }; } } @@ -173,25 +143,25 @@ public static implicit operator ValidateAuthTicketResponse_t ( ValidateAuthTic [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct MicroTxnAuthorizationResponse_t { - public uint m_unAppID; // uint32 - public ulong m_ulOrderID; // uint64 - public byte m_bAuthorized; // uint8 + public uint AppID; // m_unAppID uint32 + public ulong OrderID; // m_ulOrderID uint64 + public byte Authorized; // m_bAuthorized uint8 public static MicroTxnAuthorizationResponse_t FromPointer( IntPtr p ) { return (MicroTxnAuthorizationResponse_t) Marshal.PtrToStructure( p, typeof(MicroTxnAuthorizationResponse_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint m_unAppID; // uint32 - public ulong m_ulOrderID; // uint64 - public byte m_bAuthorized; // uint8 + public uint AppID; // m_unAppID uint32 + public ulong OrderID; // m_ulOrderID uint64 + public byte Authorized; // m_bAuthorized uint8 - public static implicit operator MicroTxnAuthorizationResponse_t ( MicroTxnAuthorizationResponse_t.PackSmall d ) + public static implicit operator MicroTxnAuthorizationResponse_t ( MicroTxnAuthorizationResponse_t.PackSmall d ) { return new MicroTxnAuthorizationResponse_t() { - m_unAppID = d.m_unAppID, - m_ulOrderID = d.m_ulOrderID, - m_bAuthorized = d.m_bAuthorized, + AppID = d.AppID, + OrderID = d.OrderID, + Authorized = d.Authorized, }; } } @@ -200,19 +170,19 @@ public static implicit operator MicroTxnAuthorizationResponse_t ( MicroTxnAuth [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct EncryptedAppTicketResponse_t { - public Result m_eResult; // enum EResult + public Result Result; // m_eResult enum EResult public static EncryptedAppTicketResponse_t FromPointer( IntPtr p ) { return (EncryptedAppTicketResponse_t) Marshal.PtrToStructure( p, typeof(EncryptedAppTicketResponse_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult + public Result Result; // m_eResult enum EResult - public static implicit operator EncryptedAppTicketResponse_t ( EncryptedAppTicketResponse_t.PackSmall d ) + public static implicit operator EncryptedAppTicketResponse_t ( EncryptedAppTicketResponse_t.PackSmall d ) { return new EncryptedAppTicketResponse_t() { - m_eResult = d.m_eResult, + Result = d.Result, }; } } @@ -221,22 +191,22 @@ public static implicit operator EncryptedAppTicketResponse_t ( EncryptedAppTic [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct GetAuthSessionTicketResponse_t { - public uint m_hAuthTicket; // HAuthTicket - public Result m_eResult; // enum EResult + public uint AuthTicket; // m_hAuthTicket HAuthTicket + public Result Result; // m_eResult enum EResult public static GetAuthSessionTicketResponse_t FromPointer( IntPtr p ) { return (GetAuthSessionTicketResponse_t) Marshal.PtrToStructure( p, typeof(GetAuthSessionTicketResponse_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint m_hAuthTicket; // HAuthTicket - public Result m_eResult; // enum EResult + public uint AuthTicket; // m_hAuthTicket HAuthTicket + public Result Result; // m_eResult enum EResult - public static implicit operator GetAuthSessionTicketResponse_t ( GetAuthSessionTicketResponse_t.PackSmall d ) + public static implicit operator GetAuthSessionTicketResponse_t ( GetAuthSessionTicketResponse_t.PackSmall d ) { return new GetAuthSessionTicketResponse_t() { - m_hAuthTicket = d.m_hAuthTicket, - m_eResult = d.m_eResult, + AuthTicket = d.AuthTicket, + Result = d.Result, }; } } @@ -246,20 +216,20 @@ public static implicit operator GetAuthSessionTicketResponse_t ( GetAuthSessio public struct GameWebCallback_t { [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 256)] - public string m_szURL; // char [256] + public string URL; // m_szURL char [256] public static GameWebCallback_t FromPointer( IntPtr p ) { return (GameWebCallback_t) Marshal.PtrToStructure( p, typeof(GameWebCallback_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 256)] - public string m_szURL; // char [256] + public string URL; // m_szURL char [256] - public static implicit operator GameWebCallback_t ( GameWebCallback_t.PackSmall d ) + public static implicit operator GameWebCallback_t ( GameWebCallback_t.PackSmall d ) { return new GameWebCallback_t() { - m_szURL = d.m_szURL, + URL = d.URL, }; } } @@ -269,20 +239,20 @@ public static implicit operator GameWebCallback_t ( GameWebCallback_t.PackSmal public struct StoreAuthURLResponse_t { [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 512)] - public string m_szURL; // char [512] + public string URL; // m_szURL char [512] public static StoreAuthURLResponse_t FromPointer( IntPtr p ) { return (StoreAuthURLResponse_t) Marshal.PtrToStructure( p, typeof(StoreAuthURLResponse_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 512)] - public string m_szURL; // char [512] + public string URL; // m_szURL char [512] - public static implicit operator StoreAuthURLResponse_t ( StoreAuthURLResponse_t.PackSmall d ) + public static implicit operator StoreAuthURLResponse_t ( StoreAuthURLResponse_t.PackSmall d ) { return new StoreAuthURLResponse_t() { - m_szURL = d.m_szURL, + URL = d.URL, }; } } @@ -291,31 +261,31 @@ public static implicit operator StoreAuthURLResponse_t ( StoreAuthURLResponse_ [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct FriendGameInfo_t { - public ulong m_gameID; // class CGameID - public uint m_unGameIP; // uint32 - public ushort m_usGamePort; // uint16 - public ushort m_usQueryPort; // uint16 - public ulong m_steamIDLobby; // class CSteamID + public ulong GameID; // m_gameID class CGameID + public uint GameIP; // m_unGameIP uint32 + public ushort GamePort; // m_usGamePort uint16 + public ushort QueryPort; // m_usQueryPort uint16 + public ulong SteamIDLobby; // m_steamIDLobby class CSteamID public static FriendGameInfo_t FromPointer( IntPtr p ) { return (FriendGameInfo_t) Marshal.PtrToStructure( p, typeof(FriendGameInfo_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_gameID; // class CGameID - public uint m_unGameIP; // uint32 - public ushort m_usGamePort; // uint16 - public ushort m_usQueryPort; // uint16 - public ulong m_steamIDLobby; // class CSteamID + public ulong GameID; // m_gameID class CGameID + public uint GameIP; // m_unGameIP uint32 + public ushort GamePort; // m_usGamePort uint16 + public ushort QueryPort; // m_usQueryPort uint16 + public ulong SteamIDLobby; // m_steamIDLobby class CSteamID - public static implicit operator FriendGameInfo_t ( FriendGameInfo_t.PackSmall d ) + public static implicit operator FriendGameInfo_t ( FriendGameInfo_t.PackSmall d ) { return new FriendGameInfo_t() { - m_gameID = d.m_gameID, - m_unGameIP = d.m_unGameIP, - m_usGamePort = d.m_usGamePort, - m_usQueryPort = d.m_usQueryPort, - m_steamIDLobby = d.m_steamIDLobby, + GameID = d.GameID, + GameIP = d.GameIP, + GamePort = d.GamePort, + QueryPort = d.QueryPort, + SteamIDLobby = d.SteamIDLobby, }; } } @@ -324,22 +294,22 @@ public static implicit operator FriendGameInfo_t ( FriendGameInfo_t.PackSmall [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct FriendSessionStateInfo_t { - public uint m_uiOnlineSessionInstances; // uint32 - public byte m_uiPublishedToFriendsSessionInstance; // uint8 + public uint IOnlineSessionInstances; // m_uiOnlineSessionInstances uint32 + public byte IPublishedToFriendsSessionInstance; // m_uiPublishedToFriendsSessionInstance uint8 public static FriendSessionStateInfo_t FromPointer( IntPtr p ) { return (FriendSessionStateInfo_t) Marshal.PtrToStructure( p, typeof(FriendSessionStateInfo_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint m_uiOnlineSessionInstances; // uint32 - public byte m_uiPublishedToFriendsSessionInstance; // uint8 + public uint IOnlineSessionInstances; // m_uiOnlineSessionInstances uint32 + public byte IPublishedToFriendsSessionInstance; // m_uiPublishedToFriendsSessionInstance uint8 - public static implicit operator FriendSessionStateInfo_t ( FriendSessionStateInfo_t.PackSmall d ) + public static implicit operator FriendSessionStateInfo_t ( FriendSessionStateInfo_t.PackSmall d ) { return new FriendSessionStateInfo_t() { - m_uiOnlineSessionInstances = d.m_uiOnlineSessionInstances, - m_uiPublishedToFriendsSessionInstance = d.m_uiPublishedToFriendsSessionInstance, + IOnlineSessionInstances = d.IOnlineSessionInstances, + IPublishedToFriendsSessionInstance = d.IPublishedToFriendsSessionInstance, }; } } @@ -348,22 +318,22 @@ public static implicit operator FriendSessionStateInfo_t ( FriendSessionStateI [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct PersonaStateChange_t { - public ulong m_ulSteamID; // uint64 - public int m_nChangeFlags; // int + public ulong SteamID; // m_ulSteamID uint64 + public int NChangeFlags; // m_nChangeFlags int public static PersonaStateChange_t FromPointer( IntPtr p ) { return (PersonaStateChange_t) Marshal.PtrToStructure( p, typeof(PersonaStateChange_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_ulSteamID; // uint64 - public int m_nChangeFlags; // int + public ulong SteamID; // m_ulSteamID uint64 + public int NChangeFlags; // m_nChangeFlags int - public static implicit operator PersonaStateChange_t ( PersonaStateChange_t.PackSmall d ) + public static implicit operator PersonaStateChange_t ( PersonaStateChange_t.PackSmall d ) { return new PersonaStateChange_t() { - m_ulSteamID = d.m_ulSteamID, - m_nChangeFlags = d.m_nChangeFlags, + SteamID = d.SteamID, + NChangeFlags = d.NChangeFlags, }; } } @@ -372,19 +342,19 @@ public static implicit operator PersonaStateChange_t ( PersonaStateChange_t.Pa [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct GameOverlayActivated_t { - public byte m_bActive; // uint8 + public byte Active; // m_bActive uint8 public static GameOverlayActivated_t FromPointer( IntPtr p ) { return (GameOverlayActivated_t) Marshal.PtrToStructure( p, typeof(GameOverlayActivated_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public byte m_bActive; // uint8 + public byte Active; // m_bActive uint8 - public static implicit operator GameOverlayActivated_t ( GameOverlayActivated_t.PackSmall d ) + public static implicit operator GameOverlayActivated_t ( GameOverlayActivated_t.PackSmall d ) { return new GameOverlayActivated_t() { - m_bActive = d.m_bActive, + Active = d.Active, }; } } @@ -394,25 +364,25 @@ public static implicit operator GameOverlayActivated_t ( GameOverlayActivated_ public struct GameServerChangeRequested_t { [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 64)] - public string m_rgchServer; // char [64] + public string RgchServer; // m_rgchServer char [64] [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 64)] - public string m_rgchPassword; // char [64] + public string RgchPassword; // m_rgchPassword char [64] public static GameServerChangeRequested_t FromPointer( IntPtr p ) { return (GameServerChangeRequested_t) Marshal.PtrToStructure( p, typeof(GameServerChangeRequested_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 64)] - public string m_rgchServer; // char [64] + public string RgchServer; // m_rgchServer char [64] [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 64)] - public string m_rgchPassword; // char [64] + public string RgchPassword; // m_rgchPassword char [64] - public static implicit operator GameServerChangeRequested_t ( GameServerChangeRequested_t.PackSmall d ) + public static implicit operator GameServerChangeRequested_t ( GameServerChangeRequested_t.PackSmall d ) { return new GameServerChangeRequested_t() { - m_rgchServer = d.m_rgchServer, - m_rgchPassword = d.m_rgchPassword, + RgchServer = d.RgchServer, + RgchPassword = d.RgchPassword, }; } } @@ -421,22 +391,22 @@ public static implicit operator GameServerChangeRequested_t ( GameServerChange [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct GameLobbyJoinRequested_t { - public ulong m_steamIDLobby; // class CSteamID - public ulong m_steamIDFriend; // class CSteamID + public ulong SteamIDLobby; // m_steamIDLobby class CSteamID + public ulong SteamIDFriend; // m_steamIDFriend class CSteamID public static GameLobbyJoinRequested_t FromPointer( IntPtr p ) { return (GameLobbyJoinRequested_t) Marshal.PtrToStructure( p, typeof(GameLobbyJoinRequested_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_steamIDLobby; // class CSteamID - public ulong m_steamIDFriend; // class CSteamID + public ulong SteamIDLobby; // m_steamIDLobby class CSteamID + public ulong SteamIDFriend; // m_steamIDFriend class CSteamID - public static implicit operator GameLobbyJoinRequested_t ( GameLobbyJoinRequested_t.PackSmall d ) + public static implicit operator GameLobbyJoinRequested_t ( GameLobbyJoinRequested_t.PackSmall d ) { return new GameLobbyJoinRequested_t() { - m_steamIDLobby = d.m_steamIDLobby, - m_steamIDFriend = d.m_steamIDFriend, + SteamIDLobby = d.SteamIDLobby, + SteamIDFriend = d.SteamIDFriend, }; } } @@ -445,28 +415,28 @@ public static implicit operator GameLobbyJoinRequested_t ( GameLobbyJoinReques [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct AvatarImageLoaded_t { - public ulong m_steamID; // class CSteamID - public int m_iImage; // int - public int m_iWide; // int - public int m_iTall; // int + public ulong SteamID; // m_steamID class CSteamID + public int Image; // m_iImage int + public int Wide; // m_iWide int + public int Tall; // m_iTall int public static AvatarImageLoaded_t FromPointer( IntPtr p ) { return (AvatarImageLoaded_t) Marshal.PtrToStructure( p, typeof(AvatarImageLoaded_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_steamID; // class CSteamID - public int m_iImage; // int - public int m_iWide; // int - public int m_iTall; // int + public ulong SteamID; // m_steamID class CSteamID + public int Image; // m_iImage int + public int Wide; // m_iWide int + public int Tall; // m_iTall int - public static implicit operator AvatarImageLoaded_t ( AvatarImageLoaded_t.PackSmall d ) + public static implicit operator AvatarImageLoaded_t ( AvatarImageLoaded_t.PackSmall d ) { return new AvatarImageLoaded_t() { - m_steamID = d.m_steamID, - m_iImage = d.m_iImage, - m_iWide = d.m_iWide, - m_iTall = d.m_iTall, + SteamID = d.SteamID, + Image = d.Image, + Wide = d.Wide, + Tall = d.Tall, }; } } @@ -475,25 +445,25 @@ public static implicit operator AvatarImageLoaded_t ( AvatarImageLoaded_t.Pack [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct ClanOfficerListResponse_t { - public ulong m_steamIDClan; // class CSteamID - public int m_cOfficers; // int - public byte m_bSuccess; // uint8 + public ulong SteamIDClan; // m_steamIDClan class CSteamID + public int COfficers; // m_cOfficers int + public byte Success; // m_bSuccess uint8 public static ClanOfficerListResponse_t FromPointer( IntPtr p ) { return (ClanOfficerListResponse_t) Marshal.PtrToStructure( p, typeof(ClanOfficerListResponse_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_steamIDClan; // class CSteamID - public int m_cOfficers; // int - public byte m_bSuccess; // uint8 + public ulong SteamIDClan; // m_steamIDClan class CSteamID + public int COfficers; // m_cOfficers int + public byte Success; // m_bSuccess uint8 - public static implicit operator ClanOfficerListResponse_t ( ClanOfficerListResponse_t.PackSmall d ) + public static implicit operator ClanOfficerListResponse_t ( ClanOfficerListResponse_t.PackSmall d ) { return new ClanOfficerListResponse_t() { - m_steamIDClan = d.m_steamIDClan, - m_cOfficers = d.m_cOfficers, - m_bSuccess = d.m_bSuccess, + SteamIDClan = d.SteamIDClan, + COfficers = d.COfficers, + Success = d.Success, }; } } @@ -502,22 +472,22 @@ public static implicit operator ClanOfficerListResponse_t ( ClanOfficerListRes [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct FriendRichPresenceUpdate_t { - public ulong m_steamIDFriend; // class CSteamID - public uint m_nAppID; // AppId_t + public ulong SteamIDFriend; // m_steamIDFriend class CSteamID + public uint NAppID; // m_nAppID AppId_t public static FriendRichPresenceUpdate_t FromPointer( IntPtr p ) { return (FriendRichPresenceUpdate_t) Marshal.PtrToStructure( p, typeof(FriendRichPresenceUpdate_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_steamIDFriend; // class CSteamID - public uint m_nAppID; // AppId_t + public ulong SteamIDFriend; // m_steamIDFriend class CSteamID + public uint NAppID; // m_nAppID AppId_t - public static implicit operator FriendRichPresenceUpdate_t ( FriendRichPresenceUpdate_t.PackSmall d ) + public static implicit operator FriendRichPresenceUpdate_t ( FriendRichPresenceUpdate_t.PackSmall d ) { return new FriendRichPresenceUpdate_t() { - m_steamIDFriend = d.m_steamIDFriend, - m_nAppID = d.m_nAppID, + SteamIDFriend = d.SteamIDFriend, + NAppID = d.NAppID, }; } } @@ -526,24 +496,24 @@ public static implicit operator FriendRichPresenceUpdate_t ( FriendRichPresenc [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct GameRichPresenceJoinRequested_t { - public ulong m_steamIDFriend; // class CSteamID + public ulong SteamIDFriend; // m_steamIDFriend class CSteamID [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 256)] - public string m_rgchConnect; // char [256] + public string RgchConnect; // m_rgchConnect char [256] public static GameRichPresenceJoinRequested_t FromPointer( IntPtr p ) { return (GameRichPresenceJoinRequested_t) Marshal.PtrToStructure( p, typeof(GameRichPresenceJoinRequested_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_steamIDFriend; // class CSteamID + public ulong SteamIDFriend; // m_steamIDFriend class CSteamID [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 256)] - public string m_rgchConnect; // char [256] + public string RgchConnect; // m_rgchConnect char [256] - public static implicit operator GameRichPresenceJoinRequested_t ( GameRichPresenceJoinRequested_t.PackSmall d ) + public static implicit operator GameRichPresenceJoinRequested_t ( GameRichPresenceJoinRequested_t.PackSmall d ) { return new GameRichPresenceJoinRequested_t() { - m_steamIDFriend = d.m_steamIDFriend, - m_rgchConnect = d.m_rgchConnect, + SteamIDFriend = d.SteamIDFriend, + RgchConnect = d.RgchConnect, }; } } @@ -552,25 +522,25 @@ public static implicit operator GameRichPresenceJoinRequested_t ( GameRichPres [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct GameConnectedClanChatMsg_t { - public ulong m_steamIDClanChat; // class CSteamID - public ulong m_steamIDUser; // class CSteamID - public int m_iMessageID; // int + public ulong SteamIDClanChat; // m_steamIDClanChat class CSteamID + public ulong SteamIDUser; // m_steamIDUser class CSteamID + public int MessageID; // m_iMessageID int public static GameConnectedClanChatMsg_t FromPointer( IntPtr p ) { return (GameConnectedClanChatMsg_t) Marshal.PtrToStructure( p, typeof(GameConnectedClanChatMsg_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_steamIDClanChat; // class CSteamID - public ulong m_steamIDUser; // class CSteamID - public int m_iMessageID; // int + public ulong SteamIDClanChat; // m_steamIDClanChat class CSteamID + public ulong SteamIDUser; // m_steamIDUser class CSteamID + public int MessageID; // m_iMessageID int - public static implicit operator GameConnectedClanChatMsg_t ( GameConnectedClanChatMsg_t.PackSmall d ) + public static implicit operator GameConnectedClanChatMsg_t ( GameConnectedClanChatMsg_t.PackSmall d ) { return new GameConnectedClanChatMsg_t() { - m_steamIDClanChat = d.m_steamIDClanChat, - m_steamIDUser = d.m_steamIDUser, - m_iMessageID = d.m_iMessageID, + SteamIDClanChat = d.SteamIDClanChat, + SteamIDUser = d.SteamIDUser, + MessageID = d.MessageID, }; } } @@ -579,22 +549,22 @@ public static implicit operator GameConnectedClanChatMsg_t ( GameConnectedClan [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct GameConnectedChatJoin_t { - public ulong m_steamIDClanChat; // class CSteamID - public ulong m_steamIDUser; // class CSteamID + public ulong SteamIDClanChat; // m_steamIDClanChat class CSteamID + public ulong SteamIDUser; // m_steamIDUser class CSteamID public static GameConnectedChatJoin_t FromPointer( IntPtr p ) { return (GameConnectedChatJoin_t) Marshal.PtrToStructure( p, typeof(GameConnectedChatJoin_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_steamIDClanChat; // class CSteamID - public ulong m_steamIDUser; // class CSteamID + public ulong SteamIDClanChat; // m_steamIDClanChat class CSteamID + public ulong SteamIDUser; // m_steamIDUser class CSteamID - public static implicit operator GameConnectedChatJoin_t ( GameConnectedChatJoin_t.PackSmall d ) + public static implicit operator GameConnectedChatJoin_t ( GameConnectedChatJoin_t.PackSmall d ) { return new GameConnectedChatJoin_t() { - m_steamIDClanChat = d.m_steamIDClanChat, - m_steamIDUser = d.m_steamIDUser, + SteamIDClanChat = d.SteamIDClanChat, + SteamIDUser = d.SteamIDUser, }; } } @@ -603,32 +573,32 @@ public static implicit operator GameConnectedChatJoin_t ( GameConnectedChatJoi [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct GameConnectedChatLeave_t { - public ulong m_steamIDClanChat; // class CSteamID - public ulong m_steamIDUser; // class CSteamID + public ulong SteamIDClanChat; // m_steamIDClanChat class CSteamID + public ulong SteamIDUser; // m_steamIDUser class CSteamID [MarshalAs(UnmanagedType.I1)] - public bool m_bKicked; // _Bool + public bool Kicked; // m_bKicked _Bool [MarshalAs(UnmanagedType.I1)] - public bool m_bDropped; // _Bool + public bool Dropped; // m_bDropped _Bool public static GameConnectedChatLeave_t FromPointer( IntPtr p ) { return (GameConnectedChatLeave_t) Marshal.PtrToStructure( p, typeof(GameConnectedChatLeave_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_steamIDClanChat; // class CSteamID - public ulong m_steamIDUser; // class CSteamID + public ulong SteamIDClanChat; // m_steamIDClanChat class CSteamID + public ulong SteamIDUser; // m_steamIDUser class CSteamID [MarshalAs(UnmanagedType.I1)] - public bool m_bKicked; // _Bool + public bool Kicked; // m_bKicked _Bool [MarshalAs(UnmanagedType.I1)] - public bool m_bDropped; // _Bool + public bool Dropped; // m_bDropped _Bool - public static implicit operator GameConnectedChatLeave_t ( GameConnectedChatLeave_t.PackSmall d ) + public static implicit operator GameConnectedChatLeave_t ( GameConnectedChatLeave_t.PackSmall d ) { return new GameConnectedChatLeave_t() { - m_steamIDClanChat = d.m_steamIDClanChat, - m_steamIDUser = d.m_steamIDUser, - m_bKicked = d.m_bKicked, - m_bDropped = d.m_bDropped, + SteamIDClanChat = d.SteamIDClanChat, + SteamIDUser = d.SteamIDUser, + Kicked = d.Kicked, + Dropped = d.Dropped, }; } } @@ -638,20 +608,20 @@ public static implicit operator GameConnectedChatLeave_t ( GameConnectedChatLe public struct DownloadClanActivityCountsResult_t { [MarshalAs(UnmanagedType.I1)] - public bool m_bSuccess; // _Bool + public bool Success; // m_bSuccess _Bool public static DownloadClanActivityCountsResult_t FromPointer( IntPtr p ) { return (DownloadClanActivityCountsResult_t) Marshal.PtrToStructure( p, typeof(DownloadClanActivityCountsResult_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { [MarshalAs(UnmanagedType.I1)] - public bool m_bSuccess; // _Bool + public bool Success; // m_bSuccess _Bool - public static implicit operator DownloadClanActivityCountsResult_t ( DownloadClanActivityCountsResult_t.PackSmall d ) + public static implicit operator DownloadClanActivityCountsResult_t ( DownloadClanActivityCountsResult_t.PackSmall d ) { return new DownloadClanActivityCountsResult_t() { - m_bSuccess = d.m_bSuccess, + Success = d.Success, }; } } @@ -660,22 +630,22 @@ public static implicit operator DownloadClanActivityCountsResult_t ( DownloadC [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct JoinClanChatRoomCompletionResult_t { - public ulong m_steamIDClanChat; // class CSteamID - public ChatRoomEnterResponse m_eChatRoomEnterResponse; // enum EChatRoomEnterResponse + public ulong SteamIDClanChat; // m_steamIDClanChat class CSteamID + public ChatRoomEnterResponse ChatRoomEnterResponse; // m_eChatRoomEnterResponse enum EChatRoomEnterResponse public static JoinClanChatRoomCompletionResult_t FromPointer( IntPtr p ) { return (JoinClanChatRoomCompletionResult_t) Marshal.PtrToStructure( p, typeof(JoinClanChatRoomCompletionResult_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_steamIDClanChat; // class CSteamID - public ChatRoomEnterResponse m_eChatRoomEnterResponse; // enum EChatRoomEnterResponse + public ulong SteamIDClanChat; // m_steamIDClanChat class CSteamID + public ChatRoomEnterResponse ChatRoomEnterResponse; // m_eChatRoomEnterResponse enum EChatRoomEnterResponse - public static implicit operator JoinClanChatRoomCompletionResult_t ( JoinClanChatRoomCompletionResult_t.PackSmall d ) + public static implicit operator JoinClanChatRoomCompletionResult_t ( JoinClanChatRoomCompletionResult_t.PackSmall d ) { return new JoinClanChatRoomCompletionResult_t() { - m_steamIDClanChat = d.m_steamIDClanChat, - m_eChatRoomEnterResponse = d.m_eChatRoomEnterResponse, + SteamIDClanChat = d.SteamIDClanChat, + ChatRoomEnterResponse = d.ChatRoomEnterResponse, }; } } @@ -684,22 +654,22 @@ public static implicit operator JoinClanChatRoomCompletionResult_t ( JoinClanC [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct GameConnectedFriendChatMsg_t { - public ulong m_steamIDUser; // class CSteamID - public int m_iMessageID; // int + public ulong SteamIDUser; // m_steamIDUser class CSteamID + public int MessageID; // m_iMessageID int public static GameConnectedFriendChatMsg_t FromPointer( IntPtr p ) { return (GameConnectedFriendChatMsg_t) Marshal.PtrToStructure( p, typeof(GameConnectedFriendChatMsg_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_steamIDUser; // class CSteamID - public int m_iMessageID; // int + public ulong SteamIDUser; // m_steamIDUser class CSteamID + public int MessageID; // m_iMessageID int - public static implicit operator GameConnectedFriendChatMsg_t ( GameConnectedFriendChatMsg_t.PackSmall d ) + public static implicit operator GameConnectedFriendChatMsg_t ( GameConnectedFriendChatMsg_t.PackSmall d ) { return new GameConnectedFriendChatMsg_t() { - m_steamIDUser = d.m_steamIDUser, - m_iMessageID = d.m_iMessageID, + SteamIDUser = d.SteamIDUser, + MessageID = d.MessageID, }; } } @@ -708,25 +678,25 @@ public static implicit operator GameConnectedFriendChatMsg_t ( GameConnectedFr [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct FriendsGetFollowerCount_t { - public Result m_eResult; // enum EResult - public ulong m_steamID; // class CSteamID - public int m_nCount; // int + public Result Result; // m_eResult enum EResult + public ulong SteamID; // m_steamID class CSteamID + public int NCount; // m_nCount int public static FriendsGetFollowerCount_t FromPointer( IntPtr p ) { return (FriendsGetFollowerCount_t) Marshal.PtrToStructure( p, typeof(FriendsGetFollowerCount_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult - public ulong m_steamID; // class CSteamID - public int m_nCount; // int + public Result Result; // m_eResult enum EResult + public ulong SteamID; // m_steamID class CSteamID + public int NCount; // m_nCount int - public static implicit operator FriendsGetFollowerCount_t ( FriendsGetFollowerCount_t.PackSmall d ) + public static implicit operator FriendsGetFollowerCount_t ( FriendsGetFollowerCount_t.PackSmall d ) { return new FriendsGetFollowerCount_t() { - m_eResult = d.m_eResult, - m_steamID = d.m_steamID, - m_nCount = d.m_nCount, + Result = d.Result, + SteamID = d.SteamID, + NCount = d.NCount, }; } } @@ -735,27 +705,27 @@ public static implicit operator FriendsGetFollowerCount_t ( FriendsGetFollower [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct FriendsIsFollowing_t { - public Result m_eResult; // enum EResult - public ulong m_steamID; // class CSteamID + public Result Result; // m_eResult enum EResult + public ulong SteamID; // m_steamID class CSteamID [MarshalAs(UnmanagedType.I1)] - public bool m_bIsFollowing; // _Bool + public bool IsFollowing; // m_bIsFollowing _Bool public static FriendsIsFollowing_t FromPointer( IntPtr p ) { return (FriendsIsFollowing_t) Marshal.PtrToStructure( p, typeof(FriendsIsFollowing_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult - public ulong m_steamID; // class CSteamID + public Result Result; // m_eResult enum EResult + public ulong SteamID; // m_steamID class CSteamID [MarshalAs(UnmanagedType.I1)] - public bool m_bIsFollowing; // _Bool + public bool IsFollowing; // m_bIsFollowing _Bool - public static implicit operator FriendsIsFollowing_t ( FriendsIsFollowing_t.PackSmall d ) + public static implicit operator FriendsIsFollowing_t ( FriendsIsFollowing_t.PackSmall d ) { return new FriendsIsFollowing_t() { - m_eResult = d.m_eResult, - m_steamID = d.m_steamID, - m_bIsFollowing = d.m_bIsFollowing, + Result = d.Result, + SteamID = d.SteamID, + IsFollowing = d.IsFollowing, }; } } @@ -764,30 +734,30 @@ public static implicit operator FriendsIsFollowing_t ( FriendsIsFollowing_t.Pa [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct FriendsEnumerateFollowingList_t { - public Result m_eResult; // enum EResult + public Result Result; // m_eResult enum EResult [MarshalAs(UnmanagedType.ByValArray, SizeConst = 50, ArraySubType = UnmanagedType.U8)] - public ulong[] m_rgSteamID; // class CSteamID [50] - public int m_nResultsReturned; // int32 - public int m_nTotalResultCount; // int32 + public ulong[] RgSteamID; // m_rgSteamID class CSteamID [50] + public int NResultsReturned; // m_nResultsReturned int32 + public int NTotalResultCount; // m_nTotalResultCount int32 public static FriendsEnumerateFollowingList_t FromPointer( IntPtr p ) { return (FriendsEnumerateFollowingList_t) Marshal.PtrToStructure( p, typeof(FriendsEnumerateFollowingList_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult + public Result Result; // m_eResult enum EResult [MarshalAs(UnmanagedType.ByValArray, SizeConst = 50, ArraySubType = UnmanagedType.U8)] - public ulong[] m_rgSteamID; // class CSteamID [50] - public int m_nResultsReturned; // int32 - public int m_nTotalResultCount; // int32 + public ulong[] RgSteamID; // m_rgSteamID class CSteamID [50] + public int NResultsReturned; // m_nResultsReturned int32 + public int NTotalResultCount; // m_nTotalResultCount int32 - public static implicit operator FriendsEnumerateFollowingList_t ( FriendsEnumerateFollowingList_t.PackSmall d ) + public static implicit operator FriendsEnumerateFollowingList_t ( FriendsEnumerateFollowingList_t.PackSmall d ) { return new FriendsEnumerateFollowingList_t() { - m_eResult = d.m_eResult, - m_rgSteamID = d.m_rgSteamID, - m_nResultsReturned = d.m_nResultsReturned, - m_nTotalResultCount = d.m_nTotalResultCount, + Result = d.Result, + RgSteamID = d.RgSteamID, + NResultsReturned = d.NResultsReturned, + NTotalResultCount = d.NTotalResultCount, }; } } @@ -797,28 +767,28 @@ public static implicit operator FriendsEnumerateFollowingList_t ( FriendsEnume public struct SetPersonaNameResponse_t { [MarshalAs(UnmanagedType.I1)] - public bool m_bSuccess; // _Bool + public bool Success; // m_bSuccess _Bool [MarshalAs(UnmanagedType.I1)] - public bool m_bLocalSuccess; // _Bool - public Result m_result; // enum EResult + public bool LocalSuccess; // m_bLocalSuccess _Bool + public Result Result; // m_result enum EResult public static SetPersonaNameResponse_t FromPointer( IntPtr p ) { return (SetPersonaNameResponse_t) Marshal.PtrToStructure( p, typeof(SetPersonaNameResponse_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { [MarshalAs(UnmanagedType.I1)] - public bool m_bSuccess; // _Bool + public bool Success; // m_bSuccess _Bool [MarshalAs(UnmanagedType.I1)] - public bool m_bLocalSuccess; // _Bool - public Result m_result; // enum EResult + public bool LocalSuccess; // m_bLocalSuccess _Bool + public Result Result; // m_result enum EResult - public static implicit operator SetPersonaNameResponse_t ( SetPersonaNameResponse_t.PackSmall d ) + public static implicit operator SetPersonaNameResponse_t ( SetPersonaNameResponse_t.PackSmall d ) { return new SetPersonaNameResponse_t() { - m_bSuccess = d.m_bSuccess, - m_bLocalSuccess = d.m_bLocalSuccess, - m_result = d.m_result, + Success = d.Success, + LocalSuccess = d.LocalSuccess, + Result = d.Result, }; } } @@ -827,19 +797,19 @@ public static implicit operator SetPersonaNameResponse_t ( SetPersonaNameRespo [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct LowBatteryPower_t { - public byte m_nMinutesBatteryLeft; // uint8 + public byte NMinutesBatteryLeft; // m_nMinutesBatteryLeft uint8 public static LowBatteryPower_t FromPointer( IntPtr p ) { return (LowBatteryPower_t) Marshal.PtrToStructure( p, typeof(LowBatteryPower_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public byte m_nMinutesBatteryLeft; // uint8 + public byte NMinutesBatteryLeft; // m_nMinutesBatteryLeft uint8 - public static implicit operator LowBatteryPower_t ( LowBatteryPower_t.PackSmall d ) + public static implicit operator LowBatteryPower_t ( LowBatteryPower_t.PackSmall d ) { return new LowBatteryPower_t() { - m_nMinutesBatteryLeft = d.m_nMinutesBatteryLeft, + NMinutesBatteryLeft = d.NMinutesBatteryLeft, }; } } @@ -848,25 +818,25 @@ public static implicit operator LowBatteryPower_t ( LowBatteryPower_t.PackSmal [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct SteamAPICallCompleted_t { - public ulong m_hAsyncCall; // SteamAPICall_t - public int m_iCallback; // int - public uint m_cubParam; // uint32 + public ulong AsyncCall; // m_hAsyncCall SteamAPICall_t + public int Callback; // m_iCallback int + public uint ParamCount; // m_cubParam uint32 public static SteamAPICallCompleted_t FromPointer( IntPtr p ) { return (SteamAPICallCompleted_t) Marshal.PtrToStructure( p, typeof(SteamAPICallCompleted_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_hAsyncCall; // SteamAPICall_t - public int m_iCallback; // int - public uint m_cubParam; // uint32 + public ulong AsyncCall; // m_hAsyncCall SteamAPICall_t + public int Callback; // m_iCallback int + public uint ParamCount; // m_cubParam uint32 - public static implicit operator SteamAPICallCompleted_t ( SteamAPICallCompleted_t.PackSmall d ) + public static implicit operator SteamAPICallCompleted_t ( SteamAPICallCompleted_t.PackSmall d ) { return new SteamAPICallCompleted_t() { - m_hAsyncCall = d.m_hAsyncCall, - m_iCallback = d.m_iCallback, - m_cubParam = d.m_cubParam, + AsyncCall = d.AsyncCall, + Callback = d.Callback, + ParamCount = d.ParamCount, }; } } @@ -875,19 +845,19 @@ public static implicit operator SteamAPICallCompleted_t ( SteamAPICallComplete [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct CheckFileSignature_t { - public CheckFileSignature m_eCheckFileSignature; // enum ECheckFileSignature + public CheckFileSignature CheckFileSignature; // m_eCheckFileSignature enum ECheckFileSignature public static CheckFileSignature_t FromPointer( IntPtr p ) { return (CheckFileSignature_t) Marshal.PtrToStructure( p, typeof(CheckFileSignature_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public CheckFileSignature m_eCheckFileSignature; // enum ECheckFileSignature + public CheckFileSignature CheckFileSignature; // m_eCheckFileSignature enum ECheckFileSignature - public static implicit operator CheckFileSignature_t ( CheckFileSignature_t.PackSmall d ) + public static implicit operator CheckFileSignature_t ( CheckFileSignature_t.PackSmall d ) { return new CheckFileSignature_t() { - m_eCheckFileSignature = d.m_eCheckFileSignature, + CheckFileSignature = d.CheckFileSignature, }; } } @@ -897,23 +867,23 @@ public static implicit operator CheckFileSignature_t ( CheckFileSignature_t.Pa public struct GamepadTextInputDismissed_t { [MarshalAs(UnmanagedType.I1)] - public bool m_bSubmitted; // _Bool - public uint m_unSubmittedText; // uint32 + public bool Submitted; // m_bSubmitted _Bool + public uint SubmittedText; // m_unSubmittedText uint32 public static GamepadTextInputDismissed_t FromPointer( IntPtr p ) { return (GamepadTextInputDismissed_t) Marshal.PtrToStructure( p, typeof(GamepadTextInputDismissed_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { [MarshalAs(UnmanagedType.I1)] - public bool m_bSubmitted; // _Bool - public uint m_unSubmittedText; // uint32 + public bool Submitted; // m_bSubmitted _Bool + public uint SubmittedText; // m_unSubmittedText uint32 - public static implicit operator GamepadTextInputDismissed_t ( GamepadTextInputDismissed_t.PackSmall d ) + public static implicit operator GamepadTextInputDismissed_t ( GamepadTextInputDismissed_t.PackSmall d ) { return new GamepadTextInputDismissed_t() { - m_bSubmitted = d.m_bSubmitted, - m_unSubmittedText = d.m_unSubmittedText, + Submitted = d.Submitted, + SubmittedText = d.SubmittedText, }; } } @@ -923,25 +893,25 @@ public static implicit operator GamepadTextInputDismissed_t ( GamepadTextInput public struct MatchMakingKeyValuePair_t { [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 256)] - public string m_szKey; // char [256] + public string Key; // m_szKey char [256] [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 256)] - public string m_szValue; // char [256] + public string Value; // m_szValue char [256] public static MatchMakingKeyValuePair_t FromPointer( IntPtr p ) { return (MatchMakingKeyValuePair_t) Marshal.PtrToStructure( p, typeof(MatchMakingKeyValuePair_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 256)] - public string m_szKey; // char [256] + public string Key; // m_szKey char [256] [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 256)] - public string m_szValue; // char [256] + public string Value; // m_szValue char [256] - public static implicit operator MatchMakingKeyValuePair_t ( MatchMakingKeyValuePair_t.PackSmall d ) + public static implicit operator MatchMakingKeyValuePair_t ( MatchMakingKeyValuePair_t.PackSmall d ) { return new MatchMakingKeyValuePair_t() { - m_szKey = d.m_szKey, - m_szValue = d.m_szValue, + Key = d.Key, + Value = d.Value, }; } } @@ -950,25 +920,25 @@ public static implicit operator MatchMakingKeyValuePair_t ( MatchMakingKeyValu [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct servernetadr_t { - public ushort m_usConnectionPort; // uint16 - public ushort m_usQueryPort; // uint16 - public uint m_unIP; // uint32 + public ushort ConnectionPort; // m_usConnectionPort uint16 + public ushort QueryPort; // m_usQueryPort uint16 + public uint IP; // m_unIP uint32 public static servernetadr_t FromPointer( IntPtr p ) { return (servernetadr_t) Marshal.PtrToStructure( p, typeof(servernetadr_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ushort m_usConnectionPort; // uint16 - public ushort m_usQueryPort; // uint16 - public uint m_unIP; // uint32 + public ushort ConnectionPort; // m_usConnectionPort uint16 + public ushort QueryPort; // m_usQueryPort uint16 + public uint IP; // m_unIP uint32 - public static implicit operator servernetadr_t ( servernetadr_t.PackSmall d ) + public static implicit operator servernetadr_t ( servernetadr_t.PackSmall d ) { return new servernetadr_t() { - m_usConnectionPort = d.m_usConnectionPort, - m_usQueryPort = d.m_usQueryPort, - m_unIP = d.m_unIP, + ConnectionPort = d.ConnectionPort, + QueryPort = d.QueryPort, + IP = d.IP, }; } } @@ -977,88 +947,88 @@ public static implicit operator servernetadr_t ( servernetadr_t.PackSmall d ) [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct gameserveritem_t { - public servernetadr_t m_NetAdr; // class servernetadr_t - public int m_nPing; // int + public servernetadr_t NetAdr; // m_NetAdr class servernetadr_t + public int NPing; // m_nPing int [MarshalAs(UnmanagedType.I1)] - public bool m_bHadSuccessfulResponse; // _Bool + public bool HadSuccessfulResponse; // m_bHadSuccessfulResponse _Bool [MarshalAs(UnmanagedType.I1)] - public bool m_bDoNotRefresh; // _Bool + public bool DoNotRefresh; // m_bDoNotRefresh _Bool [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 32)] - public string m_szGameDir; // char [32] + public string GameDir; // m_szGameDir char [32] [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 32)] - public string m_szMap; // char [32] + public string Map; // m_szMap char [32] [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 64)] - public string m_szGameDescription; // char [64] - public uint m_nAppID; // uint32 - public int m_nPlayers; // int - public int m_nMaxPlayers; // int - public int m_nBotPlayers; // int + public string GameDescription; // m_szGameDescription char [64] + public uint NAppID; // m_nAppID uint32 + public int NPlayers; // m_nPlayers int + public int NMaxPlayers; // m_nMaxPlayers int + public int NBotPlayers; // m_nBotPlayers int [MarshalAs(UnmanagedType.I1)] - public bool m_bPassword; // _Bool + public bool Password; // m_bPassword _Bool [MarshalAs(UnmanagedType.I1)] - public bool m_bSecure; // _Bool - public uint m_ulTimeLastPlayed; // uint32 - public int m_nServerVersion; // int + public bool Secure; // m_bSecure _Bool + public uint TimeLastPlayed; // m_ulTimeLastPlayed uint32 + public int NServerVersion; // m_nServerVersion int [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 64)] - public string m_szServerName; // char [64] + public string ServerName; // m_szServerName char [64] [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 128)] - public string m_szGameTags; // char [128] - public ulong m_steamID; // class CSteamID + public string GameTags; // m_szGameTags char [128] + public ulong SteamID; // m_steamID class CSteamID public static gameserveritem_t FromPointer( IntPtr p ) { return (gameserveritem_t) Marshal.PtrToStructure( p, typeof(gameserveritem_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public servernetadr_t m_NetAdr; // class servernetadr_t - public int m_nPing; // int + public servernetadr_t NetAdr; // m_NetAdr class servernetadr_t + public int NPing; // m_nPing int [MarshalAs(UnmanagedType.I1)] - public bool m_bHadSuccessfulResponse; // _Bool + public bool HadSuccessfulResponse; // m_bHadSuccessfulResponse _Bool [MarshalAs(UnmanagedType.I1)] - public bool m_bDoNotRefresh; // _Bool + public bool DoNotRefresh; // m_bDoNotRefresh _Bool [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 32)] - public string m_szGameDir; // char [32] + public string GameDir; // m_szGameDir char [32] [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 32)] - public string m_szMap; // char [32] + public string Map; // m_szMap char [32] [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 64)] - public string m_szGameDescription; // char [64] - public uint m_nAppID; // uint32 - public int m_nPlayers; // int - public int m_nMaxPlayers; // int - public int m_nBotPlayers; // int + public string GameDescription; // m_szGameDescription char [64] + public uint NAppID; // m_nAppID uint32 + public int NPlayers; // m_nPlayers int + public int NMaxPlayers; // m_nMaxPlayers int + public int NBotPlayers; // m_nBotPlayers int [MarshalAs(UnmanagedType.I1)] - public bool m_bPassword; // _Bool + public bool Password; // m_bPassword _Bool [MarshalAs(UnmanagedType.I1)] - public bool m_bSecure; // _Bool - public uint m_ulTimeLastPlayed; // uint32 - public int m_nServerVersion; // int + public bool Secure; // m_bSecure _Bool + public uint TimeLastPlayed; // m_ulTimeLastPlayed uint32 + public int NServerVersion; // m_nServerVersion int [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 64)] - public string m_szServerName; // char [64] + public string ServerName; // m_szServerName char [64] [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 128)] - public string m_szGameTags; // char [128] - public ulong m_steamID; // class CSteamID + public string GameTags; // m_szGameTags char [128] + public ulong SteamID; // m_steamID class CSteamID - public static implicit operator gameserveritem_t ( gameserveritem_t.PackSmall d ) + public static implicit operator gameserveritem_t ( gameserveritem_t.PackSmall d ) { return new gameserveritem_t() { - m_NetAdr = d.m_NetAdr, - m_nPing = d.m_nPing, - m_bHadSuccessfulResponse = d.m_bHadSuccessfulResponse, - m_bDoNotRefresh = d.m_bDoNotRefresh, - m_szGameDir = d.m_szGameDir, - m_szMap = d.m_szMap, - m_szGameDescription = d.m_szGameDescription, - m_nAppID = d.m_nAppID, - m_nPlayers = d.m_nPlayers, - m_nMaxPlayers = d.m_nMaxPlayers, - m_nBotPlayers = d.m_nBotPlayers, - m_bPassword = d.m_bPassword, - m_bSecure = d.m_bSecure, - m_ulTimeLastPlayed = d.m_ulTimeLastPlayed, - m_nServerVersion = d.m_nServerVersion, - m_szServerName = d.m_szServerName, - m_szGameTags = d.m_szGameTags, - m_steamID = d.m_steamID, + NetAdr = d.NetAdr, + NPing = d.NPing, + HadSuccessfulResponse = d.HadSuccessfulResponse, + DoNotRefresh = d.DoNotRefresh, + GameDir = d.GameDir, + Map = d.Map, + GameDescription = d.GameDescription, + NAppID = d.NAppID, + NPlayers = d.NPlayers, + NMaxPlayers = d.NMaxPlayers, + NBotPlayers = d.NBotPlayers, + Password = d.Password, + Secure = d.Secure, + TimeLastPlayed = d.TimeLastPlayed, + NServerVersion = d.NServerVersion, + ServerName = d.ServerName, + GameTags = d.GameTags, + SteamID = d.SteamID, }; } } @@ -1067,39 +1037,39 @@ public static implicit operator gameserveritem_t ( gameserveritem_t.PackSmall [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct FavoritesListChanged_t { - public uint m_nIP; // uint32 - public uint m_nQueryPort; // uint32 - public uint m_nConnPort; // uint32 - public uint m_nAppID; // uint32 - public uint m_nFlags; // uint32 + public uint NIP; // m_nIP uint32 + public uint NQueryPort; // m_nQueryPort uint32 + public uint NConnPort; // m_nConnPort uint32 + public uint NAppID; // m_nAppID uint32 + public uint NFlags; // m_nFlags uint32 [MarshalAs(UnmanagedType.I1)] - public bool m_bAdd; // _Bool - public uint m_unAccountId; // AccountID_t + public bool Add; // m_bAdd _Bool + public uint AccountId; // m_unAccountId AccountID_t public static FavoritesListChanged_t FromPointer( IntPtr p ) { return (FavoritesListChanged_t) Marshal.PtrToStructure( p, typeof(FavoritesListChanged_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint m_nIP; // uint32 - public uint m_nQueryPort; // uint32 - public uint m_nConnPort; // uint32 - public uint m_nAppID; // uint32 - public uint m_nFlags; // uint32 + public uint NIP; // m_nIP uint32 + public uint NQueryPort; // m_nQueryPort uint32 + public uint NConnPort; // m_nConnPort uint32 + public uint NAppID; // m_nAppID uint32 + public uint NFlags; // m_nFlags uint32 [MarshalAs(UnmanagedType.I1)] - public bool m_bAdd; // _Bool - public uint m_unAccountId; // AccountID_t + public bool Add; // m_bAdd _Bool + public uint AccountId; // m_unAccountId AccountID_t - public static implicit operator FavoritesListChanged_t ( FavoritesListChanged_t.PackSmall d ) + public static implicit operator FavoritesListChanged_t ( FavoritesListChanged_t.PackSmall d ) { return new FavoritesListChanged_t() { - m_nIP = d.m_nIP, - m_nQueryPort = d.m_nQueryPort, - m_nConnPort = d.m_nConnPort, - m_nAppID = d.m_nAppID, - m_nFlags = d.m_nFlags, - m_bAdd = d.m_bAdd, - m_unAccountId = d.m_unAccountId, + NIP = d.NIP, + NQueryPort = d.NQueryPort, + NConnPort = d.NConnPort, + NAppID = d.NAppID, + NFlags = d.NFlags, + Add = d.Add, + AccountId = d.AccountId, }; } } @@ -1108,25 +1078,25 @@ public static implicit operator FavoritesListChanged_t ( FavoritesListChanged_ [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct LobbyInvite_t { - public ulong m_ulSteamIDUser; // uint64 - public ulong m_ulSteamIDLobby; // uint64 - public ulong m_ulGameID; // uint64 + public ulong SteamIDUser; // m_ulSteamIDUser uint64 + public ulong SteamIDLobby; // m_ulSteamIDLobby uint64 + public ulong GameID; // m_ulGameID uint64 public static LobbyInvite_t FromPointer( IntPtr p ) { return (LobbyInvite_t) Marshal.PtrToStructure( p, typeof(LobbyInvite_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_ulSteamIDUser; // uint64 - public ulong m_ulSteamIDLobby; // uint64 - public ulong m_ulGameID; // uint64 + public ulong SteamIDUser; // m_ulSteamIDUser uint64 + public ulong SteamIDLobby; // m_ulSteamIDLobby uint64 + public ulong GameID; // m_ulGameID uint64 - public static implicit operator LobbyInvite_t ( LobbyInvite_t.PackSmall d ) + public static implicit operator LobbyInvite_t ( LobbyInvite_t.PackSmall d ) { return new LobbyInvite_t() { - m_ulSteamIDUser = d.m_ulSteamIDUser, - m_ulSteamIDLobby = d.m_ulSteamIDLobby, - m_ulGameID = d.m_ulGameID, + SteamIDUser = d.SteamIDUser, + SteamIDLobby = d.SteamIDLobby, + GameID = d.GameID, }; } } @@ -1135,30 +1105,30 @@ public static implicit operator LobbyInvite_t ( LobbyInvite_t.PackSmall d ) [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct LobbyEnter_t { - public ulong m_ulSteamIDLobby; // uint64 - public uint m_rgfChatPermissions; // uint32 + public ulong SteamIDLobby; // m_ulSteamIDLobby uint64 + public uint RgfChatPermissions; // m_rgfChatPermissions uint32 [MarshalAs(UnmanagedType.I1)] - public bool m_bLocked; // _Bool - public uint m_EChatRoomEnterResponse; // uint32 + public bool Locked; // m_bLocked _Bool + public uint EChatRoomEnterResponse; // m_EChatRoomEnterResponse uint32 public static LobbyEnter_t FromPointer( IntPtr p ) { return (LobbyEnter_t) Marshal.PtrToStructure( p, typeof(LobbyEnter_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_ulSteamIDLobby; // uint64 - public uint m_rgfChatPermissions; // uint32 + public ulong SteamIDLobby; // m_ulSteamIDLobby uint64 + public uint RgfChatPermissions; // m_rgfChatPermissions uint32 [MarshalAs(UnmanagedType.I1)] - public bool m_bLocked; // _Bool - public uint m_EChatRoomEnterResponse; // uint32 + public bool Locked; // m_bLocked _Bool + public uint EChatRoomEnterResponse; // m_EChatRoomEnterResponse uint32 - public static implicit operator LobbyEnter_t ( LobbyEnter_t.PackSmall d ) + public static implicit operator LobbyEnter_t ( LobbyEnter_t.PackSmall d ) { return new LobbyEnter_t() { - m_ulSteamIDLobby = d.m_ulSteamIDLobby, - m_rgfChatPermissions = d.m_rgfChatPermissions, - m_bLocked = d.m_bLocked, - m_EChatRoomEnterResponse = d.m_EChatRoomEnterResponse, + SteamIDLobby = d.SteamIDLobby, + RgfChatPermissions = d.RgfChatPermissions, + Locked = d.Locked, + EChatRoomEnterResponse = d.EChatRoomEnterResponse, }; } } @@ -1167,25 +1137,25 @@ public static implicit operator LobbyEnter_t ( LobbyEnter_t.PackSmall d ) [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct LobbyDataUpdate_t { - public ulong m_ulSteamIDLobby; // uint64 - public ulong m_ulSteamIDMember; // uint64 - public byte m_bSuccess; // uint8 + public ulong SteamIDLobby; // m_ulSteamIDLobby uint64 + public ulong SteamIDMember; // m_ulSteamIDMember uint64 + public byte Success; // m_bSuccess uint8 public static LobbyDataUpdate_t FromPointer( IntPtr p ) { return (LobbyDataUpdate_t) Marshal.PtrToStructure( p, typeof(LobbyDataUpdate_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_ulSteamIDLobby; // uint64 - public ulong m_ulSteamIDMember; // uint64 - public byte m_bSuccess; // uint8 + public ulong SteamIDLobby; // m_ulSteamIDLobby uint64 + public ulong SteamIDMember; // m_ulSteamIDMember uint64 + public byte Success; // m_bSuccess uint8 - public static implicit operator LobbyDataUpdate_t ( LobbyDataUpdate_t.PackSmall d ) + public static implicit operator LobbyDataUpdate_t ( LobbyDataUpdate_t.PackSmall d ) { return new LobbyDataUpdate_t() { - m_ulSteamIDLobby = d.m_ulSteamIDLobby, - m_ulSteamIDMember = d.m_ulSteamIDMember, - m_bSuccess = d.m_bSuccess, + SteamIDLobby = d.SteamIDLobby, + SteamIDMember = d.SteamIDMember, + Success = d.Success, }; } } @@ -1194,28 +1164,28 @@ public static implicit operator LobbyDataUpdate_t ( LobbyDataUpdate_t.PackSmal [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct LobbyChatUpdate_t { - public ulong m_ulSteamIDLobby; // uint64 - public ulong m_ulSteamIDUserChanged; // uint64 - public ulong m_ulSteamIDMakingChange; // uint64 - public uint m_rgfChatMemberStateChange; // uint32 + public ulong SteamIDLobby; // m_ulSteamIDLobby uint64 + public ulong SteamIDUserChanged; // m_ulSteamIDUserChanged uint64 + public ulong SteamIDMakingChange; // m_ulSteamIDMakingChange uint64 + public uint RgfChatMemberStateChange; // m_rgfChatMemberStateChange uint32 public static LobbyChatUpdate_t FromPointer( IntPtr p ) { return (LobbyChatUpdate_t) Marshal.PtrToStructure( p, typeof(LobbyChatUpdate_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_ulSteamIDLobby; // uint64 - public ulong m_ulSteamIDUserChanged; // uint64 - public ulong m_ulSteamIDMakingChange; // uint64 - public uint m_rgfChatMemberStateChange; // uint32 + public ulong SteamIDLobby; // m_ulSteamIDLobby uint64 + public ulong SteamIDUserChanged; // m_ulSteamIDUserChanged uint64 + public ulong SteamIDMakingChange; // m_ulSteamIDMakingChange uint64 + public uint RgfChatMemberStateChange; // m_rgfChatMemberStateChange uint32 - public static implicit operator LobbyChatUpdate_t ( LobbyChatUpdate_t.PackSmall d ) + public static implicit operator LobbyChatUpdate_t ( LobbyChatUpdate_t.PackSmall d ) { return new LobbyChatUpdate_t() { - m_ulSteamIDLobby = d.m_ulSteamIDLobby, - m_ulSteamIDUserChanged = d.m_ulSteamIDUserChanged, - m_ulSteamIDMakingChange = d.m_ulSteamIDMakingChange, - m_rgfChatMemberStateChange = d.m_rgfChatMemberStateChange, + SteamIDLobby = d.SteamIDLobby, + SteamIDUserChanged = d.SteamIDUserChanged, + SteamIDMakingChange = d.SteamIDMakingChange, + RgfChatMemberStateChange = d.RgfChatMemberStateChange, }; } } @@ -1224,28 +1194,28 @@ public static implicit operator LobbyChatUpdate_t ( LobbyChatUpdate_t.PackSmal [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct LobbyChatMsg_t { - public ulong m_ulSteamIDLobby; // uint64 - public ulong m_ulSteamIDUser; // uint64 - public byte m_eChatEntryType; // uint8 - public uint m_iChatID; // uint32 + public ulong SteamIDLobby; // m_ulSteamIDLobby uint64 + public ulong SteamIDUser; // m_ulSteamIDUser uint64 + public byte ChatEntryType; // m_eChatEntryType uint8 + public uint ChatID; // m_iChatID uint32 public static LobbyChatMsg_t FromPointer( IntPtr p ) { return (LobbyChatMsg_t) Marshal.PtrToStructure( p, typeof(LobbyChatMsg_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_ulSteamIDLobby; // uint64 - public ulong m_ulSteamIDUser; // uint64 - public byte m_eChatEntryType; // uint8 - public uint m_iChatID; // uint32 + public ulong SteamIDLobby; // m_ulSteamIDLobby uint64 + public ulong SteamIDUser; // m_ulSteamIDUser uint64 + public byte ChatEntryType; // m_eChatEntryType uint8 + public uint ChatID; // m_iChatID uint32 - public static implicit operator LobbyChatMsg_t ( LobbyChatMsg_t.PackSmall d ) + public static implicit operator LobbyChatMsg_t ( LobbyChatMsg_t.PackSmall d ) { return new LobbyChatMsg_t() { - m_ulSteamIDLobby = d.m_ulSteamIDLobby, - m_ulSteamIDUser = d.m_ulSteamIDUser, - m_eChatEntryType = d.m_eChatEntryType, - m_iChatID = d.m_iChatID, + SteamIDLobby = d.SteamIDLobby, + SteamIDUser = d.SteamIDUser, + ChatEntryType = d.ChatEntryType, + ChatID = d.ChatID, }; } } @@ -1254,28 +1224,28 @@ public static implicit operator LobbyChatMsg_t ( LobbyChatMsg_t.PackSmall d ) [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct LobbyGameCreated_t { - public ulong m_ulSteamIDLobby; // uint64 - public ulong m_ulSteamIDGameServer; // uint64 - public uint m_unIP; // uint32 - public ushort m_usPort; // uint16 + public ulong SteamIDLobby; // m_ulSteamIDLobby uint64 + public ulong SteamIDGameServer; // m_ulSteamIDGameServer uint64 + public uint IP; // m_unIP uint32 + public ushort Port; // m_usPort uint16 public static LobbyGameCreated_t FromPointer( IntPtr p ) { return (LobbyGameCreated_t) Marshal.PtrToStructure( p, typeof(LobbyGameCreated_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_ulSteamIDLobby; // uint64 - public ulong m_ulSteamIDGameServer; // uint64 - public uint m_unIP; // uint32 - public ushort m_usPort; // uint16 + public ulong SteamIDLobby; // m_ulSteamIDLobby uint64 + public ulong SteamIDGameServer; // m_ulSteamIDGameServer uint64 + public uint IP; // m_unIP uint32 + public ushort Port; // m_usPort uint16 - public static implicit operator LobbyGameCreated_t ( LobbyGameCreated_t.PackSmall d ) + public static implicit operator LobbyGameCreated_t ( LobbyGameCreated_t.PackSmall d ) { return new LobbyGameCreated_t() { - m_ulSteamIDLobby = d.m_ulSteamIDLobby, - m_ulSteamIDGameServer = d.m_ulSteamIDGameServer, - m_unIP = d.m_unIP, - m_usPort = d.m_usPort, + SteamIDLobby = d.SteamIDLobby, + SteamIDGameServer = d.SteamIDGameServer, + IP = d.IP, + Port = d.Port, }; } } @@ -1284,19 +1254,19 @@ public static implicit operator LobbyGameCreated_t ( LobbyGameCreated_t.PackSm [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct LobbyMatchList_t { - public uint m_nLobbiesMatching; // uint32 + public uint NLobbiesMatching; // m_nLobbiesMatching uint32 public static LobbyMatchList_t FromPointer( IntPtr p ) { return (LobbyMatchList_t) Marshal.PtrToStructure( p, typeof(LobbyMatchList_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint m_nLobbiesMatching; // uint32 + public uint NLobbiesMatching; // m_nLobbiesMatching uint32 - public static implicit operator LobbyMatchList_t ( LobbyMatchList_t.PackSmall d ) + public static implicit operator LobbyMatchList_t ( LobbyMatchList_t.PackSmall d ) { return new LobbyMatchList_t() { - m_nLobbiesMatching = d.m_nLobbiesMatching, + NLobbiesMatching = d.NLobbiesMatching, }; } } @@ -1305,25 +1275,25 @@ public static implicit operator LobbyMatchList_t ( LobbyMatchList_t.PackSmall [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct LobbyKicked_t { - public ulong m_ulSteamIDLobby; // uint64 - public ulong m_ulSteamIDAdmin; // uint64 - public byte m_bKickedDueToDisconnect; // uint8 + public ulong SteamIDLobby; // m_ulSteamIDLobby uint64 + public ulong SteamIDAdmin; // m_ulSteamIDAdmin uint64 + public byte KickedDueToDisconnect; // m_bKickedDueToDisconnect uint8 public static LobbyKicked_t FromPointer( IntPtr p ) { return (LobbyKicked_t) Marshal.PtrToStructure( p, typeof(LobbyKicked_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_ulSteamIDLobby; // uint64 - public ulong m_ulSteamIDAdmin; // uint64 - public byte m_bKickedDueToDisconnect; // uint8 + public ulong SteamIDLobby; // m_ulSteamIDLobby uint64 + public ulong SteamIDAdmin; // m_ulSteamIDAdmin uint64 + public byte KickedDueToDisconnect; // m_bKickedDueToDisconnect uint8 - public static implicit operator LobbyKicked_t ( LobbyKicked_t.PackSmall d ) + public static implicit operator LobbyKicked_t ( LobbyKicked_t.PackSmall d ) { return new LobbyKicked_t() { - m_ulSteamIDLobby = d.m_ulSteamIDLobby, - m_ulSteamIDAdmin = d.m_ulSteamIDAdmin, - m_bKickedDueToDisconnect = d.m_bKickedDueToDisconnect, + SteamIDLobby = d.SteamIDLobby, + SteamIDAdmin = d.SteamIDAdmin, + KickedDueToDisconnect = d.KickedDueToDisconnect, }; } } @@ -1332,22 +1302,22 @@ public static implicit operator LobbyKicked_t ( LobbyKicked_t.PackSmall d ) [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct LobbyCreated_t { - public Result m_eResult; // enum EResult - public ulong m_ulSteamIDLobby; // uint64 + public Result Result; // m_eResult enum EResult + public ulong SteamIDLobby; // m_ulSteamIDLobby uint64 public static LobbyCreated_t FromPointer( IntPtr p ) { return (LobbyCreated_t) Marshal.PtrToStructure( p, typeof(LobbyCreated_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult - public ulong m_ulSteamIDLobby; // uint64 + public Result Result; // m_eResult enum EResult + public ulong SteamIDLobby; // m_ulSteamIDLobby uint64 - public static implicit operator LobbyCreated_t ( LobbyCreated_t.PackSmall d ) + public static implicit operator LobbyCreated_t ( LobbyCreated_t.PackSmall d ) { return new LobbyCreated_t() { - m_eResult = d.m_eResult, - m_ulSteamIDLobby = d.m_ulSteamIDLobby, + Result = d.Result, + SteamIDLobby = d.SteamIDLobby, }; } } @@ -1357,23 +1327,23 @@ public static implicit operator LobbyCreated_t ( LobbyCreated_t.PackSmall d ) public struct PSNGameBootInviteResult_t { [MarshalAs(UnmanagedType.I1)] - public bool m_bGameBootInviteExists; // _Bool - public ulong m_steamIDLobby; // class CSteamID + public bool GameBootInviteExists; // m_bGameBootInviteExists _Bool + public ulong SteamIDLobby; // m_steamIDLobby class CSteamID public static PSNGameBootInviteResult_t FromPointer( IntPtr p ) { return (PSNGameBootInviteResult_t) Marshal.PtrToStructure( p, typeof(PSNGameBootInviteResult_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { [MarshalAs(UnmanagedType.I1)] - public bool m_bGameBootInviteExists; // _Bool - public ulong m_steamIDLobby; // class CSteamID + public bool GameBootInviteExists; // m_bGameBootInviteExists _Bool + public ulong SteamIDLobby; // m_steamIDLobby class CSteamID - public static implicit operator PSNGameBootInviteResult_t ( PSNGameBootInviteResult_t.PackSmall d ) + public static implicit operator PSNGameBootInviteResult_t ( PSNGameBootInviteResult_t.PackSmall d ) { return new PSNGameBootInviteResult_t() { - m_bGameBootInviteExists = d.m_bGameBootInviteExists, - m_steamIDLobby = d.m_steamIDLobby, + GameBootInviteExists = d.GameBootInviteExists, + SteamIDLobby = d.SteamIDLobby, }; } } @@ -1382,19 +1352,19 @@ public static implicit operator PSNGameBootInviteResult_t ( PSNGameBootInviteR [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct FavoritesListAccountsUpdated_t { - public Result m_eResult; // enum EResult + public Result Result; // m_eResult enum EResult public static FavoritesListAccountsUpdated_t FromPointer( IntPtr p ) { return (FavoritesListAccountsUpdated_t) Marshal.PtrToStructure( p, typeof(FavoritesListAccountsUpdated_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult + public Result Result; // m_eResult enum EResult - public static implicit operator FavoritesListAccountsUpdated_t ( FavoritesListAccountsUpdated_t.PackSmall d ) + public static implicit operator FavoritesListAccountsUpdated_t ( FavoritesListAccountsUpdated_t.PackSmall d ) { return new FavoritesListAccountsUpdated_t() { - m_eResult = d.m_eResult, + Result = d.Result, }; } } @@ -1403,22 +1373,22 @@ public static implicit operator FavoritesListAccountsUpdated_t ( FavoritesList [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct SteamParamStringArray_t { - public IntPtr m_ppStrings; // const char ** - public int m_nNumStrings; // int32 + public IntPtr PpStrings; // m_ppStrings const char ** + public int NNumStrings; // m_nNumStrings int32 public static SteamParamStringArray_t FromPointer( IntPtr p ) { return (SteamParamStringArray_t) Marshal.PtrToStructure( p, typeof(SteamParamStringArray_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public IntPtr m_ppStrings; // const char ** - public int m_nNumStrings; // int32 + public IntPtr PpStrings; // m_ppStrings const char ** + public int NNumStrings; // m_nNumStrings int32 - public static implicit operator SteamParamStringArray_t ( SteamParamStringArray_t.PackSmall d ) + public static implicit operator SteamParamStringArray_t ( SteamParamStringArray_t.PackSmall d ) { return new SteamParamStringArray_t() { - m_ppStrings = d.m_ppStrings, - m_nNumStrings = d.m_nNumStrings, + PpStrings = d.PpStrings, + NNumStrings = d.NNumStrings, }; } } @@ -1427,25 +1397,25 @@ public static implicit operator SteamParamStringArray_t ( SteamParamStringArra [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct RemoteStorageAppSyncedClient_t { - public uint m_nAppID; // AppId_t - public Result m_eResult; // enum EResult - public int m_unNumDownloads; // int + public uint NAppID; // m_nAppID AppId_t + public Result Result; // m_eResult enum EResult + public int NumDownloads; // m_unNumDownloads int public static RemoteStorageAppSyncedClient_t FromPointer( IntPtr p ) { return (RemoteStorageAppSyncedClient_t) Marshal.PtrToStructure( p, typeof(RemoteStorageAppSyncedClient_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint m_nAppID; // AppId_t - public Result m_eResult; // enum EResult - public int m_unNumDownloads; // int + public uint NAppID; // m_nAppID AppId_t + public Result Result; // m_eResult enum EResult + public int NumDownloads; // m_unNumDownloads int - public static implicit operator RemoteStorageAppSyncedClient_t ( RemoteStorageAppSyncedClient_t.PackSmall d ) + public static implicit operator RemoteStorageAppSyncedClient_t ( RemoteStorageAppSyncedClient_t.PackSmall d ) { return new RemoteStorageAppSyncedClient_t() { - m_nAppID = d.m_nAppID, - m_eResult = d.m_eResult, - m_unNumDownloads = d.m_unNumDownloads, + NAppID = d.NAppID, + Result = d.Result, + NumDownloads = d.NumDownloads, }; } } @@ -1454,25 +1424,25 @@ public static implicit operator RemoteStorageAppSyncedClient_t ( RemoteStorage [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct RemoteStorageAppSyncedServer_t { - public uint m_nAppID; // AppId_t - public Result m_eResult; // enum EResult - public int m_unNumUploads; // int + public uint NAppID; // m_nAppID AppId_t + public Result Result; // m_eResult enum EResult + public int NumUploads; // m_unNumUploads int public static RemoteStorageAppSyncedServer_t FromPointer( IntPtr p ) { return (RemoteStorageAppSyncedServer_t) Marshal.PtrToStructure( p, typeof(RemoteStorageAppSyncedServer_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint m_nAppID; // AppId_t - public Result m_eResult; // enum EResult - public int m_unNumUploads; // int + public uint NAppID; // m_nAppID AppId_t + public Result Result; // m_eResult enum EResult + public int NumUploads; // m_unNumUploads int - public static implicit operator RemoteStorageAppSyncedServer_t ( RemoteStorageAppSyncedServer_t.PackSmall d ) + public static implicit operator RemoteStorageAppSyncedServer_t ( RemoteStorageAppSyncedServer_t.PackSmall d ) { return new RemoteStorageAppSyncedServer_t() { - m_nAppID = d.m_nAppID, - m_eResult = d.m_eResult, - m_unNumUploads = d.m_unNumUploads, + NAppID = d.NAppID, + Result = d.Result, + NumUploads = d.NumUploads, }; } } @@ -1482,34 +1452,34 @@ public static implicit operator RemoteStorageAppSyncedServer_t ( RemoteStorage public struct RemoteStorageAppSyncProgress_t { [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 260)] - public string m_rgchCurrentFile; // char [260] - public uint m_nAppID; // AppId_t - public uint m_uBytesTransferredThisChunk; // uint32 - public double m_dAppPercentComplete; // double + public string RgchCurrentFile; // m_rgchCurrentFile char [260] + public uint NAppID; // m_nAppID AppId_t + public uint BytesTransferredThisChunk; // m_uBytesTransferredThisChunk uint32 + public double DAppPercentComplete; // m_dAppPercentComplete double [MarshalAs(UnmanagedType.I1)] - public bool m_bUploading; // _Bool + public bool Uploading; // m_bUploading _Bool public static RemoteStorageAppSyncProgress_t FromPointer( IntPtr p ) { return (RemoteStorageAppSyncProgress_t) Marshal.PtrToStructure( p, typeof(RemoteStorageAppSyncProgress_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 260)] - public string m_rgchCurrentFile; // char [260] - public uint m_nAppID; // AppId_t - public uint m_uBytesTransferredThisChunk; // uint32 - public double m_dAppPercentComplete; // double + public string RgchCurrentFile; // m_rgchCurrentFile char [260] + public uint NAppID; // m_nAppID AppId_t + public uint BytesTransferredThisChunk; // m_uBytesTransferredThisChunk uint32 + public double DAppPercentComplete; // m_dAppPercentComplete double [MarshalAs(UnmanagedType.I1)] - public bool m_bUploading; // _Bool + public bool Uploading; // m_bUploading _Bool - public static implicit operator RemoteStorageAppSyncProgress_t ( RemoteStorageAppSyncProgress_t.PackSmall d ) + public static implicit operator RemoteStorageAppSyncProgress_t ( RemoteStorageAppSyncProgress_t.PackSmall d ) { return new RemoteStorageAppSyncProgress_t() { - m_rgchCurrentFile = d.m_rgchCurrentFile, - m_nAppID = d.m_nAppID, - m_uBytesTransferredThisChunk = d.m_uBytesTransferredThisChunk, - m_dAppPercentComplete = d.m_dAppPercentComplete, - m_bUploading = d.m_bUploading, + RgchCurrentFile = d.RgchCurrentFile, + NAppID = d.NAppID, + BytesTransferredThisChunk = d.BytesTransferredThisChunk, + DAppPercentComplete = d.DAppPercentComplete, + Uploading = d.Uploading, }; } } @@ -1518,22 +1488,22 @@ public static implicit operator RemoteStorageAppSyncProgress_t ( RemoteStorage [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct RemoteStorageAppSyncStatusCheck_t { - public uint m_nAppID; // AppId_t - public Result m_eResult; // enum EResult + public uint NAppID; // m_nAppID AppId_t + public Result Result; // m_eResult enum EResult public static RemoteStorageAppSyncStatusCheck_t FromPointer( IntPtr p ) { return (RemoteStorageAppSyncStatusCheck_t) Marshal.PtrToStructure( p, typeof(RemoteStorageAppSyncStatusCheck_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint m_nAppID; // AppId_t - public Result m_eResult; // enum EResult + public uint NAppID; // m_nAppID AppId_t + public Result Result; // m_eResult enum EResult - public static implicit operator RemoteStorageAppSyncStatusCheck_t ( RemoteStorageAppSyncStatusCheck_t.PackSmall d ) + public static implicit operator RemoteStorageAppSyncStatusCheck_t ( RemoteStorageAppSyncStatusCheck_t.PackSmall d ) { return new RemoteStorageAppSyncStatusCheck_t() { - m_nAppID = d.m_nAppID, - m_eResult = d.m_eResult, + NAppID = d.NAppID, + Result = d.Result, }; } } @@ -1542,22 +1512,22 @@ public static implicit operator RemoteStorageAppSyncStatusCheck_t ( RemoteStor [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct RemoteStorageConflictResolution_t { - public uint m_nAppID; // AppId_t - public Result m_eResult; // enum EResult + public uint NAppID; // m_nAppID AppId_t + public Result Result; // m_eResult enum EResult public static RemoteStorageConflictResolution_t FromPointer( IntPtr p ) { return (RemoteStorageConflictResolution_t) Marshal.PtrToStructure( p, typeof(RemoteStorageConflictResolution_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint m_nAppID; // AppId_t - public Result m_eResult; // enum EResult + public uint NAppID; // m_nAppID AppId_t + public Result Result; // m_eResult enum EResult - public static implicit operator RemoteStorageConflictResolution_t ( RemoteStorageConflictResolution_t.PackSmall d ) + public static implicit operator RemoteStorageConflictResolution_t ( RemoteStorageConflictResolution_t.PackSmall d ) { return new RemoteStorageConflictResolution_t() { - m_nAppID = d.m_nAppID, - m_eResult = d.m_eResult, + NAppID = d.NAppID, + Result = d.Result, }; } } @@ -1566,27 +1536,27 @@ public static implicit operator RemoteStorageConflictResolution_t ( RemoteStor [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct RemoteStorageFileShareResult_t { - public Result m_eResult; // enum EResult - public ulong m_hFile; // UGCHandle_t + public Result Result; // m_eResult enum EResult + public ulong File; // m_hFile UGCHandle_t [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 260)] - public string m_rgchFilename; // char [260] + public string RgchFilename; // m_rgchFilename char [260] public static RemoteStorageFileShareResult_t FromPointer( IntPtr p ) { return (RemoteStorageFileShareResult_t) Marshal.PtrToStructure( p, typeof(RemoteStorageFileShareResult_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult - public ulong m_hFile; // UGCHandle_t + public Result Result; // m_eResult enum EResult + public ulong File; // m_hFile UGCHandle_t [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 260)] - public string m_rgchFilename; // char [260] + public string RgchFilename; // m_rgchFilename char [260] - public static implicit operator RemoteStorageFileShareResult_t ( RemoteStorageFileShareResult_t.PackSmall d ) + public static implicit operator RemoteStorageFileShareResult_t ( RemoteStorageFileShareResult_t.PackSmall d ) { return new RemoteStorageFileShareResult_t() { - m_eResult = d.m_eResult, - m_hFile = d.m_hFile, - m_rgchFilename = d.m_rgchFilename, + Result = d.Result, + File = d.File, + RgchFilename = d.RgchFilename, }; } } @@ -1595,27 +1565,27 @@ public static implicit operator RemoteStorageFileShareResult_t ( RemoteStorage [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct RemoteStoragePublishFileResult_t { - public Result m_eResult; // enum EResult - public ulong m_nPublishedFileId; // PublishedFileId_t + public Result Result; // m_eResult enum EResult + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t [MarshalAs(UnmanagedType.I1)] - public bool m_bUserNeedsToAcceptWorkshopLegalAgreement; // _Bool + public bool UserNeedsToAcceptWorkshopLegalAgreement; // m_bUserNeedsToAcceptWorkshopLegalAgreement _Bool public static RemoteStoragePublishFileResult_t FromPointer( IntPtr p ) { return (RemoteStoragePublishFileResult_t) Marshal.PtrToStructure( p, typeof(RemoteStoragePublishFileResult_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult - public ulong m_nPublishedFileId; // PublishedFileId_t + public Result Result; // m_eResult enum EResult + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t [MarshalAs(UnmanagedType.I1)] - public bool m_bUserNeedsToAcceptWorkshopLegalAgreement; // _Bool + public bool UserNeedsToAcceptWorkshopLegalAgreement; // m_bUserNeedsToAcceptWorkshopLegalAgreement _Bool - public static implicit operator RemoteStoragePublishFileResult_t ( RemoteStoragePublishFileResult_t.PackSmall d ) + public static implicit operator RemoteStoragePublishFileResult_t ( RemoteStoragePublishFileResult_t.PackSmall d ) { return new RemoteStoragePublishFileResult_t() { - m_eResult = d.m_eResult, - m_nPublishedFileId = d.m_nPublishedFileId, - m_bUserNeedsToAcceptWorkshopLegalAgreement = d.m_bUserNeedsToAcceptWorkshopLegalAgreement, + Result = d.Result, + NPublishedFileId = d.NPublishedFileId, + UserNeedsToAcceptWorkshopLegalAgreement = d.UserNeedsToAcceptWorkshopLegalAgreement, }; } } @@ -1624,22 +1594,22 @@ public static implicit operator RemoteStoragePublishFileResult_t ( RemoteStora [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct RemoteStorageDeletePublishedFileResult_t { - public Result m_eResult; // enum EResult - public ulong m_nPublishedFileId; // PublishedFileId_t + public Result Result; // m_eResult enum EResult + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t public static RemoteStorageDeletePublishedFileResult_t FromPointer( IntPtr p ) { return (RemoteStorageDeletePublishedFileResult_t) Marshal.PtrToStructure( p, typeof(RemoteStorageDeletePublishedFileResult_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult - public ulong m_nPublishedFileId; // PublishedFileId_t + public Result Result; // m_eResult enum EResult + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t - public static implicit operator RemoteStorageDeletePublishedFileResult_t ( RemoteStorageDeletePublishedFileResult_t.PackSmall d ) + public static implicit operator RemoteStorageDeletePublishedFileResult_t ( RemoteStorageDeletePublishedFileResult_t.PackSmall d ) { return new RemoteStorageDeletePublishedFileResult_t() { - m_eResult = d.m_eResult, - m_nPublishedFileId = d.m_nPublishedFileId, + Result = d.Result, + NPublishedFileId = d.NPublishedFileId, }; } } @@ -1648,30 +1618,30 @@ public static implicit operator RemoteStorageDeletePublishedFileResult_t ( Rem [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct RemoteStorageEnumerateUserPublishedFilesResult_t { - public Result m_eResult; // enum EResult - public int m_nResultsReturned; // int32 - public int m_nTotalResultCount; // int32 + public Result Result; // m_eResult enum EResult + public int NResultsReturned; // m_nResultsReturned int32 + public int NTotalResultCount; // m_nTotalResultCount int32 [MarshalAs(UnmanagedType.ByValArray, SizeConst = 50, ArraySubType = UnmanagedType.U8)] - public ulong[] m_rgPublishedFileId; // PublishedFileId_t [50] + public ulong[] RgPublishedFileId; // m_rgPublishedFileId PublishedFileId_t [50] public static RemoteStorageEnumerateUserPublishedFilesResult_t FromPointer( IntPtr p ) { return (RemoteStorageEnumerateUserPublishedFilesResult_t) Marshal.PtrToStructure( p, typeof(RemoteStorageEnumerateUserPublishedFilesResult_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult - public int m_nResultsReturned; // int32 - public int m_nTotalResultCount; // int32 + public Result Result; // m_eResult enum EResult + public int NResultsReturned; // m_nResultsReturned int32 + public int NTotalResultCount; // m_nTotalResultCount int32 [MarshalAs(UnmanagedType.ByValArray, SizeConst = 50, ArraySubType = UnmanagedType.U8)] - public ulong[] m_rgPublishedFileId; // PublishedFileId_t [50] + public ulong[] RgPublishedFileId; // m_rgPublishedFileId PublishedFileId_t [50] - public static implicit operator RemoteStorageEnumerateUserPublishedFilesResult_t ( RemoteStorageEnumerateUserPublishedFilesResult_t.PackSmall d ) + public static implicit operator RemoteStorageEnumerateUserPublishedFilesResult_t ( RemoteStorageEnumerateUserPublishedFilesResult_t.PackSmall d ) { return new RemoteStorageEnumerateUserPublishedFilesResult_t() { - m_eResult = d.m_eResult, - m_nResultsReturned = d.m_nResultsReturned, - m_nTotalResultCount = d.m_nTotalResultCount, - m_rgPublishedFileId = d.m_rgPublishedFileId, + Result = d.Result, + NResultsReturned = d.NResultsReturned, + NTotalResultCount = d.NTotalResultCount, + RgPublishedFileId = d.RgPublishedFileId, }; } } @@ -1680,22 +1650,22 @@ public static implicit operator RemoteStorageEnumerateUserPublishedFilesResult_ [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct RemoteStorageSubscribePublishedFileResult_t { - public Result m_eResult; // enum EResult - public ulong m_nPublishedFileId; // PublishedFileId_t + public Result Result; // m_eResult enum EResult + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t public static RemoteStorageSubscribePublishedFileResult_t FromPointer( IntPtr p ) { return (RemoteStorageSubscribePublishedFileResult_t) Marshal.PtrToStructure( p, typeof(RemoteStorageSubscribePublishedFileResult_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult - public ulong m_nPublishedFileId; // PublishedFileId_t + public Result Result; // m_eResult enum EResult + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t - public static implicit operator RemoteStorageSubscribePublishedFileResult_t ( RemoteStorageSubscribePublishedFileResult_t.PackSmall d ) + public static implicit operator RemoteStorageSubscribePublishedFileResult_t ( RemoteStorageSubscribePublishedFileResult_t.PackSmall d ) { return new RemoteStorageSubscribePublishedFileResult_t() { - m_eResult = d.m_eResult, - m_nPublishedFileId = d.m_nPublishedFileId, + Result = d.Result, + NPublishedFileId = d.NPublishedFileId, }; } } @@ -1704,35 +1674,35 @@ public static implicit operator RemoteStorageSubscribePublishedFileResult_t ( [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct RemoteStorageEnumerateUserSubscribedFilesResult_t { - public Result m_eResult; // enum EResult - public int m_nResultsReturned; // int32 - public int m_nTotalResultCount; // int32 + public Result Result; // m_eResult enum EResult + public int NResultsReturned; // m_nResultsReturned int32 + public int NTotalResultCount; // m_nTotalResultCount int32 [MarshalAs(UnmanagedType.ByValArray, SizeConst = 50, ArraySubType = UnmanagedType.U8)] - public ulong[] m_rgPublishedFileId; // PublishedFileId_t [50] + public ulong[] RgPublishedFileId; // m_rgPublishedFileId PublishedFileId_t [50] [MarshalAs(UnmanagedType.ByValArray, SizeConst = 50, ArraySubType = UnmanagedType.U8)] - public uint[] m_rgRTimeSubscribed; // uint32 [50] + public uint[] RgRTimeSubscribed; // m_rgRTimeSubscribed uint32 [50] public static RemoteStorageEnumerateUserSubscribedFilesResult_t FromPointer( IntPtr p ) { return (RemoteStorageEnumerateUserSubscribedFilesResult_t) Marshal.PtrToStructure( p, typeof(RemoteStorageEnumerateUserSubscribedFilesResult_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult - public int m_nResultsReturned; // int32 - public int m_nTotalResultCount; // int32 + public Result Result; // m_eResult enum EResult + public int NResultsReturned; // m_nResultsReturned int32 + public int NTotalResultCount; // m_nTotalResultCount int32 [MarshalAs(UnmanagedType.ByValArray, SizeConst = 50, ArraySubType = UnmanagedType.U8)] - public ulong[] m_rgPublishedFileId; // PublishedFileId_t [50] + public ulong[] RgPublishedFileId; // m_rgPublishedFileId PublishedFileId_t [50] [MarshalAs(UnmanagedType.ByValArray, SizeConst = 50, ArraySubType = UnmanagedType.U8)] - public uint[] m_rgRTimeSubscribed; // uint32 [50] + public uint[] RgRTimeSubscribed; // m_rgRTimeSubscribed uint32 [50] - public static implicit operator RemoteStorageEnumerateUserSubscribedFilesResult_t ( RemoteStorageEnumerateUserSubscribedFilesResult_t.PackSmall d ) + public static implicit operator RemoteStorageEnumerateUserSubscribedFilesResult_t ( RemoteStorageEnumerateUserSubscribedFilesResult_t.PackSmall d ) { return new RemoteStorageEnumerateUserSubscribedFilesResult_t() { - m_eResult = d.m_eResult, - m_nResultsReturned = d.m_nResultsReturned, - m_nTotalResultCount = d.m_nTotalResultCount, - m_rgPublishedFileId = d.m_rgPublishedFileId, - m_rgRTimeSubscribed = d.m_rgRTimeSubscribed, + Result = d.Result, + NResultsReturned = d.NResultsReturned, + NTotalResultCount = d.NTotalResultCount, + RgPublishedFileId = d.RgPublishedFileId, + RgRTimeSubscribed = d.RgRTimeSubscribed, }; } } @@ -1741,22 +1711,22 @@ public static implicit operator RemoteStorageEnumerateUserSubscribedFilesResult [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct RemoteStorageUnsubscribePublishedFileResult_t { - public Result m_eResult; // enum EResult - public ulong m_nPublishedFileId; // PublishedFileId_t + public Result Result; // m_eResult enum EResult + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t public static RemoteStorageUnsubscribePublishedFileResult_t FromPointer( IntPtr p ) { return (RemoteStorageUnsubscribePublishedFileResult_t) Marshal.PtrToStructure( p, typeof(RemoteStorageUnsubscribePublishedFileResult_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult - public ulong m_nPublishedFileId; // PublishedFileId_t + public Result Result; // m_eResult enum EResult + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t - public static implicit operator RemoteStorageUnsubscribePublishedFileResult_t ( RemoteStorageUnsubscribePublishedFileResult_t.PackSmall d ) + public static implicit operator RemoteStorageUnsubscribePublishedFileResult_t ( RemoteStorageUnsubscribePublishedFileResult_t.PackSmall d ) { return new RemoteStorageUnsubscribePublishedFileResult_t() { - m_eResult = d.m_eResult, - m_nPublishedFileId = d.m_nPublishedFileId, + Result = d.Result, + NPublishedFileId = d.NPublishedFileId, }; } } @@ -1765,27 +1735,27 @@ public static implicit operator RemoteStorageUnsubscribePublishedFileResult_t ( [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct RemoteStorageUpdatePublishedFileResult_t { - public Result m_eResult; // enum EResult - public ulong m_nPublishedFileId; // PublishedFileId_t + public Result Result; // m_eResult enum EResult + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t [MarshalAs(UnmanagedType.I1)] - public bool m_bUserNeedsToAcceptWorkshopLegalAgreement; // _Bool + public bool UserNeedsToAcceptWorkshopLegalAgreement; // m_bUserNeedsToAcceptWorkshopLegalAgreement _Bool public static RemoteStorageUpdatePublishedFileResult_t FromPointer( IntPtr p ) { return (RemoteStorageUpdatePublishedFileResult_t) Marshal.PtrToStructure( p, typeof(RemoteStorageUpdatePublishedFileResult_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult - public ulong m_nPublishedFileId; // PublishedFileId_t + public Result Result; // m_eResult enum EResult + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t [MarshalAs(UnmanagedType.I1)] - public bool m_bUserNeedsToAcceptWorkshopLegalAgreement; // _Bool + public bool UserNeedsToAcceptWorkshopLegalAgreement; // m_bUserNeedsToAcceptWorkshopLegalAgreement _Bool - public static implicit operator RemoteStorageUpdatePublishedFileResult_t ( RemoteStorageUpdatePublishedFileResult_t.PackSmall d ) + public static implicit operator RemoteStorageUpdatePublishedFileResult_t ( RemoteStorageUpdatePublishedFileResult_t.PackSmall d ) { return new RemoteStorageUpdatePublishedFileResult_t() { - m_eResult = d.m_eResult, - m_nPublishedFileId = d.m_nPublishedFileId, - m_bUserNeedsToAcceptWorkshopLegalAgreement = d.m_bUserNeedsToAcceptWorkshopLegalAgreement, + Result = d.Result, + NPublishedFileId = d.NPublishedFileId, + UserNeedsToAcceptWorkshopLegalAgreement = d.UserNeedsToAcceptWorkshopLegalAgreement, }; } } @@ -1794,36 +1764,36 @@ public static implicit operator RemoteStorageUpdatePublishedFileResult_t ( Rem [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct RemoteStorageDownloadUGCResult_t { - public Result m_eResult; // enum EResult - public ulong m_hFile; // UGCHandle_t - public uint m_nAppID; // AppId_t - public int m_nSizeInBytes; // int32 + public Result Result; // m_eResult enum EResult + public ulong File; // m_hFile UGCHandle_t + public uint NAppID; // m_nAppID AppId_t + public int NSizeInBytes; // m_nSizeInBytes int32 [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 260)] - public string m_pchFileName; // char [260] - public ulong m_ulSteamIDOwner; // uint64 + public string PchFileName; // m_pchFileName char [260] + public ulong SteamIDOwner; // m_ulSteamIDOwner uint64 public static RemoteStorageDownloadUGCResult_t FromPointer( IntPtr p ) { return (RemoteStorageDownloadUGCResult_t) Marshal.PtrToStructure( p, typeof(RemoteStorageDownloadUGCResult_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult - public ulong m_hFile; // UGCHandle_t - public uint m_nAppID; // AppId_t - public int m_nSizeInBytes; // int32 + public Result Result; // m_eResult enum EResult + public ulong File; // m_hFile UGCHandle_t + public uint NAppID; // m_nAppID AppId_t + public int NSizeInBytes; // m_nSizeInBytes int32 [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 260)] - public string m_pchFileName; // char [260] - public ulong m_ulSteamIDOwner; // uint64 + public string PchFileName; // m_pchFileName char [260] + public ulong SteamIDOwner; // m_ulSteamIDOwner uint64 - public static implicit operator RemoteStorageDownloadUGCResult_t ( RemoteStorageDownloadUGCResult_t.PackSmall d ) + public static implicit operator RemoteStorageDownloadUGCResult_t ( RemoteStorageDownloadUGCResult_t.PackSmall d ) { return new RemoteStorageDownloadUGCResult_t() { - m_eResult = d.m_eResult, - m_hFile = d.m_hFile, - m_nAppID = d.m_nAppID, - m_nSizeInBytes = d.m_nSizeInBytes, - m_pchFileName = d.m_pchFileName, - m_ulSteamIDOwner = d.m_ulSteamIDOwner, + Result = d.Result, + File = d.File, + NAppID = d.NAppID, + NSizeInBytes = d.NSizeInBytes, + PchFileName = d.PchFileName, + SteamIDOwner = d.SteamIDOwner, }; } } @@ -1832,95 +1802,95 @@ public static implicit operator RemoteStorageDownloadUGCResult_t ( RemoteStora [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct RemoteStorageGetPublishedFileDetailsResult_t { - public Result m_eResult; // enum EResult - public ulong m_nPublishedFileId; // PublishedFileId_t - public uint m_nCreatorAppID; // AppId_t - public uint m_nConsumerAppID; // AppId_t + public Result Result; // m_eResult enum EResult + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t + public uint NCreatorAppID; // m_nCreatorAppID AppId_t + public uint NConsumerAppID; // m_nConsumerAppID AppId_t [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 129)] - public string m_rgchTitle; // char [129] + public string RgchTitle; // m_rgchTitle char [129] [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 8000)] - public string m_rgchDescription; // char [8000] - public ulong m_hFile; // UGCHandle_t - public ulong m_hPreviewFile; // UGCHandle_t - public ulong m_ulSteamIDOwner; // uint64 - public uint m_rtimeCreated; // uint32 - public uint m_rtimeUpdated; // uint32 - public RemoteStoragePublishedFileVisibility m_eVisibility; // enum ERemoteStoragePublishedFileVisibility + public string RgchDescription; // m_rgchDescription char [8000] + public ulong File; // m_hFile UGCHandle_t + public ulong PreviewFile; // m_hPreviewFile UGCHandle_t + public ulong SteamIDOwner; // m_ulSteamIDOwner uint64 + public uint RtimeCreated; // m_rtimeCreated uint32 + public uint RtimeUpdated; // m_rtimeUpdated uint32 + public RemoteStoragePublishedFileVisibility Visibility; // m_eVisibility enum ERemoteStoragePublishedFileVisibility [MarshalAs(UnmanagedType.I1)] - public bool m_bBanned; // _Bool + public bool Banned; // m_bBanned _Bool [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 1025)] - public string m_rgchTags; // char [1025] + public string RgchTags; // m_rgchTags char [1025] [MarshalAs(UnmanagedType.I1)] - public bool m_bTagsTruncated; // _Bool + public bool TagsTruncated; // m_bTagsTruncated _Bool [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 260)] - public string m_pchFileName; // char [260] - public int m_nFileSize; // int32 - public int m_nPreviewFileSize; // int32 + public string PchFileName; // m_pchFileName char [260] + public int NFileSize; // m_nFileSize int32 + public int NPreviewFileSize; // m_nPreviewFileSize int32 [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 256)] - public string m_rgchURL; // char [256] - public WorkshopFileType m_eFileType; // enum EWorkshopFileType + public string RgchURL; // m_rgchURL char [256] + public WorkshopFileType FileType; // m_eFileType enum EWorkshopFileType [MarshalAs(UnmanagedType.I1)] - public bool m_bAcceptedForUse; // _Bool + public bool AcceptedForUse; // m_bAcceptedForUse _Bool public static RemoteStorageGetPublishedFileDetailsResult_t FromPointer( IntPtr p ) { return (RemoteStorageGetPublishedFileDetailsResult_t) Marshal.PtrToStructure( p, typeof(RemoteStorageGetPublishedFileDetailsResult_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult - public ulong m_nPublishedFileId; // PublishedFileId_t - public uint m_nCreatorAppID; // AppId_t - public uint m_nConsumerAppID; // AppId_t + public Result Result; // m_eResult enum EResult + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t + public uint NCreatorAppID; // m_nCreatorAppID AppId_t + public uint NConsumerAppID; // m_nConsumerAppID AppId_t [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 129)] - public string m_rgchTitle; // char [129] + public string RgchTitle; // m_rgchTitle char [129] [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 8000)] - public string m_rgchDescription; // char [8000] - public ulong m_hFile; // UGCHandle_t - public ulong m_hPreviewFile; // UGCHandle_t - public ulong m_ulSteamIDOwner; // uint64 - public uint m_rtimeCreated; // uint32 - public uint m_rtimeUpdated; // uint32 - public RemoteStoragePublishedFileVisibility m_eVisibility; // enum ERemoteStoragePublishedFileVisibility + public string RgchDescription; // m_rgchDescription char [8000] + public ulong File; // m_hFile UGCHandle_t + public ulong PreviewFile; // m_hPreviewFile UGCHandle_t + public ulong SteamIDOwner; // m_ulSteamIDOwner uint64 + public uint RtimeCreated; // m_rtimeCreated uint32 + public uint RtimeUpdated; // m_rtimeUpdated uint32 + public RemoteStoragePublishedFileVisibility Visibility; // m_eVisibility enum ERemoteStoragePublishedFileVisibility [MarshalAs(UnmanagedType.I1)] - public bool m_bBanned; // _Bool + public bool Banned; // m_bBanned _Bool [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 1025)] - public string m_rgchTags; // char [1025] + public string RgchTags; // m_rgchTags char [1025] [MarshalAs(UnmanagedType.I1)] - public bool m_bTagsTruncated; // _Bool + public bool TagsTruncated; // m_bTagsTruncated _Bool [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 260)] - public string m_pchFileName; // char [260] - public int m_nFileSize; // int32 - public int m_nPreviewFileSize; // int32 + public string PchFileName; // m_pchFileName char [260] + public int NFileSize; // m_nFileSize int32 + public int NPreviewFileSize; // m_nPreviewFileSize int32 [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 256)] - public string m_rgchURL; // char [256] - public WorkshopFileType m_eFileType; // enum EWorkshopFileType + public string RgchURL; // m_rgchURL char [256] + public WorkshopFileType FileType; // m_eFileType enum EWorkshopFileType [MarshalAs(UnmanagedType.I1)] - public bool m_bAcceptedForUse; // _Bool + public bool AcceptedForUse; // m_bAcceptedForUse _Bool - public static implicit operator RemoteStorageGetPublishedFileDetailsResult_t ( RemoteStorageGetPublishedFileDetailsResult_t.PackSmall d ) + public static implicit operator RemoteStorageGetPublishedFileDetailsResult_t ( RemoteStorageGetPublishedFileDetailsResult_t.PackSmall d ) { return new RemoteStorageGetPublishedFileDetailsResult_t() { - m_eResult = d.m_eResult, - m_nPublishedFileId = d.m_nPublishedFileId, - m_nCreatorAppID = d.m_nCreatorAppID, - m_nConsumerAppID = d.m_nConsumerAppID, - m_rgchTitle = d.m_rgchTitle, - m_rgchDescription = d.m_rgchDescription, - m_hFile = d.m_hFile, - m_hPreviewFile = d.m_hPreviewFile, - m_ulSteamIDOwner = d.m_ulSteamIDOwner, - m_rtimeCreated = d.m_rtimeCreated, - m_rtimeUpdated = d.m_rtimeUpdated, - m_eVisibility = d.m_eVisibility, - m_bBanned = d.m_bBanned, - m_rgchTags = d.m_rgchTags, - m_bTagsTruncated = d.m_bTagsTruncated, - m_pchFileName = d.m_pchFileName, - m_nFileSize = d.m_nFileSize, - m_nPreviewFileSize = d.m_nPreviewFileSize, - m_rgchURL = d.m_rgchURL, - m_eFileType = d.m_eFileType, - m_bAcceptedForUse = d.m_bAcceptedForUse, + Result = d.Result, + NPublishedFileId = d.NPublishedFileId, + NCreatorAppID = d.NCreatorAppID, + NConsumerAppID = d.NConsumerAppID, + RgchTitle = d.RgchTitle, + RgchDescription = d.RgchDescription, + File = d.File, + PreviewFile = d.PreviewFile, + SteamIDOwner = d.SteamIDOwner, + RtimeCreated = d.RtimeCreated, + RtimeUpdated = d.RtimeUpdated, + Visibility = d.Visibility, + Banned = d.Banned, + RgchTags = d.RgchTags, + TagsTruncated = d.TagsTruncated, + PchFileName = d.PchFileName, + NFileSize = d.NFileSize, + NPreviewFileSize = d.NPreviewFileSize, + RgchURL = d.RgchURL, + FileType = d.FileType, + AcceptedForUse = d.AcceptedForUse, }; } } @@ -1929,41 +1899,41 @@ public static implicit operator RemoteStorageGetPublishedFileDetailsResult_t ( [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct RemoteStorageEnumerateWorkshopFilesResult_t { - public Result m_eResult; // enum EResult - public int m_nResultsReturned; // int32 - public int m_nTotalResultCount; // int32 + public Result Result; // m_eResult enum EResult + public int NResultsReturned; // m_nResultsReturned int32 + public int NTotalResultCount; // m_nTotalResultCount int32 [MarshalAs(UnmanagedType.ByValArray, SizeConst = 50, ArraySubType = UnmanagedType.U8)] - public ulong[] m_rgPublishedFileId; // PublishedFileId_t [50] + public ulong[] RgPublishedFileId; // m_rgPublishedFileId PublishedFileId_t [50] [MarshalAs(UnmanagedType.ByValArray, SizeConst = 50, ArraySubType = UnmanagedType.R4)] - public float[] m_rgScore; // float [50] - public uint m_nAppId; // AppId_t - public uint m_unStartIndex; // uint32 + public float[] RgScore; // m_rgScore float [50] + public uint NAppId; // m_nAppId AppId_t + public uint StartIndex; // m_unStartIndex uint32 public static RemoteStorageEnumerateWorkshopFilesResult_t FromPointer( IntPtr p ) { return (RemoteStorageEnumerateWorkshopFilesResult_t) Marshal.PtrToStructure( p, typeof(RemoteStorageEnumerateWorkshopFilesResult_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult - public int m_nResultsReturned; // int32 - public int m_nTotalResultCount; // int32 + public Result Result; // m_eResult enum EResult + public int NResultsReturned; // m_nResultsReturned int32 + public int NTotalResultCount; // m_nTotalResultCount int32 [MarshalAs(UnmanagedType.ByValArray, SizeConst = 50, ArraySubType = UnmanagedType.U8)] - public ulong[] m_rgPublishedFileId; // PublishedFileId_t [50] + public ulong[] RgPublishedFileId; // m_rgPublishedFileId PublishedFileId_t [50] [MarshalAs(UnmanagedType.ByValArray, SizeConst = 50, ArraySubType = UnmanagedType.R4)] - public float[] m_rgScore; // float [50] - public uint m_nAppId; // AppId_t - public uint m_unStartIndex; // uint32 + public float[] RgScore; // m_rgScore float [50] + public uint NAppId; // m_nAppId AppId_t + public uint StartIndex; // m_unStartIndex uint32 - public static implicit operator RemoteStorageEnumerateWorkshopFilesResult_t ( RemoteStorageEnumerateWorkshopFilesResult_t.PackSmall d ) + public static implicit operator RemoteStorageEnumerateWorkshopFilesResult_t ( RemoteStorageEnumerateWorkshopFilesResult_t.PackSmall d ) { return new RemoteStorageEnumerateWorkshopFilesResult_t() { - m_eResult = d.m_eResult, - m_nResultsReturned = d.m_nResultsReturned, - m_nTotalResultCount = d.m_nTotalResultCount, - m_rgPublishedFileId = d.m_rgPublishedFileId, - m_rgScore = d.m_rgScore, - m_nAppId = d.m_nAppId, - m_unStartIndex = d.m_unStartIndex, + Result = d.Result, + NResultsReturned = d.NResultsReturned, + NTotalResultCount = d.NTotalResultCount, + RgPublishedFileId = d.RgPublishedFileId, + RgScore = d.RgScore, + NAppId = d.NAppId, + StartIndex = d.StartIndex, }; } } @@ -1972,34 +1942,34 @@ public static implicit operator RemoteStorageEnumerateWorkshopFilesResult_t ( [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct RemoteStorageGetPublishedItemVoteDetailsResult_t { - public Result m_eResult; // enum EResult - public ulong m_unPublishedFileId; // PublishedFileId_t - public int m_nVotesFor; // int32 - public int m_nVotesAgainst; // int32 - public int m_nReports; // int32 - public float m_fScore; // float + public Result Result; // m_eResult enum EResult + public ulong PublishedFileId; // m_unPublishedFileId PublishedFileId_t + public int NVotesFor; // m_nVotesFor int32 + public int NVotesAgainst; // m_nVotesAgainst int32 + public int NReports; // m_nReports int32 + public float FScore; // m_fScore float public static RemoteStorageGetPublishedItemVoteDetailsResult_t FromPointer( IntPtr p ) { return (RemoteStorageGetPublishedItemVoteDetailsResult_t) Marshal.PtrToStructure( p, typeof(RemoteStorageGetPublishedItemVoteDetailsResult_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult - public ulong m_unPublishedFileId; // PublishedFileId_t - public int m_nVotesFor; // int32 - public int m_nVotesAgainst; // int32 - public int m_nReports; // int32 - public float m_fScore; // float + public Result Result; // m_eResult enum EResult + public ulong PublishedFileId; // m_unPublishedFileId PublishedFileId_t + public int NVotesFor; // m_nVotesFor int32 + public int NVotesAgainst; // m_nVotesAgainst int32 + public int NReports; // m_nReports int32 + public float FScore; // m_fScore float - public static implicit operator RemoteStorageGetPublishedItemVoteDetailsResult_t ( RemoteStorageGetPublishedItemVoteDetailsResult_t.PackSmall d ) + public static implicit operator RemoteStorageGetPublishedItemVoteDetailsResult_t ( RemoteStorageGetPublishedItemVoteDetailsResult_t.PackSmall d ) { return new RemoteStorageGetPublishedItemVoteDetailsResult_t() { - m_eResult = d.m_eResult, - m_unPublishedFileId = d.m_unPublishedFileId, - m_nVotesFor = d.m_nVotesFor, - m_nVotesAgainst = d.m_nVotesAgainst, - m_nReports = d.m_nReports, - m_fScore = d.m_fScore, + Result = d.Result, + PublishedFileId = d.PublishedFileId, + NVotesFor = d.NVotesFor, + NVotesAgainst = d.NVotesAgainst, + NReports = d.NReports, + FScore = d.FScore, }; } } @@ -2008,22 +1978,22 @@ public static implicit operator RemoteStorageGetPublishedItemVoteDetailsResult_ [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct RemoteStoragePublishedFileSubscribed_t { - public ulong m_nPublishedFileId; // PublishedFileId_t - public uint m_nAppID; // AppId_t + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t + public uint NAppID; // m_nAppID AppId_t public static RemoteStoragePublishedFileSubscribed_t FromPointer( IntPtr p ) { return (RemoteStoragePublishedFileSubscribed_t) Marshal.PtrToStructure( p, typeof(RemoteStoragePublishedFileSubscribed_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_nPublishedFileId; // PublishedFileId_t - public uint m_nAppID; // AppId_t + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t + public uint NAppID; // m_nAppID AppId_t - public static implicit operator RemoteStoragePublishedFileSubscribed_t ( RemoteStoragePublishedFileSubscribed_t.PackSmall d ) + public static implicit operator RemoteStoragePublishedFileSubscribed_t ( RemoteStoragePublishedFileSubscribed_t.PackSmall d ) { return new RemoteStoragePublishedFileSubscribed_t() { - m_nPublishedFileId = d.m_nPublishedFileId, - m_nAppID = d.m_nAppID, + NPublishedFileId = d.NPublishedFileId, + NAppID = d.NAppID, }; } } @@ -2032,22 +2002,22 @@ public static implicit operator RemoteStoragePublishedFileSubscribed_t ( Remot [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct RemoteStoragePublishedFileUnsubscribed_t { - public ulong m_nPublishedFileId; // PublishedFileId_t - public uint m_nAppID; // AppId_t + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t + public uint NAppID; // m_nAppID AppId_t public static RemoteStoragePublishedFileUnsubscribed_t FromPointer( IntPtr p ) { return (RemoteStoragePublishedFileUnsubscribed_t) Marshal.PtrToStructure( p, typeof(RemoteStoragePublishedFileUnsubscribed_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_nPublishedFileId; // PublishedFileId_t - public uint m_nAppID; // AppId_t + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t + public uint NAppID; // m_nAppID AppId_t - public static implicit operator RemoteStoragePublishedFileUnsubscribed_t ( RemoteStoragePublishedFileUnsubscribed_t.PackSmall d ) + public static implicit operator RemoteStoragePublishedFileUnsubscribed_t ( RemoteStoragePublishedFileUnsubscribed_t.PackSmall d ) { return new RemoteStoragePublishedFileUnsubscribed_t() { - m_nPublishedFileId = d.m_nPublishedFileId, - m_nAppID = d.m_nAppID, + NPublishedFileId = d.NPublishedFileId, + NAppID = d.NAppID, }; } } @@ -2056,22 +2026,22 @@ public static implicit operator RemoteStoragePublishedFileUnsubscribed_t ( Rem [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct RemoteStoragePublishedFileDeleted_t { - public ulong m_nPublishedFileId; // PublishedFileId_t - public uint m_nAppID; // AppId_t + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t + public uint NAppID; // m_nAppID AppId_t public static RemoteStoragePublishedFileDeleted_t FromPointer( IntPtr p ) { return (RemoteStoragePublishedFileDeleted_t) Marshal.PtrToStructure( p, typeof(RemoteStoragePublishedFileDeleted_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_nPublishedFileId; // PublishedFileId_t - public uint m_nAppID; // AppId_t + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t + public uint NAppID; // m_nAppID AppId_t - public static implicit operator RemoteStoragePublishedFileDeleted_t ( RemoteStoragePublishedFileDeleted_t.PackSmall d ) + public static implicit operator RemoteStoragePublishedFileDeleted_t ( RemoteStoragePublishedFileDeleted_t.PackSmall d ) { return new RemoteStoragePublishedFileDeleted_t() { - m_nPublishedFileId = d.m_nPublishedFileId, - m_nAppID = d.m_nAppID, + NPublishedFileId = d.NPublishedFileId, + NAppID = d.NAppID, }; } } @@ -2080,22 +2050,22 @@ public static implicit operator RemoteStoragePublishedFileDeleted_t ( RemoteSt [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct RemoteStorageUpdateUserPublishedItemVoteResult_t { - public Result m_eResult; // enum EResult - public ulong m_nPublishedFileId; // PublishedFileId_t + public Result Result; // m_eResult enum EResult + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t public static RemoteStorageUpdateUserPublishedItemVoteResult_t FromPointer( IntPtr p ) { return (RemoteStorageUpdateUserPublishedItemVoteResult_t) Marshal.PtrToStructure( p, typeof(RemoteStorageUpdateUserPublishedItemVoteResult_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult - public ulong m_nPublishedFileId; // PublishedFileId_t + public Result Result; // m_eResult enum EResult + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t - public static implicit operator RemoteStorageUpdateUserPublishedItemVoteResult_t ( RemoteStorageUpdateUserPublishedItemVoteResult_t.PackSmall d ) + public static implicit operator RemoteStorageUpdateUserPublishedItemVoteResult_t ( RemoteStorageUpdateUserPublishedItemVoteResult_t.PackSmall d ) { return new RemoteStorageUpdateUserPublishedItemVoteResult_t() { - m_eResult = d.m_eResult, - m_nPublishedFileId = d.m_nPublishedFileId, + Result = d.Result, + NPublishedFileId = d.NPublishedFileId, }; } } @@ -2104,25 +2074,25 @@ public static implicit operator RemoteStorageUpdateUserPublishedItemVoteResult_ [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct RemoteStorageUserVoteDetails_t { - public Result m_eResult; // enum EResult - public ulong m_nPublishedFileId; // PublishedFileId_t - public WorkshopVote m_eVote; // enum EWorkshopVote + public Result Result; // m_eResult enum EResult + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t + public WorkshopVote Vote; // m_eVote enum EWorkshopVote public static RemoteStorageUserVoteDetails_t FromPointer( IntPtr p ) { return (RemoteStorageUserVoteDetails_t) Marshal.PtrToStructure( p, typeof(RemoteStorageUserVoteDetails_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult - public ulong m_nPublishedFileId; // PublishedFileId_t - public WorkshopVote m_eVote; // enum EWorkshopVote + public Result Result; // m_eResult enum EResult + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t + public WorkshopVote Vote; // m_eVote enum EWorkshopVote - public static implicit operator RemoteStorageUserVoteDetails_t ( RemoteStorageUserVoteDetails_t.PackSmall d ) + public static implicit operator RemoteStorageUserVoteDetails_t ( RemoteStorageUserVoteDetails_t.PackSmall d ) { return new RemoteStorageUserVoteDetails_t() { - m_eResult = d.m_eResult, - m_nPublishedFileId = d.m_nPublishedFileId, - m_eVote = d.m_eVote, + Result = d.Result, + NPublishedFileId = d.NPublishedFileId, + Vote = d.Vote, }; } } @@ -2131,30 +2101,30 @@ public static implicit operator RemoteStorageUserVoteDetails_t ( RemoteStorage [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct RemoteStorageEnumerateUserSharedWorkshopFilesResult_t { - public Result m_eResult; // enum EResult - public int m_nResultsReturned; // int32 - public int m_nTotalResultCount; // int32 + public Result Result; // m_eResult enum EResult + public int NResultsReturned; // m_nResultsReturned int32 + public int NTotalResultCount; // m_nTotalResultCount int32 [MarshalAs(UnmanagedType.ByValArray, SizeConst = 50, ArraySubType = UnmanagedType.U8)] - public ulong[] m_rgPublishedFileId; // PublishedFileId_t [50] + public ulong[] RgPublishedFileId; // m_rgPublishedFileId PublishedFileId_t [50] public static RemoteStorageEnumerateUserSharedWorkshopFilesResult_t FromPointer( IntPtr p ) { return (RemoteStorageEnumerateUserSharedWorkshopFilesResult_t) Marshal.PtrToStructure( p, typeof(RemoteStorageEnumerateUserSharedWorkshopFilesResult_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult - public int m_nResultsReturned; // int32 - public int m_nTotalResultCount; // int32 + public Result Result; // m_eResult enum EResult + public int NResultsReturned; // m_nResultsReturned int32 + public int NTotalResultCount; // m_nTotalResultCount int32 [MarshalAs(UnmanagedType.ByValArray, SizeConst = 50, ArraySubType = UnmanagedType.U8)] - public ulong[] m_rgPublishedFileId; // PublishedFileId_t [50] + public ulong[] RgPublishedFileId; // m_rgPublishedFileId PublishedFileId_t [50] - public static implicit operator RemoteStorageEnumerateUserSharedWorkshopFilesResult_t ( RemoteStorageEnumerateUserSharedWorkshopFilesResult_t.PackSmall d ) + public static implicit operator RemoteStorageEnumerateUserSharedWorkshopFilesResult_t ( RemoteStorageEnumerateUserSharedWorkshopFilesResult_t.PackSmall d ) { return new RemoteStorageEnumerateUserSharedWorkshopFilesResult_t() { - m_eResult = d.m_eResult, - m_nResultsReturned = d.m_nResultsReturned, - m_nTotalResultCount = d.m_nTotalResultCount, - m_rgPublishedFileId = d.m_rgPublishedFileId, + Result = d.Result, + NResultsReturned = d.NResultsReturned, + NTotalResultCount = d.NTotalResultCount, + RgPublishedFileId = d.RgPublishedFileId, }; } } @@ -2163,25 +2133,25 @@ public static implicit operator RemoteStorageEnumerateUserSharedWorkshopFilesRe [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct RemoteStorageSetUserPublishedFileActionResult_t { - public Result m_eResult; // enum EResult - public ulong m_nPublishedFileId; // PublishedFileId_t - public WorkshopFileAction m_eAction; // enum EWorkshopFileAction + public Result Result; // m_eResult enum EResult + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t + public WorkshopFileAction Action; // m_eAction enum EWorkshopFileAction public static RemoteStorageSetUserPublishedFileActionResult_t FromPointer( IntPtr p ) { return (RemoteStorageSetUserPublishedFileActionResult_t) Marshal.PtrToStructure( p, typeof(RemoteStorageSetUserPublishedFileActionResult_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult - public ulong m_nPublishedFileId; // PublishedFileId_t - public WorkshopFileAction m_eAction; // enum EWorkshopFileAction + public Result Result; // m_eResult enum EResult + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t + public WorkshopFileAction Action; // m_eAction enum EWorkshopFileAction - public static implicit operator RemoteStorageSetUserPublishedFileActionResult_t ( RemoteStorageSetUserPublishedFileActionResult_t.PackSmall d ) + public static implicit operator RemoteStorageSetUserPublishedFileActionResult_t ( RemoteStorageSetUserPublishedFileActionResult_t.PackSmall d ) { return new RemoteStorageSetUserPublishedFileActionResult_t() { - m_eResult = d.m_eResult, - m_nPublishedFileId = d.m_nPublishedFileId, - m_eAction = d.m_eAction, + Result = d.Result, + NPublishedFileId = d.NPublishedFileId, + Action = d.Action, }; } } @@ -2190,38 +2160,38 @@ public static implicit operator RemoteStorageSetUserPublishedFileActionResult_t [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct RemoteStorageEnumeratePublishedFilesByUserActionResult_t { - public Result m_eResult; // enum EResult - public WorkshopFileAction m_eAction; // enum EWorkshopFileAction - public int m_nResultsReturned; // int32 - public int m_nTotalResultCount; // int32 + public Result Result; // m_eResult enum EResult + public WorkshopFileAction Action; // m_eAction enum EWorkshopFileAction + public int NResultsReturned; // m_nResultsReturned int32 + public int NTotalResultCount; // m_nTotalResultCount int32 [MarshalAs(UnmanagedType.ByValArray, SizeConst = 50, ArraySubType = UnmanagedType.U8)] - public ulong[] m_rgPublishedFileId; // PublishedFileId_t [50] + public ulong[] RgPublishedFileId; // m_rgPublishedFileId PublishedFileId_t [50] [MarshalAs(UnmanagedType.ByValArray, SizeConst = 50, ArraySubType = UnmanagedType.U8)] - public uint[] m_rgRTimeUpdated; // uint32 [50] + public uint[] RgRTimeUpdated; // m_rgRTimeUpdated uint32 [50] public static RemoteStorageEnumeratePublishedFilesByUserActionResult_t FromPointer( IntPtr p ) { return (RemoteStorageEnumeratePublishedFilesByUserActionResult_t) Marshal.PtrToStructure( p, typeof(RemoteStorageEnumeratePublishedFilesByUserActionResult_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult - public WorkshopFileAction m_eAction; // enum EWorkshopFileAction - public int m_nResultsReturned; // int32 - public int m_nTotalResultCount; // int32 + public Result Result; // m_eResult enum EResult + public WorkshopFileAction Action; // m_eAction enum EWorkshopFileAction + public int NResultsReturned; // m_nResultsReturned int32 + public int NTotalResultCount; // m_nTotalResultCount int32 [MarshalAs(UnmanagedType.ByValArray, SizeConst = 50, ArraySubType = UnmanagedType.U8)] - public ulong[] m_rgPublishedFileId; // PublishedFileId_t [50] + public ulong[] RgPublishedFileId; // m_rgPublishedFileId PublishedFileId_t [50] [MarshalAs(UnmanagedType.ByValArray, SizeConst = 50, ArraySubType = UnmanagedType.U8)] - public uint[] m_rgRTimeUpdated; // uint32 [50] + public uint[] RgRTimeUpdated; // m_rgRTimeUpdated uint32 [50] - public static implicit operator RemoteStorageEnumeratePublishedFilesByUserActionResult_t ( RemoteStorageEnumeratePublishedFilesByUserActionResult_t.PackSmall d ) + public static implicit operator RemoteStorageEnumeratePublishedFilesByUserActionResult_t ( RemoteStorageEnumeratePublishedFilesByUserActionResult_t.PackSmall d ) { return new RemoteStorageEnumeratePublishedFilesByUserActionResult_t() { - m_eResult = d.m_eResult, - m_eAction = d.m_eAction, - m_nResultsReturned = d.m_nResultsReturned, - m_nTotalResultCount = d.m_nTotalResultCount, - m_rgPublishedFileId = d.m_rgPublishedFileId, - m_rgRTimeUpdated = d.m_rgRTimeUpdated, + Result = d.Result, + Action = d.Action, + NResultsReturned = d.NResultsReturned, + NTotalResultCount = d.NTotalResultCount, + RgPublishedFileId = d.RgPublishedFileId, + RgRTimeUpdated = d.RgRTimeUpdated, }; } } @@ -2230,24 +2200,24 @@ public static implicit operator RemoteStorageEnumeratePublishedFilesByUserActio [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct RemoteStoragePublishFileProgress_t { - public double m_dPercentFile; // double + public double DPercentFile; // m_dPercentFile double [MarshalAs(UnmanagedType.I1)] - public bool m_bPreview; // _Bool + public bool Preview; // m_bPreview _Bool public static RemoteStoragePublishFileProgress_t FromPointer( IntPtr p ) { return (RemoteStoragePublishFileProgress_t) Marshal.PtrToStructure( p, typeof(RemoteStoragePublishFileProgress_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public double m_dPercentFile; // double + public double DPercentFile; // m_dPercentFile double [MarshalAs(UnmanagedType.I1)] - public bool m_bPreview; // _Bool + public bool Preview; // m_bPreview _Bool - public static implicit operator RemoteStoragePublishFileProgress_t ( RemoteStoragePublishFileProgress_t.PackSmall d ) + public static implicit operator RemoteStoragePublishFileProgress_t ( RemoteStoragePublishFileProgress_t.PackSmall d ) { return new RemoteStoragePublishFileProgress_t() { - m_dPercentFile = d.m_dPercentFile, - m_bPreview = d.m_bPreview, + DPercentFile = d.DPercentFile, + Preview = d.Preview, }; } } @@ -2256,25 +2226,25 @@ public static implicit operator RemoteStoragePublishFileProgress_t ( RemoteSto [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct RemoteStoragePublishedFileUpdated_t { - public ulong m_nPublishedFileId; // PublishedFileId_t - public uint m_nAppID; // AppId_t - public ulong m_ulUnused; // uint64 + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t + public uint NAppID; // m_nAppID AppId_t + public ulong Unused; // m_ulUnused uint64 public static RemoteStoragePublishedFileUpdated_t FromPointer( IntPtr p ) { return (RemoteStoragePublishedFileUpdated_t) Marshal.PtrToStructure( p, typeof(RemoteStoragePublishedFileUpdated_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_nPublishedFileId; // PublishedFileId_t - public uint m_nAppID; // AppId_t - public ulong m_ulUnused; // uint64 + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t + public uint NAppID; // m_nAppID AppId_t + public ulong Unused; // m_ulUnused uint64 - public static implicit operator RemoteStoragePublishedFileUpdated_t ( RemoteStoragePublishedFileUpdated_t.PackSmall d ) + public static implicit operator RemoteStoragePublishedFileUpdated_t ( RemoteStoragePublishedFileUpdated_t.PackSmall d ) { return new RemoteStoragePublishedFileUpdated_t() { - m_nPublishedFileId = d.m_nPublishedFileId, - m_nAppID = d.m_nAppID, - m_ulUnused = d.m_ulUnused, + NPublishedFileId = d.NPublishedFileId, + NAppID = d.NAppID, + Unused = d.Unused, }; } } @@ -2283,19 +2253,19 @@ public static implicit operator RemoteStoragePublishedFileUpdated_t ( RemoteSt [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct RemoteStorageFileWriteAsyncComplete_t { - public Result m_eResult; // enum EResult + public Result Result; // m_eResult enum EResult public static RemoteStorageFileWriteAsyncComplete_t FromPointer( IntPtr p ) { return (RemoteStorageFileWriteAsyncComplete_t) Marshal.PtrToStructure( p, typeof(RemoteStorageFileWriteAsyncComplete_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult + public Result Result; // m_eResult enum EResult - public static implicit operator RemoteStorageFileWriteAsyncComplete_t ( RemoteStorageFileWriteAsyncComplete_t.PackSmall d ) + public static implicit operator RemoteStorageFileWriteAsyncComplete_t ( RemoteStorageFileWriteAsyncComplete_t.PackSmall d ) { return new RemoteStorageFileWriteAsyncComplete_t() { - m_eResult = d.m_eResult, + Result = d.Result, }; } } @@ -2304,28 +2274,28 @@ public static implicit operator RemoteStorageFileWriteAsyncComplete_t ( Remote [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct RemoteStorageFileReadAsyncComplete_t { - public ulong m_hFileReadAsync; // SteamAPICall_t - public Result m_eResult; // enum EResult - public uint m_nOffset; // uint32 - public uint m_cubRead; // uint32 + public ulong FileReadAsync; // m_hFileReadAsync SteamAPICall_t + public Result Result; // m_eResult enum EResult + public uint NOffset; // m_nOffset uint32 + public uint Read; // m_cubRead uint32 public static RemoteStorageFileReadAsyncComplete_t FromPointer( IntPtr p ) { return (RemoteStorageFileReadAsyncComplete_t) Marshal.PtrToStructure( p, typeof(RemoteStorageFileReadAsyncComplete_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_hFileReadAsync; // SteamAPICall_t - public Result m_eResult; // enum EResult - public uint m_nOffset; // uint32 - public uint m_cubRead; // uint32 + public ulong FileReadAsync; // m_hFileReadAsync SteamAPICall_t + public Result Result; // m_eResult enum EResult + public uint NOffset; // m_nOffset uint32 + public uint Read; // m_cubRead uint32 - public static implicit operator RemoteStorageFileReadAsyncComplete_t ( RemoteStorageFileReadAsyncComplete_t.PackSmall d ) + public static implicit operator RemoteStorageFileReadAsyncComplete_t ( RemoteStorageFileReadAsyncComplete_t.PackSmall d ) { return new RemoteStorageFileReadAsyncComplete_t() { - m_hFileReadAsync = d.m_hFileReadAsync, - m_eResult = d.m_eResult, - m_nOffset = d.m_nOffset, - m_cubRead = d.m_cubRead, + FileReadAsync = d.FileReadAsync, + Result = d.Result, + NOffset = d.NOffset, + Read = d.Read, }; } } @@ -2334,31 +2304,31 @@ public static implicit operator RemoteStorageFileReadAsyncComplete_t ( RemoteS [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct LeaderboardEntry_t { - public ulong m_steamIDUser; // class CSteamID - public int m_nGlobalRank; // int32 - public int m_nScore; // int32 - public int m_cDetails; // int32 - public ulong m_hUGC; // UGCHandle_t + public ulong SteamIDUser; // m_steamIDUser class CSteamID + public int NGlobalRank; // m_nGlobalRank int32 + public int NScore; // m_nScore int32 + public int CDetails; // m_cDetails int32 + public ulong UGC; // m_hUGC UGCHandle_t public static LeaderboardEntry_t FromPointer( IntPtr p ) { return (LeaderboardEntry_t) Marshal.PtrToStructure( p, typeof(LeaderboardEntry_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_steamIDUser; // class CSteamID - public int m_nGlobalRank; // int32 - public int m_nScore; // int32 - public int m_cDetails; // int32 - public ulong m_hUGC; // UGCHandle_t + public ulong SteamIDUser; // m_steamIDUser class CSteamID + public int NGlobalRank; // m_nGlobalRank int32 + public int NScore; // m_nScore int32 + public int CDetails; // m_cDetails int32 + public ulong UGC; // m_hUGC UGCHandle_t - public static implicit operator LeaderboardEntry_t ( LeaderboardEntry_t.PackSmall d ) + public static implicit operator LeaderboardEntry_t ( LeaderboardEntry_t.PackSmall d ) { return new LeaderboardEntry_t() { - m_steamIDUser = d.m_steamIDUser, - m_nGlobalRank = d.m_nGlobalRank, - m_nScore = d.m_nScore, - m_cDetails = d.m_cDetails, - m_hUGC = d.m_hUGC, + SteamIDUser = d.SteamIDUser, + NGlobalRank = d.NGlobalRank, + NScore = d.NScore, + CDetails = d.CDetails, + UGC = d.UGC, }; } } @@ -2367,25 +2337,25 @@ public static implicit operator LeaderboardEntry_t ( LeaderboardEntry_t.PackSm [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct UserStatsReceived_t { - public ulong m_nGameID; // uint64 - public Result m_eResult; // enum EResult - public ulong m_steamIDUser; // class CSteamID + public ulong NGameID; // m_nGameID uint64 + public Result Result; // m_eResult enum EResult + public ulong SteamIDUser; // m_steamIDUser class CSteamID public static UserStatsReceived_t FromPointer( IntPtr p ) { return (UserStatsReceived_t) Marshal.PtrToStructure( p, typeof(UserStatsReceived_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_nGameID; // uint64 - public Result m_eResult; // enum EResult - public ulong m_steamIDUser; // class CSteamID + public ulong NGameID; // m_nGameID uint64 + public Result Result; // m_eResult enum EResult + public ulong SteamIDUser; // m_steamIDUser class CSteamID - public static implicit operator UserStatsReceived_t ( UserStatsReceived_t.PackSmall d ) + public static implicit operator UserStatsReceived_t ( UserStatsReceived_t.PackSmall d ) { return new UserStatsReceived_t() { - m_nGameID = d.m_nGameID, - m_eResult = d.m_eResult, - m_steamIDUser = d.m_steamIDUser, + NGameID = d.NGameID, + Result = d.Result, + SteamIDUser = d.SteamIDUser, }; } } @@ -2394,22 +2364,22 @@ public static implicit operator UserStatsReceived_t ( UserStatsReceived_t.Pack [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct UserStatsStored_t { - public ulong m_nGameID; // uint64 - public Result m_eResult; // enum EResult + public ulong NGameID; // m_nGameID uint64 + public Result Result; // m_eResult enum EResult public static UserStatsStored_t FromPointer( IntPtr p ) { return (UserStatsStored_t) Marshal.PtrToStructure( p, typeof(UserStatsStored_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_nGameID; // uint64 - public Result m_eResult; // enum EResult + public ulong NGameID; // m_nGameID uint64 + public Result Result; // m_eResult enum EResult - public static implicit operator UserStatsStored_t ( UserStatsStored_t.PackSmall d ) + public static implicit operator UserStatsStored_t ( UserStatsStored_t.PackSmall d ) { return new UserStatsStored_t() { - m_nGameID = d.m_nGameID, - m_eResult = d.m_eResult, + NGameID = d.NGameID, + Result = d.Result, }; } } @@ -2418,35 +2388,35 @@ public static implicit operator UserStatsStored_t ( UserStatsStored_t.PackSmal [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct UserAchievementStored_t { - public ulong m_nGameID; // uint64 + public ulong NGameID; // m_nGameID uint64 [MarshalAs(UnmanagedType.I1)] - public bool m_bGroupAchievement; // _Bool + public bool GroupAchievement; // m_bGroupAchievement _Bool [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 128)] - public string m_rgchAchievementName; // char [128] - public uint m_nCurProgress; // uint32 - public uint m_nMaxProgress; // uint32 + public string RgchAchievementName; // m_rgchAchievementName char [128] + public uint NCurProgress; // m_nCurProgress uint32 + public uint NMaxProgress; // m_nMaxProgress uint32 public static UserAchievementStored_t FromPointer( IntPtr p ) { return (UserAchievementStored_t) Marshal.PtrToStructure( p, typeof(UserAchievementStored_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_nGameID; // uint64 + public ulong NGameID; // m_nGameID uint64 [MarshalAs(UnmanagedType.I1)] - public bool m_bGroupAchievement; // _Bool + public bool GroupAchievement; // m_bGroupAchievement _Bool [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 128)] - public string m_rgchAchievementName; // char [128] - public uint m_nCurProgress; // uint32 - public uint m_nMaxProgress; // uint32 + public string RgchAchievementName; // m_rgchAchievementName char [128] + public uint NCurProgress; // m_nCurProgress uint32 + public uint NMaxProgress; // m_nMaxProgress uint32 - public static implicit operator UserAchievementStored_t ( UserAchievementStored_t.PackSmall d ) + public static implicit operator UserAchievementStored_t ( UserAchievementStored_t.PackSmall d ) { return new UserAchievementStored_t() { - m_nGameID = d.m_nGameID, - m_bGroupAchievement = d.m_bGroupAchievement, - m_rgchAchievementName = d.m_rgchAchievementName, - m_nCurProgress = d.m_nCurProgress, - m_nMaxProgress = d.m_nMaxProgress, + NGameID = d.NGameID, + GroupAchievement = d.GroupAchievement, + RgchAchievementName = d.RgchAchievementName, + NCurProgress = d.NCurProgress, + NMaxProgress = d.NMaxProgress, }; } } @@ -2455,22 +2425,22 @@ public static implicit operator UserAchievementStored_t ( UserAchievementStore [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct LeaderboardFindResult_t { - public ulong m_hSteamLeaderboard; // SteamLeaderboard_t - public byte m_bLeaderboardFound; // uint8 + public ulong SteamLeaderboard; // m_hSteamLeaderboard SteamLeaderboard_t + public byte LeaderboardFound; // m_bLeaderboardFound uint8 public static LeaderboardFindResult_t FromPointer( IntPtr p ) { return (LeaderboardFindResult_t) Marshal.PtrToStructure( p, typeof(LeaderboardFindResult_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_hSteamLeaderboard; // SteamLeaderboard_t - public byte m_bLeaderboardFound; // uint8 + public ulong SteamLeaderboard; // m_hSteamLeaderboard SteamLeaderboard_t + public byte LeaderboardFound; // m_bLeaderboardFound uint8 - public static implicit operator LeaderboardFindResult_t ( LeaderboardFindResult_t.PackSmall d ) + public static implicit operator LeaderboardFindResult_t ( LeaderboardFindResult_t.PackSmall d ) { return new LeaderboardFindResult_t() { - m_hSteamLeaderboard = d.m_hSteamLeaderboard, - m_bLeaderboardFound = d.m_bLeaderboardFound, + SteamLeaderboard = d.SteamLeaderboard, + LeaderboardFound = d.LeaderboardFound, }; } } @@ -2479,25 +2449,25 @@ public static implicit operator LeaderboardFindResult_t ( LeaderboardFindResul [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct LeaderboardScoresDownloaded_t { - public ulong m_hSteamLeaderboard; // SteamLeaderboard_t - public ulong m_hSteamLeaderboardEntries; // SteamLeaderboardEntries_t - public int m_cEntryCount; // int + public ulong SteamLeaderboard; // m_hSteamLeaderboard SteamLeaderboard_t + public ulong SteamLeaderboardEntries; // m_hSteamLeaderboardEntries SteamLeaderboardEntries_t + public int CEntryCount; // m_cEntryCount int public static LeaderboardScoresDownloaded_t FromPointer( IntPtr p ) { return (LeaderboardScoresDownloaded_t) Marshal.PtrToStructure( p, typeof(LeaderboardScoresDownloaded_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_hSteamLeaderboard; // SteamLeaderboard_t - public ulong m_hSteamLeaderboardEntries; // SteamLeaderboardEntries_t - public int m_cEntryCount; // int + public ulong SteamLeaderboard; // m_hSteamLeaderboard SteamLeaderboard_t + public ulong SteamLeaderboardEntries; // m_hSteamLeaderboardEntries SteamLeaderboardEntries_t + public int CEntryCount; // m_cEntryCount int - public static implicit operator LeaderboardScoresDownloaded_t ( LeaderboardScoresDownloaded_t.PackSmall d ) + public static implicit operator LeaderboardScoresDownloaded_t ( LeaderboardScoresDownloaded_t.PackSmall d ) { return new LeaderboardScoresDownloaded_t() { - m_hSteamLeaderboard = d.m_hSteamLeaderboard, - m_hSteamLeaderboardEntries = d.m_hSteamLeaderboardEntries, - m_cEntryCount = d.m_cEntryCount, + SteamLeaderboard = d.SteamLeaderboard, + SteamLeaderboardEntries = d.SteamLeaderboardEntries, + CEntryCount = d.CEntryCount, }; } } @@ -2506,34 +2476,34 @@ public static implicit operator LeaderboardScoresDownloaded_t ( LeaderboardSco [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct LeaderboardScoreUploaded_t { - public byte m_bSuccess; // uint8 - public ulong m_hSteamLeaderboard; // SteamLeaderboard_t - public int m_nScore; // int32 - public byte m_bScoreChanged; // uint8 - public int m_nGlobalRankNew; // int - public int m_nGlobalRankPrevious; // int + public byte Success; // m_bSuccess uint8 + public ulong SteamLeaderboard; // m_hSteamLeaderboard SteamLeaderboard_t + public int NScore; // m_nScore int32 + public byte ScoreChanged; // m_bScoreChanged uint8 + public int NGlobalRankNew; // m_nGlobalRankNew int + public int NGlobalRankPrevious; // m_nGlobalRankPrevious int public static LeaderboardScoreUploaded_t FromPointer( IntPtr p ) { return (LeaderboardScoreUploaded_t) Marshal.PtrToStructure( p, typeof(LeaderboardScoreUploaded_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public byte m_bSuccess; // uint8 - public ulong m_hSteamLeaderboard; // SteamLeaderboard_t - public int m_nScore; // int32 - public byte m_bScoreChanged; // uint8 - public int m_nGlobalRankNew; // int - public int m_nGlobalRankPrevious; // int + public byte Success; // m_bSuccess uint8 + public ulong SteamLeaderboard; // m_hSteamLeaderboard SteamLeaderboard_t + public int NScore; // m_nScore int32 + public byte ScoreChanged; // m_bScoreChanged uint8 + public int NGlobalRankNew; // m_nGlobalRankNew int + public int NGlobalRankPrevious; // m_nGlobalRankPrevious int - public static implicit operator LeaderboardScoreUploaded_t ( LeaderboardScoreUploaded_t.PackSmall d ) + public static implicit operator LeaderboardScoreUploaded_t ( LeaderboardScoreUploaded_t.PackSmall d ) { return new LeaderboardScoreUploaded_t() { - m_bSuccess = d.m_bSuccess, - m_hSteamLeaderboard = d.m_hSteamLeaderboard, - m_nScore = d.m_nScore, - m_bScoreChanged = d.m_bScoreChanged, - m_nGlobalRankNew = d.m_nGlobalRankNew, - m_nGlobalRankPrevious = d.m_nGlobalRankPrevious, + Success = d.Success, + SteamLeaderboard = d.SteamLeaderboard, + NScore = d.NScore, + ScoreChanged = d.ScoreChanged, + NGlobalRankNew = d.NGlobalRankNew, + NGlobalRankPrevious = d.NGlobalRankPrevious, }; } } @@ -2542,22 +2512,22 @@ public static implicit operator LeaderboardScoreUploaded_t ( LeaderboardScoreU [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct NumberOfCurrentPlayers_t { - public byte m_bSuccess; // uint8 - public int m_cPlayers; // int32 + public byte Success; // m_bSuccess uint8 + public int CPlayers; // m_cPlayers int32 public static NumberOfCurrentPlayers_t FromPointer( IntPtr p ) { return (NumberOfCurrentPlayers_t) Marshal.PtrToStructure( p, typeof(NumberOfCurrentPlayers_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public byte m_bSuccess; // uint8 - public int m_cPlayers; // int32 + public byte Success; // m_bSuccess uint8 + public int CPlayers; // m_cPlayers int32 - public static implicit operator NumberOfCurrentPlayers_t ( NumberOfCurrentPlayers_t.PackSmall d ) + public static implicit operator NumberOfCurrentPlayers_t ( NumberOfCurrentPlayers_t.PackSmall d ) { return new NumberOfCurrentPlayers_t() { - m_bSuccess = d.m_bSuccess, - m_cPlayers = d.m_cPlayers, + Success = d.Success, + CPlayers = d.CPlayers, }; } } @@ -2566,19 +2536,19 @@ public static implicit operator NumberOfCurrentPlayers_t ( NumberOfCurrentPlay [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct UserStatsUnloaded_t { - public ulong m_steamIDUser; // class CSteamID + public ulong SteamIDUser; // m_steamIDUser class CSteamID public static UserStatsUnloaded_t FromPointer( IntPtr p ) { return (UserStatsUnloaded_t) Marshal.PtrToStructure( p, typeof(UserStatsUnloaded_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_steamIDUser; // class CSteamID + public ulong SteamIDUser; // m_steamIDUser class CSteamID - public static implicit operator UserStatsUnloaded_t ( UserStatsUnloaded_t.PackSmall d ) + public static implicit operator UserStatsUnloaded_t ( UserStatsUnloaded_t.PackSmall d ) { return new UserStatsUnloaded_t() { - m_steamIDUser = d.m_steamIDUser, + SteamIDUser = d.SteamIDUser, }; } } @@ -2587,32 +2557,32 @@ public static implicit operator UserStatsUnloaded_t ( UserStatsUnloaded_t.Pack [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct UserAchievementIconFetched_t { - public ulong m_nGameID; // class CGameID + public ulong NGameID; // m_nGameID class CGameID [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 128)] - public string m_rgchAchievementName; // char [128] + public string RgchAchievementName; // m_rgchAchievementName char [128] [MarshalAs(UnmanagedType.I1)] - public bool m_bAchieved; // _Bool - public int m_nIconHandle; // int + public bool Achieved; // m_bAchieved _Bool + public int NIconHandle; // m_nIconHandle int public static UserAchievementIconFetched_t FromPointer( IntPtr p ) { return (UserAchievementIconFetched_t) Marshal.PtrToStructure( p, typeof(UserAchievementIconFetched_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_nGameID; // class CGameID + public ulong NGameID; // m_nGameID class CGameID [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 128)] - public string m_rgchAchievementName; // char [128] + public string RgchAchievementName; // m_rgchAchievementName char [128] [MarshalAs(UnmanagedType.I1)] - public bool m_bAchieved; // _Bool - public int m_nIconHandle; // int + public bool Achieved; // m_bAchieved _Bool + public int NIconHandle; // m_nIconHandle int - public static implicit operator UserAchievementIconFetched_t ( UserAchievementIconFetched_t.PackSmall d ) + public static implicit operator UserAchievementIconFetched_t ( UserAchievementIconFetched_t.PackSmall d ) { return new UserAchievementIconFetched_t() { - m_nGameID = d.m_nGameID, - m_rgchAchievementName = d.m_rgchAchievementName, - m_bAchieved = d.m_bAchieved, - m_nIconHandle = d.m_nIconHandle, + NGameID = d.NGameID, + RgchAchievementName = d.RgchAchievementName, + Achieved = d.Achieved, + NIconHandle = d.NIconHandle, }; } } @@ -2621,22 +2591,22 @@ public static implicit operator UserAchievementIconFetched_t ( UserAchievement [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct GlobalAchievementPercentagesReady_t { - public ulong m_nGameID; // uint64 - public Result m_eResult; // enum EResult + public ulong NGameID; // m_nGameID uint64 + public Result Result; // m_eResult enum EResult public static GlobalAchievementPercentagesReady_t FromPointer( IntPtr p ) { return (GlobalAchievementPercentagesReady_t) Marshal.PtrToStructure( p, typeof(GlobalAchievementPercentagesReady_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_nGameID; // uint64 - public Result m_eResult; // enum EResult + public ulong NGameID; // m_nGameID uint64 + public Result Result; // m_eResult enum EResult - public static implicit operator GlobalAchievementPercentagesReady_t ( GlobalAchievementPercentagesReady_t.PackSmall d ) + public static implicit operator GlobalAchievementPercentagesReady_t ( GlobalAchievementPercentagesReady_t.PackSmall d ) { return new GlobalAchievementPercentagesReady_t() { - m_nGameID = d.m_nGameID, - m_eResult = d.m_eResult, + NGameID = d.NGameID, + Result = d.Result, }; } } @@ -2645,22 +2615,22 @@ public static implicit operator GlobalAchievementPercentagesReady_t ( GlobalAc [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct LeaderboardUGCSet_t { - public Result m_eResult; // enum EResult - public ulong m_hSteamLeaderboard; // SteamLeaderboard_t + public Result Result; // m_eResult enum EResult + public ulong SteamLeaderboard; // m_hSteamLeaderboard SteamLeaderboard_t public static LeaderboardUGCSet_t FromPointer( IntPtr p ) { return (LeaderboardUGCSet_t) Marshal.PtrToStructure( p, typeof(LeaderboardUGCSet_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult - public ulong m_hSteamLeaderboard; // SteamLeaderboard_t + public Result Result; // m_eResult enum EResult + public ulong SteamLeaderboard; // m_hSteamLeaderboard SteamLeaderboard_t - public static implicit operator LeaderboardUGCSet_t ( LeaderboardUGCSet_t.PackSmall d ) + public static implicit operator LeaderboardUGCSet_t ( LeaderboardUGCSet_t.PackSmall d ) { return new LeaderboardUGCSet_t() { - m_eResult = d.m_eResult, - m_hSteamLeaderboard = d.m_hSteamLeaderboard, + Result = d.Result, + SteamLeaderboard = d.SteamLeaderboard, }; } } @@ -2669,25 +2639,25 @@ public static implicit operator LeaderboardUGCSet_t ( LeaderboardUGCSet_t.Pack [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct PS3TrophiesInstalled_t { - public ulong m_nGameID; // uint64 - public Result m_eResult; // enum EResult - public ulong m_ulRequiredDiskSpace; // uint64 + public ulong NGameID; // m_nGameID uint64 + public Result Result; // m_eResult enum EResult + public ulong RequiredDiskSpace; // m_ulRequiredDiskSpace uint64 public static PS3TrophiesInstalled_t FromPointer( IntPtr p ) { return (PS3TrophiesInstalled_t) Marshal.PtrToStructure( p, typeof(PS3TrophiesInstalled_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_nGameID; // uint64 - public Result m_eResult; // enum EResult - public ulong m_ulRequiredDiskSpace; // uint64 + public ulong NGameID; // m_nGameID uint64 + public Result Result; // m_eResult enum EResult + public ulong RequiredDiskSpace; // m_ulRequiredDiskSpace uint64 - public static implicit operator PS3TrophiesInstalled_t ( PS3TrophiesInstalled_t.PackSmall d ) + public static implicit operator PS3TrophiesInstalled_t ( PS3TrophiesInstalled_t.PackSmall d ) { return new PS3TrophiesInstalled_t() { - m_nGameID = d.m_nGameID, - m_eResult = d.m_eResult, - m_ulRequiredDiskSpace = d.m_ulRequiredDiskSpace, + NGameID = d.NGameID, + Result = d.Result, + RequiredDiskSpace = d.RequiredDiskSpace, }; } } @@ -2696,22 +2666,22 @@ public static implicit operator PS3TrophiesInstalled_t ( PS3TrophiesInstalled_ [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct GlobalStatsReceived_t { - public ulong m_nGameID; // uint64 - public Result m_eResult; // enum EResult + public ulong NGameID; // m_nGameID uint64 + public Result Result; // m_eResult enum EResult public static GlobalStatsReceived_t FromPointer( IntPtr p ) { return (GlobalStatsReceived_t) Marshal.PtrToStructure( p, typeof(GlobalStatsReceived_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_nGameID; // uint64 - public Result m_eResult; // enum EResult + public ulong NGameID; // m_nGameID uint64 + public Result Result; // m_eResult enum EResult - public static implicit operator GlobalStatsReceived_t ( GlobalStatsReceived_t.PackSmall d ) + public static implicit operator GlobalStatsReceived_t ( GlobalStatsReceived_t.PackSmall d ) { return new GlobalStatsReceived_t() { - m_nGameID = d.m_nGameID, - m_eResult = d.m_eResult, + NGameID = d.NGameID, + Result = d.Result, }; } } @@ -2720,19 +2690,19 @@ public static implicit operator GlobalStatsReceived_t ( GlobalStatsReceived_t. [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct DlcInstalled_t { - public uint m_nAppID; // AppId_t + public uint NAppID; // m_nAppID AppId_t public static DlcInstalled_t FromPointer( IntPtr p ) { return (DlcInstalled_t) Marshal.PtrToStructure( p, typeof(DlcInstalled_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint m_nAppID; // AppId_t + public uint NAppID; // m_nAppID AppId_t - public static implicit operator DlcInstalled_t ( DlcInstalled_t.PackSmall d ) + public static implicit operator DlcInstalled_t ( DlcInstalled_t.PackSmall d ) { return new DlcInstalled_t() { - m_nAppID = d.m_nAppID, + NAppID = d.NAppID, }; } } @@ -2741,22 +2711,22 @@ public static implicit operator DlcInstalled_t ( DlcInstalled_t.PackSmall d ) [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct RegisterActivationCodeResponse_t { - public RegisterActivationCodeResult m_eResult; // enum ERegisterActivationCodeResult - public uint m_unPackageRegistered; // uint32 + public RegisterActivationCodeResult Result; // m_eResult enum ERegisterActivationCodeResult + public uint PackageRegistered; // m_unPackageRegistered uint32 public static RegisterActivationCodeResponse_t FromPointer( IntPtr p ) { return (RegisterActivationCodeResponse_t) Marshal.PtrToStructure( p, typeof(RegisterActivationCodeResponse_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public RegisterActivationCodeResult m_eResult; // enum ERegisterActivationCodeResult - public uint m_unPackageRegistered; // uint32 + public RegisterActivationCodeResult Result; // m_eResult enum ERegisterActivationCodeResult + public uint PackageRegistered; // m_unPackageRegistered uint32 - public static implicit operator RegisterActivationCodeResponse_t ( RegisterActivationCodeResponse_t.PackSmall d ) + public static implicit operator RegisterActivationCodeResponse_t ( RegisterActivationCodeResponse_t.PackSmall d ) { return new RegisterActivationCodeResponse_t() { - m_eResult = d.m_eResult, - m_unPackageRegistered = d.m_unPackageRegistered, + Result = d.Result, + PackageRegistered = d.PackageRegistered, }; } } @@ -2765,30 +2735,30 @@ public static implicit operator RegisterActivationCodeResponse_t ( RegisterAct [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct AppProofOfPurchaseKeyResponse_t { - public Result m_eResult; // enum EResult - public uint m_nAppID; // uint32 - public uint m_cchKeyLength; // uint32 + public Result Result; // m_eResult enum EResult + public uint NAppID; // m_nAppID uint32 + public uint CchKeyLength; // m_cchKeyLength uint32 [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 240)] - public string m_rgchKey; // char [240] + public string RgchKey; // m_rgchKey char [240] public static AppProofOfPurchaseKeyResponse_t FromPointer( IntPtr p ) { return (AppProofOfPurchaseKeyResponse_t) Marshal.PtrToStructure( p, typeof(AppProofOfPurchaseKeyResponse_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult - public uint m_nAppID; // uint32 - public uint m_cchKeyLength; // uint32 + public Result Result; // m_eResult enum EResult + public uint NAppID; // m_nAppID uint32 + public uint CchKeyLength; // m_cchKeyLength uint32 [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 240)] - public string m_rgchKey; // char [240] + public string RgchKey; // m_rgchKey char [240] - public static implicit operator AppProofOfPurchaseKeyResponse_t ( AppProofOfPurchaseKeyResponse_t.PackSmall d ) + public static implicit operator AppProofOfPurchaseKeyResponse_t ( AppProofOfPurchaseKeyResponse_t.PackSmall d ) { return new AppProofOfPurchaseKeyResponse_t() { - m_eResult = d.m_eResult, - m_nAppID = d.m_nAppID, - m_cchKeyLength = d.m_cchKeyLength, - m_rgchKey = d.m_rgchKey, + Result = d.Result, + NAppID = d.NAppID, + CchKeyLength = d.CchKeyLength, + RgchKey = d.RgchKey, }; } } @@ -2797,40 +2767,40 @@ public static implicit operator AppProofOfPurchaseKeyResponse_t ( AppProofOfPu [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct P2PSessionState_t { - public byte m_bConnectionActive; // uint8 - public byte m_bConnecting; // uint8 - public byte m_eP2PSessionError; // uint8 - public byte m_bUsingRelay; // uint8 - public int m_nBytesQueuedForSend; // int32 - public int m_nPacketsQueuedForSend; // int32 - public uint m_nRemoteIP; // uint32 - public ushort m_nRemotePort; // uint16 + public byte ConnectionActive; // m_bConnectionActive uint8 + public byte Connecting; // m_bConnecting uint8 + public byte P2PSessionError; // m_eP2PSessionError uint8 + public byte UsingRelay; // m_bUsingRelay uint8 + public int NBytesQueuedForSend; // m_nBytesQueuedForSend int32 + public int NPacketsQueuedForSend; // m_nPacketsQueuedForSend int32 + public uint NRemoteIP; // m_nRemoteIP uint32 + public ushort NRemotePort; // m_nRemotePort uint16 public static P2PSessionState_t FromPointer( IntPtr p ) { return (P2PSessionState_t) Marshal.PtrToStructure( p, typeof(P2PSessionState_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public byte m_bConnectionActive; // uint8 - public byte m_bConnecting; // uint8 - public byte m_eP2PSessionError; // uint8 - public byte m_bUsingRelay; // uint8 - public int m_nBytesQueuedForSend; // int32 - public int m_nPacketsQueuedForSend; // int32 - public uint m_nRemoteIP; // uint32 - public ushort m_nRemotePort; // uint16 + public byte ConnectionActive; // m_bConnectionActive uint8 + public byte Connecting; // m_bConnecting uint8 + public byte P2PSessionError; // m_eP2PSessionError uint8 + public byte UsingRelay; // m_bUsingRelay uint8 + public int NBytesQueuedForSend; // m_nBytesQueuedForSend int32 + public int NPacketsQueuedForSend; // m_nPacketsQueuedForSend int32 + public uint NRemoteIP; // m_nRemoteIP uint32 + public ushort NRemotePort; // m_nRemotePort uint16 - public static implicit operator P2PSessionState_t ( P2PSessionState_t.PackSmall d ) + public static implicit operator P2PSessionState_t ( P2PSessionState_t.PackSmall d ) { return new P2PSessionState_t() { - m_bConnectionActive = d.m_bConnectionActive, - m_bConnecting = d.m_bConnecting, - m_eP2PSessionError = d.m_eP2PSessionError, - m_bUsingRelay = d.m_bUsingRelay, - m_nBytesQueuedForSend = d.m_nBytesQueuedForSend, - m_nPacketsQueuedForSend = d.m_nPacketsQueuedForSend, - m_nRemoteIP = d.m_nRemoteIP, - m_nRemotePort = d.m_nRemotePort, + ConnectionActive = d.ConnectionActive, + Connecting = d.Connecting, + P2PSessionError = d.P2PSessionError, + UsingRelay = d.UsingRelay, + NBytesQueuedForSend = d.NBytesQueuedForSend, + NPacketsQueuedForSend = d.NPacketsQueuedForSend, + NRemoteIP = d.NRemoteIP, + NRemotePort = d.NRemotePort, }; } } @@ -2839,19 +2809,19 @@ public static implicit operator P2PSessionState_t ( P2PSessionState_t.PackSmal [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct P2PSessionRequest_t { - public ulong m_steamIDRemote; // class CSteamID + public ulong SteamIDRemote; // m_steamIDRemote class CSteamID public static P2PSessionRequest_t FromPointer( IntPtr p ) { return (P2PSessionRequest_t) Marshal.PtrToStructure( p, typeof(P2PSessionRequest_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_steamIDRemote; // class CSteamID + public ulong SteamIDRemote; // m_steamIDRemote class CSteamID - public static implicit operator P2PSessionRequest_t ( P2PSessionRequest_t.PackSmall d ) + public static implicit operator P2PSessionRequest_t ( P2PSessionRequest_t.PackSmall d ) { return new P2PSessionRequest_t() { - m_steamIDRemote = d.m_steamIDRemote, + SteamIDRemote = d.SteamIDRemote, }; } } @@ -2860,22 +2830,22 @@ public static implicit operator P2PSessionRequest_t ( P2PSessionRequest_t.Pack [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct P2PSessionConnectFail_t { - public ulong m_steamIDRemote; // class CSteamID - public byte m_eP2PSessionError; // uint8 + public ulong SteamIDRemote; // m_steamIDRemote class CSteamID + public byte P2PSessionError; // m_eP2PSessionError uint8 public static P2PSessionConnectFail_t FromPointer( IntPtr p ) { return (P2PSessionConnectFail_t) Marshal.PtrToStructure( p, typeof(P2PSessionConnectFail_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_steamIDRemote; // class CSteamID - public byte m_eP2PSessionError; // uint8 + public ulong SteamIDRemote; // m_steamIDRemote class CSteamID + public byte P2PSessionError; // m_eP2PSessionError uint8 - public static implicit operator P2PSessionConnectFail_t ( P2PSessionConnectFail_t.PackSmall d ) + public static implicit operator P2PSessionConnectFail_t ( P2PSessionConnectFail_t.PackSmall d ) { return new P2PSessionConnectFail_t() { - m_steamIDRemote = d.m_steamIDRemote, - m_eP2PSessionError = d.m_eP2PSessionError, + SteamIDRemote = d.SteamIDRemote, + P2PSessionError = d.P2PSessionError, }; } } @@ -2884,28 +2854,28 @@ public static implicit operator P2PSessionConnectFail_t ( P2PSessionConnectFai [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct SocketStatusCallback_t { - public uint m_hSocket; // SNetSocket_t - public uint m_hListenSocket; // SNetListenSocket_t - public ulong m_steamIDRemote; // class CSteamID - public int m_eSNetSocketState; // int + public uint Socket; // m_hSocket SNetSocket_t + public uint ListenSocket; // m_hListenSocket SNetListenSocket_t + public ulong SteamIDRemote; // m_steamIDRemote class CSteamID + public int SNetSocketState; // m_eSNetSocketState int public static SocketStatusCallback_t FromPointer( IntPtr p ) { return (SocketStatusCallback_t) Marshal.PtrToStructure( p, typeof(SocketStatusCallback_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint m_hSocket; // SNetSocket_t - public uint m_hListenSocket; // SNetListenSocket_t - public ulong m_steamIDRemote; // class CSteamID - public int m_eSNetSocketState; // int + public uint Socket; // m_hSocket SNetSocket_t + public uint ListenSocket; // m_hListenSocket SNetListenSocket_t + public ulong SteamIDRemote; // m_steamIDRemote class CSteamID + public int SNetSocketState; // m_eSNetSocketState int - public static implicit operator SocketStatusCallback_t ( SocketStatusCallback_t.PackSmall d ) + public static implicit operator SocketStatusCallback_t ( SocketStatusCallback_t.PackSmall d ) { return new SocketStatusCallback_t() { - m_hSocket = d.m_hSocket, - m_hListenSocket = d.m_hListenSocket, - m_steamIDRemote = d.m_steamIDRemote, - m_eSNetSocketState = d.m_eSNetSocketState, + Socket = d.Socket, + ListenSocket = d.ListenSocket, + SteamIDRemote = d.SteamIDRemote, + SNetSocketState = d.SNetSocketState, }; } } @@ -2914,22 +2884,22 @@ public static implicit operator SocketStatusCallback_t ( SocketStatusCallback_ [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct ScreenshotReady_t { - public uint m_hLocal; // ScreenshotHandle - public Result m_eResult; // enum EResult + public uint Local; // m_hLocal ScreenshotHandle + public Result Result; // m_eResult enum EResult public static ScreenshotReady_t FromPointer( IntPtr p ) { return (ScreenshotReady_t) Marshal.PtrToStructure( p, typeof(ScreenshotReady_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint m_hLocal; // ScreenshotHandle - public Result m_eResult; // enum EResult + public uint Local; // m_hLocal ScreenshotHandle + public Result Result; // m_eResult enum EResult - public static implicit operator ScreenshotReady_t ( ScreenshotReady_t.PackSmall d ) + public static implicit operator ScreenshotReady_t ( ScreenshotReady_t.PackSmall d ) { return new ScreenshotReady_t() { - m_hLocal = d.m_hLocal, - m_eResult = d.m_eResult, + Local = d.Local, + Result = d.Result, }; } } @@ -2938,19 +2908,19 @@ public static implicit operator ScreenshotReady_t ( ScreenshotReady_t.PackSmal [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct VolumeHasChanged_t { - public float m_flNewVolume; // float + public float FlNewVolume; // m_flNewVolume float public static VolumeHasChanged_t FromPointer( IntPtr p ) { return (VolumeHasChanged_t) Marshal.PtrToStructure( p, typeof(VolumeHasChanged_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public float m_flNewVolume; // float + public float FlNewVolume; // m_flNewVolume float - public static implicit operator VolumeHasChanged_t ( VolumeHasChanged_t.PackSmall d ) + public static implicit operator VolumeHasChanged_t ( VolumeHasChanged_t.PackSmall d ) { return new VolumeHasChanged_t() { - m_flNewVolume = d.m_flNewVolume, + FlNewVolume = d.FlNewVolume, }; } } @@ -2960,20 +2930,20 @@ public static implicit operator VolumeHasChanged_t ( VolumeHasChanged_t.PackSm public struct MusicPlayerWantsShuffled_t { [MarshalAs(UnmanagedType.I1)] - public bool m_bShuffled; // _Bool + public bool Shuffled; // m_bShuffled _Bool public static MusicPlayerWantsShuffled_t FromPointer( IntPtr p ) { return (MusicPlayerWantsShuffled_t) Marshal.PtrToStructure( p, typeof(MusicPlayerWantsShuffled_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { [MarshalAs(UnmanagedType.I1)] - public bool m_bShuffled; // _Bool + public bool Shuffled; // m_bShuffled _Bool - public static implicit operator MusicPlayerWantsShuffled_t ( MusicPlayerWantsShuffled_t.PackSmall d ) + public static implicit operator MusicPlayerWantsShuffled_t ( MusicPlayerWantsShuffled_t.PackSmall d ) { return new MusicPlayerWantsShuffled_t() { - m_bShuffled = d.m_bShuffled, + Shuffled = d.Shuffled, }; } } @@ -2983,20 +2953,20 @@ public static implicit operator MusicPlayerWantsShuffled_t ( MusicPlayerWantsS public struct MusicPlayerWantsLooped_t { [MarshalAs(UnmanagedType.I1)] - public bool m_bLooped; // _Bool + public bool Looped; // m_bLooped _Bool public static MusicPlayerWantsLooped_t FromPointer( IntPtr p ) { return (MusicPlayerWantsLooped_t) Marshal.PtrToStructure( p, typeof(MusicPlayerWantsLooped_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { [MarshalAs(UnmanagedType.I1)] - public bool m_bLooped; // _Bool + public bool Looped; // m_bLooped _Bool - public static implicit operator MusicPlayerWantsLooped_t ( MusicPlayerWantsLooped_t.PackSmall d ) + public static implicit operator MusicPlayerWantsLooped_t ( MusicPlayerWantsLooped_t.PackSmall d ) { return new MusicPlayerWantsLooped_t() { - m_bLooped = d.m_bLooped, + Looped = d.Looped, }; } } @@ -3005,19 +2975,19 @@ public static implicit operator MusicPlayerWantsLooped_t ( MusicPlayerWantsLoo [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct MusicPlayerWantsVolume_t { - public float m_flNewVolume; // float + public float FlNewVolume; // m_flNewVolume float public static MusicPlayerWantsVolume_t FromPointer( IntPtr p ) { return (MusicPlayerWantsVolume_t) Marshal.PtrToStructure( p, typeof(MusicPlayerWantsVolume_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public float m_flNewVolume; // float + public float FlNewVolume; // m_flNewVolume float - public static implicit operator MusicPlayerWantsVolume_t ( MusicPlayerWantsVolume_t.PackSmall d ) + public static implicit operator MusicPlayerWantsVolume_t ( MusicPlayerWantsVolume_t.PackSmall d ) { return new MusicPlayerWantsVolume_t() { - m_flNewVolume = d.m_flNewVolume, + FlNewVolume = d.FlNewVolume, }; } } @@ -3026,19 +2996,19 @@ public static implicit operator MusicPlayerWantsVolume_t ( MusicPlayerWantsVol [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct MusicPlayerSelectsQueueEntry_t { - public int nID; // int + public int NID; // nID int public static MusicPlayerSelectsQueueEntry_t FromPointer( IntPtr p ) { return (MusicPlayerSelectsQueueEntry_t) Marshal.PtrToStructure( p, typeof(MusicPlayerSelectsQueueEntry_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public int nID; // int + public int NID; // nID int - public static implicit operator MusicPlayerSelectsQueueEntry_t ( MusicPlayerSelectsQueueEntry_t.PackSmall d ) + public static implicit operator MusicPlayerSelectsQueueEntry_t ( MusicPlayerSelectsQueueEntry_t.PackSmall d ) { return new MusicPlayerSelectsQueueEntry_t() { - nID = d.nID, + NID = d.NID, }; } } @@ -3047,19 +3017,19 @@ public static implicit operator MusicPlayerSelectsQueueEntry_t ( MusicPlayerSe [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct MusicPlayerSelectsPlaylistEntry_t { - public int nID; // int + public int NID; // nID int public static MusicPlayerSelectsPlaylistEntry_t FromPointer( IntPtr p ) { return (MusicPlayerSelectsPlaylistEntry_t) Marshal.PtrToStructure( p, typeof(MusicPlayerSelectsPlaylistEntry_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public int nID; // int + public int NID; // nID int - public static implicit operator MusicPlayerSelectsPlaylistEntry_t ( MusicPlayerSelectsPlaylistEntry_t.PackSmall d ) + public static implicit operator MusicPlayerSelectsPlaylistEntry_t ( MusicPlayerSelectsPlaylistEntry_t.PackSmall d ) { return new MusicPlayerSelectsPlaylistEntry_t() { - nID = d.nID, + NID = d.NID, }; } } @@ -3068,19 +3038,19 @@ public static implicit operator MusicPlayerSelectsPlaylistEntry_t ( MusicPlaye [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct MusicPlayerWantsPlayingRepeatStatus_t { - public int m_nPlayingRepeatStatus; // int + public int NPlayingRepeatStatus; // m_nPlayingRepeatStatus int public static MusicPlayerWantsPlayingRepeatStatus_t FromPointer( IntPtr p ) { return (MusicPlayerWantsPlayingRepeatStatus_t) Marshal.PtrToStructure( p, typeof(MusicPlayerWantsPlayingRepeatStatus_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public int m_nPlayingRepeatStatus; // int + public int NPlayingRepeatStatus; // m_nPlayingRepeatStatus int - public static implicit operator MusicPlayerWantsPlayingRepeatStatus_t ( MusicPlayerWantsPlayingRepeatStatus_t.PackSmall d ) + public static implicit operator MusicPlayerWantsPlayingRepeatStatus_t ( MusicPlayerWantsPlayingRepeatStatus_t.PackSmall d ) { return new MusicPlayerWantsPlayingRepeatStatus_t() { - m_nPlayingRepeatStatus = d.m_nPlayingRepeatStatus, + NPlayingRepeatStatus = d.NPlayingRepeatStatus, }; } } @@ -3089,33 +3059,33 @@ public static implicit operator MusicPlayerWantsPlayingRepeatStatus_t ( MusicP [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct HTTPRequestCompleted_t { - public uint m_hRequest; // HTTPRequestHandle - public ulong m_ulContextValue; // uint64 + public uint Request; // m_hRequest HTTPRequestHandle + public ulong ContextValue; // m_ulContextValue uint64 [MarshalAs(UnmanagedType.I1)] - public bool m_bRequestSuccessful; // _Bool - public HTTPStatusCode m_eStatusCode; // enum EHTTPStatusCode - public uint m_unBodySize; // uint32 + public bool RequestSuccessful; // m_bRequestSuccessful _Bool + public HTTPStatusCode StatusCode; // m_eStatusCode enum EHTTPStatusCode + public uint BodySize; // m_unBodySize uint32 public static HTTPRequestCompleted_t FromPointer( IntPtr p ) { return (HTTPRequestCompleted_t) Marshal.PtrToStructure( p, typeof(HTTPRequestCompleted_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint m_hRequest; // HTTPRequestHandle - public ulong m_ulContextValue; // uint64 + public uint Request; // m_hRequest HTTPRequestHandle + public ulong ContextValue; // m_ulContextValue uint64 [MarshalAs(UnmanagedType.I1)] - public bool m_bRequestSuccessful; // _Bool - public HTTPStatusCode m_eStatusCode; // enum EHTTPStatusCode - public uint m_unBodySize; // uint32 + public bool RequestSuccessful; // m_bRequestSuccessful _Bool + public HTTPStatusCode StatusCode; // m_eStatusCode enum EHTTPStatusCode + public uint BodySize; // m_unBodySize uint32 - public static implicit operator HTTPRequestCompleted_t ( HTTPRequestCompleted_t.PackSmall d ) + public static implicit operator HTTPRequestCompleted_t ( HTTPRequestCompleted_t.PackSmall d ) { return new HTTPRequestCompleted_t() { - m_hRequest = d.m_hRequest, - m_ulContextValue = d.m_ulContextValue, - m_bRequestSuccessful = d.m_bRequestSuccessful, - m_eStatusCode = d.m_eStatusCode, - m_unBodySize = d.m_unBodySize, + Request = d.Request, + ContextValue = d.ContextValue, + RequestSuccessful = d.RequestSuccessful, + StatusCode = d.StatusCode, + BodySize = d.BodySize, }; } } @@ -3124,22 +3094,22 @@ public static implicit operator HTTPRequestCompleted_t ( HTTPRequestCompleted_ [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct HTTPRequestHeadersReceived_t { - public uint m_hRequest; // HTTPRequestHandle - public ulong m_ulContextValue; // uint64 + public uint Request; // m_hRequest HTTPRequestHandle + public ulong ContextValue; // m_ulContextValue uint64 public static HTTPRequestHeadersReceived_t FromPointer( IntPtr p ) { return (HTTPRequestHeadersReceived_t) Marshal.PtrToStructure( p, typeof(HTTPRequestHeadersReceived_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint m_hRequest; // HTTPRequestHandle - public ulong m_ulContextValue; // uint64 + public uint Request; // m_hRequest HTTPRequestHandle + public ulong ContextValue; // m_ulContextValue uint64 - public static implicit operator HTTPRequestHeadersReceived_t ( HTTPRequestHeadersReceived_t.PackSmall d ) + public static implicit operator HTTPRequestHeadersReceived_t ( HTTPRequestHeadersReceived_t.PackSmall d ) { return new HTTPRequestHeadersReceived_t() { - m_hRequest = d.m_hRequest, - m_ulContextValue = d.m_ulContextValue, + Request = d.Request, + ContextValue = d.ContextValue, }; } } @@ -3148,28 +3118,28 @@ public static implicit operator HTTPRequestHeadersReceived_t ( HTTPRequestHead [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct HTTPRequestDataReceived_t { - public uint m_hRequest; // HTTPRequestHandle - public ulong m_ulContextValue; // uint64 - public uint m_cOffset; // uint32 - public uint m_cBytesReceived; // uint32 + public uint Request; // m_hRequest HTTPRequestHandle + public ulong ContextValue; // m_ulContextValue uint64 + public uint COffset; // m_cOffset uint32 + public uint CBytesReceived; // m_cBytesReceived uint32 public static HTTPRequestDataReceived_t FromPointer( IntPtr p ) { return (HTTPRequestDataReceived_t) Marshal.PtrToStructure( p, typeof(HTTPRequestDataReceived_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint m_hRequest; // HTTPRequestHandle - public ulong m_ulContextValue; // uint64 - public uint m_cOffset; // uint32 - public uint m_cBytesReceived; // uint32 + public uint Request; // m_hRequest HTTPRequestHandle + public ulong ContextValue; // m_ulContextValue uint64 + public uint COffset; // m_cOffset uint32 + public uint CBytesReceived; // m_cBytesReceived uint32 - public static implicit operator HTTPRequestDataReceived_t ( HTTPRequestDataReceived_t.PackSmall d ) + public static implicit operator HTTPRequestDataReceived_t ( HTTPRequestDataReceived_t.PackSmall d ) { return new HTTPRequestDataReceived_t() { - m_hRequest = d.m_hRequest, - m_ulContextValue = d.m_ulContextValue, - m_cOffset = d.m_cOffset, - m_cBytesReceived = d.m_cBytesReceived, + Request = d.Request, + ContextValue = d.ContextValue, + COffset = d.COffset, + CBytesReceived = d.CBytesReceived, }; } } @@ -3178,28 +3148,28 @@ public static implicit operator HTTPRequestDataReceived_t ( HTTPRequestDataRec [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct SteamUnifiedMessagesSendMethodResult_t { - public ulong m_hHandle; // ClientUnifiedMessageHandle - public ulong m_unContext; // uint64 - public Result m_eResult; // enum EResult - public uint m_unResponseSize; // uint32 + public ulong Handle; // m_hHandle ClientUnifiedMessageHandle + public ulong Context; // m_unContext uint64 + public Result Result; // m_eResult enum EResult + public uint ResponseSize; // m_unResponseSize uint32 public static SteamUnifiedMessagesSendMethodResult_t FromPointer( IntPtr p ) { return (SteamUnifiedMessagesSendMethodResult_t) Marshal.PtrToStructure( p, typeof(SteamUnifiedMessagesSendMethodResult_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_hHandle; // ClientUnifiedMessageHandle - public ulong m_unContext; // uint64 - public Result m_eResult; // enum EResult - public uint m_unResponseSize; // uint32 + public ulong Handle; // m_hHandle ClientUnifiedMessageHandle + public ulong Context; // m_unContext uint64 + public Result Result; // m_eResult enum EResult + public uint ResponseSize; // m_unResponseSize uint32 - public static implicit operator SteamUnifiedMessagesSendMethodResult_t ( SteamUnifiedMessagesSendMethodResult_t.PackSmall d ) + public static implicit operator SteamUnifiedMessagesSendMethodResult_t ( SteamUnifiedMessagesSendMethodResult_t.PackSmall d ) { return new SteamUnifiedMessagesSendMethodResult_t() { - m_hHandle = d.m_hHandle, - m_unContext = d.m_unContext, - m_eResult = d.m_eResult, - m_unResponseSize = d.m_unResponseSize, + Handle = d.Handle, + Context = d.Context, + Result = d.Result, + ResponseSize = d.ResponseSize, }; } } @@ -3208,30 +3178,30 @@ public static implicit operator SteamUnifiedMessagesSendMethodResult_t ( Steam [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct ControllerAnalogActionData_t { - public ControllerSourceMode eMode; // enum EControllerSourceMode - public float x; // float - public float y; // float + public ControllerSourceMode EMode; // eMode enum EControllerSourceMode + public float X; // x float + public float Y; // y float [MarshalAs(UnmanagedType.I1)] - public bool bActive; // _Bool + public bool BActive; // bActive _Bool public static ControllerAnalogActionData_t FromPointer( IntPtr p ) { return (ControllerAnalogActionData_t) Marshal.PtrToStructure( p, typeof(ControllerAnalogActionData_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ControllerSourceMode eMode; // enum EControllerSourceMode - public float x; // float - public float y; // float + public ControllerSourceMode EMode; // eMode enum EControllerSourceMode + public float X; // x float + public float Y; // y float [MarshalAs(UnmanagedType.I1)] - public bool bActive; // _Bool + public bool BActive; // bActive _Bool - public static implicit operator ControllerAnalogActionData_t ( ControllerAnalogActionData_t.PackSmall d ) + public static implicit operator ControllerAnalogActionData_t ( ControllerAnalogActionData_t.PackSmall d ) { return new ControllerAnalogActionData_t() { - eMode = d.eMode, - x = d.x, - y = d.y, - bActive = d.bActive, + EMode = d.EMode, + X = d.X, + Y = d.Y, + BActive = d.BActive, }; } } @@ -3241,25 +3211,25 @@ public static implicit operator ControllerAnalogActionData_t ( ControllerAnalo public struct ControllerDigitalActionData_t { [MarshalAs(UnmanagedType.I1)] - public bool bState; // _Bool + public bool BState; // bState _Bool [MarshalAs(UnmanagedType.I1)] - public bool bActive; // _Bool + public bool BActive; // bActive _Bool public static ControllerDigitalActionData_t FromPointer( IntPtr p ) { return (ControllerDigitalActionData_t) Marshal.PtrToStructure( p, typeof(ControllerDigitalActionData_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { [MarshalAs(UnmanagedType.I1)] - public bool bState; // _Bool + public bool BState; // bState _Bool [MarshalAs(UnmanagedType.I1)] - public bool bActive; // _Bool + public bool BActive; // bActive _Bool - public static implicit operator ControllerDigitalActionData_t ( ControllerDigitalActionData_t.PackSmall d ) + public static implicit operator ControllerDigitalActionData_t ( ControllerDigitalActionData_t.PackSmall d ) { return new ControllerDigitalActionData_t() { - bState = d.bState, - bActive = d.bActive, + BState = d.BState, + BActive = d.BActive, }; } } @@ -3268,110 +3238,110 @@ public static implicit operator ControllerDigitalActionData_t ( ControllerDigi [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct SteamUGCDetails_t { - public ulong m_nPublishedFileId; // PublishedFileId_t - public Result m_eResult; // enum EResult - public WorkshopFileType m_eFileType; // enum EWorkshopFileType - public uint m_nCreatorAppID; // AppId_t - public uint m_nConsumerAppID; // AppId_t + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t + public Result Result; // m_eResult enum EResult + public WorkshopFileType FileType; // m_eFileType enum EWorkshopFileType + public uint NCreatorAppID; // m_nCreatorAppID AppId_t + public uint NConsumerAppID; // m_nConsumerAppID AppId_t [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 129)] - public string m_rgchTitle; // char [129] + public string RgchTitle; // m_rgchTitle char [129] [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 8000)] - public string m_rgchDescription; // char [8000] - public ulong m_ulSteamIDOwner; // uint64 - public uint m_rtimeCreated; // uint32 - public uint m_rtimeUpdated; // uint32 - public uint m_rtimeAddedToUserList; // uint32 - public RemoteStoragePublishedFileVisibility m_eVisibility; // enum ERemoteStoragePublishedFileVisibility + public string RgchDescription; // m_rgchDescription char [8000] + public ulong SteamIDOwner; // m_ulSteamIDOwner uint64 + public uint RtimeCreated; // m_rtimeCreated uint32 + public uint RtimeUpdated; // m_rtimeUpdated uint32 + public uint RtimeAddedToUserList; // m_rtimeAddedToUserList uint32 + public RemoteStoragePublishedFileVisibility Visibility; // m_eVisibility enum ERemoteStoragePublishedFileVisibility [MarshalAs(UnmanagedType.I1)] - public bool m_bBanned; // _Bool + public bool Banned; // m_bBanned _Bool [MarshalAs(UnmanagedType.I1)] - public bool m_bAcceptedForUse; // _Bool + public bool AcceptedForUse; // m_bAcceptedForUse _Bool [MarshalAs(UnmanagedType.I1)] - public bool m_bTagsTruncated; // _Bool + public bool TagsTruncated; // m_bTagsTruncated _Bool [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 1025)] - public string m_rgchTags; // char [1025] - public ulong m_hFile; // UGCHandle_t - public ulong m_hPreviewFile; // UGCHandle_t + public string RgchTags; // m_rgchTags char [1025] + public ulong File; // m_hFile UGCHandle_t + public ulong PreviewFile; // m_hPreviewFile UGCHandle_t [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 260)] - public string m_pchFileName; // char [260] - public int m_nFileSize; // int32 - public int m_nPreviewFileSize; // int32 + public string PchFileName; // m_pchFileName char [260] + public int NFileSize; // m_nFileSize int32 + public int NPreviewFileSize; // m_nPreviewFileSize int32 [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 256)] - public string m_rgchURL; // char [256] - public uint m_unVotesUp; // uint32 - public uint m_unVotesDown; // uint32 - public float m_flScore; // float - public uint m_unNumChildren; // uint32 + public string RgchURL; // m_rgchURL char [256] + public uint VotesUp; // m_unVotesUp uint32 + public uint VotesDown; // m_unVotesDown uint32 + public float FlScore; // m_flScore float + public uint NumChildren; // m_unNumChildren uint32 public static SteamUGCDetails_t FromPointer( IntPtr p ) { return (SteamUGCDetails_t) Marshal.PtrToStructure( p, typeof(SteamUGCDetails_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_nPublishedFileId; // PublishedFileId_t - public Result m_eResult; // enum EResult - public WorkshopFileType m_eFileType; // enum EWorkshopFileType - public uint m_nCreatorAppID; // AppId_t - public uint m_nConsumerAppID; // AppId_t + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t + public Result Result; // m_eResult enum EResult + public WorkshopFileType FileType; // m_eFileType enum EWorkshopFileType + public uint NCreatorAppID; // m_nCreatorAppID AppId_t + public uint NConsumerAppID; // m_nConsumerAppID AppId_t [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 129)] - public string m_rgchTitle; // char [129] + public string RgchTitle; // m_rgchTitle char [129] [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 8000)] - public string m_rgchDescription; // char [8000] - public ulong m_ulSteamIDOwner; // uint64 - public uint m_rtimeCreated; // uint32 - public uint m_rtimeUpdated; // uint32 - public uint m_rtimeAddedToUserList; // uint32 - public RemoteStoragePublishedFileVisibility m_eVisibility; // enum ERemoteStoragePublishedFileVisibility + public string RgchDescription; // m_rgchDescription char [8000] + public ulong SteamIDOwner; // m_ulSteamIDOwner uint64 + public uint RtimeCreated; // m_rtimeCreated uint32 + public uint RtimeUpdated; // m_rtimeUpdated uint32 + public uint RtimeAddedToUserList; // m_rtimeAddedToUserList uint32 + public RemoteStoragePublishedFileVisibility Visibility; // m_eVisibility enum ERemoteStoragePublishedFileVisibility [MarshalAs(UnmanagedType.I1)] - public bool m_bBanned; // _Bool + public bool Banned; // m_bBanned _Bool [MarshalAs(UnmanagedType.I1)] - public bool m_bAcceptedForUse; // _Bool + public bool AcceptedForUse; // m_bAcceptedForUse _Bool [MarshalAs(UnmanagedType.I1)] - public bool m_bTagsTruncated; // _Bool + public bool TagsTruncated; // m_bTagsTruncated _Bool [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 1025)] - public string m_rgchTags; // char [1025] - public ulong m_hFile; // UGCHandle_t - public ulong m_hPreviewFile; // UGCHandle_t + public string RgchTags; // m_rgchTags char [1025] + public ulong File; // m_hFile UGCHandle_t + public ulong PreviewFile; // m_hPreviewFile UGCHandle_t [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 260)] - public string m_pchFileName; // char [260] - public int m_nFileSize; // int32 - public int m_nPreviewFileSize; // int32 + public string PchFileName; // m_pchFileName char [260] + public int NFileSize; // m_nFileSize int32 + public int NPreviewFileSize; // m_nPreviewFileSize int32 [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 256)] - public string m_rgchURL; // char [256] - public uint m_unVotesUp; // uint32 - public uint m_unVotesDown; // uint32 - public float m_flScore; // float - public uint m_unNumChildren; // uint32 + public string RgchURL; // m_rgchURL char [256] + public uint VotesUp; // m_unVotesUp uint32 + public uint VotesDown; // m_unVotesDown uint32 + public float FlScore; // m_flScore float + public uint NumChildren; // m_unNumChildren uint32 - public static implicit operator SteamUGCDetails_t ( SteamUGCDetails_t.PackSmall d ) + public static implicit operator SteamUGCDetails_t ( SteamUGCDetails_t.PackSmall d ) { return new SteamUGCDetails_t() { - m_nPublishedFileId = d.m_nPublishedFileId, - m_eResult = d.m_eResult, - m_eFileType = d.m_eFileType, - m_nCreatorAppID = d.m_nCreatorAppID, - m_nConsumerAppID = d.m_nConsumerAppID, - m_rgchTitle = d.m_rgchTitle, - m_rgchDescription = d.m_rgchDescription, - m_ulSteamIDOwner = d.m_ulSteamIDOwner, - m_rtimeCreated = d.m_rtimeCreated, - m_rtimeUpdated = d.m_rtimeUpdated, - m_rtimeAddedToUserList = d.m_rtimeAddedToUserList, - m_eVisibility = d.m_eVisibility, - m_bBanned = d.m_bBanned, - m_bAcceptedForUse = d.m_bAcceptedForUse, - m_bTagsTruncated = d.m_bTagsTruncated, - m_rgchTags = d.m_rgchTags, - m_hFile = d.m_hFile, - m_hPreviewFile = d.m_hPreviewFile, - m_pchFileName = d.m_pchFileName, - m_nFileSize = d.m_nFileSize, - m_nPreviewFileSize = d.m_nPreviewFileSize, - m_rgchURL = d.m_rgchURL, - m_unVotesUp = d.m_unVotesUp, - m_unVotesDown = d.m_unVotesDown, - m_flScore = d.m_flScore, - m_unNumChildren = d.m_unNumChildren, + NPublishedFileId = d.NPublishedFileId, + Result = d.Result, + FileType = d.FileType, + NCreatorAppID = d.NCreatorAppID, + NConsumerAppID = d.NConsumerAppID, + RgchTitle = d.RgchTitle, + RgchDescription = d.RgchDescription, + SteamIDOwner = d.SteamIDOwner, + RtimeCreated = d.RtimeCreated, + RtimeUpdated = d.RtimeUpdated, + RtimeAddedToUserList = d.RtimeAddedToUserList, + Visibility = d.Visibility, + Banned = d.Banned, + AcceptedForUse = d.AcceptedForUse, + TagsTruncated = d.TagsTruncated, + RgchTags = d.RgchTags, + File = d.File, + PreviewFile = d.PreviewFile, + PchFileName = d.PchFileName, + NFileSize = d.NFileSize, + NPreviewFileSize = d.NPreviewFileSize, + RgchURL = d.RgchURL, + VotesUp = d.VotesUp, + VotesDown = d.VotesDown, + FlScore = d.FlScore, + NumChildren = d.NumChildren, }; } } @@ -3380,33 +3350,33 @@ public static implicit operator SteamUGCDetails_t ( SteamUGCDetails_t.PackSmal [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct SteamUGCQueryCompleted_t { - public ulong m_handle; // UGCQueryHandle_t - public Result m_eResult; // enum EResult - public uint m_unNumResultsReturned; // uint32 - public uint m_unTotalMatchingResults; // uint32 + public ulong Andle; // m_handle UGCQueryHandle_t + public Result Result; // m_eResult enum EResult + public uint NumResultsReturned; // m_unNumResultsReturned uint32 + public uint TotalMatchingResults; // m_unTotalMatchingResults uint32 [MarshalAs(UnmanagedType.I1)] - public bool m_bCachedData; // _Bool + public bool CachedData; // m_bCachedData _Bool public static SteamUGCQueryCompleted_t FromPointer( IntPtr p ) { return (SteamUGCQueryCompleted_t) Marshal.PtrToStructure( p, typeof(SteamUGCQueryCompleted_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_handle; // UGCQueryHandle_t - public Result m_eResult; // enum EResult - public uint m_unNumResultsReturned; // uint32 - public uint m_unTotalMatchingResults; // uint32 + public ulong Andle; // m_handle UGCQueryHandle_t + public Result Result; // m_eResult enum EResult + public uint NumResultsReturned; // m_unNumResultsReturned uint32 + public uint TotalMatchingResults; // m_unTotalMatchingResults uint32 [MarshalAs(UnmanagedType.I1)] - public bool m_bCachedData; // _Bool + public bool CachedData; // m_bCachedData _Bool - public static implicit operator SteamUGCQueryCompleted_t ( SteamUGCQueryCompleted_t.PackSmall d ) + public static implicit operator SteamUGCQueryCompleted_t ( SteamUGCQueryCompleted_t.PackSmall d ) { return new SteamUGCQueryCompleted_t() { - m_handle = d.m_handle, - m_eResult = d.m_eResult, - m_unNumResultsReturned = d.m_unNumResultsReturned, - m_unTotalMatchingResults = d.m_unTotalMatchingResults, - m_bCachedData = d.m_bCachedData, + Andle = d.Andle, + Result = d.Result, + NumResultsReturned = d.NumResultsReturned, + TotalMatchingResults = d.TotalMatchingResults, + CachedData = d.CachedData, }; } } @@ -3415,24 +3385,24 @@ public static implicit operator SteamUGCQueryCompleted_t ( SteamUGCQueryComple [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct SteamUGCRequestUGCDetailsResult_t { - public SteamUGCDetails_t m_details; // struct SteamUGCDetails_t + public SteamUGCDetails_t Details; // m_details struct SteamUGCDetails_t [MarshalAs(UnmanagedType.I1)] - public bool m_bCachedData; // _Bool + public bool CachedData; // m_bCachedData _Bool public static SteamUGCRequestUGCDetailsResult_t FromPointer( IntPtr p ) { return (SteamUGCRequestUGCDetailsResult_t) Marshal.PtrToStructure( p, typeof(SteamUGCRequestUGCDetailsResult_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public SteamUGCDetails_t m_details; // struct SteamUGCDetails_t + public SteamUGCDetails_t Details; // m_details struct SteamUGCDetails_t [MarshalAs(UnmanagedType.I1)] - public bool m_bCachedData; // _Bool + public bool CachedData; // m_bCachedData _Bool - public static implicit operator SteamUGCRequestUGCDetailsResult_t ( SteamUGCRequestUGCDetailsResult_t.PackSmall d ) + public static implicit operator SteamUGCRequestUGCDetailsResult_t ( SteamUGCRequestUGCDetailsResult_t.PackSmall d ) { return new SteamUGCRequestUGCDetailsResult_t() { - m_details = d.m_details, - m_bCachedData = d.m_bCachedData, + Details = d.Details, + CachedData = d.CachedData, }; } } @@ -3441,27 +3411,27 @@ public static implicit operator SteamUGCRequestUGCDetailsResult_t ( SteamUGCRe [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct CreateItemResult_t { - public Result m_eResult; // enum EResult - public ulong m_nPublishedFileId; // PublishedFileId_t + public Result Result; // m_eResult enum EResult + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t [MarshalAs(UnmanagedType.I1)] - public bool m_bUserNeedsToAcceptWorkshopLegalAgreement; // _Bool + public bool UserNeedsToAcceptWorkshopLegalAgreement; // m_bUserNeedsToAcceptWorkshopLegalAgreement _Bool public static CreateItemResult_t FromPointer( IntPtr p ) { return (CreateItemResult_t) Marshal.PtrToStructure( p, typeof(CreateItemResult_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult - public ulong m_nPublishedFileId; // PublishedFileId_t + public Result Result; // m_eResult enum EResult + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t [MarshalAs(UnmanagedType.I1)] - public bool m_bUserNeedsToAcceptWorkshopLegalAgreement; // _Bool + public bool UserNeedsToAcceptWorkshopLegalAgreement; // m_bUserNeedsToAcceptWorkshopLegalAgreement _Bool - public static implicit operator CreateItemResult_t ( CreateItemResult_t.PackSmall d ) + public static implicit operator CreateItemResult_t ( CreateItemResult_t.PackSmall d ) { return new CreateItemResult_t() { - m_eResult = d.m_eResult, - m_nPublishedFileId = d.m_nPublishedFileId, - m_bUserNeedsToAcceptWorkshopLegalAgreement = d.m_bUserNeedsToAcceptWorkshopLegalAgreement, + Result = d.Result, + NPublishedFileId = d.NPublishedFileId, + UserNeedsToAcceptWorkshopLegalAgreement = d.UserNeedsToAcceptWorkshopLegalAgreement, }; } } @@ -3470,24 +3440,24 @@ public static implicit operator CreateItemResult_t ( CreateItemResult_t.PackSm [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct SubmitItemUpdateResult_t { - public Result m_eResult; // enum EResult + public Result Result; // m_eResult enum EResult [MarshalAs(UnmanagedType.I1)] - public bool m_bUserNeedsToAcceptWorkshopLegalAgreement; // _Bool + public bool UserNeedsToAcceptWorkshopLegalAgreement; // m_bUserNeedsToAcceptWorkshopLegalAgreement _Bool public static SubmitItemUpdateResult_t FromPointer( IntPtr p ) { return (SubmitItemUpdateResult_t) Marshal.PtrToStructure( p, typeof(SubmitItemUpdateResult_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult + public Result Result; // m_eResult enum EResult [MarshalAs(UnmanagedType.I1)] - public bool m_bUserNeedsToAcceptWorkshopLegalAgreement; // _Bool + public bool UserNeedsToAcceptWorkshopLegalAgreement; // m_bUserNeedsToAcceptWorkshopLegalAgreement _Bool - public static implicit operator SubmitItemUpdateResult_t ( SubmitItemUpdateResult_t.PackSmall d ) + public static implicit operator SubmitItemUpdateResult_t ( SubmitItemUpdateResult_t.PackSmall d ) { return new SubmitItemUpdateResult_t() { - m_eResult = d.m_eResult, - m_bUserNeedsToAcceptWorkshopLegalAgreement = d.m_bUserNeedsToAcceptWorkshopLegalAgreement, + Result = d.Result, + UserNeedsToAcceptWorkshopLegalAgreement = d.UserNeedsToAcceptWorkshopLegalAgreement, }; } } @@ -3496,25 +3466,25 @@ public static implicit operator SubmitItemUpdateResult_t ( SubmitItemUpdateRes [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct DownloadItemResult_t { - public uint m_unAppID; // AppId_t - public ulong m_nPublishedFileId; // PublishedFileId_t - public Result m_eResult; // enum EResult + public uint AppID; // m_unAppID AppId_t + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t + public Result Result; // m_eResult enum EResult public static DownloadItemResult_t FromPointer( IntPtr p ) { return (DownloadItemResult_t) Marshal.PtrToStructure( p, typeof(DownloadItemResult_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint m_unAppID; // AppId_t - public ulong m_nPublishedFileId; // PublishedFileId_t - public Result m_eResult; // enum EResult + public uint AppID; // m_unAppID AppId_t + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t + public Result Result; // m_eResult enum EResult - public static implicit operator DownloadItemResult_t ( DownloadItemResult_t.PackSmall d ) + public static implicit operator DownloadItemResult_t ( DownloadItemResult_t.PackSmall d ) { return new DownloadItemResult_t() { - m_unAppID = d.m_unAppID, - m_nPublishedFileId = d.m_nPublishedFileId, - m_eResult = d.m_eResult, + AppID = d.AppID, + NPublishedFileId = d.NPublishedFileId, + Result = d.Result, }; } } @@ -3523,27 +3493,27 @@ public static implicit operator DownloadItemResult_t ( DownloadItemResult_t.Pa [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct UserFavoriteItemsListChanged_t { - public ulong m_nPublishedFileId; // PublishedFileId_t - public Result m_eResult; // enum EResult + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t + public Result Result; // m_eResult enum EResult [MarshalAs(UnmanagedType.I1)] - public bool m_bWasAddRequest; // _Bool + public bool WasAddRequest; // m_bWasAddRequest _Bool public static UserFavoriteItemsListChanged_t FromPointer( IntPtr p ) { return (UserFavoriteItemsListChanged_t) Marshal.PtrToStructure( p, typeof(UserFavoriteItemsListChanged_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_nPublishedFileId; // PublishedFileId_t - public Result m_eResult; // enum EResult + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t + public Result Result; // m_eResult enum EResult [MarshalAs(UnmanagedType.I1)] - public bool m_bWasAddRequest; // _Bool + public bool WasAddRequest; // m_bWasAddRequest _Bool - public static implicit operator UserFavoriteItemsListChanged_t ( UserFavoriteItemsListChanged_t.PackSmall d ) + public static implicit operator UserFavoriteItemsListChanged_t ( UserFavoriteItemsListChanged_t.PackSmall d ) { return new UserFavoriteItemsListChanged_t() { - m_nPublishedFileId = d.m_nPublishedFileId, - m_eResult = d.m_eResult, - m_bWasAddRequest = d.m_bWasAddRequest, + NPublishedFileId = d.NPublishedFileId, + Result = d.Result, + WasAddRequest = d.WasAddRequest, }; } } @@ -3552,27 +3522,27 @@ public static implicit operator UserFavoriteItemsListChanged_t ( UserFavoriteI [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct SetUserItemVoteResult_t { - public ulong m_nPublishedFileId; // PublishedFileId_t - public Result m_eResult; // enum EResult + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t + public Result Result; // m_eResult enum EResult [MarshalAs(UnmanagedType.I1)] - public bool m_bVoteUp; // _Bool + public bool VoteUp; // m_bVoteUp _Bool public static SetUserItemVoteResult_t FromPointer( IntPtr p ) { return (SetUserItemVoteResult_t) Marshal.PtrToStructure( p, typeof(SetUserItemVoteResult_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_nPublishedFileId; // PublishedFileId_t - public Result m_eResult; // enum EResult + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t + public Result Result; // m_eResult enum EResult [MarshalAs(UnmanagedType.I1)] - public bool m_bVoteUp; // _Bool + public bool VoteUp; // m_bVoteUp _Bool - public static implicit operator SetUserItemVoteResult_t ( SetUserItemVoteResult_t.PackSmall d ) + public static implicit operator SetUserItemVoteResult_t ( SetUserItemVoteResult_t.PackSmall d ) { return new SetUserItemVoteResult_t() { - m_nPublishedFileId = d.m_nPublishedFileId, - m_eResult = d.m_eResult, - m_bVoteUp = d.m_bVoteUp, + NPublishedFileId = d.NPublishedFileId, + Result = d.Result, + VoteUp = d.VoteUp, }; } } @@ -3581,37 +3551,37 @@ public static implicit operator SetUserItemVoteResult_t ( SetUserItemVoteResul [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct GetUserItemVoteResult_t { - public ulong m_nPublishedFileId; // PublishedFileId_t - public Result m_eResult; // enum EResult + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t + public Result Result; // m_eResult enum EResult [MarshalAs(UnmanagedType.I1)] - public bool m_bVotedUp; // _Bool + public bool VotedUp; // m_bVotedUp _Bool [MarshalAs(UnmanagedType.I1)] - public bool m_bVotedDown; // _Bool + public bool VotedDown; // m_bVotedDown _Bool [MarshalAs(UnmanagedType.I1)] - public bool m_bVoteSkipped; // _Bool + public bool VoteSkipped; // m_bVoteSkipped _Bool public static GetUserItemVoteResult_t FromPointer( IntPtr p ) { return (GetUserItemVoteResult_t) Marshal.PtrToStructure( p, typeof(GetUserItemVoteResult_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_nPublishedFileId; // PublishedFileId_t - public Result m_eResult; // enum EResult + public ulong NPublishedFileId; // m_nPublishedFileId PublishedFileId_t + public Result Result; // m_eResult enum EResult [MarshalAs(UnmanagedType.I1)] - public bool m_bVotedUp; // _Bool + public bool VotedUp; // m_bVotedUp _Bool [MarshalAs(UnmanagedType.I1)] - public bool m_bVotedDown; // _Bool + public bool VotedDown; // m_bVotedDown _Bool [MarshalAs(UnmanagedType.I1)] - public bool m_bVoteSkipped; // _Bool + public bool VoteSkipped; // m_bVoteSkipped _Bool - public static implicit operator GetUserItemVoteResult_t ( GetUserItemVoteResult_t.PackSmall d ) + public static implicit operator GetUserItemVoteResult_t ( GetUserItemVoteResult_t.PackSmall d ) { return new GetUserItemVoteResult_t() { - m_nPublishedFileId = d.m_nPublishedFileId, - m_eResult = d.m_eResult, - m_bVotedUp = d.m_bVotedUp, - m_bVotedDown = d.m_bVotedDown, - m_bVoteSkipped = d.m_bVoteSkipped, + NPublishedFileId = d.NPublishedFileId, + Result = d.Result, + VotedUp = d.VotedUp, + VotedDown = d.VotedDown, + VoteSkipped = d.VoteSkipped, }; } } @@ -3620,19 +3590,19 @@ public static implicit operator GetUserItemVoteResult_t ( GetUserItemVoteResul [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct SteamAppInstalled_t { - public uint m_nAppID; // AppId_t + public uint NAppID; // m_nAppID AppId_t public static SteamAppInstalled_t FromPointer( IntPtr p ) { return (SteamAppInstalled_t) Marshal.PtrToStructure( p, typeof(SteamAppInstalled_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint m_nAppID; // AppId_t + public uint NAppID; // m_nAppID AppId_t - public static implicit operator SteamAppInstalled_t ( SteamAppInstalled_t.PackSmall d ) + public static implicit operator SteamAppInstalled_t ( SteamAppInstalled_t.PackSmall d ) { return new SteamAppInstalled_t() { - m_nAppID = d.m_nAppID, + NAppID = d.NAppID, }; } } @@ -3641,19 +3611,19 @@ public static implicit operator SteamAppInstalled_t ( SteamAppInstalled_t.Pack [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct SteamAppUninstalled_t { - public uint m_nAppID; // AppId_t + public uint NAppID; // m_nAppID AppId_t public static SteamAppUninstalled_t FromPointer( IntPtr p ) { return (SteamAppUninstalled_t) Marshal.PtrToStructure( p, typeof(SteamAppUninstalled_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint m_nAppID; // AppId_t + public uint NAppID; // m_nAppID AppId_t - public static implicit operator SteamAppUninstalled_t ( SteamAppUninstalled_t.PackSmall d ) + public static implicit operator SteamAppUninstalled_t ( SteamAppUninstalled_t.PackSmall d ) { return new SteamAppUninstalled_t() { - m_nAppID = d.m_nAppID, + NAppID = d.NAppID, }; } } @@ -3662,19 +3632,19 @@ public static implicit operator SteamAppUninstalled_t ( SteamAppUninstalled_t. [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct HTML_BrowserReady_t { - public uint unBrowserHandle; // HHTMLBrowser + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser public static HTML_BrowserReady_t FromPointer( IntPtr p ) { return (HTML_BrowserReady_t) Marshal.PtrToStructure( p, typeof(HTML_BrowserReady_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint unBrowserHandle; // HHTMLBrowser + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser - public static implicit operator HTML_BrowserReady_t ( HTML_BrowserReady_t.PackSmall d ) + public static implicit operator HTML_BrowserReady_t ( HTML_BrowserReady_t.PackSmall d ) { return new HTML_BrowserReady_t() { - unBrowserHandle = d.unBrowserHandle, + UnBrowserHandle = d.UnBrowserHandle, }; } } @@ -3683,52 +3653,52 @@ public static implicit operator HTML_BrowserReady_t ( HTML_BrowserReady_t.Pack [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct HTML_NeedsPaint_t { - public uint unBrowserHandle; // HHTMLBrowser - public string pBGRA; // const char * - public uint unWide; // uint32 - public uint unTall; // uint32 - public uint unUpdateX; // uint32 - public uint unUpdateY; // uint32 - public uint unUpdateWide; // uint32 - public uint unUpdateTall; // uint32 - public uint unScrollX; // uint32 - public uint unScrollY; // uint32 - public float flPageScale; // float - public uint unPageSerial; // uint32 + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser + public string PBGRA; // pBGRA const char * + public uint UnWide; // unWide uint32 + public uint UnTall; // unTall uint32 + public uint UnUpdateX; // unUpdateX uint32 + public uint UnUpdateY; // unUpdateY uint32 + public uint UnUpdateWide; // unUpdateWide uint32 + public uint UnUpdateTall; // unUpdateTall uint32 + public uint UnScrollX; // unScrollX uint32 + public uint UnScrollY; // unScrollY uint32 + public float FlPageScale; // flPageScale float + public uint UnPageSerial; // unPageSerial uint32 public static HTML_NeedsPaint_t FromPointer( IntPtr p ) { return (HTML_NeedsPaint_t) Marshal.PtrToStructure( p, typeof(HTML_NeedsPaint_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint unBrowserHandle; // HHTMLBrowser - public string pBGRA; // const char * - public uint unWide; // uint32 - public uint unTall; // uint32 - public uint unUpdateX; // uint32 - public uint unUpdateY; // uint32 - public uint unUpdateWide; // uint32 - public uint unUpdateTall; // uint32 - public uint unScrollX; // uint32 - public uint unScrollY; // uint32 - public float flPageScale; // float - public uint unPageSerial; // uint32 + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser + public string PBGRA; // pBGRA const char * + public uint UnWide; // unWide uint32 + public uint UnTall; // unTall uint32 + public uint UnUpdateX; // unUpdateX uint32 + public uint UnUpdateY; // unUpdateY uint32 + public uint UnUpdateWide; // unUpdateWide uint32 + public uint UnUpdateTall; // unUpdateTall uint32 + public uint UnScrollX; // unScrollX uint32 + public uint UnScrollY; // unScrollY uint32 + public float FlPageScale; // flPageScale float + public uint UnPageSerial; // unPageSerial uint32 - public static implicit operator HTML_NeedsPaint_t ( HTML_NeedsPaint_t.PackSmall d ) + public static implicit operator HTML_NeedsPaint_t ( HTML_NeedsPaint_t.PackSmall d ) { return new HTML_NeedsPaint_t() { - unBrowserHandle = d.unBrowserHandle, - pBGRA = d.pBGRA, - unWide = d.unWide, - unTall = d.unTall, - unUpdateX = d.unUpdateX, - unUpdateY = d.unUpdateY, - unUpdateWide = d.unUpdateWide, - unUpdateTall = d.unUpdateTall, - unScrollX = d.unScrollX, - unScrollY = d.unScrollY, - flPageScale = d.flPageScale, - unPageSerial = d.unPageSerial, + UnBrowserHandle = d.UnBrowserHandle, + PBGRA = d.PBGRA, + UnWide = d.UnWide, + UnTall = d.UnTall, + UnUpdateX = d.UnUpdateX, + UnUpdateY = d.UnUpdateY, + UnUpdateWide = d.UnUpdateWide, + UnUpdateTall = d.UnUpdateTall, + UnScrollX = d.UnScrollX, + UnScrollY = d.UnScrollY, + FlPageScale = d.FlPageScale, + UnPageSerial = d.UnPageSerial, }; } } @@ -3737,33 +3707,33 @@ public static implicit operator HTML_NeedsPaint_t ( HTML_NeedsPaint_t.PackSmal [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct HTML_StartRequest_t { - public uint unBrowserHandle; // HHTMLBrowser - public string pchURL; // const char * - public string pchTarget; // const char * - public string pchPostData; // const char * + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser + public string PchURL; // pchURL const char * + public string PchTarget; // pchTarget const char * + public string PchPostData; // pchPostData const char * [MarshalAs(UnmanagedType.I1)] - public bool bIsRedirect; // _Bool + public bool BIsRedirect; // bIsRedirect _Bool public static HTML_StartRequest_t FromPointer( IntPtr p ) { return (HTML_StartRequest_t) Marshal.PtrToStructure( p, typeof(HTML_StartRequest_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint unBrowserHandle; // HHTMLBrowser - public string pchURL; // const char * - public string pchTarget; // const char * - public string pchPostData; // const char * + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser + public string PchURL; // pchURL const char * + public string PchTarget; // pchTarget const char * + public string PchPostData; // pchPostData const char * [MarshalAs(UnmanagedType.I1)] - public bool bIsRedirect; // _Bool + public bool BIsRedirect; // bIsRedirect _Bool - public static implicit operator HTML_StartRequest_t ( HTML_StartRequest_t.PackSmall d ) + public static implicit operator HTML_StartRequest_t ( HTML_StartRequest_t.PackSmall d ) { return new HTML_StartRequest_t() { - unBrowserHandle = d.unBrowserHandle, - pchURL = d.pchURL, - pchTarget = d.pchTarget, - pchPostData = d.pchPostData, - bIsRedirect = d.bIsRedirect, + UnBrowserHandle = d.UnBrowserHandle, + PchURL = d.PchURL, + PchTarget = d.PchTarget, + PchPostData = d.PchPostData, + BIsRedirect = d.BIsRedirect, }; } } @@ -3772,19 +3742,19 @@ public static implicit operator HTML_StartRequest_t ( HTML_StartRequest_t.Pack [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct HTML_CloseBrowser_t { - public uint unBrowserHandle; // HHTMLBrowser + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser public static HTML_CloseBrowser_t FromPointer( IntPtr p ) { return (HTML_CloseBrowser_t) Marshal.PtrToStructure( p, typeof(HTML_CloseBrowser_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint unBrowserHandle; // HHTMLBrowser + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser - public static implicit operator HTML_CloseBrowser_t ( HTML_CloseBrowser_t.PackSmall d ) + public static implicit operator HTML_CloseBrowser_t ( HTML_CloseBrowser_t.PackSmall d ) { return new HTML_CloseBrowser_t() { - unBrowserHandle = d.unBrowserHandle, + UnBrowserHandle = d.UnBrowserHandle, }; } } @@ -3793,38 +3763,38 @@ public static implicit operator HTML_CloseBrowser_t ( HTML_CloseBrowser_t.Pack [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct HTML_URLChanged_t { - public uint unBrowserHandle; // HHTMLBrowser - public string pchURL; // const char * - public string pchPostData; // const char * + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser + public string PchURL; // pchURL const char * + public string PchPostData; // pchPostData const char * [MarshalAs(UnmanagedType.I1)] - public bool bIsRedirect; // _Bool - public string pchPageTitle; // const char * + public bool BIsRedirect; // bIsRedirect _Bool + public string PchPageTitle; // pchPageTitle const char * [MarshalAs(UnmanagedType.I1)] - public bool bNewNavigation; // _Bool + public bool BNewNavigation; // bNewNavigation _Bool public static HTML_URLChanged_t FromPointer( IntPtr p ) { return (HTML_URLChanged_t) Marshal.PtrToStructure( p, typeof(HTML_URLChanged_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint unBrowserHandle; // HHTMLBrowser - public string pchURL; // const char * - public string pchPostData; // const char * + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser + public string PchURL; // pchURL const char * + public string PchPostData; // pchPostData const char * [MarshalAs(UnmanagedType.I1)] - public bool bIsRedirect; // _Bool - public string pchPageTitle; // const char * + public bool BIsRedirect; // bIsRedirect _Bool + public string PchPageTitle; // pchPageTitle const char * [MarshalAs(UnmanagedType.I1)] - public bool bNewNavigation; // _Bool + public bool BNewNavigation; // bNewNavigation _Bool - public static implicit operator HTML_URLChanged_t ( HTML_URLChanged_t.PackSmall d ) + public static implicit operator HTML_URLChanged_t ( HTML_URLChanged_t.PackSmall d ) { return new HTML_URLChanged_t() { - unBrowserHandle = d.unBrowserHandle, - pchURL = d.pchURL, - pchPostData = d.pchPostData, - bIsRedirect = d.bIsRedirect, - pchPageTitle = d.pchPageTitle, - bNewNavigation = d.bNewNavigation, + UnBrowserHandle = d.UnBrowserHandle, + PchURL = d.PchURL, + PchPostData = d.PchPostData, + BIsRedirect = d.BIsRedirect, + PchPageTitle = d.PchPageTitle, + BNewNavigation = d.BNewNavigation, }; } } @@ -3833,25 +3803,25 @@ public static implicit operator HTML_URLChanged_t ( HTML_URLChanged_t.PackSmal [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct HTML_FinishedRequest_t { - public uint unBrowserHandle; // HHTMLBrowser - public string pchURL; // const char * - public string pchPageTitle; // const char * + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser + public string PchURL; // pchURL const char * + public string PchPageTitle; // pchPageTitle const char * public static HTML_FinishedRequest_t FromPointer( IntPtr p ) { return (HTML_FinishedRequest_t) Marshal.PtrToStructure( p, typeof(HTML_FinishedRequest_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint unBrowserHandle; // HHTMLBrowser - public string pchURL; // const char * - public string pchPageTitle; // const char * + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser + public string PchURL; // pchURL const char * + public string PchPageTitle; // pchPageTitle const char * - public static implicit operator HTML_FinishedRequest_t ( HTML_FinishedRequest_t.PackSmall d ) + public static implicit operator HTML_FinishedRequest_t ( HTML_FinishedRequest_t.PackSmall d ) { return new HTML_FinishedRequest_t() { - unBrowserHandle = d.unBrowserHandle, - pchURL = d.pchURL, - pchPageTitle = d.pchPageTitle, + UnBrowserHandle = d.UnBrowserHandle, + PchURL = d.PchURL, + PchPageTitle = d.PchPageTitle, }; } } @@ -3860,22 +3830,22 @@ public static implicit operator HTML_FinishedRequest_t ( HTML_FinishedRequest_ [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct HTML_OpenLinkInNewTab_t { - public uint unBrowserHandle; // HHTMLBrowser - public string pchURL; // const char * + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser + public string PchURL; // pchURL const char * public static HTML_OpenLinkInNewTab_t FromPointer( IntPtr p ) { return (HTML_OpenLinkInNewTab_t) Marshal.PtrToStructure( p, typeof(HTML_OpenLinkInNewTab_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint unBrowserHandle; // HHTMLBrowser - public string pchURL; // const char * + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser + public string PchURL; // pchURL const char * - public static implicit operator HTML_OpenLinkInNewTab_t ( HTML_OpenLinkInNewTab_t.PackSmall d ) + public static implicit operator HTML_OpenLinkInNewTab_t ( HTML_OpenLinkInNewTab_t.PackSmall d ) { return new HTML_OpenLinkInNewTab_t() { - unBrowserHandle = d.unBrowserHandle, - pchURL = d.pchURL, + UnBrowserHandle = d.UnBrowserHandle, + PchURL = d.PchURL, }; } } @@ -3884,22 +3854,22 @@ public static implicit operator HTML_OpenLinkInNewTab_t ( HTML_OpenLinkInNewTa [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct HTML_ChangedTitle_t { - public uint unBrowserHandle; // HHTMLBrowser - public string pchTitle; // const char * + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser + public string PchTitle; // pchTitle const char * public static HTML_ChangedTitle_t FromPointer( IntPtr p ) { return (HTML_ChangedTitle_t) Marshal.PtrToStructure( p, typeof(HTML_ChangedTitle_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint unBrowserHandle; // HHTMLBrowser - public string pchTitle; // const char * + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser + public string PchTitle; // pchTitle const char * - public static implicit operator HTML_ChangedTitle_t ( HTML_ChangedTitle_t.PackSmall d ) + public static implicit operator HTML_ChangedTitle_t ( HTML_ChangedTitle_t.PackSmall d ) { return new HTML_ChangedTitle_t() { - unBrowserHandle = d.unBrowserHandle, - pchTitle = d.pchTitle, + UnBrowserHandle = d.UnBrowserHandle, + PchTitle = d.PchTitle, }; } } @@ -3908,25 +3878,25 @@ public static implicit operator HTML_ChangedTitle_t ( HTML_ChangedTitle_t.Pack [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct HTML_SearchResults_t { - public uint unBrowserHandle; // HHTMLBrowser - public uint unResults; // uint32 - public uint unCurrentMatch; // uint32 + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser + public uint UnResults; // unResults uint32 + public uint UnCurrentMatch; // unCurrentMatch uint32 public static HTML_SearchResults_t FromPointer( IntPtr p ) { return (HTML_SearchResults_t) Marshal.PtrToStructure( p, typeof(HTML_SearchResults_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint unBrowserHandle; // HHTMLBrowser - public uint unResults; // uint32 - public uint unCurrentMatch; // uint32 + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser + public uint UnResults; // unResults uint32 + public uint UnCurrentMatch; // unCurrentMatch uint32 - public static implicit operator HTML_SearchResults_t ( HTML_SearchResults_t.PackSmall d ) + public static implicit operator HTML_SearchResults_t ( HTML_SearchResults_t.PackSmall d ) { return new HTML_SearchResults_t() { - unBrowserHandle = d.unBrowserHandle, - unResults = d.unResults, - unCurrentMatch = d.unCurrentMatch, + UnBrowserHandle = d.UnBrowserHandle, + UnResults = d.UnResults, + UnCurrentMatch = d.UnCurrentMatch, }; } } @@ -3935,29 +3905,29 @@ public static implicit operator HTML_SearchResults_t ( HTML_SearchResults_t.Pa [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct HTML_CanGoBackAndForward_t { - public uint unBrowserHandle; // HHTMLBrowser + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser [MarshalAs(UnmanagedType.I1)] - public bool bCanGoBack; // _Bool + public bool BCanGoBack; // bCanGoBack _Bool [MarshalAs(UnmanagedType.I1)] - public bool bCanGoForward; // _Bool + public bool BCanGoForward; // bCanGoForward _Bool public static HTML_CanGoBackAndForward_t FromPointer( IntPtr p ) { return (HTML_CanGoBackAndForward_t) Marshal.PtrToStructure( p, typeof(HTML_CanGoBackAndForward_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint unBrowserHandle; // HHTMLBrowser + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser [MarshalAs(UnmanagedType.I1)] - public bool bCanGoBack; // _Bool + public bool BCanGoBack; // bCanGoBack _Bool [MarshalAs(UnmanagedType.I1)] - public bool bCanGoForward; // _Bool + public bool BCanGoForward; // bCanGoForward _Bool - public static implicit operator HTML_CanGoBackAndForward_t ( HTML_CanGoBackAndForward_t.PackSmall d ) + public static implicit operator HTML_CanGoBackAndForward_t ( HTML_CanGoBackAndForward_t.PackSmall d ) { return new HTML_CanGoBackAndForward_t() { - unBrowserHandle = d.unBrowserHandle, - bCanGoBack = d.bCanGoBack, - bCanGoForward = d.bCanGoForward, + UnBrowserHandle = d.UnBrowserHandle, + BCanGoBack = d.BCanGoBack, + BCanGoForward = d.BCanGoForward, }; } } @@ -3966,36 +3936,36 @@ public static implicit operator HTML_CanGoBackAndForward_t ( HTML_CanGoBackAnd [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct HTML_HorizontalScroll_t { - public uint unBrowserHandle; // HHTMLBrowser - public uint unScrollMax; // uint32 - public uint unScrollCurrent; // uint32 - public float flPageScale; // float + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser + public uint UnScrollMax; // unScrollMax uint32 + public uint UnScrollCurrent; // unScrollCurrent uint32 + public float FlPageScale; // flPageScale float [MarshalAs(UnmanagedType.I1)] - public bool bVisible; // _Bool - public uint unPageSize; // uint32 + public bool BVisible; // bVisible _Bool + public uint UnPageSize; // unPageSize uint32 public static HTML_HorizontalScroll_t FromPointer( IntPtr p ) { return (HTML_HorizontalScroll_t) Marshal.PtrToStructure( p, typeof(HTML_HorizontalScroll_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint unBrowserHandle; // HHTMLBrowser - public uint unScrollMax; // uint32 - public uint unScrollCurrent; // uint32 - public float flPageScale; // float + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser + public uint UnScrollMax; // unScrollMax uint32 + public uint UnScrollCurrent; // unScrollCurrent uint32 + public float FlPageScale; // flPageScale float [MarshalAs(UnmanagedType.I1)] - public bool bVisible; // _Bool - public uint unPageSize; // uint32 + public bool BVisible; // bVisible _Bool + public uint UnPageSize; // unPageSize uint32 - public static implicit operator HTML_HorizontalScroll_t ( HTML_HorizontalScroll_t.PackSmall d ) + public static implicit operator HTML_HorizontalScroll_t ( HTML_HorizontalScroll_t.PackSmall d ) { return new HTML_HorizontalScroll_t() { - unBrowserHandle = d.unBrowserHandle, - unScrollMax = d.unScrollMax, - unScrollCurrent = d.unScrollCurrent, - flPageScale = d.flPageScale, - bVisible = d.bVisible, - unPageSize = d.unPageSize, + UnBrowserHandle = d.UnBrowserHandle, + UnScrollMax = d.UnScrollMax, + UnScrollCurrent = d.UnScrollCurrent, + FlPageScale = d.FlPageScale, + BVisible = d.BVisible, + UnPageSize = d.UnPageSize, }; } } @@ -4004,36 +3974,36 @@ public static implicit operator HTML_HorizontalScroll_t ( HTML_HorizontalScrol [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct HTML_VerticalScroll_t { - public uint unBrowserHandle; // HHTMLBrowser - public uint unScrollMax; // uint32 - public uint unScrollCurrent; // uint32 - public float flPageScale; // float + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser + public uint UnScrollMax; // unScrollMax uint32 + public uint UnScrollCurrent; // unScrollCurrent uint32 + public float FlPageScale; // flPageScale float [MarshalAs(UnmanagedType.I1)] - public bool bVisible; // _Bool - public uint unPageSize; // uint32 + public bool BVisible; // bVisible _Bool + public uint UnPageSize; // unPageSize uint32 public static HTML_VerticalScroll_t FromPointer( IntPtr p ) { return (HTML_VerticalScroll_t) Marshal.PtrToStructure( p, typeof(HTML_VerticalScroll_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint unBrowserHandle; // HHTMLBrowser - public uint unScrollMax; // uint32 - public uint unScrollCurrent; // uint32 - public float flPageScale; // float + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser + public uint UnScrollMax; // unScrollMax uint32 + public uint UnScrollCurrent; // unScrollCurrent uint32 + public float FlPageScale; // flPageScale float [MarshalAs(UnmanagedType.I1)] - public bool bVisible; // _Bool - public uint unPageSize; // uint32 + public bool BVisible; // bVisible _Bool + public uint UnPageSize; // unPageSize uint32 - public static implicit operator HTML_VerticalScroll_t ( HTML_VerticalScroll_t.PackSmall d ) + public static implicit operator HTML_VerticalScroll_t ( HTML_VerticalScroll_t.PackSmall d ) { return new HTML_VerticalScroll_t() { - unBrowserHandle = d.unBrowserHandle, - unScrollMax = d.unScrollMax, - unScrollCurrent = d.unScrollCurrent, - flPageScale = d.flPageScale, - bVisible = d.bVisible, - unPageSize = d.unPageSize, + UnBrowserHandle = d.UnBrowserHandle, + UnScrollMax = d.UnScrollMax, + UnScrollCurrent = d.UnScrollCurrent, + FlPageScale = d.FlPageScale, + BVisible = d.BVisible, + UnPageSize = d.UnPageSize, }; } } @@ -4042,38 +4012,38 @@ public static implicit operator HTML_VerticalScroll_t ( HTML_VerticalScroll_t. [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct HTML_LinkAtPosition_t { - public uint unBrowserHandle; // HHTMLBrowser - public uint x; // uint32 - public uint y; // uint32 - public string pchURL; // const char * + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser + public uint X; // x uint32 + public uint Y; // y uint32 + public string PchURL; // pchURL const char * [MarshalAs(UnmanagedType.I1)] - public bool bInput; // _Bool + public bool BInput; // bInput _Bool [MarshalAs(UnmanagedType.I1)] - public bool bLiveLink; // _Bool + public bool BLiveLink; // bLiveLink _Bool public static HTML_LinkAtPosition_t FromPointer( IntPtr p ) { return (HTML_LinkAtPosition_t) Marshal.PtrToStructure( p, typeof(HTML_LinkAtPosition_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint unBrowserHandle; // HHTMLBrowser - public uint x; // uint32 - public uint y; // uint32 - public string pchURL; // const char * + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser + public uint X; // x uint32 + public uint Y; // y uint32 + public string PchURL; // pchURL const char * [MarshalAs(UnmanagedType.I1)] - public bool bInput; // _Bool + public bool BInput; // bInput _Bool [MarshalAs(UnmanagedType.I1)] - public bool bLiveLink; // _Bool + public bool BLiveLink; // bLiveLink _Bool - public static implicit operator HTML_LinkAtPosition_t ( HTML_LinkAtPosition_t.PackSmall d ) + public static implicit operator HTML_LinkAtPosition_t ( HTML_LinkAtPosition_t.PackSmall d ) { return new HTML_LinkAtPosition_t() { - unBrowserHandle = d.unBrowserHandle, - x = d.x, - y = d.y, - pchURL = d.pchURL, - bInput = d.bInput, - bLiveLink = d.bLiveLink, + UnBrowserHandle = d.UnBrowserHandle, + X = d.X, + Y = d.Y, + PchURL = d.PchURL, + BInput = d.BInput, + BLiveLink = d.BLiveLink, }; } } @@ -4082,22 +4052,22 @@ public static implicit operator HTML_LinkAtPosition_t ( HTML_LinkAtPosition_t. [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct HTML_JSAlert_t { - public uint unBrowserHandle; // HHTMLBrowser - public string pchMessage; // const char * + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser + public string PchMessage; // pchMessage const char * public static HTML_JSAlert_t FromPointer( IntPtr p ) { return (HTML_JSAlert_t) Marshal.PtrToStructure( p, typeof(HTML_JSAlert_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint unBrowserHandle; // HHTMLBrowser - public string pchMessage; // const char * + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser + public string PchMessage; // pchMessage const char * - public static implicit operator HTML_JSAlert_t ( HTML_JSAlert_t.PackSmall d ) + public static implicit operator HTML_JSAlert_t ( HTML_JSAlert_t.PackSmall d ) { return new HTML_JSAlert_t() { - unBrowserHandle = d.unBrowserHandle, - pchMessage = d.pchMessage, + UnBrowserHandle = d.UnBrowserHandle, + PchMessage = d.PchMessage, }; } } @@ -4106,22 +4076,22 @@ public static implicit operator HTML_JSAlert_t ( HTML_JSAlert_t.PackSmall d ) [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct HTML_JSConfirm_t { - public uint unBrowserHandle; // HHTMLBrowser - public string pchMessage; // const char * + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser + public string PchMessage; // pchMessage const char * public static HTML_JSConfirm_t FromPointer( IntPtr p ) { return (HTML_JSConfirm_t) Marshal.PtrToStructure( p, typeof(HTML_JSConfirm_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint unBrowserHandle; // HHTMLBrowser - public string pchMessage; // const char * + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser + public string PchMessage; // pchMessage const char * - public static implicit operator HTML_JSConfirm_t ( HTML_JSConfirm_t.PackSmall d ) + public static implicit operator HTML_JSConfirm_t ( HTML_JSConfirm_t.PackSmall d ) { return new HTML_JSConfirm_t() { - unBrowserHandle = d.unBrowserHandle, - pchMessage = d.pchMessage, + UnBrowserHandle = d.UnBrowserHandle, + PchMessage = d.PchMessage, }; } } @@ -4130,25 +4100,25 @@ public static implicit operator HTML_JSConfirm_t ( HTML_JSConfirm_t.PackSmall [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct HTML_FileOpenDialog_t { - public uint unBrowserHandle; // HHTMLBrowser - public string pchTitle; // const char * - public string pchInitialFile; // const char * + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser + public string PchTitle; // pchTitle const char * + public string PchInitialFile; // pchInitialFile const char * public static HTML_FileOpenDialog_t FromPointer( IntPtr p ) { return (HTML_FileOpenDialog_t) Marshal.PtrToStructure( p, typeof(HTML_FileOpenDialog_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint unBrowserHandle; // HHTMLBrowser - public string pchTitle; // const char * - public string pchInitialFile; // const char * + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser + public string PchTitle; // pchTitle const char * + public string PchInitialFile; // pchInitialFile const char * - public static implicit operator HTML_FileOpenDialog_t ( HTML_FileOpenDialog_t.PackSmall d ) + public static implicit operator HTML_FileOpenDialog_t ( HTML_FileOpenDialog_t.PackSmall d ) { return new HTML_FileOpenDialog_t() { - unBrowserHandle = d.unBrowserHandle, - pchTitle = d.pchTitle, - pchInitialFile = d.pchInitialFile, + UnBrowserHandle = d.UnBrowserHandle, + PchTitle = d.PchTitle, + PchInitialFile = d.PchInitialFile, }; } } @@ -4157,37 +4127,37 @@ public static implicit operator HTML_FileOpenDialog_t ( HTML_FileOpenDialog_t. [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct HTML_NewWindow_t { - public uint unBrowserHandle; // HHTMLBrowser - public string pchURL; // const char * - public uint unX; // uint32 - public uint unY; // uint32 - public uint unWide; // uint32 - public uint unTall; // uint32 - public uint unNewWindow_BrowserHandle; // HHTMLBrowser + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser + public string PchURL; // pchURL const char * + public uint UnX; // unX uint32 + public uint UnY; // unY uint32 + public uint UnWide; // unWide uint32 + public uint UnTall; // unTall uint32 + public uint UnNewWindow_BrowserHandle; // unNewWindow_BrowserHandle HHTMLBrowser public static HTML_NewWindow_t FromPointer( IntPtr p ) { return (HTML_NewWindow_t) Marshal.PtrToStructure( p, typeof(HTML_NewWindow_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint unBrowserHandle; // HHTMLBrowser - public string pchURL; // const char * - public uint unX; // uint32 - public uint unY; // uint32 - public uint unWide; // uint32 - public uint unTall; // uint32 - public uint unNewWindow_BrowserHandle; // HHTMLBrowser + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser + public string PchURL; // pchURL const char * + public uint UnX; // unX uint32 + public uint UnY; // unY uint32 + public uint UnWide; // unWide uint32 + public uint UnTall; // unTall uint32 + public uint UnNewWindow_BrowserHandle; // unNewWindow_BrowserHandle HHTMLBrowser - public static implicit operator HTML_NewWindow_t ( HTML_NewWindow_t.PackSmall d ) + public static implicit operator HTML_NewWindow_t ( HTML_NewWindow_t.PackSmall d ) { return new HTML_NewWindow_t() { - unBrowserHandle = d.unBrowserHandle, - pchURL = d.pchURL, - unX = d.unX, - unY = d.unY, - unWide = d.unWide, - unTall = d.unTall, - unNewWindow_BrowserHandle = d.unNewWindow_BrowserHandle, + UnBrowserHandle = d.UnBrowserHandle, + PchURL = d.PchURL, + UnX = d.UnX, + UnY = d.UnY, + UnWide = d.UnWide, + UnTall = d.UnTall, + UnNewWindow_BrowserHandle = d.UnNewWindow_BrowserHandle, }; } } @@ -4196,22 +4166,22 @@ public static implicit operator HTML_NewWindow_t ( HTML_NewWindow_t.PackSmall [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct HTML_SetCursor_t { - public uint unBrowserHandle; // HHTMLBrowser - public uint eMouseCursor; // uint32 + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser + public uint EMouseCursor; // eMouseCursor uint32 public static HTML_SetCursor_t FromPointer( IntPtr p ) { return (HTML_SetCursor_t) Marshal.PtrToStructure( p, typeof(HTML_SetCursor_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint unBrowserHandle; // HHTMLBrowser - public uint eMouseCursor; // uint32 + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser + public uint EMouseCursor; // eMouseCursor uint32 - public static implicit operator HTML_SetCursor_t ( HTML_SetCursor_t.PackSmall d ) + public static implicit operator HTML_SetCursor_t ( HTML_SetCursor_t.PackSmall d ) { return new HTML_SetCursor_t() { - unBrowserHandle = d.unBrowserHandle, - eMouseCursor = d.eMouseCursor, + UnBrowserHandle = d.UnBrowserHandle, + EMouseCursor = d.EMouseCursor, }; } } @@ -4220,22 +4190,22 @@ public static implicit operator HTML_SetCursor_t ( HTML_SetCursor_t.PackSmall [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct HTML_StatusText_t { - public uint unBrowserHandle; // HHTMLBrowser - public string pchMsg; // const char * + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser + public string PchMsg; // pchMsg const char * public static HTML_StatusText_t FromPointer( IntPtr p ) { return (HTML_StatusText_t) Marshal.PtrToStructure( p, typeof(HTML_StatusText_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint unBrowserHandle; // HHTMLBrowser - public string pchMsg; // const char * + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser + public string PchMsg; // pchMsg const char * - public static implicit operator HTML_StatusText_t ( HTML_StatusText_t.PackSmall d ) + public static implicit operator HTML_StatusText_t ( HTML_StatusText_t.PackSmall d ) { return new HTML_StatusText_t() { - unBrowserHandle = d.unBrowserHandle, - pchMsg = d.pchMsg, + UnBrowserHandle = d.UnBrowserHandle, + PchMsg = d.PchMsg, }; } } @@ -4244,22 +4214,22 @@ public static implicit operator HTML_StatusText_t ( HTML_StatusText_t.PackSmal [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct HTML_ShowToolTip_t { - public uint unBrowserHandle; // HHTMLBrowser - public string pchMsg; // const char * + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser + public string PchMsg; // pchMsg const char * public static HTML_ShowToolTip_t FromPointer( IntPtr p ) { return (HTML_ShowToolTip_t) Marshal.PtrToStructure( p, typeof(HTML_ShowToolTip_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint unBrowserHandle; // HHTMLBrowser - public string pchMsg; // const char * + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser + public string PchMsg; // pchMsg const char * - public static implicit operator HTML_ShowToolTip_t ( HTML_ShowToolTip_t.PackSmall d ) + public static implicit operator HTML_ShowToolTip_t ( HTML_ShowToolTip_t.PackSmall d ) { return new HTML_ShowToolTip_t() { - unBrowserHandle = d.unBrowserHandle, - pchMsg = d.pchMsg, + UnBrowserHandle = d.UnBrowserHandle, + PchMsg = d.PchMsg, }; } } @@ -4268,22 +4238,22 @@ public static implicit operator HTML_ShowToolTip_t ( HTML_ShowToolTip_t.PackSm [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct HTML_UpdateToolTip_t { - public uint unBrowserHandle; // HHTMLBrowser - public string pchMsg; // const char * + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser + public string PchMsg; // pchMsg const char * public static HTML_UpdateToolTip_t FromPointer( IntPtr p ) { return (HTML_UpdateToolTip_t) Marshal.PtrToStructure( p, typeof(HTML_UpdateToolTip_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint unBrowserHandle; // HHTMLBrowser - public string pchMsg; // const char * + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser + public string PchMsg; // pchMsg const char * - public static implicit operator HTML_UpdateToolTip_t ( HTML_UpdateToolTip_t.PackSmall d ) + public static implicit operator HTML_UpdateToolTip_t ( HTML_UpdateToolTip_t.PackSmall d ) { return new HTML_UpdateToolTip_t() { - unBrowserHandle = d.unBrowserHandle, - pchMsg = d.pchMsg, + UnBrowserHandle = d.UnBrowserHandle, + PchMsg = d.PchMsg, }; } } @@ -4292,19 +4262,19 @@ public static implicit operator HTML_UpdateToolTip_t ( HTML_UpdateToolTip_t.Pa [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct HTML_HideToolTip_t { - public uint unBrowserHandle; // HHTMLBrowser + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser public static HTML_HideToolTip_t FromPointer( IntPtr p ) { return (HTML_HideToolTip_t) Marshal.PtrToStructure( p, typeof(HTML_HideToolTip_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public uint unBrowserHandle; // HHTMLBrowser + public uint UnBrowserHandle; // unBrowserHandle HHTMLBrowser - public static implicit operator HTML_HideToolTip_t ( HTML_HideToolTip_t.PackSmall d ) + public static implicit operator HTML_HideToolTip_t ( HTML_HideToolTip_t.PackSmall d ) { return new HTML_HideToolTip_t() { - unBrowserHandle = d.unBrowserHandle, + UnBrowserHandle = d.UnBrowserHandle, }; } } @@ -4313,28 +4283,28 @@ public static implicit operator HTML_HideToolTip_t ( HTML_HideToolTip_t.PackSm [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct SteamItemDetails_t { - public ulong m_itemId; // SteamItemInstanceID_t - public int m_iDefinition; // SteamItemDef_t - public ushort m_unQuantity; // uint16 - public ushort m_unFlags; // uint16 + public ulong TemId; // m_itemId SteamItemInstanceID_t + public int Definition; // m_iDefinition SteamItemDef_t + public ushort Quantity; // m_unQuantity uint16 + public ushort Flags; // m_unFlags uint16 public static SteamItemDetails_t FromPointer( IntPtr p ) { return (SteamItemDetails_t) Marshal.PtrToStructure( p, typeof(SteamItemDetails_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_itemId; // SteamItemInstanceID_t - public int m_iDefinition; // SteamItemDef_t - public ushort m_unQuantity; // uint16 - public ushort m_unFlags; // uint16 + public ulong TemId; // m_itemId SteamItemInstanceID_t + public int Definition; // m_iDefinition SteamItemDef_t + public ushort Quantity; // m_unQuantity uint16 + public ushort Flags; // m_unFlags uint16 - public static implicit operator SteamItemDetails_t ( SteamItemDetails_t.PackSmall d ) + public static implicit operator SteamItemDetails_t ( SteamItemDetails_t.PackSmall d ) { return new SteamItemDetails_t() { - m_itemId = d.m_itemId, - m_iDefinition = d.m_iDefinition, - m_unQuantity = d.m_unQuantity, - m_unFlags = d.m_unFlags, + TemId = d.TemId, + Definition = d.Definition, + Quantity = d.Quantity, + Flags = d.Flags, }; } } @@ -4343,22 +4313,22 @@ public static implicit operator SteamItemDetails_t ( SteamItemDetails_t.PackSm [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct SteamInventoryResultReady_t { - public int m_handle; // SteamInventoryResult_t - public Result m_result; // enum EResult + public int Andle; // m_handle SteamInventoryResult_t + public Result Result; // m_result enum EResult public static SteamInventoryResultReady_t FromPointer( IntPtr p ) { return (SteamInventoryResultReady_t) Marshal.PtrToStructure( p, typeof(SteamInventoryResultReady_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public int m_handle; // SteamInventoryResult_t - public Result m_result; // enum EResult + public int Andle; // m_handle SteamInventoryResult_t + public Result Result; // m_result enum EResult - public static implicit operator SteamInventoryResultReady_t ( SteamInventoryResultReady_t.PackSmall d ) + public static implicit operator SteamInventoryResultReady_t ( SteamInventoryResultReady_t.PackSmall d ) { return new SteamInventoryResultReady_t() { - m_handle = d.m_handle, - m_result = d.m_result, + Andle = d.Andle, + Result = d.Result, }; } } @@ -4367,19 +4337,19 @@ public static implicit operator SteamInventoryResultReady_t ( SteamInventoryRe [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct SteamInventoryFullUpdate_t { - public int m_handle; // SteamInventoryResult_t + public int Andle; // m_handle SteamInventoryResult_t public static SteamInventoryFullUpdate_t FromPointer( IntPtr p ) { return (SteamInventoryFullUpdate_t) Marshal.PtrToStructure( p, typeof(SteamInventoryFullUpdate_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public int m_handle; // SteamInventoryResult_t + public int Andle; // m_handle SteamInventoryResult_t - public static implicit operator SteamInventoryFullUpdate_t ( SteamInventoryFullUpdate_t.PackSmall d ) + public static implicit operator SteamInventoryFullUpdate_t ( SteamInventoryFullUpdate_t.PackSmall d ) { return new SteamInventoryFullUpdate_t() { - m_handle = d.m_handle, + Andle = d.Andle, }; } } @@ -4388,19 +4358,19 @@ public static implicit operator SteamInventoryFullUpdate_t ( SteamInventoryFul [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct BroadcastUploadStop_t { - public BroadcastUploadResult m_eResult; // enum EBroadcastUploadResult + public BroadcastUploadResult Result; // m_eResult enum EBroadcastUploadResult public static BroadcastUploadStop_t FromPointer( IntPtr p ) { return (BroadcastUploadStop_t) Marshal.PtrToStructure( p, typeof(BroadcastUploadStop_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public BroadcastUploadResult m_eResult; // enum EBroadcastUploadResult + public BroadcastUploadResult Result; // m_eResult enum EBroadcastUploadResult - public static implicit operator BroadcastUploadStop_t ( BroadcastUploadStop_t.PackSmall d ) + public static implicit operator BroadcastUploadStop_t ( BroadcastUploadStop_t.PackSmall d ) { return new BroadcastUploadStop_t() { - m_eResult = d.m_eResult, + Result = d.Result, }; } } @@ -4409,27 +4379,27 @@ public static implicit operator BroadcastUploadStop_t ( BroadcastUploadStop_t. [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct GetVideoURLResult_t { - public Result m_eResult; // enum EResult - public uint m_unVideoAppID; // AppId_t + public Result Result; // m_eResult enum EResult + public uint VideoAppID; // m_unVideoAppID AppId_t [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 256)] - public string m_rgchURL; // char [256] + public string RgchURL; // m_rgchURL char [256] public static GetVideoURLResult_t FromPointer( IntPtr p ) { return (GetVideoURLResult_t) Marshal.PtrToStructure( p, typeof(GetVideoURLResult_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult - public uint m_unVideoAppID; // AppId_t + public Result Result; // m_eResult enum EResult + public uint VideoAppID; // m_unVideoAppID AppId_t [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 256)] - public string m_rgchURL; // char [256] + public string RgchURL; // m_rgchURL char [256] - public static implicit operator GetVideoURLResult_t ( GetVideoURLResult_t.PackSmall d ) + public static implicit operator GetVideoURLResult_t ( GetVideoURLResult_t.PackSmall d ) { return new GetVideoURLResult_t() { - m_eResult = d.m_eResult, - m_unVideoAppID = d.m_unVideoAppID, - m_rgchURL = d.m_rgchURL, + Result = d.Result, + VideoAppID = d.VideoAppID, + RgchURL = d.RgchURL, }; } } @@ -4438,22 +4408,22 @@ public static implicit operator GetVideoURLResult_t ( GetVideoURLResult_t.Pack [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct CCallbackBase { - public byte m_nCallbackFlags; // uint8 - public int m_iCallback; // int + public byte NCallbackFlags; // m_nCallbackFlags uint8 + public int Callback; // m_iCallback int public static CCallbackBase FromPointer( IntPtr p ) { return (CCallbackBase) Marshal.PtrToStructure( p, typeof(CCallbackBase) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public byte m_nCallbackFlags; // uint8 - public int m_iCallback; // int + public byte NCallbackFlags; // m_nCallbackFlags uint8 + public int Callback; // m_iCallback int - public static implicit operator CCallbackBase ( CCallbackBase.PackSmall d ) + public static implicit operator CCallbackBase ( CCallbackBase.PackSmall d ) { return new CCallbackBase() { - m_nCallbackFlags = d.m_nCallbackFlags, - m_iCallback = d.m_iCallback, + NCallbackFlags = d.NCallbackFlags, + Callback = d.Callback, }; } } @@ -4462,22 +4432,22 @@ public static implicit operator CCallbackBase ( CCallbackBase.PackSmall d ) [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct GSClientApprove_t { - public ulong m_SteamID; // class CSteamID - public ulong m_OwnerSteamID; // class CSteamID + public ulong SteamID; // m_SteamID class CSteamID + public ulong OwnerSteamID; // m_OwnerSteamID class CSteamID public static GSClientApprove_t FromPointer( IntPtr p ) { return (GSClientApprove_t) Marshal.PtrToStructure( p, typeof(GSClientApprove_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_SteamID; // class CSteamID - public ulong m_OwnerSteamID; // class CSteamID + public ulong SteamID; // m_SteamID class CSteamID + public ulong OwnerSteamID; // m_OwnerSteamID class CSteamID - public static implicit operator GSClientApprove_t ( GSClientApprove_t.PackSmall d ) + public static implicit operator GSClientApprove_t ( GSClientApprove_t.PackSmall d ) { return new GSClientApprove_t() { - m_SteamID = d.m_SteamID, - m_OwnerSteamID = d.m_OwnerSteamID, + SteamID = d.SteamID, + OwnerSteamID = d.OwnerSteamID, }; } } @@ -4486,27 +4456,27 @@ public static implicit operator GSClientApprove_t ( GSClientApprove_t.PackSmal [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct GSClientDeny_t { - public ulong m_SteamID; // class CSteamID - public DenyReason m_eDenyReason; // enum EDenyReason + public ulong SteamID; // m_SteamID class CSteamID + public DenyReason DenyReason; // m_eDenyReason enum EDenyReason [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 128)] - public string m_rgchOptionalText; // char [128] + public string RgchOptionalText; // m_rgchOptionalText char [128] public static GSClientDeny_t FromPointer( IntPtr p ) { return (GSClientDeny_t) Marshal.PtrToStructure( p, typeof(GSClientDeny_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_SteamID; // class CSteamID - public DenyReason m_eDenyReason; // enum EDenyReason + public ulong SteamID; // m_SteamID class CSteamID + public DenyReason DenyReason; // m_eDenyReason enum EDenyReason [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 128)] - public string m_rgchOptionalText; // char [128] + public string RgchOptionalText; // m_rgchOptionalText char [128] - public static implicit operator GSClientDeny_t ( GSClientDeny_t.PackSmall d ) + public static implicit operator GSClientDeny_t ( GSClientDeny_t.PackSmall d ) { return new GSClientDeny_t() { - m_SteamID = d.m_SteamID, - m_eDenyReason = d.m_eDenyReason, - m_rgchOptionalText = d.m_rgchOptionalText, + SteamID = d.SteamID, + DenyReason = d.DenyReason, + RgchOptionalText = d.RgchOptionalText, }; } } @@ -4515,22 +4485,22 @@ public static implicit operator GSClientDeny_t ( GSClientDeny_t.PackSmall d ) [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct GSClientKick_t { - public ulong m_SteamID; // class CSteamID - public DenyReason m_eDenyReason; // enum EDenyReason + public ulong SteamID; // m_SteamID class CSteamID + public DenyReason DenyReason; // m_eDenyReason enum EDenyReason public static GSClientKick_t FromPointer( IntPtr p ) { return (GSClientKick_t) Marshal.PtrToStructure( p, typeof(GSClientKick_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_SteamID; // class CSteamID - public DenyReason m_eDenyReason; // enum EDenyReason + public ulong SteamID; // m_SteamID class CSteamID + public DenyReason DenyReason; // m_eDenyReason enum EDenyReason - public static implicit operator GSClientKick_t ( GSClientKick_t.PackSmall d ) + public static implicit operator GSClientKick_t ( GSClientKick_t.PackSmall d ) { return new GSClientKick_t() { - m_SteamID = d.m_SteamID, - m_eDenyReason = d.m_eDenyReason, + SteamID = d.SteamID, + DenyReason = d.DenyReason, }; } } @@ -4539,29 +4509,29 @@ public static implicit operator GSClientKick_t ( GSClientKick_t.PackSmall d ) [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct GSClientAchievementStatus_t { - public ulong m_SteamID; // uint64 + public ulong SteamID; // m_SteamID uint64 [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 128)] - public string m_pchAchievement; // char [128] + public string PchAchievement; // m_pchAchievement char [128] [MarshalAs(UnmanagedType.I1)] - public bool m_bUnlocked; // _Bool + public bool Unlocked; // m_bUnlocked _Bool public static GSClientAchievementStatus_t FromPointer( IntPtr p ) { return (GSClientAchievementStatus_t) Marshal.PtrToStructure( p, typeof(GSClientAchievementStatus_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_SteamID; // uint64 + public ulong SteamID; // m_SteamID uint64 [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 128)] - public string m_pchAchievement; // char [128] + public string PchAchievement; // m_pchAchievement char [128] [MarshalAs(UnmanagedType.I1)] - public bool m_bUnlocked; // _Bool + public bool Unlocked; // m_bUnlocked _Bool - public static implicit operator GSClientAchievementStatus_t ( GSClientAchievementStatus_t.PackSmall d ) + public static implicit operator GSClientAchievementStatus_t ( GSClientAchievementStatus_t.PackSmall d ) { return new GSClientAchievementStatus_t() { - m_SteamID = d.m_SteamID, - m_pchAchievement = d.m_pchAchievement, - m_bUnlocked = d.m_bUnlocked, + SteamID = d.SteamID, + PchAchievement = d.PchAchievement, + Unlocked = d.Unlocked, }; } } @@ -4570,19 +4540,19 @@ public static implicit operator GSClientAchievementStatus_t ( GSClientAchievem [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct GSPolicyResponse_t { - public byte m_bSecure; // uint8 + public byte Secure; // m_bSecure uint8 public static GSPolicyResponse_t FromPointer( IntPtr p ) { return (GSPolicyResponse_t) Marshal.PtrToStructure( p, typeof(GSPolicyResponse_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public byte m_bSecure; // uint8 + public byte Secure; // m_bSecure uint8 - public static implicit operator GSPolicyResponse_t ( GSPolicyResponse_t.PackSmall d ) + public static implicit operator GSPolicyResponse_t ( GSPolicyResponse_t.PackSmall d ) { return new GSPolicyResponse_t() { - m_bSecure = d.m_bSecure, + Secure = d.Secure, }; } } @@ -4591,28 +4561,28 @@ public static implicit operator GSPolicyResponse_t ( GSPolicyResponse_t.PackSm [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct GSGameplayStats_t { - public Result m_eResult; // enum EResult - public int m_nRank; // int32 - public uint m_unTotalConnects; // uint32 - public uint m_unTotalMinutesPlayed; // uint32 + public Result Result; // m_eResult enum EResult + public int NRank; // m_nRank int32 + public uint TotalConnects; // m_unTotalConnects uint32 + public uint TotalMinutesPlayed; // m_unTotalMinutesPlayed uint32 public static GSGameplayStats_t FromPointer( IntPtr p ) { return (GSGameplayStats_t) Marshal.PtrToStructure( p, typeof(GSGameplayStats_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult - public int m_nRank; // int32 - public uint m_unTotalConnects; // uint32 - public uint m_unTotalMinutesPlayed; // uint32 + public Result Result; // m_eResult enum EResult + public int NRank; // m_nRank int32 + public uint TotalConnects; // m_unTotalConnects uint32 + public uint TotalMinutesPlayed; // m_unTotalMinutesPlayed uint32 - public static implicit operator GSGameplayStats_t ( GSGameplayStats_t.PackSmall d ) + public static implicit operator GSGameplayStats_t ( GSGameplayStats_t.PackSmall d ) { return new GSGameplayStats_t() { - m_eResult = d.m_eResult, - m_nRank = d.m_nRank, - m_unTotalConnects = d.m_unTotalConnects, - m_unTotalMinutesPlayed = d.m_unTotalMinutesPlayed, + Result = d.Result, + NRank = d.NRank, + TotalConnects = d.TotalConnects, + TotalMinutesPlayed = d.TotalMinutesPlayed, }; } } @@ -4621,32 +4591,32 @@ public static implicit operator GSGameplayStats_t ( GSGameplayStats_t.PackSmal [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct GSClientGroupStatus_t { - public ulong m_SteamIDUser; // class CSteamID - public ulong m_SteamIDGroup; // class CSteamID + public ulong SteamIDUser; // m_SteamIDUser class CSteamID + public ulong SteamIDGroup; // m_SteamIDGroup class CSteamID [MarshalAs(UnmanagedType.I1)] - public bool m_bMember; // _Bool + public bool Member; // m_bMember _Bool [MarshalAs(UnmanagedType.I1)] - public bool m_bOfficer; // _Bool + public bool Officer; // m_bOfficer _Bool public static GSClientGroupStatus_t FromPointer( IntPtr p ) { return (GSClientGroupStatus_t) Marshal.PtrToStructure( p, typeof(GSClientGroupStatus_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_SteamIDUser; // class CSteamID - public ulong m_SteamIDGroup; // class CSteamID + public ulong SteamIDUser; // m_SteamIDUser class CSteamID + public ulong SteamIDGroup; // m_SteamIDGroup class CSteamID [MarshalAs(UnmanagedType.I1)] - public bool m_bMember; // _Bool + public bool Member; // m_bMember _Bool [MarshalAs(UnmanagedType.I1)] - public bool m_bOfficer; // _Bool + public bool Officer; // m_bOfficer _Bool - public static implicit operator GSClientGroupStatus_t ( GSClientGroupStatus_t.PackSmall d ) + public static implicit operator GSClientGroupStatus_t ( GSClientGroupStatus_t.PackSmall d ) { return new GSClientGroupStatus_t() { - m_SteamIDUser = d.m_SteamIDUser, - m_SteamIDGroup = d.m_SteamIDGroup, - m_bMember = d.m_bMember, - m_bOfficer = d.m_bOfficer, + SteamIDUser = d.SteamIDUser, + SteamIDGroup = d.SteamIDGroup, + Member = d.Member, + Officer = d.Officer, }; } } @@ -4655,39 +4625,39 @@ public static implicit operator GSClientGroupStatus_t ( GSClientGroupStatus_t. [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct GSReputation_t { - public Result m_eResult; // enum EResult - public uint m_unReputationScore; // uint32 + public Result Result; // m_eResult enum EResult + public uint ReputationScore; // m_unReputationScore uint32 [MarshalAs(UnmanagedType.I1)] - public bool m_bBanned; // _Bool - public uint m_unBannedIP; // uint32 - public ushort m_usBannedPort; // uint16 - public ulong m_ulBannedGameID; // uint64 - public uint m_unBanExpires; // uint32 + public bool Banned; // m_bBanned _Bool + public uint BannedIP; // m_unBannedIP uint32 + public ushort BannedPort; // m_usBannedPort uint16 + public ulong BannedGameID; // m_ulBannedGameID uint64 + public uint BanExpires; // m_unBanExpires uint32 public static GSReputation_t FromPointer( IntPtr p ) { return (GSReputation_t) Marshal.PtrToStructure( p, typeof(GSReputation_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult - public uint m_unReputationScore; // uint32 + public Result Result; // m_eResult enum EResult + public uint ReputationScore; // m_unReputationScore uint32 [MarshalAs(UnmanagedType.I1)] - public bool m_bBanned; // _Bool - public uint m_unBannedIP; // uint32 - public ushort m_usBannedPort; // uint16 - public ulong m_ulBannedGameID; // uint64 - public uint m_unBanExpires; // uint32 + public bool Banned; // m_bBanned _Bool + public uint BannedIP; // m_unBannedIP uint32 + public ushort BannedPort; // m_usBannedPort uint16 + public ulong BannedGameID; // m_ulBannedGameID uint64 + public uint BanExpires; // m_unBanExpires uint32 - public static implicit operator GSReputation_t ( GSReputation_t.PackSmall d ) + public static implicit operator GSReputation_t ( GSReputation_t.PackSmall d ) { return new GSReputation_t() { - m_eResult = d.m_eResult, - m_unReputationScore = d.m_unReputationScore, - m_bBanned = d.m_bBanned, - m_unBannedIP = d.m_unBannedIP, - m_usBannedPort = d.m_usBannedPort, - m_ulBannedGameID = d.m_ulBannedGameID, - m_unBanExpires = d.m_unBanExpires, + Result = d.Result, + ReputationScore = d.ReputationScore, + Banned = d.Banned, + BannedIP = d.BannedIP, + BannedPort = d.BannedPort, + BannedGameID = d.BannedGameID, + BanExpires = d.BanExpires, }; } } @@ -4696,19 +4666,19 @@ public static implicit operator GSReputation_t ( GSReputation_t.PackSmall d ) [StructLayout( LayoutKind.Sequential, Pack = 8 )] public struct AssociateWithClanResult_t { - public Result m_eResult; // enum EResult + public Result Result; // m_eResult enum EResult public static AssociateWithClanResult_t FromPointer( IntPtr p ) { return (AssociateWithClanResult_t) Marshal.PtrToStructure( p, typeof(AssociateWithClanResult_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult + public Result Result; // m_eResult enum EResult - public static implicit operator AssociateWithClanResult_t ( AssociateWithClanResult_t.PackSmall d ) + public static implicit operator AssociateWithClanResult_t ( AssociateWithClanResult_t.PackSmall d ) { return new AssociateWithClanResult_t() { - m_eResult = d.m_eResult, + Result = d.Result, }; } } @@ -4717,31 +4687,31 @@ public static implicit operator AssociateWithClanResult_t ( AssociateWithClanR [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct ComputeNewPlayerCompatibilityResult_t { - public Result m_eResult; // enum EResult - public int m_cPlayersThatDontLikeCandidate; // int - public int m_cPlayersThatCandidateDoesntLike; // int - public int m_cClanPlayersThatDontLikeCandidate; // int - public ulong m_SteamIDCandidate; // class CSteamID + public Result Result; // m_eResult enum EResult + public int CPlayersThatDontLikeCandidate; // m_cPlayersThatDontLikeCandidate int + public int CPlayersThatCandidateDoesntLike; // m_cPlayersThatCandidateDoesntLike int + public int CClanPlayersThatDontLikeCandidate; // m_cClanPlayersThatDontLikeCandidate int + public ulong SteamIDCandidate; // m_SteamIDCandidate class CSteamID public static ComputeNewPlayerCompatibilityResult_t FromPointer( IntPtr p ) { return (ComputeNewPlayerCompatibilityResult_t) Marshal.PtrToStructure( p, typeof(ComputeNewPlayerCompatibilityResult_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult - public int m_cPlayersThatDontLikeCandidate; // int - public int m_cPlayersThatCandidateDoesntLike; // int - public int m_cClanPlayersThatDontLikeCandidate; // int - public ulong m_SteamIDCandidate; // class CSteamID + public Result Result; // m_eResult enum EResult + public int CPlayersThatDontLikeCandidate; // m_cPlayersThatDontLikeCandidate int + public int CPlayersThatCandidateDoesntLike; // m_cPlayersThatCandidateDoesntLike int + public int CClanPlayersThatDontLikeCandidate; // m_cClanPlayersThatDontLikeCandidate int + public ulong SteamIDCandidate; // m_SteamIDCandidate class CSteamID - public static implicit operator ComputeNewPlayerCompatibilityResult_t ( ComputeNewPlayerCompatibilityResult_t.PackSmall d ) + public static implicit operator ComputeNewPlayerCompatibilityResult_t ( ComputeNewPlayerCompatibilityResult_t.PackSmall d ) { return new ComputeNewPlayerCompatibilityResult_t() { - m_eResult = d.m_eResult, - m_cPlayersThatDontLikeCandidate = d.m_cPlayersThatDontLikeCandidate, - m_cPlayersThatCandidateDoesntLike = d.m_cPlayersThatCandidateDoesntLike, - m_cClanPlayersThatDontLikeCandidate = d.m_cClanPlayersThatDontLikeCandidate, - m_SteamIDCandidate = d.m_SteamIDCandidate, + Result = d.Result, + CPlayersThatDontLikeCandidate = d.CPlayersThatDontLikeCandidate, + CPlayersThatCandidateDoesntLike = d.CPlayersThatCandidateDoesntLike, + CClanPlayersThatDontLikeCandidate = d.CClanPlayersThatDontLikeCandidate, + SteamIDCandidate = d.SteamIDCandidate, }; } } @@ -4750,22 +4720,22 @@ public static implicit operator ComputeNewPlayerCompatibilityResult_t ( Comput [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct GSStatsReceived_t { - public Result m_eResult; // enum EResult - public ulong m_steamIDUser; // class CSteamID + public Result Result; // m_eResult enum EResult + public ulong SteamIDUser; // m_steamIDUser class CSteamID public static GSStatsReceived_t FromPointer( IntPtr p ) { return (GSStatsReceived_t) Marshal.PtrToStructure( p, typeof(GSStatsReceived_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult - public ulong m_steamIDUser; // class CSteamID + public Result Result; // m_eResult enum EResult + public ulong SteamIDUser; // m_steamIDUser class CSteamID - public static implicit operator GSStatsReceived_t ( GSStatsReceived_t.PackSmall d ) + public static implicit operator GSStatsReceived_t ( GSStatsReceived_t.PackSmall d ) { return new GSStatsReceived_t() { - m_eResult = d.m_eResult, - m_steamIDUser = d.m_steamIDUser, + Result = d.Result, + SteamIDUser = d.SteamIDUser, }; } } @@ -4774,22 +4744,22 @@ public static implicit operator GSStatsReceived_t ( GSStatsReceived_t.PackSmal [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct GSStatsStored_t { - public Result m_eResult; // enum EResult - public ulong m_steamIDUser; // class CSteamID + public Result Result; // m_eResult enum EResult + public ulong SteamIDUser; // m_steamIDUser class CSteamID public static GSStatsStored_t FromPointer( IntPtr p ) { return (GSStatsStored_t) Marshal.PtrToStructure( p, typeof(GSStatsStored_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public Result m_eResult; // enum EResult - public ulong m_steamIDUser; // class CSteamID + public Result Result; // m_eResult enum EResult + public ulong SteamIDUser; // m_steamIDUser class CSteamID - public static implicit operator GSStatsStored_t ( GSStatsStored_t.PackSmall d ) + public static implicit operator GSStatsStored_t ( GSStatsStored_t.PackSmall d ) { return new GSStatsStored_t() { - m_eResult = d.m_eResult, - m_steamIDUser = d.m_steamIDUser, + Result = d.Result, + SteamIDUser = d.SteamIDUser, }; } } @@ -4798,19 +4768,19 @@ public static implicit operator GSStatsStored_t ( GSStatsStored_t.PackSmall d [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct GSStatsUnloaded_t { - public ulong m_steamIDUser; // class CSteamID + public ulong SteamIDUser; // m_steamIDUser class CSteamID public static GSStatsUnloaded_t FromPointer( IntPtr p ) { return (GSStatsUnloaded_t) Marshal.PtrToStructure( p, typeof(GSStatsUnloaded_t) ); } [StructLayout( LayoutKind.Sequential, Pack = 4 )] public struct PackSmall { - public ulong m_steamIDUser; // class CSteamID + public ulong SteamIDUser; // m_steamIDUser class CSteamID - public static implicit operator GSStatsUnloaded_t ( GSStatsUnloaded_t.PackSmall d ) + public static implicit operator GSStatsUnloaded_t ( GSStatsUnloaded_t.PackSmall d ) { return new GSStatsUnloaded_t() { - m_steamIDUser = d.m_steamIDUser, + SteamIDUser = d.SteamIDUser, }; } } diff --git a/Generator/CodeWriter.PlatformClass.cs b/Generator/CodeWriter.PlatformClass.cs index 7174826..6b79c8b 100644 --- a/Generator/CodeWriter.PlatformClass.cs +++ b/Generator/CodeWriter.PlatformClass.cs @@ -25,8 +25,13 @@ void PlatformInterface() EndBlock(); } - private void PlatformClass( string type, string libraryName ) + + bool LargePack; + + private void PlatformClass( string type, string libraryName, bool LargePack ) { + this.LargePack = LargePack; + StartBlock( $"internal static partial class Platform" ); StartBlock( $"public class {type} : Interface" ); @@ -114,7 +119,7 @@ private void PlatformInterfaceMethod( string classname, SteamApiDefinition.Metho if ( classname == "SteamApi" ) flatName = methodName; - var argstring = string.Join( ", ", arguments.Select( x => x.InteropParameter() ) ); + var argstring = string.Join( ", ", arguments.Select( x => x.InteropParameter( true ) ) ); if ( argstring != "" ) argstring = $" {argstring} "; WriteLine( $"{ret.Return()} {classname}_{methodName}({argstring});" ); @@ -143,8 +148,7 @@ private void PlatformClassMethod( string classname, SteamApiDefinition.MethodDef if ( classname == "SteamApi" ) flatName = methodName; - - var argstring = string.Join( ", ", arguments.Select( x => x.InteropParameter() ) ); + var argstring = string.Join( ", ", arguments.Select( x => x.InteropParameter( true ) ) ); if ( argstring != "" ) argstring = $" {argstring} "; StartBlock( $"public virtual {ret.Return()} {classname}_{methodName}({argstring})" ); @@ -155,10 +159,27 @@ private void PlatformClassMethod( string classname, SteamApiDefinition.MethodDef WriteLine(); } - var retcode = ""; + var retcode = ""; if ( ret.NativeType != "void" ) retcode = "return "; + AfterLines = new List(); + + foreach ( var a in arguments ) + { + if ( a.InteropParameter( LargePack ).Contains( ".PackSmall" ) ) + { + WriteLine( $"var {a.Name}_ps = new {a.ManagedType.Trim( '*' )}.PackSmall();" ); + AfterLines.Add( $"{a.Name} = {a.Name}_ps;" ); + a.Name = "ref " + a.Name + "_ps"; + + if ( retcode != "" ) + retcode = "var ret = "; + + + } + } + argstring = string.Join( ", ", arguments.Select( x => x.InteropVariable() ) ); if ( methodDef.NeedsSelfPointer ) @@ -166,8 +187,17 @@ private void PlatformClassMethod( string classname, SteamApiDefinition.MethodDef WriteLine( $"{retcode}Native.{classname}.{methodName}({argstring});" ); + WriteLines( AfterLines ); + + if ( retcode.StartsWith( "var" ) ) + { + WriteLine( "return ret;" ); + } + EndBlock(); + + LastMethodName = methodDef.Name; } @@ -194,7 +224,7 @@ private void InteropClassMethod( string library, string classname, SteamApiDefin flatName = methodName; - var argstring = string.Join( ", ", arguments.Select( x => x.InteropParameter() ) ); + var argstring = string.Join( ", ", arguments.Select( x => x.InteropParameter( LargePack ) ) ); if ( methodDef.NeedsSelfPointer ) { diff --git a/Generator/CodeWriter.Struct.cs b/Generator/CodeWriter.Struct.cs index 9f4fefd..f421922 100644 --- a/Generator/CodeWriter.Struct.cs +++ b/Generator/CodeWriter.Struct.cs @@ -15,7 +15,8 @@ void Structs() if ( c.Name == "CSteamID" || c.Name == "CSteamAPIContext" || c.Name == "CCallResult" || - c.Name == "CCallback" ) + c.Name == "CCallback" || + c.Name == "ValvePackingSentinel_t" ) continue; if ( c.Name.Contains( "::" ) ) @@ -43,11 +44,15 @@ void Structs() StructFields( c.Fields ); WriteLine(); - StartBlock( $"public static implicit operator {c.Name} ( {c.Name}.PackSmall d )" ); + + // + // Implicit convert from PackSmall to regular + // + StartBlock( $"public static implicit operator {c.Name} ( {c.Name}.PackSmall d )" ); StartBlock( $"return new {c.Name}()" ); foreach ( var f in c.Fields ) { - WriteLine( $"{f.Name} = d.{f.Name}," ); + WriteLine( $"{CleanMemberName( f.Name )} = d.{CleanMemberName( f.Name )}," ); } EndBlock( ";" ); EndBlock(); @@ -111,13 +116,37 @@ private void StructFields( SteamApiDefinition.StructDef.StructFields[] fields ) WriteLine( $"[MarshalAs(UnmanagedType.ByValArray, SizeConst = {num}, ArraySubType = UnmanagedType.R4)]" ); } + + if ( t == "const char **" ) { t = "IntPtr"; } - WriteLine( $"public {t} {m.Name}; // {m.Type}" ); + WriteLine( $"public {t} {CleanMemberName( m.Name )}; // {m.Name} {m.Type}" ); } } + + string CleanMemberName( string m ) + { + if ( m == "m_pubParam" ) return "ParamPtr"; + if ( m == "m_cubParam" ) return "ParamCount"; + + var cleanName = m.Replace( "m_un", "" ) + .Replace( "m_us", "" ) + .Replace( "m_sz", "" ) + .Replace( "m_h", "" ) + .Replace( "m_e", "" ) + .Replace( "m_un", "" ) + .Replace( "m_ul", "" ) + .Replace( "m_u", "" ) + .Replace( "m_b", "" ) + .Replace( "m_i", "" ) + .Replace( "m_pub", "" ) + .Replace( "m_cub", "" ) + .Replace( "m_", "" ); + + return cleanName.Substring( 0, 1 ).ToUpper() + cleanName.Substring( 1 ); + } } }