mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-20 00:11:04 +08:00
798355e342
新增反代脚本只对Steam内置浏览器生效的选项
183 lines
4.5 KiB
C#
183 lines
4.5 KiB
C#
// This file is automatically generated.
|
|
using System;
|
|
using System.Text;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace Steam4NET
|
|
{
|
|
|
|
public enum ELobbyComparison : int
|
|
{
|
|
k_ELobbyComparisonEqualToOrLessThan = -2,
|
|
k_ELobbyComparisonLessThan = -1,
|
|
k_ELobbyComparisonEqual = 0,
|
|
k_ELobbyComparisonGreaterThan = 1,
|
|
k_ELobbyComparisonEqualToOrGreaterThan = 2,
|
|
k_ELobbyComparisonNotEqual = 3,
|
|
};
|
|
|
|
public enum ELobbyDistanceFilter : int
|
|
{
|
|
k_ELobbyDistanceFilterClose = 0,
|
|
k_ELobbyDistanceFilterDefault = 1,
|
|
k_ELobbyDistanceFilterFar = 2,
|
|
k_ELobbyDistanceFilterWorldwide = 3,
|
|
};
|
|
|
|
[StructLayout(LayoutKind.Sequential,Pack=8)]
|
|
[InteropHelp.CallbackIdentity(501)]
|
|
public struct FavoritesListChangedOld_t
|
|
{
|
|
public const int k_iCallback = 501;
|
|
};
|
|
|
|
[StructLayout(LayoutKind.Sequential,Pack=8)]
|
|
[InteropHelp.CallbackIdentity(502)]
|
|
public struct FavoritesListChanged_t
|
|
{
|
|
public const int k_iCallback = 502;
|
|
public UInt32 m_nIP;
|
|
public UInt32 m_nQueryPort;
|
|
public UInt32 m_nConnPort;
|
|
public UInt32 m_nAppID;
|
|
public UInt32 m_nFlags;
|
|
[MarshalAs(UnmanagedType.I1)]
|
|
public bool m_bAdd;
|
|
};
|
|
|
|
[StructLayout(LayoutKind.Sequential,Pack=8)]
|
|
[InteropHelp.CallbackIdentity(503)]
|
|
public struct LobbyInvite_t
|
|
{
|
|
public const int k_iCallback = 503;
|
|
public SteamID_t m_ulSteamIDUser;
|
|
public SteamID_t m_ulSteamIDLobby;
|
|
public GameID_t m_ulGameID;
|
|
};
|
|
|
|
[StructLayout(LayoutKind.Sequential,Pack=8)]
|
|
[InteropHelp.CallbackIdentity(504)]
|
|
public struct LobbyEnter_t
|
|
{
|
|
public const int k_iCallback = 504;
|
|
public SteamID_t m_ulSteamIDLobby;
|
|
public EChatPermission m_rgfChatPermissions;
|
|
[MarshalAs(UnmanagedType.I1)]
|
|
public bool m_bLocked;
|
|
public EChatRoomEnterResponse m_EChatRoomEnterResponse;
|
|
};
|
|
|
|
[StructLayout(LayoutKind.Sequential,Pack=8)]
|
|
[InteropHelp.CallbackIdentity(505)]
|
|
public struct LobbyDataUpdate_t
|
|
{
|
|
public const int k_iCallback = 505;
|
|
public SteamID_t m_ulSteamIDLobby;
|
|
public SteamID_t m_ulSteamIDMember;
|
|
public Byte m_bSuccess;
|
|
};
|
|
|
|
[StructLayout(LayoutKind.Sequential,Pack=8)]
|
|
[InteropHelp.CallbackIdentity(506)]
|
|
public struct LobbyChatUpdate_t
|
|
{
|
|
public const int k_iCallback = 506;
|
|
public SteamID_t m_ulSteamIDLobby;
|
|
public SteamID_t m_ulSteamIDUserChanged;
|
|
public SteamID_t m_ulSteamIDMakingChange;
|
|
public EChatMemberStateChange m_rgfChatMemberStateChange;
|
|
};
|
|
|
|
[StructLayout(LayoutKind.Sequential,Pack=8)]
|
|
[InteropHelp.CallbackIdentity(507)]
|
|
public struct LobbyChatMsg_t
|
|
{
|
|
public const int k_iCallback = 507;
|
|
public UInt64 m_ulSteamIDLobby;
|
|
public UInt64 m_ulSteamIDUser;
|
|
public Byte m_eChatEntryType;
|
|
public UInt32 m_iChatID;
|
|
};
|
|
|
|
[StructLayout(LayoutKind.Sequential,Pack=8)]
|
|
[InteropHelp.CallbackIdentity(508)]
|
|
public struct LobbyAdminChange_t
|
|
{
|
|
public const int k_iCallback = 508;
|
|
public SteamID_t m_ulSteamIDLobby;
|
|
public SteamID_t m_ulSteamIDNewAdmin;
|
|
};
|
|
|
|
[StructLayout(LayoutKind.Sequential,Pack=8)]
|
|
[InteropHelp.CallbackIdentity(509)]
|
|
public struct LobbyGameCreated_t
|
|
{
|
|
public const int k_iCallback = 509;
|
|
public SteamID_t m_ulSteamIDLobby;
|
|
public SteamID_t m_ulSteamIDGameServer;
|
|
public UInt32 m_unIP;
|
|
public UInt16 m_usPort;
|
|
};
|
|
|
|
[StructLayout(LayoutKind.Sequential,Pack=8)]
|
|
[InteropHelp.CallbackIdentity(510)]
|
|
public struct LobbyMatchList_t
|
|
{
|
|
public const int k_iCallback = 510;
|
|
public UInt32 m_nLobbiesMatching;
|
|
};
|
|
|
|
[StructLayout(LayoutKind.Sequential,Pack=8)]
|
|
[InteropHelp.CallbackIdentity(511)]
|
|
public struct LobbyClosing_t
|
|
{
|
|
public const int k_iCallback = 511;
|
|
public SteamID_t m_ulSteamIDLobby;
|
|
};
|
|
|
|
[StructLayout(LayoutKind.Sequential,Pack=8)]
|
|
[InteropHelp.CallbackIdentity(512)]
|
|
public struct LobbyKicked_t
|
|
{
|
|
public const int k_iCallback = 512;
|
|
public UInt64 m_ulSteamIDLobby;
|
|
public UInt64 m_ulSteamIDAdmin;
|
|
public Byte m_bKickedDueToDisconnect;
|
|
};
|
|
|
|
[StructLayout(LayoutKind.Sequential,Pack=8)]
|
|
[InteropHelp.CallbackIdentity(513)]
|
|
public struct LobbyCreated_t
|
|
{
|
|
public const int k_iCallback = 513;
|
|
public EResult m_eResult;
|
|
public UInt64 m_ulSteamIDLobby;
|
|
};
|
|
|
|
[StructLayout(LayoutKind.Sequential,Pack=8)]
|
|
[InteropHelp.CallbackIdentity(514)]
|
|
public struct RequestFriendsLobbiesResponse_t
|
|
{
|
|
public const int k_iCallback = 514;
|
|
public UInt64 m_ulSteamIDFriend;
|
|
public UInt64 m_ulSteamIDLobby;
|
|
public Int32 m_cResultIndex;
|
|
public Int32 m_cResultsTotal;
|
|
};
|
|
|
|
[StructLayout(LayoutKind.Sequential,Pack=8)]
|
|
public struct GMSQueryResult_t
|
|
{
|
|
public UInt32 uServerIP;
|
|
public UInt32 uServerPort;
|
|
public Int32 nAuthPlayers;
|
|
};
|
|
|
|
[StructLayout(LayoutKind.Sequential,Pack=8)]
|
|
public struct PingSample_t
|
|
{
|
|
public Int32 m_iPadding;
|
|
};
|
|
|
|
}
|