Boilerplate, proof of concept

This commit is contained in:
Garry Newman 2016-10-25 10:29:35 +01:00
parent 313a6e4564
commit 8801f840d4
86 changed files with 16943 additions and 10556 deletions

View File

@ -6,7 +6,8 @@
namespace Facepunch.Steamworks.Test
{
[TestClass]
[DeploymentItem( Config.LibraryName + ".dll" )]
[DeploymentItem( "steam_api.dll" )]
[DeploymentItem( "steam_api64.dll" )]
[DeploymentItem( "steam_appid.txt" )]
public partial class Client
{

View File

@ -4,7 +4,8 @@
namespace Facepunch.Steamworks.Test
{
[DeploymentItem( Config.LibraryName + ".dll" )]
[DeploymentItem( "steam_api.dll" )]
[DeploymentItem( "steam_api64.dll" )]
[DeploymentItem( "steam_appid.txt" )]
[TestClass]
public class Friends

View File

@ -7,7 +7,8 @@
namespace Facepunch.Steamworks.Test
{
[TestClass]
[DeploymentItem( Config.LibraryName + ".dll" )]
[DeploymentItem( "steam_api.dll" )]
[DeploymentItem( "steam_api64.dll" )]
[DeploymentItem( "steam_appid.txt" )]
public partial class Networking
{

View File

@ -8,7 +8,8 @@
namespace Facepunch.Steamworks.Test
{
[TestClass]
[DeploymentItem( Config.LibraryName + ".dll" )]
[DeploymentItem( "steam_api.dll" )]
[DeploymentItem( "steam_api64.dll" )]
[DeploymentItem( "steam_appid.txt" )]
public partial class ServerList
{
@ -37,7 +38,9 @@ public void InternetList()
if ( query.Finished )
break;
}
}
Assert.IsTrue( query.Responded.Count > 0 );
Console.WriteLine( "Responded: " + query.Responded.Count.ToString() );
Console.WriteLine( "Unresponsive: " + query.Unresponsive.Count.ToString() );

View File

@ -6,7 +6,8 @@
namespace Facepunch.Steamworks.Test
{
[TestClass]
[DeploymentItem( Config.LibraryName + ".dll" )]
[DeploymentItem( "steam_api.dll" )]
[DeploymentItem( "steam_api64.dll" )]
[DeploymentItem( "steam_appid.txt" )]
public class Stats
{

View File

@ -7,7 +7,8 @@
namespace Facepunch.Steamworks.Test
{
[TestClass]
[DeploymentItem( Config.LibraryName + ".dll" )]
[DeploymentItem( "steam_api.dll" )]
[DeploymentItem( "steam_api64.dll" )]
[DeploymentItem( "steam_appid.txt" )]
public class WorkshopTest
{

View File

@ -3,7 +3,8 @@
namespace Facepunch.Steamworks.Test
{
[DeploymentItem( Config.LibraryName + ".dll" )]
[DeploymentItem( "steam_api.dll" )]
[DeploymentItem( "steam_api64.dll" )]
[DeploymentItem( "steam_appid.txt" )]
[DeploymentItem( "tier0_s.dll" )]
[DeploymentItem( "vstdlib_s.dll" )]

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -128,7 +128,7 @@ bool FinishCallback( CallResult call )
{
bool failed = true;
if ( !native.utils.IsAPICallCompleted( call.Handle, ref failed ) )
if ( !native.utils.IsAPICallCompleted( call.Handle, out failed ) )
return false;
if ( failed )

View File

@ -1,6 +1,4 @@

using System;
using System;
using System.Runtime.InteropServices;
namespace Facepunch.Steamworks
@ -26,7 +24,7 @@ public partial class Client : BaseSteamworks
public Client( uint appId )
{
Valve.Steamworks.SteamAPIInterop.SteamAPI_Init();
SteamNative.Globals.SteamAPI_Init();
native = new Interop.NativeInterface();
@ -43,8 +41,8 @@ public Client( uint appId )
//
// Set up warning hook callback
//
SteamAPIWarningMessageHook ptr = InternalOnWarning;
native.client.SetWarningMessageHook( Marshal.GetFunctionPointerForDelegate( ptr ) );
// SteamAPIWarningMessageHook ptr = InternalOnWarning;
// native.client.SetWarningMessageHook( Marshal.GetFunctionPointerForDelegate( ptr ) );
//
// Setup interfaces that client and server both have
@ -90,7 +88,7 @@ public override void Update()
if ( !IsValid )
return;
Valve.Steamworks.SteamAPI.RunCallbacks();
SteamNative.Globals.SteamAPI_RunCallbacks();
Voice.Update();
@ -107,7 +105,7 @@ public override void Dispose()
base.Dispose();
Valve.Interop.NativeEntrypoints.Extended.SteamAPI_Shutdown();
SteamNative.Globals.SteamAPI_Shutdown();
}
}

View File

@ -63,7 +63,7 @@ public unsafe Ticket GetAuthSessionTicket()
fixed ( byte* b = data )
{
uint ticketLength = 0;
uint ticket = client.native.user.GetAuthSessionTicket( (IntPtr) b, data.Length, ref ticketLength );
uint ticket = client.native.user.GetAuthSessionTicket( (IntPtr) b, data.Length, out ticketLength );
if ( ticket == 0 )
return null;

View File

@ -2,7 +2,6 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Valve.Steamworks;
namespace Facepunch.Steamworks
{
@ -76,10 +75,10 @@ public void Refresh()
{
Name = Client.native.friends.GetFriendPersonaName( Id );
EFriendRelationship relationship = (EFriendRelationship) Client.native.friends.GetFriendRelationship( Id );
SteamNative.FriendRelationship relationship = (SteamNative.FriendRelationship) Client.native.friends.GetFriendRelationship( Id );
IsBlocked = relationship == EFriendRelationship.k_EFriendRelationshipBlocked;
IsFriend = relationship == EFriendRelationship.k_EFriendRelationshipFriend;
IsBlocked = relationship == SteamNative.FriendRelationship.Blocked;
IsFriend = relationship == SteamNative.FriendRelationship.Friend;
CurrentAppId = 0;
ServerIp = 0;
@ -87,8 +86,8 @@ public void Refresh()
ServerQueryPort = 0;
ServerLobbyId = 0;
FriendGameInfo_t gameInfo = new FriendGameInfo_t();
if ( Client.native.friends.GetFriendGamePlayed( Id, out gameInfo ) && gameInfo.m_gameID > 0 )
var gameInfo = new SteamNative.FriendGameInfo_t();
if ( Client.native.friends.GetFriendGamePlayed( Id, ref gameInfo ) && gameInfo.m_gameID > 0 )
{
CurrentAppId = gameInfo.m_gameID;
ServerIp = gameInfo.m_unGameIP;
@ -169,7 +168,7 @@ public void Refresh()
_allFriends.Clear();
var flags = (int) EFriendFlags.k_EFriendFlagAll;
var flags = (int) SteamNative.FriendFlags.All;
var count = client.native.friends.GetFriendCount( flags );
for ( int i=0; i<count; i++ )

View File

@ -2,7 +2,6 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Valve.Steamworks;
namespace Facepunch.Steamworks
{
@ -21,13 +20,13 @@ public class Image
/// </summary>
public bool IsError { get; internal set; }
unsafe internal bool TryLoad( ISteamUtils utils )
unsafe internal bool TryLoad( SteamNative.SteamUtils utils )
{
if ( IsLoaded ) return true;
uint width = 0, height = 0;
if ( utils.GetImageSize( Id, ref width, ref height ) == false )
if ( utils.GetImageSize( Id, out width, out height ) == false )
{
IsError = true;
return true;

View File

@ -3,7 +3,6 @@
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using Valve.Steamworks;
namespace Facepunch.Steamworks
{
@ -21,7 +20,7 @@ internal class SubRequest
internal int Pointer = 0;
internal List<int> WatchList = new List<int>();
internal bool Update( ISteamMatchmakingServers servers, Action<gameserveritem_t> OnServer, Action OnUpdate )
internal bool Update( SteamNative.SteamMatchmakingServers servers, Action<SteamNative.gameserveritem_t> OnServer, Action OnUpdate )
{
if ( Request == IntPtr.Zero )
return true;
@ -143,7 +142,7 @@ internal void StartCustomQuery()
}
filter.Start();
var id = client.native.servers.RequestInternetServerList( client.AppId, filter.NativeArray, filter.Count, IntPtr.Zero );
var id = client.native.servers.RequestInternetServerList( client.AppId, filter.NativeArray, (uint)filter.Count, IntPtr.Zero );
filter.Free();
AddRequest( id );
@ -178,7 +177,7 @@ private void Update()
}
}
private void OnServer( gameserveritem_t info )
private void OnServer( SteamNative.gameserveritem_t info )
{
if ( info.m_bHadSuccessfulResponse )
{

View File

@ -3,7 +3,6 @@
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using Valve.Steamworks;
namespace Facepunch.Steamworks
{
@ -47,7 +46,7 @@ public string ConnectionAddress
}
}
internal static Server FromSteam( Client client, gameserveritem_t item )
internal static Server FromSteam( Client client, SteamNative.gameserveritem_t item )
{
return new Server()
{

View File

@ -3,7 +3,6 @@
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using Valve.Steamworks;
namespace Facepunch.Steamworks
{
@ -40,7 +39,7 @@ internal void Start()
{
var filters = this.Select( x =>
{
return new MatchMakingKeyValuePair_t()
return new SteamNative.MatchMakingKeyValuePair_t()
{
m_szKey = x.Key,
m_szValue = x.Value
@ -48,7 +47,7 @@ internal void Start()
} ).ToArray();
int sizeOfMMKVP = Marshal.SizeOf(typeof(MatchMakingKeyValuePair_t));
int sizeOfMMKVP = Marshal.SizeOf(typeof(SteamNative.MatchMakingKeyValuePair_t));
NativeArray = Marshal.AllocHGlobal( Marshal.SizeOf( typeof( IntPtr ) ) * filters.Length );
m_pArrayEntries = Marshal.AllocHGlobal( sizeOfMMKVP * filters.Length );
@ -90,7 +89,7 @@ public Request Internet( Filter filter )
filter.Start();
var request = new Request( client );
request.AddRequest( client.native.servers.RequestInternetServerList( client.AppId, filter.NativeArray, filter.Count, IntPtr.Zero ) );
request.AddRequest( client.native.servers.RequestInternetServerList( client.AppId, filter.NativeArray, (uint) filter.Count, IntPtr.Zero ) );
filter.Free();
@ -112,7 +111,7 @@ public Request Custom( IEnumerable<string> serverList )
public Request History()
{
var request = new Request( client );
request.AddRequest( client.native.servers.RequestHistoryServerList( client.AppId, new IntPtr[] { }, IntPtr.Zero ) );
request.AddRequest( client.native.servers.RequestHistoryServerList( client.AppId, IntPtr.Zero, 0, IntPtr.Zero ) );
return request;
}
@ -124,7 +123,7 @@ public Request History()
public Request Favourites()
{
var request = new Request( client );
request.AddRequest( client.native.servers.RequestFavoritesServerList( client.AppId, new IntPtr[] { }, IntPtr.Zero ) );
request.AddRequest( client.native.servers.RequestFavoritesServerList( client.AppId, IntPtr.Zero, 0, IntPtr.Zero ) );
return request;
}

View File

@ -45,28 +45,28 @@ public void UpdateGlobalStats( int days = 1 )
public int GetInt( string name )
{
int data = 0;
client.native.userstats.GetStat( name, ref data );
client.native.userstats.GetStat( name, out data );
return data;
}
public long GetGlobalInt( string name )
{
long data = 0;
client.native.userstats.GetGlobalStat( name, ref data );
client.native.userstats.GetGlobalStat( name, out data );
return data;
}
public float GetFloat( string name )
{
float data = 0;
client.native.userstats.GetStat0( name, ref data );
client.native.userstats.GetStat0( name, out data );
return data;
}
public double GetGlobalFloat( string name )
{
double data = 0;
client.native.userstats.GetGlobalStat0( name, ref data );
client.native.userstats.GetGlobalStat0( name, out data );
return data;
}

View File

@ -96,15 +96,15 @@ internal void Update()
uint bufferRegularLastWrite = 0;
uint bufferCompressedLastWrite = 0;
Valve.Steamworks.EVoiceResult result = (Valve.Steamworks.EVoiceResult) client.native.user.GetVoice( OnCompressedData != null, ReadCompressedBuffer, ReadBufferSize, ref bufferCompressedLastWrite,
OnUncompressedData != null, (IntPtr) ReadUncompressedBuffer, ReadBufferSize, ref bufferRegularLastWrite,
var result = client.native.user.GetVoice( OnCompressedData != null, ReadCompressedBuffer, ReadBufferSize, out bufferCompressedLastWrite,
OnUncompressedData != null, (IntPtr) ReadUncompressedBuffer, ReadBufferSize, out bufferRegularLastWrite,
DesiredSampleRate == 0 ? OptimalSampleRate : DesiredSampleRate );
Console.WriteLine( result );
IsRecording = true;
if ( result == Valve.Steamworks.EVoiceResult.k_EVoiceResultOK )
if ( result == SteamNative.VoiceResult.OK )
{
if ( OnCompressedData != null && bufferCompressedLastWrite > 0 )
{
@ -119,8 +119,8 @@ internal void Update()
LastVoiceRecordTime = DateTime.Now;
}
if ( result == Valve.Steamworks.EVoiceResult.k_EVoiceResultNotRecording ||
result == Valve.Steamworks.EVoiceResult.k_EVoiceResultNotInitialized )
if ( result == SteamNative.VoiceResult.NotRecording ||
result == SteamNative.VoiceResult.NotInitialized )
IsRecording = false;
}
@ -139,12 +139,12 @@ public unsafe bool Decompress( IntPtr input, int inputoffset, int inputsize, Mem
samepleRate = OptimalSampleRate;
uint bytesOut = 0;
var result = (Valve.Steamworks.EVoiceResult) client.native.user.DecompressVoice( (IntPtr)( ((byte*)input) + inputoffset ), (uint) inputsize, UncompressBuffer, UncompressBufferSize, ref bytesOut, samepleRate );
var result = client.native.user.DecompressVoice( (IntPtr)( ((byte*)input) + inputoffset ), (uint) inputsize, UncompressBuffer, UncompressBufferSize, out bytesOut, samepleRate );
if ( bytesOut > 0 )
output.SetLength( bytesOut );
if ( result == Valve.Steamworks.EVoiceResult.k_EVoiceResultOK )
if ( result == SteamNative.VoiceResult.OK )
{
if ( output.Capacity < bytesOut )
output.Capacity = (int) bytesOut;

View File

@ -18,20 +18,5 @@ public static class Config
/// </summary>
public static bool UseThisCall { get; set; } = true;
/// <summary>
/// Set this to true on Linux and OSX
/// </summary>
public static bool PackSmall { get; set; } = false;
/// <summary>
/// The Native dll to look for. This is the steam_api.dll renamed.
/// We need to rename the dll anyway because we can't dynamically choose the library
/// ie, we can't load steam_api64.dll on windows 64 platforms. So instead we choose to
/// keep the library name the same.
///
/// This is exposed only for the benefit of implementation - and cannot be changed at runtime.
/// </summary>
public const string LibraryName = "FacepunchSteamworksApi";
}
}

View File

@ -17,7 +17,7 @@
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<OutputPath>..\..\..\Work\Rust\Main\Assets\Plugins\Facepunch.Steamworks\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
@ -145,11 +145,42 @@
<Compile Include="Interop\Native.cs" />
<Compile Include="Interop\ServerRules.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Interop\steam_api_interop.cs" />
<Compile Include="Server.cs" />
<Compile Include="Server\Auth.cs" />
<Compile Include="Server\Query.cs" />
<Compile Include="Server\Stats.cs" />
<Compile Include="SteamNative\SteamNative.Enums.cs" />
<Compile Include="SteamNative\SteamNative.Global.cs" />
<Compile Include="SteamNative\SteamNative.Platform.cs" />
<Compile Include="SteamNative\SteamNative.Platform.Linux.cs" />
<Compile Include="SteamNative\SteamNative.Platform.Mac.cs" />
<Compile Include="SteamNative\SteamNative.Platform.Win32.cs" />
<Compile Include="SteamNative\SteamNative.Platform.Win64.cs" />
<Compile Include="SteamNative\SteamNative.SteamAppList.cs" />
<Compile Include="SteamNative\SteamNative.SteamApps.cs" />
<Compile Include="SteamNative\SteamNative.SteamClient.cs" />
<Compile Include="SteamNative\SteamNative.SteamController.cs" />
<Compile Include="SteamNative\SteamNative.SteamFriends.cs" />
<Compile Include="SteamNative\SteamNative.SteamGameServer.cs" />
<Compile Include="SteamNative\SteamNative.SteamGameServerStats.cs" />
<Compile Include="SteamNative\SteamNative.SteamHTMLSurface.cs" />
<Compile Include="SteamNative\SteamNative.SteamHTTP.cs" />
<Compile Include="SteamNative\SteamNative.SteamInventory.cs" />
<Compile Include="SteamNative\SteamNative.SteamMatchmaking.cs" />
<Compile Include="SteamNative\SteamNative.SteamMatchmakingServers.cs" />
<Compile Include="SteamNative\SteamNative.SteamMusic.cs" />
<Compile Include="SteamNative\SteamNative.SteamMusicRemote.cs" />
<Compile Include="SteamNative\SteamNative.SteamNetworking.cs" />
<Compile Include="SteamNative\SteamNative.SteamRemoteStorage.cs" />
<Compile Include="SteamNative\SteamNative.SteamScreenshots.cs" />
<Compile Include="SteamNative\SteamNative.SteamUGC.cs" />
<Compile Include="SteamNative\SteamNative.SteamUnifiedMessages.cs" />
<Compile Include="SteamNative\SteamNative.SteamUser.cs" />
<Compile Include="SteamNative\SteamNative.SteamUserStats.cs" />
<Compile Include="SteamNative\SteamNative.SteamUtils.cs" />
<Compile Include="SteamNative\SteamNative.SteamVideo.cs" />
<Compile Include="SteamNative\SteamNative.Structs.cs" />
<Compile Include="SteamNative\SteamNative.Types.cs" />
</ItemGroup>
<ItemGroup>
<Compile Include="Interop\Callback.This.cs" />

View File

@ -15,7 +15,7 @@ public partial class Inventory
/// </summary>
public class Definition
{
internal Valve.Steamworks.ISteamInventory inventory;
internal SteamNative.SteamInventory inventory;
public int Id;
public string Name;
@ -72,7 +72,7 @@ internal void SetupCommonProperties()
/// </summary>
public void TriggerItemDrop()
{
int result = 0;
SteamNative.SteamInventoryResult_t result = 0;
inventory.TriggerItemDrop( ref result, Id );
inventory.DestroyResult( result );
}

View File

@ -12,7 +12,7 @@ public class Result : IDisposable
{
internal Inventory inventory;
public int Handle { get; private set; }
public SteamNative.SteamInventoryResult_t Handle { get; private set; }
public Item[] Items { get; internal set; }
public bool IsPending
@ -69,8 +69,8 @@ internal void TryFill()
if ( !IsSuccess )
return;
Valve.Steamworks.SteamItemDetails_t[] steamItems = null;
if ( !inventory.inventory.GetResultItems( Handle, out steamItems ) )
SteamNative.SteamItemDetails_t[] steamItems = inventory.inventory.GetResultItems( Handle );
if ( steamItems == null )
return;
if ( steamItems == null )
@ -85,7 +85,7 @@ internal void TryFill()
Quantity = x.m_unQuantity,
Id = x.m_itemId,
DefinitionId = x.m_iDefinition,
TradeLocked = ( (int)x.m_unFlags & (int)Valve.Steamworks.ESteamItemFlags.k_ESteamItemNoTrade ) != 0,
TradeLocked = ( (int)x.m_unFlags & (int)SteamNative.SteamItemFlags.NoTrade ) != 0,
Definition = inventory.FindDefinition( x.m_iDefinition )
};
} ).ToArray();

View File

@ -31,13 +31,13 @@ public partial class Inventory : IDisposable
/// </summary>
public DateTime SerializedExpireTime;
internal Valve.Steamworks.ISteamInventory inventory;
internal SteamNative.SteamInventory inventory;
private Result LocalPlayerRequest;
private bool IsServer { get; set; }
internal Inventory( Valve.Steamworks.ISteamInventory c, bool server )
internal Inventory( SteamNative.SteamInventory c, bool server )
{
IsServer = server;
inventory = c;
@ -84,7 +84,7 @@ public void Refresh()
if ( LocalPlayerRequest != null )
return;
int request = 0;
SteamNative.SteamInventoryResult_t request = 0;
if ( !inventory.GetAllItems( ref request ) || request == -1 )
{
Console.WriteLine( "GetAllItems failed!?" );
@ -112,8 +112,8 @@ internal void FetchItemDefinitions()
// Make sure item definitions are loaded, because we're going to be using them.
//
int[] ids;
if ( !inventory.GetItemDefinitionIDs( out ids ) )
var ids = inventory.GetItemDefinitionIDs();
if ( ids == null )
return;
Definitions = ids.Select( x =>
@ -209,11 +209,11 @@ public unsafe Result Deserialize( byte[] data, int dataLength = -1 )
if ( dataLength == -1 )
dataLength = data.Length;
int resultHandle = -1;
SteamNative.SteamInventoryResult_t resultHandle = -1;
fixed ( byte* ptr = data )
{
var result = inventory.DeserializeResult( out resultHandle, (IntPtr) ptr, (uint)dataLength, false );
var result = inventory.DeserializeResult( ref resultHandle, (IntPtr) ptr, (uint)dataLength, false );
if ( !result || resultHandle == -1 )
return null;

View File

@ -4,7 +4,6 @@
using System.Linq;
using System.Text;
using Facepunch.Steamworks.Callbacks.Networking;
using Valve.Steamworks;
namespace Facepunch.Steamworks
{
@ -14,9 +13,9 @@ public class Networking : IDisposable
public Func<ulong, bool> OnIncomingConnection;
public Action<ulong, SessionError> OnConnectionFailed;
internal ISteamNetworking networking;
internal SteamNative.SteamNetworking networking;
internal Networking( BaseSteamworks sw, ISteamNetworking networking )
internal Networking( BaseSteamworks sw, SteamNative.SteamNetworking networking )
{
this.networking = networking;
@ -130,7 +129,7 @@ public unsafe bool SendP2PPacket( ulong steamid, byte[] data, int length, SendTy
{
fixed ( byte* p = data )
{
return networking.SendP2PPacket( steamid, (IntPtr) p, (uint)length, (uint)eP2PSendType, nChannel );
return networking.SendP2PPacket( steamid, (IntPtr) p, (uint)length, (SteamNative.P2PSend)(int)eP2PSendType, nChannel );
}
}
@ -138,7 +137,7 @@ private unsafe bool ReadP2PPacket( MemoryStream ms, int channel = 0 )
{
uint DataAvailable = 0;
if ( !networking.IsP2PPacketAvailable( ref DataAvailable, channel ) || DataAvailable == 0 )
if ( !networking.IsP2PPacketAvailable( out DataAvailable, channel ) || DataAvailable == 0 )
return false;
if ( ms.Capacity < DataAvailable )
@ -149,8 +148,8 @@ private unsafe bool ReadP2PPacket( MemoryStream ms, int channel = 0 )
fixed ( byte* p = ms.GetBuffer() )
{
ulong steamid = 1;
if ( !networking.ReadP2PPacket( (IntPtr)p, (uint)DataAvailable, ref DataAvailable, ref steamid, channel ) || DataAvailable == 0 )
SteamNative.CSteamID steamid = 1;
if ( !networking.ReadP2PPacket( (IntPtr)p, (uint)DataAvailable, out DataAvailable, out steamid, channel ) || DataAvailable == 0 )
return false;
ms.SetLength( DataAvailable );

View File

@ -48,7 +48,7 @@ public double Progress
ulong b = 0;
ulong t = 0;
workshop.steamworks.native.ugc.GetItemUpdateProgress( SubmitItemUpdate.Handle, ref b, ref t );
workshop.steamworks.native.ugc.GetItemUpdateProgress( SubmitItemUpdate.Handle, out b, out t );
if ( t == 0 )
return 0;
@ -68,7 +68,7 @@ public int BytesUploaded
ulong b = 0;
ulong t = 0;
workshop.steamworks.native.ugc.GetItemUpdateProgress( SubmitItemUpdate.Handle, ref b, ref t );
workshop.steamworks.native.ugc.GetItemUpdateProgress( SubmitItemUpdate.Handle, out b, out t );
return (int) b;
}
}
@ -84,7 +84,7 @@ public int BytesTotal
ulong b = 0;
ulong t = 0;
workshop.steamworks.native.ugc.GetItemUpdateProgress( SubmitItemUpdate.Handle, ref b, ref t );
workshop.steamworks.native.ugc.GetItemUpdateProgress( SubmitItemUpdate.Handle, out b, out t );
return (int)t;
}
}
@ -109,7 +109,7 @@ private void StartCreatingItem()
throw new System.Exception( "Editor.Type must be set when creating a new item!" );
CreateItem = new CreateItem();
CreateItem.Handle = workshop.ugc.CreateItem( workshop.steamworks.AppId, (uint)Type );
CreateItem.Handle = workshop.ugc.CreateItem( workshop.steamworks.AppId, (SteamNative.WorkshopFileType)(uint)Type );
CreateItem.OnResult = OnItemCreated;
workshop.steamworks.AddCallResult( CreateItem );
}
@ -143,11 +143,11 @@ private void PublishChanges()
if ( Folder != null )
workshop.ugc.SetItemContent( UpdateId, Folder );
if ( Tags != null && Tags.Count > 0 )
workshop.ugc.SetItemTags( UpdateId, Tags.ToArray() );
// if ( Tags != null && Tags.Count > 0 )
// workshop.ugc.SetItemTags( UpdateId, Tags.ToArray() );
if ( Visibility.HasValue )
workshop.ugc.SetItemVisibility( UpdateId, (uint)Visibility.Value );
workshop.ugc.SetItemVisibility( UpdateId, (SteamNative.RemoteStoragePublishedFileVisibility)(uint)Visibility.Value );
if ( PreviewImage != null )
workshop.ugc.SetItemPreview( UpdateId, PreviewImage ); // change preview image file for this item. pszPreviewFile points to local image file, which must be under 1MB in size

View File

@ -6,8 +6,6 @@
using System.Text;
using Facepunch.Steamworks.Callbacks.Networking;
using Facepunch.Steamworks.Callbacks.Workshop;
using Facepunch.Steamworks.Interop;
using Valve.Steamworks;
namespace Facepunch.Steamworks
{
@ -28,7 +26,7 @@ public class Item
public DateTime Modified { get; private set; }
public DateTime Created { get; private set; }
internal static Item From( SteamUGCDetails_t details, Workshop workshop )
internal static Item From( SteamNative.SteamUGCDetails_t details, Workshop workshop )
{
var item = new Item();
@ -123,11 +121,11 @@ internal void UpdateState()
{
var state = workshop.ugc.GetItemState( Id );
Installed = ( state & (uint) EItemState.k_EItemStateInstalled ) != 0;
Downloading = ( state & (uint) EItemState.k_EItemStateDownloading ) != 0;
DownloadPending = ( state & (uint) EItemState.k_EItemStateDownloadPending ) != 0;
Subscribed = ( state & (uint) EItemState.k_EItemStateSubscribed ) != 0;
NeedsUpdate = ( state & (uint) EItemState.k_EItemStateNeedsUpdate ) != 0;
Installed = ( state & (uint)SteamNative.ItemState.Installed ) != 0;
Downloading = ( state & (uint)SteamNative.ItemState.Downloading ) != 0;
DownloadPending = ( state & (uint)SteamNative.ItemState.DownloadPending ) != 0;
Subscribed = ( state & (uint)SteamNative.ItemState.Subscribed ) != 0;
NeedsUpdate = ( state & (uint)SteamNative.ItemState.NeedsUpdate ) != 0;
if ( Installed && Directory == null )
{

View File

@ -1,13 +1,7 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using Facepunch.Steamworks.Callbacks.Networking;
using Facepunch.Steamworks.Callbacks.Workshop;
using Facepunch.Steamworks.Interop;
using Valve.Steamworks;
namespace Facepunch.Steamworks
{
@ -85,22 +79,19 @@ unsafe void RunInternal()
{
if ( FileId.Count != 0 )
{
var fileArray = FileId.ToArray();
var fileArray = FileId.Select( x => (SteamNative.PublishedFileId_t)x ).ToArray();
_resultsRemain = fileArray.Length;
fixed ( ulong* array = fileArray )
{
Handle = workshop.ugc.CreateQueryUGCDetailsRequest( (IntPtr)array, (uint)fileArray.Length );
}
Handle = workshop.ugc.CreateQueryUGCDetailsRequest( fileArray );
}
else if ( UserId.HasValue )
{
uint accountId = (uint)( UserId.Value & 0xFFFFFFFFul );
Handle = workshop.ugc.CreateQueryUserUGCRequest( accountId, (uint)UserQueryType, (uint)QueryType, (uint)Order, UploaderAppId, AppId, (uint)_resultPage + 1 );
Handle = workshop.ugc.CreateQueryUserUGCRequest( accountId, (SteamNative.UserUGCList)( uint)UserQueryType, (SteamNative.UGCMatchingUGCType)( uint)QueryType, SteamNative.UserUGCListSortOrder.LastUpdatedDesc, UploaderAppId, AppId, (uint)_resultPage + 1 );
}
else
{
Handle = workshop.ugc.CreateQueryAllUGCRequest( (uint)Order, (uint)QueryType, UploaderAppId, AppId, (uint)_resultPage + 1 );
Handle = workshop.ugc.CreateQueryAllUGCRequest( (SteamNative.UGCQuery)(uint)Order, (SteamNative.UGCMatchingUGCType)(uint)QueryType, UploaderAppId, AppId, (uint)_resultPage + 1 );
}
if ( !string.IsNullOrEmpty( SearchText ) )
@ -136,8 +127,10 @@ void OnResult( QueryCompleted.Data data )
Console.WriteLine( "{0} Adding result {1}", _resultPage, _results.Count );
}
SteamUGCDetails_t details = new SteamUGCDetails_t();
workshop.ugc.GetQueryUGCResult( data.Handle, (uint)i, ref details );
SteamNative.SteamUGCDetails_t details;
// if ( !workshop.ugc.GetQueryUGCResult( data.Handle, (uint)i, out details ) )
// continue;
continue;
// We already have this file, so skip it
if ( _results.Any( x => x.Id == details.m_nPublishedFileId ) )
@ -183,7 +176,7 @@ void OnResult( QueryCompleted.Data data )
private int GetStat( ulong handle, int index, ItemStatistic stat )
{
uint val = 0;
if ( !workshop.ugc.GetQueryUGCStatistic( handle, (uint)index, (uint)stat, ref val ) )
if ( !workshop.ugc.GetQueryUGCStatistic( handle, (uint)index, (SteamNative.ItemStatistic)(uint)stat, out val ) )
return 0;
return (int) val;

View File

@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using Facepunch.Steamworks.Callbacks.Workshop;
using Valve.Steamworks;
namespace Facepunch.Steamworks
{
@ -9,14 +8,14 @@ public partial class Workshop : IDisposable
{
internal const ulong InvalidHandle = 0xffffffffffffffff;
internal ISteamUGC ugc;
internal SteamNative.SteamUGC ugc;
internal BaseSteamworks steamworks;
internal ISteamRemoteStorage remoteStorage;
internal SteamNative.SteamRemoteStorage remoteStorage;
internal event Action<ulong, Callbacks.Result> OnFileDownloaded;
internal event Action<ulong> OnItemInstalled;
internal Workshop( BaseSteamworks steamworks, ISteamUGC ugc, ISteamRemoteStorage remoteStorage )
internal Workshop( BaseSteamworks steamworks, SteamNative.SteamUGC ugc, SteamNative.SteamRemoteStorage remoteStorage )
{
this.ugc = ugc;
this.steamworks = steamworks;

View File

@ -1,10 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
using Valve.Steamworks;
namespace Facepunch.Steamworks.Interop
{
@ -17,7 +13,7 @@ public void Dispose()
Handle = 0;
}
internal abstract void Run( ISteamUtils utils );
internal abstract void Run( SteamNative.SteamUtils utils );
}
internal unsafe abstract class CallResult<T, TSmall> : CallResult where T: new()
@ -28,15 +24,15 @@ public void Dispose()
public abstract int CallbackId { get; }
public Action<T> OnResult;
internal override void Run( ISteamUtils utils )
internal override void Run( SteamNative.SteamUtils utils )
{
var packSmall = Config.PackSmall;
var packSmall = SteamNative.Platform.PackSmall;
var datasize = packSmall ? Marshal.SizeOf( typeof( TSmall ) ) : Marshal.SizeOf( typeof( T ) );
var data = stackalloc byte[ datasize ];
bool failed = false;
if ( !utils.GetAPICallResult( Handle, (IntPtr) data, datasize, CallbackId, ref failed ) || failed )
if ( !utils.GetAPICallResult( Handle, (IntPtr) data, datasize, CallbackId, out failed ) || failed )
{
Console.WriteLine( "FAILURE" );
return;

View File

@ -67,14 +67,14 @@ public Callback( bool gameserver, int callbackid, Action<T> func )
BuildVTable();
Valve.Steamworks.SteamAPI.RegisterCallback( callbackPin.AddrOfPinnedObject(), CallbackId );
SteamNative.Globals.SteamAPI_RegisterCallback( callbackPin.AddrOfPinnedObject(), CallbackId );
}
public override void Dispose()
{
if ( callbackPin.IsAllocated )
{
Valve.Steamworks.SteamAPI.UnregisterCallback( callbackPin.AddrOfPinnedObject() );
SteamNative.Globals.SteamAPI_UnregisterCallback( callbackPin.AddrOfPinnedObject() );
callbackPin.Free();
}
@ -93,7 +93,7 @@ private void OnRunCallback( IntPtr thisObject, IntPtr ptr )
if ( vTablePtr == IntPtr.Zero ) throw new System.Exception( "vTablePtr wasn't pinned!" );
if ( thisObject != IntPtr.Zero && thisObject != callbackPin.AddrOfPinnedObject() ) throw new System.Exception( "This wasn't valid!" );
if ( Config.PackSmall && typeof(T) != typeof( TSmall ) ) throw new System.Exception( "Callback should use PackSmall" );
if ( SteamNative.Platform.PackSmall && typeof(T) != typeof( TSmall ) ) throw new System.Exception( "Callback should use PackSmall" );
T data = (T) Marshal.PtrToStructure( ptr, typeof(T) );
Function( data );

View File

@ -7,26 +7,26 @@ namespace Facepunch.Steamworks.Interop
{
internal class NativeInterface : IDisposable
{
internal Valve.Steamworks.ISteamClient client;
internal Valve.Steamworks.ISteamUser user;
internal Valve.Steamworks.ISteamApps apps;
internal Valve.Steamworks.ISteamFriends friends;
internal Valve.Steamworks.ISteamMatchmakingServers servers;
internal Valve.Steamworks.ISteamInventory inventory;
internal Valve.Steamworks.ISteamNetworking networking;
internal Valve.Steamworks.ISteamUserStats userstats;
internal Valve.Steamworks.ISteamUtils utils;
internal Valve.Steamworks.ISteamScreenshots screenshots;
internal Valve.Steamworks.ISteamHTTP http;
internal Valve.Steamworks.ISteamUGC ugc;
internal Valve.Steamworks.ISteamGameServer gameServer;
internal Valve.Steamworks.ISteamGameServerStats gameServerStats;
internal Valve.Steamworks.ISteamRemoteStorage remoteStorage;
internal SteamNative.SteamClient client;
internal SteamNative.SteamUser user;
internal SteamNative.SteamApps apps;
internal SteamNative.SteamFriends friends;
internal SteamNative.SteamMatchmakingServers servers;
internal SteamNative.SteamInventory inventory;
internal SteamNative.SteamNetworking networking;
internal SteamNative.SteamUserStats userstats;
internal SteamNative.SteamUtils utils;
internal SteamNative.SteamScreenshots screenshots;
internal SteamNative.SteamHTTP http;
internal SteamNative.SteamUGC ugc;
internal SteamNative.SteamGameServer gameServer;
internal SteamNative.SteamGameServerStats gameServerStats;
internal SteamNative.SteamRemoteStorage remoteStorage;
internal bool InitClient()
{
var user = Valve.Interop.NativeEntrypoints.Extended.SteamAPI_GetHSteamUser();
var pipe = Valve.Interop.NativeEntrypoints.Extended.SteamAPI_GetHSteamPipe();
var user = SteamNative.Globals.SteamAPI_GetHSteamUser();
var pipe = SteamNative.Globals.SteamAPI_GetHSteamPipe();
if ( pipe == 0 )
return false;
@ -37,14 +37,14 @@ internal bool InitClient()
internal bool InitServer()
{
var user = Valve.Interop.NativeEntrypoints.Extended.SteamGameServer_GetHSteamUser();
var pipe = Valve.Interop.NativeEntrypoints.Extended.SteamGameServer_GetHSteamPipe();
var user = SteamNative.Globals.SteamGameServer_GetHSteamUser();
var pipe = SteamNative.Globals.SteamGameServer_GetHSteamPipe();
if ( pipe == 0 )
return false;
FillInterfaces( pipe, user );
if ( gameServer.GetIntPtr() == IntPtr.Zero )
if ( gameServer._ptr == IntPtr.Zero )
{
gameServer = null;
throw new System.Exception( "Steam Server: Couldn't load SteamGameServer012" );
@ -55,13 +55,13 @@ internal bool InitServer()
public void FillInterfaces( int hpipe, int huser )
{
var clientPtr = Valve.Interop.NativeEntrypoints.Extended.SteamInternal_CreateInterface( "SteamClient017" );
var clientPtr = SteamNative.Globals.SteamInternal_CreateInterface( "SteamClient017" );
if ( clientPtr == IntPtr.Zero )
{
throw new System.Exception( "Steam Server: Couldn't load SteamClient017" );
}
client = new Valve.Steamworks.CSteamClient( clientPtr );
client = new SteamNative.SteamClient( clientPtr );
user = client.GetISteamUser( huser, hpipe, "SteamUser019" );
utils = client.GetISteamUtils( hpipe, "SteamUtils008" );
@ -87,7 +87,7 @@ public void Dispose()
client = null;
}
Valve.Interop.NativeEntrypoints.Extended.SteamAPI_Shutdown();
SteamNative.Globals.SteamAPI_Shutdown();
}
}
}

View File

@ -32,7 +32,7 @@ public ServerRules( ServerList.Server server, uint address, int queryPort )
//
// Ask Steam to get the server rules, respond to our fake vtable
//
Valve.Interop.NativeEntrypoints.SteamAPI_ISteamMatchmakingServers_ServerRules( Server.Client.native.servers.GetIntPtr(), address, (short) queryPort, GetPtr() );
Server.Client.native.servers.ServerRules( address, (ushort)queryPort, GetPtr() );
}
public void Dispose()

File diff suppressed because it is too large Load Diff

View File

@ -22,7 +22,7 @@ public partial class Server : BaseSteamworks
public Server( uint appId, uint IpAddress, ushort GamePort, ushort QueryPort, bool Secure, string VersionString )
{
Valve.Interop.NativeEntrypoints.Extended.SteamInternal_GameServer_Init( IpAddress, 0, GamePort, QueryPort, Secure ? 3 : 2, VersionString );
SteamNative.Globals.SteamInternal_GameServer_Init( IpAddress, 0, GamePort, QueryPort, Secure ? 3 : 2, VersionString );
native = new Interop.NativeInterface();
@ -97,7 +97,7 @@ public override void Update()
if ( !IsValid )
return;
Valve.Interop.NativeEntrypoints.Extended.SteamGameServer_RunCallbacks();
SteamNative.Globals.SteamGameServer_RunCallbacks();
base.Update();
}

View File

@ -71,9 +71,9 @@ public unsafe bool StartSession( byte[] data, ulong steamid )
{
fixed ( byte* p = data )
{
var result = (Valve.Steamworks.EBeginAuthSessionResult) server.native.gameServer.BeginAuthSession( (IntPtr)p, data.Length, steamid );
var result = server.native.gameServer.BeginAuthSession( (IntPtr)p, data.Length, steamid );
if ( result == Valve.Steamworks.EBeginAuthSessionResult.k_EBeginAuthSessionResultOK )
if ( result == SteamNative.BeginAuthSessionResult.OK )
return true;
return false;

View File

@ -55,7 +55,7 @@ public unsafe bool GetOutgoingPacket( out Packet packet )
uint addr = 0;
ushort port = 0;
var size = server.native.gameServer.GetNextOutgoingPacket( (IntPtr)ptr, buffer.Length, ref addr, ref port );
var size = server.native.gameServer.GetNextOutgoingPacket( (IntPtr)ptr, buffer.Length, out addr, out port );
if ( size == 0 )
return false;

View File

@ -74,7 +74,7 @@ public int GetInt( ulong steamid, string name, int defaultValue = 0 )
{
int data = defaultValue;
if ( !server.native.gameServerStats.GetUserStat( steamid, name, ref data ) )
if ( !server.native.gameServerStats.GetUserStat( steamid, name, out data ) )
return defaultValue;
return data;
@ -87,7 +87,7 @@ public float GetFloat( ulong steamid, string name, float defaultValue = 0 )
{
float data = defaultValue;
if ( !server.native.gameServerStats.GetUserStat0( steamid, name, ref data ) )
if ( !server.native.gameServerStats.GetUserStat0( steamid, name, out data ) )
return defaultValue;
return data;

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,93 @@
using System;
using System.Runtime.InteropServices;
namespace SteamNative
{
public unsafe class Globals
{
// void
public static void SteamAPI_Init()
{
if ( Platform.IsWindows32 ) Platform.Win32.Global.SteamAPI_Init( );
else Platform.Win64.Global.SteamAPI_Init( );
}
// void
public static void SteamAPI_RunCallbacks()
{
if ( Platform.IsWindows32 ) Platform.Win32.Global.SteamAPI_RunCallbacks( );
else Platform.Win64.Global.SteamAPI_RunCallbacks( );
}
// void
public static void SteamGameServer_RunCallbacks()
{
if ( Platform.IsWindows32 ) Platform.Win32.Global.SteamGameServer_RunCallbacks( );
else Platform.Win64.Global.SteamGameServer_RunCallbacks( );
}
// void
public static void SteamAPI_RegisterCallback( IntPtr pCallback /*void **/, int callback /*int*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.Global.SteamAPI_RegisterCallback( (IntPtr) pCallback, callback );
else Platform.Win64.Global.SteamAPI_RegisterCallback( (IntPtr) pCallback, callback );
}
// void
public static void SteamAPI_UnregisterCallback( IntPtr pCallback /*void **/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.Global.SteamAPI_UnregisterCallback( (IntPtr) pCallback );
else Platform.Win64.Global.SteamAPI_UnregisterCallback( (IntPtr) pCallback );
}
// bool
public static bool SteamInternal_GameServer_Init( uint unIP /*uint32*/, ushort usPort /*uint16*/, ushort usGamePort /*uint16*/, ushort usQueryPort /*uint16*/, int eServerMode /*int*/, string pchVersionString /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.Global.SteamInternal_GameServer_Init( unIP, usPort, usGamePort, usQueryPort, eServerMode, pchVersionString );
else return Platform.Win64.Global.SteamInternal_GameServer_Init( unIP, usPort, usGamePort, usQueryPort, eServerMode, pchVersionString );
}
// void
public static void SteamAPI_Shutdown()
{
if ( Platform.IsWindows32 ) Platform.Win32.Global.SteamAPI_Shutdown( );
else Platform.Win64.Global.SteamAPI_Shutdown( );
}
// HSteamUser
public static HSteamUser SteamAPI_GetHSteamUser()
{
if ( Platform.IsWindows32 ) return Platform.Win32.Global.SteamAPI_GetHSteamUser( );
else return Platform.Win64.Global.SteamAPI_GetHSteamUser( );
}
// HSteamPipe
public static HSteamPipe SteamAPI_GetHSteamPipe()
{
if ( Platform.IsWindows32 ) return Platform.Win32.Global.SteamAPI_GetHSteamPipe( );
else return Platform.Win64.Global.SteamAPI_GetHSteamPipe( );
}
// HSteamUser
public static HSteamUser SteamGameServer_GetHSteamUser()
{
if ( Platform.IsWindows32 ) return Platform.Win32.Global.SteamGameServer_GetHSteamUser( );
else return Platform.Win64.Global.SteamGameServer_GetHSteamUser( );
}
// HSteamPipe
public static HSteamPipe SteamGameServer_GetHSteamPipe()
{
if ( Platform.IsWindows32 ) return Platform.Win32.Global.SteamGameServer_GetHSteamPipe( );
else return Platform.Win64.Global.SteamGameServer_GetHSteamPipe( );
}
// IntPtr
public static IntPtr SteamInternal_CreateInterface( string version /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.Global.SteamInternal_CreateInterface( version );
else return Platform.Win64.Global.SteamInternal_CreateInterface( version );
}
}
}

View File

@ -0,0 +1,752 @@
using System;
using System.Runtime.InteropServices;
namespace SteamNative
{
internal static partial class Platform
{
public static class Linux
{
public static unsafe class ISteamClient
{
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_CreateSteamPipe" )] internal static extern int /*HSteamPipe*/ CreateSteamPipe( IntPtr ISteamClient );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_BReleaseSteamPipe" )] internal static extern bool /*bool*/ BReleaseSteamPipe( IntPtr ISteamClient, HSteamPipe /*HSteamPipe*/ hSteamPipe );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_ConnectToGlobalUser" )] internal static extern int /*HSteamUser*/ ConnectToGlobalUser( IntPtr ISteamClient, HSteamPipe /*HSteamPipe*/ hSteamPipe );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_CreateLocalUser" )] internal static extern int /*HSteamUser*/ CreateLocalUser( IntPtr ISteamClient, out HSteamPipe /*HSteamPipe **/ phSteamPipe, AccountType /*EAccountType*/ eAccountType );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_ReleaseUser" )] internal static extern void /*void*/ ReleaseUser( IntPtr ISteamClient, HSteamPipe /*HSteamPipe*/ hSteamPipe, HSteamUser /*HSteamUser*/ hUser );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamUser" )] internal static extern IntPtr /*class ISteamUser **/ GetISteamUser( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamGameServer" )] internal static extern IntPtr /*class ISteamGameServer **/ GetISteamGameServer( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_SetLocalIPBinding" )] internal static extern void /*void*/ SetLocalIPBinding( IntPtr ISteamClient, uint /*uint32*/ unIP , ushort /*uint16*/ usPort );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamFriends" )] internal static extern IntPtr /*class ISteamFriends **/ GetISteamFriends( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamUtils" )] internal static extern IntPtr /*class ISteamUtils **/ GetISteamUtils( IntPtr ISteamClient, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamMatchmaking" )] internal static extern IntPtr /*class ISteamMatchmaking **/ GetISteamMatchmaking( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamMatchmakingServers" )] internal static extern IntPtr /*class ISteamMatchmakingServers **/ GetISteamMatchmakingServers( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamGenericInterface" )] internal static extern IntPtr /*void **/ GetISteamGenericInterface( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamUserStats" )] internal static extern IntPtr /*class ISteamUserStats **/ GetISteamUserStats( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamGameServerStats" )] internal static extern IntPtr /*class ISteamGameServerStats **/ GetISteamGameServerStats( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamApps" )] internal static extern IntPtr /*class ISteamApps **/ GetISteamApps( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamNetworking" )] internal static extern IntPtr /*class ISteamNetworking **/ GetISteamNetworking( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamRemoteStorage" )] internal static extern IntPtr /*class ISteamRemoteStorage **/ GetISteamRemoteStorage( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamScreenshots" )] internal static extern IntPtr /*class ISteamScreenshots **/ GetISteamScreenshots( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetIPCCallCount" )] internal static extern uint /*uint32*/ GetIPCCallCount( IntPtr ISteamClient );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_SetWarningMessageHook" )] internal static extern void /*void*/ SetWarningMessageHook( IntPtr ISteamClient, IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_BShutdownIfAllPipesClosed" )] internal static extern bool /*bool*/ BShutdownIfAllPipesClosed( IntPtr ISteamClient );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamHTTP" )] internal static extern IntPtr /*class ISteamHTTP **/ GetISteamHTTP( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamUnifiedMessages" )] internal static extern IntPtr /*class ISteamUnifiedMessages **/ GetISteamUnifiedMessages( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamController" )] internal static extern IntPtr /*class ISteamController **/ GetISteamController( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamUGC" )] internal static extern IntPtr /*class ISteamUGC **/ GetISteamUGC( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamAppList" )] internal static extern IntPtr /*class ISteamAppList **/ GetISteamAppList( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamMusic" )] internal static extern IntPtr /*class ISteamMusic **/ GetISteamMusic( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamMusicRemote" )] internal static extern IntPtr /*class ISteamMusicRemote **/ GetISteamMusicRemote( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamHTMLSurface" )] internal static extern IntPtr /*class ISteamHTMLSurface **/ GetISteamHTMLSurface( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamInventory" )] internal static extern IntPtr /*class ISteamInventory **/ GetISteamInventory( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamVideo" )] internal static extern IntPtr /*class ISteamVideo **/ GetISteamVideo( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
}
public static unsafe class ISteamUser
{
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_GetHSteamUser" )] internal static extern int /*HSteamUser*/ GetHSteamUser( IntPtr ISteamUser );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_BLoggedOn" )] internal static extern bool /*bool*/ BLoggedOn( IntPtr ISteamUser );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_GetSteamID" )] internal static extern ulong /*class CSteamID*/ GetSteamID( IntPtr ISteamUser );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_InitiateGameConnection" )] internal static extern int /*int*/ InitiateGameConnection( IntPtr ISteamUser, IntPtr /*void **/ pAuthBlob , int /*int*/ cbMaxAuthBlob , CSteamID /*class CSteamID*/ steamIDGameServer, uint /*uint32*/ unIPServer , ushort /*uint16*/ usPortServer , bool /*bool*/ bSecure );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_TerminateGameConnection" )] internal static extern void /*void*/ TerminateGameConnection( IntPtr ISteamUser, uint /*uint32*/ unIPServer , ushort /*uint16*/ usPortServer );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_TrackAppUsageEvent" )] internal static extern void /*void*/ TrackAppUsageEvent( IntPtr ISteamUser, CGameID /*class CGameID*/ gameID, int /*int*/ eAppUsageEvent , string /*const char **/ pchExtraInfo );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_GetUserDataFolder" )] internal static extern bool /*bool*/ GetUserDataFolder( IntPtr ISteamUser, char* /*char **/ pchBuffer , int /*int*/ cubBuffer );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_StartVoiceRecording" )] internal static extern void /*void*/ StartVoiceRecording( IntPtr ISteamUser );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_StopVoiceRecording" )] internal static extern void /*void*/ StopVoiceRecording( IntPtr ISteamUser );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_GetAvailableVoice" )] internal static extern VoiceResult /*EVoiceResult*/ GetAvailableVoice( IntPtr ISteamUser, out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_GetVoice" )] internal static extern VoiceResult /*EVoiceResult*/ GetVoice( IntPtr ISteamUser, bool /*bool*/ bWantCompressed , IntPtr /*void **/ pDestBuffer , uint /*uint32*/ cbDestBufferSize , out uint /*uint32 **/ nBytesWritten, bool /*bool*/ bWantUncompressed , IntPtr /*void **/ pUncompressedDestBuffer , uint /*uint32*/ cbUncompressedDestBufferSize , out uint /*uint32 **/ nUncompressBytesWritten, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_DecompressVoice" )] internal static extern VoiceResult /*EVoiceResult*/ DecompressVoice( IntPtr ISteamUser, IntPtr /*const void **/ pCompressed , uint /*uint32*/ cbCompressed , IntPtr /*void **/ pDestBuffer , uint /*uint32*/ cbDestBufferSize , out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_GetVoiceOptimalSampleRate" )] internal static extern uint /*uint32*/ GetVoiceOptimalSampleRate( IntPtr ISteamUser );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_GetAuthSessionTicket" )] internal static extern uint /*HAuthTicket*/ GetAuthSessionTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket , int /*int*/ cbMaxTicket , out uint /*uint32 **/ pcbTicket );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_BeginAuthSession" )] internal static extern BeginAuthSessionResult /*EBeginAuthSessionResult*/ BeginAuthSession( IntPtr ISteamUser, IntPtr /*const void **/ pAuthTicket , int /*int*/ cbAuthTicket , CSteamID /*class CSteamID*/ steamID );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_EndAuthSession" )] internal static extern void /*void*/ EndAuthSession( IntPtr ISteamUser, CSteamID /*class CSteamID*/ steamID );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_CancelAuthTicket" )] internal static extern void /*void*/ CancelAuthTicket( IntPtr ISteamUser, HAuthTicket /*HAuthTicket*/ hAuthTicket );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_UserHasLicenseForApp" )] internal static extern UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ UserHasLicenseForApp( IntPtr ISteamUser, CSteamID /*class CSteamID*/ steamID, AppId_t /*AppId_t*/ appID );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_BIsBehindNAT" )] internal static extern bool /*bool*/ BIsBehindNAT( IntPtr ISteamUser );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_AdvertiseGame" )] internal static extern void /*void*/ AdvertiseGame( IntPtr ISteamUser, CSteamID /*class CSteamID*/ steamIDGameServer, uint /*uint32*/ unIPServer , ushort /*uint16*/ usPortServer );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_RequestEncryptedAppTicket" )] internal static extern ulong /*SteamAPICall_t*/ RequestEncryptedAppTicket( IntPtr ISteamUser, IntPtr /*void **/ pDataToInclude , int /*int*/ cbDataToInclude );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_GetEncryptedAppTicket" )] internal static extern bool /*bool*/ GetEncryptedAppTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket , int /*int*/ cbMaxTicket , out uint /*uint32 **/ pcbTicket );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_GetGameBadgeLevel" )] internal static extern int /*int*/ GetGameBadgeLevel( IntPtr ISteamUser, int /*int*/ nSeries , bool /*bool*/ bFoil );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_GetPlayerSteamLevel" )] internal static extern int /*int*/ GetPlayerSteamLevel( IntPtr ISteamUser );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_RequestStoreAuthURL" )] internal static extern ulong /*SteamAPICall_t*/ RequestStoreAuthURL( IntPtr ISteamUser, string /*const char **/ pchRedirectURL );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_BIsPhoneVerified" )] internal static extern bool /*bool*/ BIsPhoneVerified( IntPtr ISteamUser );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUser_BIsTwoFactorEnabled" )] internal static extern bool /*bool*/ BIsTwoFactorEnabled( IntPtr ISteamUser );
}
public static unsafe class ISteamFriends
{
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetPersonaName" )] internal static extern IntPtr GetPersonaName( IntPtr ISteamFriends );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_SetPersonaName" )] internal static extern ulong /*SteamAPICall_t*/ SetPersonaName( IntPtr ISteamFriends, string /*const char **/ pchPersonaName );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetPersonaState" )] internal static extern PersonaState /*EPersonaState*/ GetPersonaState( IntPtr ISteamFriends );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendCount" )] internal static extern int /*int*/ GetFriendCount( IntPtr ISteamFriends, int /*int*/ iFriendFlags );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendByIndex" )] internal static extern ulong /*class CSteamID*/ GetFriendByIndex( IntPtr ISteamFriends, int /*int*/ iFriend , int /*int*/ iFriendFlags );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendRelationship" )] internal static extern FriendRelationship /*EFriendRelationship*/ GetFriendRelationship( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendPersonaState" )] internal static extern PersonaState /*EPersonaState*/ GetFriendPersonaState( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendPersonaName" )] internal static extern IntPtr GetFriendPersonaName( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendGamePlayed" )] internal static extern bool /*bool*/ GetFriendGamePlayed( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend, ref FriendGameInfo_t /*struct FriendGameInfo_t **/ pFriendGameInfo );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendPersonaNameHistory" )] internal static extern IntPtr GetFriendPersonaNameHistory( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend, int /*int*/ iPersonaName );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendSteamLevel" )] internal static extern int /*int*/ GetFriendSteamLevel( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetPlayerNickname" )] internal static extern IntPtr GetPlayerNickname( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDPlayer );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupCount" )] internal static extern int /*int*/ GetFriendsGroupCount( IntPtr ISteamFriends );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupIDByIndex" )] internal static extern short /*FriendsGroupID_t*/ GetFriendsGroupIDByIndex( IntPtr ISteamFriends, int /*int*/ iFG );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupName" )] internal static extern IntPtr GetFriendsGroupName( IntPtr ISteamFriends, FriendsGroupID_t /*FriendsGroupID_t*/ friendsGroupID );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupMembersCount" )] internal static extern int /*int*/ GetFriendsGroupMembersCount( IntPtr ISteamFriends, FriendsGroupID_t /*FriendsGroupID_t*/ friendsGroupID );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupMembersList" )] internal static extern void /*void*/ GetFriendsGroupMembersList( IntPtr ISteamFriends, FriendsGroupID_t /*FriendsGroupID_t*/ friendsGroupID, IntPtr /*class CSteamID **/ pOutSteamIDMembers, int /*int*/ nMembersCount );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_HasFriend" )] internal static extern bool /*bool*/ HasFriend( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend, int /*int*/ iFriendFlags );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanCount" )] internal static extern int /*int*/ GetClanCount( IntPtr ISteamFriends );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanByIndex" )] internal static extern ulong /*class CSteamID*/ GetClanByIndex( IntPtr ISteamFriends, int /*int*/ iClan );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanName" )] internal static extern IntPtr GetClanName( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanTag" )] internal static extern IntPtr GetClanTag( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanActivityCounts" )] internal static extern bool /*bool*/ GetClanActivityCounts( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan, out int /*int **/ pnOnline, out int /*int **/ pnInGame, out int /*int **/ pnChatting );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_DownloadClanActivityCounts" )] internal static extern ulong /*SteamAPICall_t*/ DownloadClanActivityCounts( IntPtr ISteamFriends, IntPtr /*class CSteamID **/ psteamIDClans, int /*int*/ cClansToRequest );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendCountFromSource" )] internal static extern int /*int*/ GetFriendCountFromSource( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDSource );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendFromSourceByIndex" )] internal static extern ulong /*class CSteamID*/ GetFriendFromSourceByIndex( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDSource, int /*int*/ iFriend );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_IsUserInSource" )] internal static extern bool /*bool*/ IsUserInSource( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDUser, CSteamID /*class CSteamID*/ steamIDSource );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_SetInGameVoiceSpeaking" )] internal static extern void /*void*/ SetInGameVoiceSpeaking( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDUser, bool /*bool*/ bSpeaking );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlay" )] internal static extern void /*void*/ ActivateGameOverlay( IntPtr ISteamFriends, string /*const char **/ pchDialog );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlayToUser" )] internal static extern void /*void*/ ActivateGameOverlayToUser( IntPtr ISteamFriends, string /*const char **/ pchDialog , CSteamID /*class CSteamID*/ steamID );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlayToWebPage" )] internal static extern void /*void*/ ActivateGameOverlayToWebPage( IntPtr ISteamFriends, string /*const char **/ pchURL );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlayToStore" )] internal static extern void /*void*/ ActivateGameOverlayToStore( IntPtr ISteamFriends, AppId_t /*AppId_t*/ nAppID, OverlayToStoreFlag /*EOverlayToStoreFlag*/ eFlag );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_SetPlayedWith" )] internal static extern void /*void*/ SetPlayedWith( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDUserPlayedWith );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlayInviteDialog" )] internal static extern void /*void*/ ActivateGameOverlayInviteDialog( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDLobby );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetSmallFriendAvatar" )] internal static extern int /*int*/ GetSmallFriendAvatar( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetMediumFriendAvatar" )] internal static extern int /*int*/ GetMediumFriendAvatar( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetLargeFriendAvatar" )] internal static extern int /*int*/ GetLargeFriendAvatar( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_RequestUserInformation" )] internal static extern bool /*bool*/ RequestUserInformation( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDUser, bool /*bool*/ bRequireNameOnly );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_RequestClanOfficerList" )] internal static extern ulong /*SteamAPICall_t*/ RequestClanOfficerList( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanOwner" )] internal static extern ulong /*class CSteamID*/ GetClanOwner( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanOfficerCount" )] internal static extern int /*int*/ GetClanOfficerCount( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanOfficerByIndex" )] internal static extern ulong /*class CSteamID*/ GetClanOfficerByIndex( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan, int /*int*/ iOfficer );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetUserRestrictions" )] internal static extern uint /*uint32*/ GetUserRestrictions( IntPtr ISteamFriends );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_SetRichPresence" )] internal static extern bool /*bool*/ SetRichPresence( IntPtr ISteamFriends, string /*const char **/ pchKey , string /*const char **/ pchValue );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_ClearRichPresence" )] internal static extern void /*void*/ ClearRichPresence( IntPtr ISteamFriends );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendRichPresence" )] internal static extern IntPtr GetFriendRichPresence( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend, string /*const char **/ pchKey );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendRichPresenceKeyCount" )] internal static extern int /*int*/ GetFriendRichPresenceKeyCount( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendRichPresenceKeyByIndex" )] internal static extern IntPtr GetFriendRichPresenceKeyByIndex( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend, int /*int*/ iKey );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_RequestFriendRichPresence" )] internal static extern void /*void*/ RequestFriendRichPresence( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_InviteUserToGame" )] internal static extern bool /*bool*/ InviteUserToGame( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend, string /*const char **/ pchConnectString );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetCoplayFriendCount" )] internal static extern int /*int*/ GetCoplayFriendCount( IntPtr ISteamFriends );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetCoplayFriend" )] internal static extern ulong /*class CSteamID*/ GetCoplayFriend( IntPtr ISteamFriends, int /*int*/ iCoplayFriend );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendCoplayTime" )] internal static extern int /*int*/ GetFriendCoplayTime( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendCoplayGame" )] internal static extern uint /*AppId_t*/ GetFriendCoplayGame( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_JoinClanChatRoom" )] internal static extern ulong /*SteamAPICall_t*/ JoinClanChatRoom( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_LeaveClanChatRoom" )] internal static extern bool /*bool*/ LeaveClanChatRoom( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanChatMemberCount" )] internal static extern int /*int*/ GetClanChatMemberCount( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetChatMemberByIndex" )] internal static extern ulong /*class CSteamID*/ GetChatMemberByIndex( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan, int /*int*/ iUser );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_SendClanChatMessage" )] internal static extern bool /*bool*/ SendClanChatMessage( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClanChat, string /*const char **/ pchText );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanChatMessage" )] internal static extern int /*int*/ GetClanChatMessage( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClanChat, int /*int*/ iMessage , IntPtr /*void **/ prgchText , int /*int*/ cchTextMax , out ChatEntryType /*EChatEntryType **/ peChatEntryType, out CSteamID /*class CSteamID **/ psteamidChatter );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_IsClanChatAdmin" )] internal static extern bool /*bool*/ IsClanChatAdmin( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClanChat, CSteamID /*class CSteamID*/ steamIDUser );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_IsClanChatWindowOpenInSteam" )] internal static extern bool /*bool*/ IsClanChatWindowOpenInSteam( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClanChat );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_OpenClanChatWindowInSteam" )] internal static extern bool /*bool*/ OpenClanChatWindowInSteam( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClanChat );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_CloseClanChatWindowInSteam" )] internal static extern bool /*bool*/ CloseClanChatWindowInSteam( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClanChat );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_SetListenForFriendsMessages" )] internal static extern bool /*bool*/ SetListenForFriendsMessages( IntPtr ISteamFriends, bool /*bool*/ bInterceptEnabled );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_ReplyToFriendMessage" )] internal static extern bool /*bool*/ ReplyToFriendMessage( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend, string /*const char **/ pchMsgToSend );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendMessage" )] internal static extern int /*int*/ GetFriendMessage( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend, int /*int*/ iMessageID , IntPtr /*void **/ pvData , int /*int*/ cubData , out ChatEntryType /*EChatEntryType **/ peChatEntryType );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_GetFollowerCount" )] internal static extern ulong /*SteamAPICall_t*/ GetFollowerCount( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamID );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_IsFollowing" )] internal static extern ulong /*SteamAPICall_t*/ IsFollowing( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamID );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamFriends_EnumerateFollowingList" )] internal static extern ulong /*SteamAPICall_t*/ EnumerateFollowingList( IntPtr ISteamFriends, uint /*uint32*/ unStartIndex );
}
public static unsafe class ISteamUtils
{
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_GetSecondsSinceAppActive" )] internal static extern uint /*uint32*/ GetSecondsSinceAppActive( IntPtr ISteamUtils );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_GetSecondsSinceComputerActive" )] internal static extern uint /*uint32*/ GetSecondsSinceComputerActive( IntPtr ISteamUtils );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_GetConnectedUniverse" )] internal static extern Universe /*EUniverse*/ GetConnectedUniverse( IntPtr ISteamUtils );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_GetServerRealTime" )] internal static extern uint /*uint32*/ GetServerRealTime( IntPtr ISteamUtils );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_GetIPCountry" )] internal static extern IntPtr GetIPCountry( IntPtr ISteamUtils );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_GetImageSize" )] internal static extern bool /*bool*/ GetImageSize( IntPtr ISteamUtils, int /*int*/ iImage , out uint /*uint32 **/ pnWidth, out uint /*uint32 **/ pnHeight );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_GetImageRGBA" )] internal static extern bool /*bool*/ GetImageRGBA( IntPtr ISteamUtils, int /*int*/ iImage , IntPtr /*uint8 **/ pubDest, int /*int*/ nDestBufferSize );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_GetCSERIPPort" )] internal static extern bool /*bool*/ GetCSERIPPort( IntPtr ISteamUtils, out uint /*uint32 **/ unIP, out ushort /*uint16 **/ usPort );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_GetCurrentBatteryPower" )] internal static extern byte /*uint8*/ GetCurrentBatteryPower( IntPtr ISteamUtils );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_GetAppID" )] internal static extern uint /*uint32*/ GetAppID( IntPtr ISteamUtils );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_SetOverlayNotificationPosition" )] internal static extern void /*void*/ SetOverlayNotificationPosition( IntPtr ISteamUtils, NotificationPosition /*ENotificationPosition*/ eNotificationPosition );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_IsAPICallCompleted" )] internal static extern bool /*bool*/ IsAPICallCompleted( IntPtr ISteamUtils, SteamAPICall_t /*SteamAPICall_t*/ hSteamAPICall, out bool /*bool **/ pbFailed );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_GetAPICallFailureReason" )] internal static extern SteamAPICallFailure /*ESteamAPICallFailure*/ GetAPICallFailureReason( IntPtr ISteamUtils, SteamAPICall_t /*SteamAPICall_t*/ hSteamAPICall );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_GetAPICallResult" )] internal static extern bool /*bool*/ GetAPICallResult( IntPtr ISteamUtils, SteamAPICall_t /*SteamAPICall_t*/ hSteamAPICall, IntPtr /*void **/ pCallback , int /*int*/ cubCallback , int /*int*/ iCallbackExpected , out bool /*bool **/ pbFailed );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_GetIPCCallCount" )] internal static extern uint /*uint32*/ GetIPCCallCount( IntPtr ISteamUtils );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_SetWarningMessageHook" )] internal static extern void /*void*/ SetWarningMessageHook( IntPtr ISteamUtils, IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_IsOverlayEnabled" )] internal static extern bool /*bool*/ IsOverlayEnabled( IntPtr ISteamUtils );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_BOverlayNeedsPresent" )] internal static extern bool /*bool*/ BOverlayNeedsPresent( IntPtr ISteamUtils );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_CheckFileSignature" )] internal static extern ulong /*SteamAPICall_t*/ CheckFileSignature( IntPtr ISteamUtils, string /*const char **/ szFileName );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_ShowGamepadTextInput" )] internal static extern bool /*bool*/ ShowGamepadTextInput( IntPtr ISteamUtils, GamepadTextInputMode /*EGamepadTextInputMode*/ eInputMode , GamepadTextInputLineMode /*EGamepadTextInputLineMode*/ eLineInputMode , string /*const char **/ pchDescription , uint /*uint32*/ unCharMax , string /*const char **/ pchExistingText );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_GetEnteredGamepadTextLength" )] internal static extern uint /*uint32*/ GetEnteredGamepadTextLength( IntPtr ISteamUtils );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_GetEnteredGamepadTextInput" )] internal static extern bool /*bool*/ GetEnteredGamepadTextInput( IntPtr ISteamUtils, char* /*char **/ pchText , uint /*uint32*/ cchText );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_GetSteamUILanguage" )] internal static extern IntPtr GetSteamUILanguage( IntPtr ISteamUtils );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_IsSteamRunningInVR" )] internal static extern bool /*bool*/ IsSteamRunningInVR( IntPtr ISteamUtils );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_SetOverlayNotificationInset" )] internal static extern void /*void*/ SetOverlayNotificationInset( IntPtr ISteamUtils, int /*int*/ nHorizontalInset , int /*int*/ nVerticalInset );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_IsSteamInBigPictureMode" )] internal static extern bool /*bool*/ IsSteamInBigPictureMode( IntPtr ISteamUtils );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUtils_StartVRDashboard" )] internal static extern void /*void*/ StartVRDashboard( IntPtr ISteamUtils );
}
public static unsafe class ISteamMatchmaking
{
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetFavoriteGameCount" )] internal static extern int /*int*/ GetFavoriteGameCount( IntPtr ISteamMatchmaking );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetFavoriteGame" )] internal static extern bool /*bool*/ GetFavoriteGame( IntPtr ISteamMatchmaking, int /*int*/ iGame , ref AppId_t /*AppId_t **/ pnAppID, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnConnPort, out ushort /*uint16 **/ pnQueryPort, IntPtr /*uint32 **/ punFlags, out uint /*uint32 **/ pRTime32LastPlayedOnServer );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_AddFavoriteGame" )] internal static extern int /*int*/ AddFavoriteGame( IntPtr ISteamMatchmaking, AppId_t /*AppId_t*/ nAppID, uint /*uint32*/ nIP , ushort /*uint16*/ nConnPort , ushort /*uint16*/ nQueryPort , uint /*uint32*/ unFlags , uint /*uint32*/ rTime32LastPlayedOnServer );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_RemoveFavoriteGame" )] internal static extern bool /*bool*/ RemoveFavoriteGame( IntPtr ISteamMatchmaking, AppId_t /*AppId_t*/ nAppID, uint /*uint32*/ nIP , ushort /*uint16*/ nConnPort , ushort /*uint16*/ nQueryPort , uint /*uint32*/ unFlags );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_RequestLobbyList" )] internal static extern ulong /*SteamAPICall_t*/ RequestLobbyList( IntPtr ISteamMatchmaking );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListStringFilter" )] internal static extern void /*void*/ AddRequestLobbyListStringFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch , string /*const char **/ pchValueToMatch , LobbyComparison /*ELobbyComparison*/ eComparisonType );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListNumericalFilter" )] internal static extern void /*void*/ AddRequestLobbyListNumericalFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch , int /*int*/ nValueToMatch , LobbyComparison /*ELobbyComparison*/ eComparisonType );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListNearValueFilter" )] internal static extern void /*void*/ AddRequestLobbyListNearValueFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch , int /*int*/ nValueToBeCloseTo );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListFilterSlotsAvailable" )] internal static extern void /*void*/ AddRequestLobbyListFilterSlotsAvailable( IntPtr ISteamMatchmaking, int /*int*/ nSlotsAvailable );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListDistanceFilter" )] internal static extern void /*void*/ AddRequestLobbyListDistanceFilter( IntPtr ISteamMatchmaking, LobbyDistanceFilter /*ELobbyDistanceFilter*/ eLobbyDistanceFilter );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListResultCountFilter" )] internal static extern void /*void*/ AddRequestLobbyListResultCountFilter( IntPtr ISteamMatchmaking, int /*int*/ cMaxResults );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListCompatibleMembersFilter" )] internal static extern void /*void*/ AddRequestLobbyListCompatibleMembersFilter( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyByIndex" )] internal static extern ulong /*class CSteamID*/ GetLobbyByIndex( IntPtr ISteamMatchmaking, int /*int*/ iLobby );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_CreateLobby" )] internal static extern ulong /*SteamAPICall_t*/ CreateLobby( IntPtr ISteamMatchmaking, LobbyType /*ELobbyType*/ eLobbyType , int /*int*/ cMaxMembers );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_JoinLobby" )] internal static extern ulong /*SteamAPICall_t*/ JoinLobby( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_LeaveLobby" )] internal static extern void /*void*/ LeaveLobby( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_InviteUserToLobby" )] internal static extern bool /*bool*/ InviteUserToLobby( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, CSteamID /*class CSteamID*/ steamIDInvitee );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetNumLobbyMembers" )] internal static extern int /*int*/ GetNumLobbyMembers( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyMemberByIndex" )] internal static extern ulong /*class CSteamID*/ GetLobbyMemberByIndex( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, int /*int*/ iMember );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyData" )] internal static extern IntPtr GetLobbyData( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, string /*const char **/ pchKey );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyData" )] internal static extern bool /*bool*/ SetLobbyData( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, string /*const char **/ pchKey , string /*const char **/ pchValue );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyDataCount" )] internal static extern int /*int*/ GetLobbyDataCount( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyDataByIndex" )] internal static extern bool /*bool*/ GetLobbyDataByIndex( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, int /*int*/ iLobbyData , char* /*char **/ pchKey , int /*int*/ cchKeyBufferSize , char* /*char **/ pchValue , int /*int*/ cchValueBufferSize );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_DeleteLobbyData" )] internal static extern bool /*bool*/ DeleteLobbyData( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, string /*const char **/ pchKey );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyMemberData" )] internal static extern IntPtr GetLobbyMemberData( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchKey );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyMemberData" )] internal static extern void /*void*/ SetLobbyMemberData( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, string /*const char **/ pchKey , string /*const char **/ pchValue );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_SendLobbyChatMsg" )] internal static extern bool /*bool*/ SendLobbyChatMsg( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, IntPtr /*const void **/ pvMsgBody , int /*int*/ cubMsgBody );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyChatEntry" )] internal static extern int /*int*/ GetLobbyChatEntry( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, int /*int*/ iChatID , out CSteamID /*class CSteamID **/ pSteamIDUser, IntPtr /*void **/ pvData , int /*int*/ cubData , out ChatEntryType /*EChatEntryType **/ peChatEntryType );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_RequestLobbyData" )] internal static extern bool /*bool*/ RequestLobbyData( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyGameServer" )] internal static extern void /*void*/ SetLobbyGameServer( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, uint /*uint32*/ unGameServerIP , ushort /*uint16*/ unGameServerPort , CSteamID /*class CSteamID*/ steamIDGameServer );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyGameServer" )] internal static extern bool /*bool*/ GetLobbyGameServer( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, out uint /*uint32 **/ punGameServerIP, out ushort /*uint16 **/ punGameServerPort, out CSteamID /*class CSteamID **/ psteamIDGameServer );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyMemberLimit" )] internal static extern bool /*bool*/ SetLobbyMemberLimit( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, int /*int*/ cMaxMembers );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyMemberLimit" )] internal static extern int /*int*/ GetLobbyMemberLimit( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyType" )] internal static extern bool /*bool*/ SetLobbyType( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, LobbyType /*ELobbyType*/ eLobbyType );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyJoinable" )] internal static extern bool /*bool*/ SetLobbyJoinable( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, bool /*bool*/ bLobbyJoinable );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyOwner" )] internal static extern ulong /*class CSteamID*/ GetLobbyOwner( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyOwner" )] internal static extern bool /*bool*/ SetLobbyOwner( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, CSteamID /*class CSteamID*/ steamIDNewOwner );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLinkedLobby" )] internal static extern bool /*bool*/ SetLinkedLobby( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, CSteamID /*class CSteamID*/ steamIDLobbyDependent );
}
public static unsafe class ISteamMatchmakingServers
{
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestInternetServerList" )] internal static extern IntPtr /*HServerListRequest*/ RequestInternetServerList( IntPtr ISteamMatchmakingServers, AppId_t /*AppId_t*/ iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters , IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestLANServerList" )] internal static extern IntPtr /*HServerListRequest*/ RequestLANServerList( IntPtr ISteamMatchmakingServers, AppId_t /*AppId_t*/ iApp, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestFriendsServerList" )] internal static extern IntPtr /*HServerListRequest*/ RequestFriendsServerList( IntPtr ISteamMatchmakingServers, AppId_t /*AppId_t*/ iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters , IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestFavoritesServerList" )] internal static extern IntPtr /*HServerListRequest*/ RequestFavoritesServerList( IntPtr ISteamMatchmakingServers, AppId_t /*AppId_t*/ iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters , IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestHistoryServerList" )] internal static extern IntPtr /*HServerListRequest*/ RequestHistoryServerList( IntPtr ISteamMatchmakingServers, AppId_t /*AppId_t*/ iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters , IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestSpectatorServerList" )] internal static extern IntPtr /*HServerListRequest*/ RequestSpectatorServerList( IntPtr ISteamMatchmakingServers, AppId_t /*AppId_t*/ iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters , IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_ReleaseRequest" )] internal static extern void /*void*/ ReleaseRequest( IntPtr ISteamMatchmakingServers, HServerListRequest /*HServerListRequest*/ hServerListRequest );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_GetServerDetails" )] internal static extern IntPtr /*class gameserveritem_t **/ GetServerDetails( IntPtr ISteamMatchmakingServers, HServerListRequest /*HServerListRequest*/ hRequest, int /*int*/ iServer );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_CancelQuery" )] internal static extern void /*void*/ CancelQuery( IntPtr ISteamMatchmakingServers, HServerListRequest /*HServerListRequest*/ hRequest );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RefreshQuery" )] internal static extern void /*void*/ RefreshQuery( IntPtr ISteamMatchmakingServers, HServerListRequest /*HServerListRequest*/ hRequest );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_IsRefreshing" )] internal static extern bool /*bool*/ IsRefreshing( IntPtr ISteamMatchmakingServers, HServerListRequest /*HServerListRequest*/ hRequest );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_GetServerCount" )] internal static extern int /*int*/ GetServerCount( IntPtr ISteamMatchmakingServers, HServerListRequest /*HServerListRequest*/ hRequest );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RefreshServer" )] internal static extern void /*void*/ RefreshServer( IntPtr ISteamMatchmakingServers, HServerListRequest /*HServerListRequest*/ hRequest, int /*int*/ iServer );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_PingServer" )] internal static extern int /*HServerQuery*/ PingServer( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP , ushort /*uint16*/ usPort , IntPtr /*class ISteamMatchmakingPingResponse **/ pRequestServersResponse );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_PlayerDetails" )] internal static extern int /*HServerQuery*/ PlayerDetails( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP , ushort /*uint16*/ usPort , IntPtr /*class ISteamMatchmakingPlayersResponse **/ pRequestServersResponse );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_ServerRules" )] internal static extern int /*HServerQuery*/ ServerRules( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP , ushort /*uint16*/ usPort , IntPtr /*class ISteamMatchmakingRulesResponse **/ pRequestServersResponse );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_CancelServerQuery" )] internal static extern void /*void*/ CancelServerQuery( IntPtr ISteamMatchmakingServers, HServerQuery /*HServerQuery*/ hServerQuery );
}
public static unsafe class ISteamRemoteStorage
{
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWrite" )] internal static extern bool /*bool*/ FileWrite( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile , IntPtr /*const void **/ pvData , int /*int32*/ cubData );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileRead" )] internal static extern int /*int32*/ FileRead( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile , IntPtr /*void **/ pvData , int /*int32*/ cubDataToRead );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteAsync" )] internal static extern ulong /*SteamAPICall_t*/ FileWriteAsync( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile , IntPtr /*const void **/ pvData , uint /*uint32*/ cubData );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileReadAsync" )] internal static extern ulong /*SteamAPICall_t*/ FileReadAsync( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile , uint /*uint32*/ nOffset , uint /*uint32*/ cubToRead );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileReadAsyncComplete" )] internal static extern bool /*bool*/ FileReadAsyncComplete( IntPtr ISteamRemoteStorage, SteamAPICall_t /*SteamAPICall_t*/ hReadCall, IntPtr /*void **/ pvBuffer , uint /*uint32*/ cubToRead );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileForget" )] internal static extern bool /*bool*/ FileForget( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileDelete" )] internal static extern bool /*bool*/ FileDelete( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileShare" )] internal static extern ulong /*SteamAPICall_t*/ FileShare( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_SetSyncPlatforms" )] internal static extern bool /*bool*/ SetSyncPlatforms( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile , RemoteStoragePlatform /*ERemoteStoragePlatform*/ eRemoteStoragePlatform );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteStreamOpen" )] internal static extern ulong /*UGCFileWriteStreamHandle_t*/ FileWriteStreamOpen( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteStreamWriteChunk" )] internal static extern bool /*bool*/ FileWriteStreamWriteChunk( IntPtr ISteamRemoteStorage, UGCFileWriteStreamHandle_t /*UGCFileWriteStreamHandle_t*/ writeHandle, IntPtr /*const void **/ pvData , int /*int32*/ cubData );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteStreamClose" )] internal static extern bool /*bool*/ FileWriteStreamClose( IntPtr ISteamRemoteStorage, UGCFileWriteStreamHandle_t /*UGCFileWriteStreamHandle_t*/ writeHandle );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteStreamCancel" )] internal static extern bool /*bool*/ FileWriteStreamCancel( IntPtr ISteamRemoteStorage, UGCFileWriteStreamHandle_t /*UGCFileWriteStreamHandle_t*/ writeHandle );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileExists" )] internal static extern bool /*bool*/ FileExists( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FilePersisted" )] internal static extern bool /*bool*/ FilePersisted( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetFileSize" )] internal static extern int /*int32*/ GetFileSize( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetFileTimestamp" )] internal static extern long /*int64*/ GetFileTimestamp( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetSyncPlatforms" )] internal static extern RemoteStoragePlatform /*ERemoteStoragePlatform*/ GetSyncPlatforms( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetFileCount" )] internal static extern int /*int32*/ GetFileCount( IntPtr ISteamRemoteStorage );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetFileNameAndSize" )] internal static extern IntPtr GetFileNameAndSize( IntPtr ISteamRemoteStorage, int /*int*/ iFile , IntPtr /*int32 **/ pnFileSizeInBytes );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetQuota" )] internal static extern bool /*bool*/ GetQuota( IntPtr ISteamRemoteStorage, IntPtr /*int32 **/ pnTotalBytes, IntPtr /*int32 **/ puAvailableBytes );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_IsCloudEnabledForAccount" )] internal static extern bool /*bool*/ IsCloudEnabledForAccount( IntPtr ISteamRemoteStorage );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_IsCloudEnabledForApp" )] internal static extern bool /*bool*/ IsCloudEnabledForApp( IntPtr ISteamRemoteStorage );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_SetCloudEnabledForApp" )] internal static extern void /*void*/ SetCloudEnabledForApp( IntPtr ISteamRemoteStorage, bool /*bool*/ bEnabled );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UGCDownload" )] internal static extern ulong /*SteamAPICall_t*/ UGCDownload( IntPtr ISteamRemoteStorage, UGCHandle_t /*UGCHandle_t*/ hContent, uint /*uint32*/ unPriority );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetUGCDownloadProgress" )] internal static extern bool /*bool*/ GetUGCDownloadProgress( IntPtr ISteamRemoteStorage, UGCHandle_t /*UGCHandle_t*/ hContent, out int /*int32 **/ pnBytesDownloaded, out int /*int32 **/ pnBytesExpected );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetUGCDetails" )] internal static extern bool /*bool*/ GetUGCDetails( IntPtr ISteamRemoteStorage, UGCHandle_t /*UGCHandle_t*/ hContent, ref AppId_t /*AppId_t **/ pnAppID, char* /*char ***/ ppchName , IntPtr /*int32 **/ pnFileSizeInBytes, out CSteamID /*class CSteamID **/ pSteamIDOwner );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UGCRead" )] internal static extern int /*int32*/ UGCRead( IntPtr ISteamRemoteStorage, UGCHandle_t /*UGCHandle_t*/ hContent, IntPtr /*void **/ pvData , int /*int32*/ cubDataToRead , uint /*uint32*/ cOffset , UGCReadAction /*EUGCReadAction*/ eAction );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetCachedUGCCount" )] internal static extern int /*int32*/ GetCachedUGCCount( IntPtr ISteamRemoteStorage );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetCachedUGCHandle" )] internal static extern ulong /*UGCHandle_t*/ GetCachedUGCHandle( IntPtr ISteamRemoteStorage, int /*int32*/ iCachedContent );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_PublishWorkshopFile" )] internal static extern ulong /*SteamAPICall_t*/ PublishWorkshopFile( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile , string /*const char **/ pchPreviewFile , AppId_t /*AppId_t*/ nConsumerAppId, string /*const char **/ pchTitle , string /*const char **/ pchDescription , RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility , IntPtr /*struct SteamParamStringArray_t **/ pTags, WorkshopFileType /*EWorkshopFileType*/ eWorkshopFileType );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_CreatePublishedFileUpdateRequest" )] internal static extern ulong /*PublishedFileUpdateHandle_t*/ CreatePublishedFileUpdateRequest( IntPtr ISteamRemoteStorage, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileId );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileFile" )] internal static extern bool /*bool*/ UpdatePublishedFileFile( IntPtr ISteamRemoteStorage, PublishedFileUpdateHandle_t /*PublishedFileUpdateHandle_t*/ updateHandle, string /*const char **/ pchFile );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFilePreviewFile" )] internal static extern bool /*bool*/ UpdatePublishedFilePreviewFile( IntPtr ISteamRemoteStorage, PublishedFileUpdateHandle_t /*PublishedFileUpdateHandle_t*/ updateHandle, string /*const char **/ pchPreviewFile );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTitle" )] internal static extern bool /*bool*/ UpdatePublishedFileTitle( IntPtr ISteamRemoteStorage, PublishedFileUpdateHandle_t /*PublishedFileUpdateHandle_t*/ updateHandle, string /*const char **/ pchTitle );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileDescription" )] internal static extern bool /*bool*/ UpdatePublishedFileDescription( IntPtr ISteamRemoteStorage, PublishedFileUpdateHandle_t /*PublishedFileUpdateHandle_t*/ updateHandle, string /*const char **/ pchDescription );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileVisibility" )] internal static extern bool /*bool*/ UpdatePublishedFileVisibility( IntPtr ISteamRemoteStorage, PublishedFileUpdateHandle_t /*PublishedFileUpdateHandle_t*/ updateHandle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTags" )] internal static extern bool /*bool*/ UpdatePublishedFileTags( IntPtr ISteamRemoteStorage, PublishedFileUpdateHandle_t /*PublishedFileUpdateHandle_t*/ updateHandle, IntPtr /*struct SteamParamStringArray_t **/ pTags );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_CommitPublishedFileUpdate" )] internal static extern ulong /*SteamAPICall_t*/ CommitPublishedFileUpdate( IntPtr ISteamRemoteStorage, PublishedFileUpdateHandle_t /*PublishedFileUpdateHandle_t*/ updateHandle );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetPublishedFileDetails" )] internal static extern ulong /*SteamAPICall_t*/ GetPublishedFileDetails( IntPtr ISteamRemoteStorage, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileId, uint /*uint32*/ unMaxSecondsOld );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_DeletePublishedFile" )] internal static extern ulong /*SteamAPICall_t*/ DeletePublishedFile( IntPtr ISteamRemoteStorage, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileId );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumerateUserPublishedFiles" )] internal static extern ulong /*SteamAPICall_t*/ EnumerateUserPublishedFiles( IntPtr ISteamRemoteStorage, uint /*uint32*/ unStartIndex );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_SubscribePublishedFile" )] internal static extern ulong /*SteamAPICall_t*/ SubscribePublishedFile( IntPtr ISteamRemoteStorage, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileId );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumerateUserSubscribedFiles" )] internal static extern ulong /*SteamAPICall_t*/ EnumerateUserSubscribedFiles( IntPtr ISteamRemoteStorage, uint /*uint32*/ unStartIndex );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UnsubscribePublishedFile" )] internal static extern ulong /*SteamAPICall_t*/ UnsubscribePublishedFile( IntPtr ISteamRemoteStorage, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileId );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileSetChangeDescription" )] internal static extern bool /*bool*/ UpdatePublishedFileSetChangeDescription( IntPtr ISteamRemoteStorage, PublishedFileUpdateHandle_t /*PublishedFileUpdateHandle_t*/ updateHandle, string /*const char **/ pchChangeDescription );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetPublishedItemVoteDetails" )] internal static extern ulong /*SteamAPICall_t*/ GetPublishedItemVoteDetails( IntPtr ISteamRemoteStorage, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileId );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdateUserPublishedItemVote" )] internal static extern ulong /*SteamAPICall_t*/ UpdateUserPublishedItemVote( IntPtr ISteamRemoteStorage, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileId, bool /*bool*/ bVoteUp );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetUserPublishedItemVoteDetails" )] internal static extern ulong /*SteamAPICall_t*/ GetUserPublishedItemVoteDetails( IntPtr ISteamRemoteStorage, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileId );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumerateUserSharedWorkshopFiles" )] internal static extern ulong /*SteamAPICall_t*/ EnumerateUserSharedWorkshopFiles( IntPtr ISteamRemoteStorage, CSteamID /*class CSteamID*/ steamId, uint /*uint32*/ unStartIndex , IntPtr /*struct SteamParamStringArray_t **/ pRequiredTags, IntPtr /*struct SteamParamStringArray_t **/ pExcludedTags );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_PublishVideo" )] internal static extern ulong /*SteamAPICall_t*/ PublishVideo( IntPtr ISteamRemoteStorage, WorkshopVideoProvider /*EWorkshopVideoProvider*/ eVideoProvider , string /*const char **/ pchVideoAccount , string /*const char **/ pchVideoIdentifier , string /*const char **/ pchPreviewFile , AppId_t /*AppId_t*/ nConsumerAppId, string /*const char **/ pchTitle , string /*const char **/ pchDescription , RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility , IntPtr /*struct SteamParamStringArray_t **/ pTags );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_SetUserPublishedFileAction" )] internal static extern ulong /*SteamAPICall_t*/ SetUserPublishedFileAction( IntPtr ISteamRemoteStorage, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileId, WorkshopFileAction /*EWorkshopFileAction*/ eAction );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumeratePublishedFilesByUserAction" )] internal static extern ulong /*SteamAPICall_t*/ EnumeratePublishedFilesByUserAction( IntPtr ISteamRemoteStorage, WorkshopFileAction /*EWorkshopFileAction*/ eAction , uint /*uint32*/ unStartIndex );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumeratePublishedWorkshopFiles" )] internal static extern ulong /*SteamAPICall_t*/ EnumeratePublishedWorkshopFiles( IntPtr ISteamRemoteStorage, WorkshopEnumerationType /*EWorkshopEnumerationType*/ eEnumerationType , uint /*uint32*/ unStartIndex , uint /*uint32*/ unCount , uint /*uint32*/ unDays , IntPtr /*struct SteamParamStringArray_t **/ pTags, IntPtr /*struct SteamParamStringArray_t **/ pUserTags );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UGCDownloadToLocation" )] internal static extern ulong /*SteamAPICall_t*/ UGCDownloadToLocation( IntPtr ISteamRemoteStorage, UGCHandle_t /*UGCHandle_t*/ hContent, string /*const char **/ pchLocation , uint /*uint32*/ unPriority );
}
public static unsafe class ISteamUserStats
{
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_RequestCurrentStats" )] internal static extern bool /*bool*/ RequestCurrentStats( IntPtr ISteamUserStats );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetStat" )] internal static extern bool /*bool*/ GetStat( IntPtr ISteamUserStats, string /*const char **/ pchName , out int /*int32 **/ pData );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetStat0" )] internal static extern bool /*bool*/ GetStat0( IntPtr ISteamUserStats, string /*const char **/ pchName , out float /*float **/ pData );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_SetStat" )] internal static extern bool /*bool*/ SetStat( IntPtr ISteamUserStats, string /*const char **/ pchName , int /*int32*/ nData );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_SetStat0" )] internal static extern bool /*bool*/ SetStat0( IntPtr ISteamUserStats, string /*const char **/ pchName , float /*float*/ fData );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_UpdateAvgRateStat" )] internal static extern bool /*bool*/ UpdateAvgRateStat( IntPtr ISteamUserStats, string /*const char **/ pchName , float /*float*/ flCountThisSession , double /*double*/ dSessionLength );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievement" )] internal static extern bool /*bool*/ GetAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName , out bool /*bool **/ pbAchieved );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_SetAchievement" )] internal static extern bool /*bool*/ SetAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_ClearAchievement" )] internal static extern bool /*bool*/ ClearAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementAndUnlockTime" )] internal static extern bool /*bool*/ GetAchievementAndUnlockTime( IntPtr ISteamUserStats, string /*const char **/ pchName , out bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_StoreStats" )] internal static extern bool /*bool*/ StoreStats( IntPtr ISteamUserStats );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementIcon" )] internal static extern int /*int*/ GetAchievementIcon( IntPtr ISteamUserStats, string /*const char **/ pchName );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementDisplayAttribute" )] internal static extern IntPtr GetAchievementDisplayAttribute( IntPtr ISteamUserStats, string /*const char **/ pchName , string /*const char **/ pchKey );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_IndicateAchievementProgress" )] internal static extern bool /*bool*/ IndicateAchievementProgress( IntPtr ISteamUserStats, string /*const char **/ pchName , uint /*uint32*/ nCurProgress , uint /*uint32*/ nMaxProgress );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetNumAchievements" )] internal static extern uint /*uint32*/ GetNumAchievements( IntPtr ISteamUserStats );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementName" )] internal static extern IntPtr GetAchievementName( IntPtr ISteamUserStats, uint /*uint32*/ iAchievement );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_RequestUserStats" )] internal static extern ulong /*SteamAPICall_t*/ RequestUserStats( IntPtr ISteamUserStats, CSteamID /*class CSteamID*/ steamIDUser );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetUserStat" )] internal static extern bool /*bool*/ GetUserStat( IntPtr ISteamUserStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , out int /*int32 **/ pData );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetUserStat0" )] internal static extern bool /*bool*/ GetUserStat0( IntPtr ISteamUserStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , out float /*float **/ pData );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetUserAchievement" )] internal static extern bool /*bool*/ GetUserAchievement( IntPtr ISteamUserStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , out bool /*bool **/ pbAchieved );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetUserAchievementAndUnlockTime" )] internal static extern bool /*bool*/ GetUserAchievementAndUnlockTime( IntPtr ISteamUserStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , out bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_ResetAllStats" )] internal static extern bool /*bool*/ ResetAllStats( IntPtr ISteamUserStats, bool /*bool*/ bAchievementsToo );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_FindOrCreateLeaderboard" )] internal static extern ulong /*SteamAPICall_t*/ FindOrCreateLeaderboard( IntPtr ISteamUserStats, string /*const char **/ pchLeaderboardName , LeaderboardSortMethod /*ELeaderboardSortMethod*/ eLeaderboardSortMethod , LeaderboardDisplayType /*ELeaderboardDisplayType*/ eLeaderboardDisplayType );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_FindLeaderboard" )] internal static extern ulong /*SteamAPICall_t*/ FindLeaderboard( IntPtr ISteamUserStats, string /*const char **/ pchLeaderboardName );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetLeaderboardName" )] internal static extern IntPtr GetLeaderboardName( IntPtr ISteamUserStats, SteamLeaderboard_t /*SteamLeaderboard_t*/ hSteamLeaderboard );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetLeaderboardEntryCount" )] internal static extern int /*int*/ GetLeaderboardEntryCount( IntPtr ISteamUserStats, SteamLeaderboard_t /*SteamLeaderboard_t*/ hSteamLeaderboard );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetLeaderboardSortMethod" )] internal static extern LeaderboardSortMethod /*ELeaderboardSortMethod*/ GetLeaderboardSortMethod( IntPtr ISteamUserStats, SteamLeaderboard_t /*SteamLeaderboard_t*/ hSteamLeaderboard );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetLeaderboardDisplayType" )] internal static extern LeaderboardDisplayType /*ELeaderboardDisplayType*/ GetLeaderboardDisplayType( IntPtr ISteamUserStats, SteamLeaderboard_t /*SteamLeaderboard_t*/ hSteamLeaderboard );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_DownloadLeaderboardEntries" )] internal static extern ulong /*SteamAPICall_t*/ DownloadLeaderboardEntries( IntPtr ISteamUserStats, SteamLeaderboard_t /*SteamLeaderboard_t*/ hSteamLeaderboard, LeaderboardDataRequest /*ELeaderboardDataRequest*/ eLeaderboardDataRequest , int /*int*/ nRangeStart , int /*int*/ nRangeEnd );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_DownloadLeaderboardEntriesForUsers" )] internal static extern ulong /*SteamAPICall_t*/ DownloadLeaderboardEntriesForUsers( IntPtr ISteamUserStats, SteamLeaderboard_t /*SteamLeaderboard_t*/ hSteamLeaderboard, IntPtr /*class CSteamID **/ prgUsers, int /*int*/ cUsers );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetDownloadedLeaderboardEntry" )] internal static extern bool /*bool*/ GetDownloadedLeaderboardEntry( IntPtr ISteamUserStats, SteamLeaderboardEntries_t /*SteamLeaderboardEntries_t*/ hSteamLeaderboardEntries, int /*int*/ index , ref LeaderboardEntry_t /*struct LeaderboardEntry_t **/ pLeaderboardEntry, IntPtr /*int32 **/ pDetails, int /*int*/ cDetailsMax );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_UploadLeaderboardScore" )] internal static extern ulong /*SteamAPICall_t*/ UploadLeaderboardScore( IntPtr ISteamUserStats, SteamLeaderboard_t /*SteamLeaderboard_t*/ hSteamLeaderboard, LeaderboardUploadScoreMethod /*ELeaderboardUploadScoreMethod*/ eLeaderboardUploadScoreMethod , int /*int32*/ nScore , IntPtr /*const int32 **/ pScoreDetails, int /*int*/ cScoreDetailsCount );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_AttachLeaderboardUGC" )] internal static extern ulong /*SteamAPICall_t*/ AttachLeaderboardUGC( IntPtr ISteamUserStats, SteamLeaderboard_t /*SteamLeaderboard_t*/ hSteamLeaderboard, UGCHandle_t /*UGCHandle_t*/ hUGC );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetNumberOfCurrentPlayers" )] internal static extern ulong /*SteamAPICall_t*/ GetNumberOfCurrentPlayers( IntPtr ISteamUserStats );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_RequestGlobalAchievementPercentages" )] internal static extern ulong /*SteamAPICall_t*/ RequestGlobalAchievementPercentages( IntPtr ISteamUserStats );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetMostAchievedAchievementInfo" )] internal static extern int /*int*/ GetMostAchievedAchievementInfo( IntPtr ISteamUserStats, char* /*char **/ pchName , uint /*uint32*/ unNameBufLen , out float /*float **/ pflPercent, out bool /*bool **/ pbAchieved );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetNextMostAchievedAchievementInfo" )] internal static extern int /*int*/ GetNextMostAchievedAchievementInfo( IntPtr ISteamUserStats, int /*int*/ iIteratorPrevious , char* /*char **/ pchName , uint /*uint32*/ unNameBufLen , out float /*float **/ pflPercent, out bool /*bool **/ pbAchieved );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementAchievedPercent" )] internal static extern bool /*bool*/ GetAchievementAchievedPercent( IntPtr ISteamUserStats, string /*const char **/ pchName , out float /*float **/ pflPercent );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_RequestGlobalStats" )] internal static extern ulong /*SteamAPICall_t*/ RequestGlobalStats( IntPtr ISteamUserStats, int /*int*/ nHistoryDays );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetGlobalStat" )] internal static extern bool /*bool*/ GetGlobalStat( IntPtr ISteamUserStats, string /*const char **/ pchStatName , out long /*int64 **/ pData );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetGlobalStat0" )] internal static extern bool /*bool*/ GetGlobalStat0( IntPtr ISteamUserStats, string /*const char **/ pchStatName , out double /*double **/ pData );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetGlobalStatHistory" )] internal static extern int /*int32*/ GetGlobalStatHistory( IntPtr ISteamUserStats, string /*const char **/ pchStatName , out long /*int64 **/ pData, uint /*uint32*/ cubData );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUserStats_GetGlobalStatHistory0" )] internal static extern int /*int32*/ GetGlobalStatHistory0( IntPtr ISteamUserStats, string /*const char **/ pchStatName , out double /*double **/ pData, uint /*uint32*/ cubData );
}
public static unsafe class ISteamApps
{
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_BIsSubscribed" )] internal static extern bool /*bool*/ BIsSubscribed( IntPtr ISteamApps );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_BIsLowViolence" )] internal static extern bool /*bool*/ BIsLowViolence( IntPtr ISteamApps );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_BIsCybercafe" )] internal static extern bool /*bool*/ BIsCybercafe( IntPtr ISteamApps );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_BIsVACBanned" )] internal static extern bool /*bool*/ BIsVACBanned( IntPtr ISteamApps );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_GetCurrentGameLanguage" )] internal static extern IntPtr GetCurrentGameLanguage( IntPtr ISteamApps );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_GetAvailableGameLanguages" )] internal static extern IntPtr GetAvailableGameLanguages( IntPtr ISteamApps );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_BIsSubscribedApp" )] internal static extern bool /*bool*/ BIsSubscribedApp( IntPtr ISteamApps, AppId_t /*AppId_t*/ appID );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_BIsDlcInstalled" )] internal static extern bool /*bool*/ BIsDlcInstalled( IntPtr ISteamApps, AppId_t /*AppId_t*/ appID );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_GetEarliestPurchaseUnixTime" )] internal static extern uint /*uint32*/ GetEarliestPurchaseUnixTime( IntPtr ISteamApps, AppId_t /*AppId_t*/ nAppID );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_BIsSubscribedFromFreeWeekend" )] internal static extern bool /*bool*/ BIsSubscribedFromFreeWeekend( IntPtr ISteamApps );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_GetDLCCount" )] internal static extern int /*int*/ GetDLCCount( IntPtr ISteamApps );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_BGetDLCDataByIndex" )] internal static extern bool /*bool*/ BGetDLCDataByIndex( IntPtr ISteamApps, int /*int*/ iDLC , ref AppId_t /*AppId_t **/ pAppID, out bool /*bool **/ pbAvailable, char* /*char **/ pchName , int /*int*/ cchNameBufferSize );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_InstallDLC" )] internal static extern void /*void*/ InstallDLC( IntPtr ISteamApps, AppId_t /*AppId_t*/ nAppID );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_UninstallDLC" )] internal static extern void /*void*/ UninstallDLC( IntPtr ISteamApps, AppId_t /*AppId_t*/ nAppID );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_RequestAppProofOfPurchaseKey" )] internal static extern void /*void*/ RequestAppProofOfPurchaseKey( IntPtr ISteamApps, AppId_t /*AppId_t*/ nAppID );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_GetCurrentBetaName" )] internal static extern bool /*bool*/ GetCurrentBetaName( IntPtr ISteamApps, char* /*char **/ pchName , int /*int*/ cchNameBufferSize );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_MarkContentCorrupt" )] internal static extern bool /*bool*/ MarkContentCorrupt( IntPtr ISteamApps, bool /*bool*/ bMissingFilesOnly );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_GetInstalledDepots" )] internal static extern uint /*uint32*/ GetInstalledDepots( IntPtr ISteamApps, AppId_t /*AppId_t*/ appID, IntPtr /*DepotId_t **/ pvecDepots, uint /*uint32*/ cMaxDepots );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_GetAppInstallDir" )] internal static extern uint /*uint32*/ GetAppInstallDir( IntPtr ISteamApps, AppId_t /*AppId_t*/ appID, char* /*char **/ pchFolder , uint /*uint32*/ cchFolderBufferSize );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_BIsAppInstalled" )] internal static extern bool /*bool*/ BIsAppInstalled( IntPtr ISteamApps, AppId_t /*AppId_t*/ appID );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_GetAppOwner" )] internal static extern ulong /*class CSteamID*/ GetAppOwner( IntPtr ISteamApps );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_GetLaunchQueryParam" )] internal static extern IntPtr GetLaunchQueryParam( IntPtr ISteamApps, string /*const char **/ pchKey );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_GetDlcDownloadProgress" )] internal static extern bool /*bool*/ GetDlcDownloadProgress( IntPtr ISteamApps, AppId_t /*AppId_t*/ nAppID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_GetAppBuildId" )] internal static extern int /*int*/ GetAppBuildId( IntPtr ISteamApps );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamApps_RequestAllProofOfPurchaseKeys" )] internal static extern void /*void*/ RequestAllProofOfPurchaseKeys( IntPtr ISteamApps );
}
public static unsafe class ISteamNetworking
{
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_SendP2PPacket" )] internal static extern bool /*bool*/ SendP2PPacket( IntPtr ISteamNetworking, CSteamID /*class CSteamID*/ steamIDRemote, IntPtr /*const void **/ pubData , uint /*uint32*/ cubData , P2PSend /*EP2PSend*/ eP2PSendType , int /*int*/ nChannel );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_IsP2PPacketAvailable" )] internal static extern bool /*bool*/ IsP2PPacketAvailable( IntPtr ISteamNetworking, out uint /*uint32 **/ pcubMsgSize, int /*int*/ nChannel );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_ReadP2PPacket" )] internal static extern bool /*bool*/ ReadP2PPacket( IntPtr ISteamNetworking, IntPtr /*void **/ pubDest , uint /*uint32*/ cubDest , out uint /*uint32 **/ pcubMsgSize, out CSteamID /*class CSteamID **/ psteamIDRemote, int /*int*/ nChannel );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_AcceptP2PSessionWithUser" )] internal static extern bool /*bool*/ AcceptP2PSessionWithUser( IntPtr ISteamNetworking, CSteamID /*class CSteamID*/ steamIDRemote );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_CloseP2PSessionWithUser" )] internal static extern bool /*bool*/ CloseP2PSessionWithUser( IntPtr ISteamNetworking, CSteamID /*class CSteamID*/ steamIDRemote );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_CloseP2PChannelWithUser" )] internal static extern bool /*bool*/ CloseP2PChannelWithUser( IntPtr ISteamNetworking, CSteamID /*class CSteamID*/ steamIDRemote, int /*int*/ nChannel );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_GetP2PSessionState" )] internal static extern bool /*bool*/ GetP2PSessionState( IntPtr ISteamNetworking, CSteamID /*class CSteamID*/ steamIDRemote, ref P2PSessionState_t /*struct P2PSessionState_t **/ pConnectionState );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_AllowP2PPacketRelay" )] internal static extern bool /*bool*/ AllowP2PPacketRelay( IntPtr ISteamNetworking, bool /*bool*/ bAllow );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_CreateListenSocket" )] internal static extern uint /*SNetListenSocket_t*/ CreateListenSocket( IntPtr ISteamNetworking, int /*int*/ nVirtualP2PPort , uint /*uint32*/ nIP , ushort /*uint16*/ nPort , bool /*bool*/ bAllowUseOfPacketRelay );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_CreateP2PConnectionSocket" )] internal static extern uint /*SNetSocket_t*/ CreateP2PConnectionSocket( IntPtr ISteamNetworking, CSteamID /*class CSteamID*/ steamIDTarget, int /*int*/ nVirtualPort , int /*int*/ nTimeoutSec , bool /*bool*/ bAllowUseOfPacketRelay );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_CreateConnectionSocket" )] internal static extern uint /*SNetSocket_t*/ CreateConnectionSocket( IntPtr ISteamNetworking, uint /*uint32*/ nIP , ushort /*uint16*/ nPort , int /*int*/ nTimeoutSec );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_DestroySocket" )] internal static extern bool /*bool*/ DestroySocket( IntPtr ISteamNetworking, SNetSocket_t /*SNetSocket_t*/ hSocket, bool /*bool*/ bNotifyRemoteEnd );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_DestroyListenSocket" )] internal static extern bool /*bool*/ DestroyListenSocket( IntPtr ISteamNetworking, SNetListenSocket_t /*SNetListenSocket_t*/ hSocket, bool /*bool*/ bNotifyRemoteEnd );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_SendDataOnSocket" )] internal static extern bool /*bool*/ SendDataOnSocket( IntPtr ISteamNetworking, SNetSocket_t /*SNetSocket_t*/ hSocket, IntPtr /*void **/ pubData , uint /*uint32*/ cubData , bool /*bool*/ bReliable );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_IsDataAvailableOnSocket" )] internal static extern bool /*bool*/ IsDataAvailableOnSocket( IntPtr ISteamNetworking, SNetSocket_t /*SNetSocket_t*/ hSocket, out uint /*uint32 **/ pcubMsgSize );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_RetrieveDataFromSocket" )] internal static extern bool /*bool*/ RetrieveDataFromSocket( IntPtr ISteamNetworking, SNetSocket_t /*SNetSocket_t*/ hSocket, IntPtr /*void **/ pubDest , uint /*uint32*/ cubDest , out uint /*uint32 **/ pcubMsgSize );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_IsDataAvailable" )] internal static extern bool /*bool*/ IsDataAvailable( IntPtr ISteamNetworking, SNetListenSocket_t /*SNetListenSocket_t*/ hListenSocket, out uint /*uint32 **/ pcubMsgSize, ref SNetSocket_t /*SNetSocket_t **/ phSocket );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_RetrieveData" )] internal static extern bool /*bool*/ RetrieveData( IntPtr ISteamNetworking, SNetListenSocket_t /*SNetListenSocket_t*/ hListenSocket, IntPtr /*void **/ pubDest , uint /*uint32*/ cubDest , out uint /*uint32 **/ pcubMsgSize, ref SNetSocket_t /*SNetSocket_t **/ phSocket );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_GetSocketInfo" )] internal static extern bool /*bool*/ GetSocketInfo( IntPtr ISteamNetworking, SNetSocket_t /*SNetSocket_t*/ hSocket, out CSteamID /*class CSteamID **/ pSteamIDRemote, IntPtr /*int **/ peSocketStatus, out uint /*uint32 **/ punIPRemote, out ushort /*uint16 **/ punPortRemote );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_GetListenSocketInfo" )] internal static extern bool /*bool*/ GetListenSocketInfo( IntPtr ISteamNetworking, SNetListenSocket_t /*SNetListenSocket_t*/ hListenSocket, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnPort );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_GetSocketConnectionType" )] internal static extern SNetSocketConnectionType /*ESNetSocketConnectionType*/ GetSocketConnectionType( IntPtr ISteamNetworking, SNetSocket_t /*SNetSocket_t*/ hSocket );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamNetworking_GetMaxPacketSize" )] internal static extern int /*int*/ GetMaxPacketSize( IntPtr ISteamNetworking, SNetSocket_t /*SNetSocket_t*/ hSocket );
}
public static unsafe class ISteamScreenshots
{
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamScreenshots_WriteScreenshot" )] internal static extern uint /*ScreenshotHandle*/ WriteScreenshot( IntPtr ISteamScreenshots, IntPtr /*void **/ pubRGB , uint /*uint32*/ cubRGB , int /*int*/ nWidth , int /*int*/ nHeight );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamScreenshots_AddScreenshotToLibrary" )] internal static extern uint /*ScreenshotHandle*/ AddScreenshotToLibrary( IntPtr ISteamScreenshots, string /*const char **/ pchFilename , string /*const char **/ pchThumbnailFilename , int /*int*/ nWidth , int /*int*/ nHeight );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamScreenshots_TriggerScreenshot" )] internal static extern void /*void*/ TriggerScreenshot( IntPtr ISteamScreenshots );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamScreenshots_HookScreenshots" )] internal static extern void /*void*/ HookScreenshots( IntPtr ISteamScreenshots, bool /*bool*/ bHook );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamScreenshots_SetLocation" )] internal static extern bool /*bool*/ SetLocation( IntPtr ISteamScreenshots, ScreenshotHandle /*ScreenshotHandle*/ hScreenshot, string /*const char **/ pchLocation );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamScreenshots_TagUser" )] internal static extern bool /*bool*/ TagUser( IntPtr ISteamScreenshots, ScreenshotHandle /*ScreenshotHandle*/ hScreenshot, CSteamID /*class CSteamID*/ steamID );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamScreenshots_TagPublishedFile" )] internal static extern bool /*bool*/ TagPublishedFile( IntPtr ISteamScreenshots, ScreenshotHandle /*ScreenshotHandle*/ hScreenshot, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileID );
}
public static unsafe class ISteamMusic
{
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusic_BIsEnabled" )] internal static extern bool /*bool*/ BIsEnabled( IntPtr ISteamMusic );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusic_BIsPlaying" )] internal static extern bool /*bool*/ BIsPlaying( IntPtr ISteamMusic );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusic_GetPlaybackStatus" )] internal static extern AudioPlayback_Status /*AudioPlayback_Status*/ GetPlaybackStatus( IntPtr ISteamMusic );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusic_Play" )] internal static extern void /*void*/ Play( IntPtr ISteamMusic );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusic_Pause" )] internal static extern void /*void*/ Pause( IntPtr ISteamMusic );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusic_PlayPrevious" )] internal static extern void /*void*/ PlayPrevious( IntPtr ISteamMusic );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusic_PlayNext" )] internal static extern void /*void*/ PlayNext( IntPtr ISteamMusic );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusic_SetVolume" )] internal static extern void /*void*/ SetVolume( IntPtr ISteamMusic, float /*float*/ flVolume );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusic_GetVolume" )] internal static extern float /*float*/ GetVolume( IntPtr ISteamMusic );
}
public static unsafe class ISteamMusicRemote
{
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_RegisterSteamMusicRemote" )] internal static extern bool /*bool*/ RegisterSteamMusicRemote( IntPtr ISteamMusicRemote, string /*const char **/ pchName );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_DeregisterSteamMusicRemote" )] internal static extern bool /*bool*/ DeregisterSteamMusicRemote( IntPtr ISteamMusicRemote );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_BIsCurrentMusicRemote" )] internal static extern bool /*bool*/ BIsCurrentMusicRemote( IntPtr ISteamMusicRemote );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_BActivationSuccess" )] internal static extern bool /*bool*/ BActivationSuccess( IntPtr ISteamMusicRemote, bool /*bool*/ bValue );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_SetDisplayName" )] internal static extern bool /*bool*/ SetDisplayName( IntPtr ISteamMusicRemote, string /*const char **/ pchDisplayName );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_SetPNGIcon_64x64" )] internal static extern bool /*bool*/ SetPNGIcon_64x64( IntPtr ISteamMusicRemote, IntPtr /*void **/ pvBuffer , uint /*uint32*/ cbBufferLength );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_EnablePlayPrevious" )] internal static extern bool /*bool*/ EnablePlayPrevious( IntPtr ISteamMusicRemote, bool /*bool*/ bValue );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_EnablePlayNext" )] internal static extern bool /*bool*/ EnablePlayNext( IntPtr ISteamMusicRemote, bool /*bool*/ bValue );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_EnableShuffled" )] internal static extern bool /*bool*/ EnableShuffled( IntPtr ISteamMusicRemote, bool /*bool*/ bValue );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_EnableLooped" )] internal static extern bool /*bool*/ EnableLooped( IntPtr ISteamMusicRemote, bool /*bool*/ bValue );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_EnableQueue" )] internal static extern bool /*bool*/ EnableQueue( IntPtr ISteamMusicRemote, bool /*bool*/ bValue );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_EnablePlaylists" )] internal static extern bool /*bool*/ EnablePlaylists( IntPtr ISteamMusicRemote, bool /*bool*/ bValue );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdatePlaybackStatus" )] internal static extern bool /*bool*/ UpdatePlaybackStatus( IntPtr ISteamMusicRemote, AudioPlayback_Status /*AudioPlayback_Status*/ nStatus );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateShuffled" )] internal static extern bool /*bool*/ UpdateShuffled( IntPtr ISteamMusicRemote, bool /*bool*/ bValue );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateLooped" )] internal static extern bool /*bool*/ UpdateLooped( IntPtr ISteamMusicRemote, bool /*bool*/ bValue );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateVolume" )] internal static extern bool /*bool*/ UpdateVolume( IntPtr ISteamMusicRemote, float /*float*/ flValue );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_CurrentEntryWillChange" )] internal static extern bool /*bool*/ CurrentEntryWillChange( IntPtr ISteamMusicRemote );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_CurrentEntryIsAvailable" )] internal static extern bool /*bool*/ CurrentEntryIsAvailable( IntPtr ISteamMusicRemote, bool /*bool*/ bAvailable );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateCurrentEntryText" )] internal static extern bool /*bool*/ UpdateCurrentEntryText( IntPtr ISteamMusicRemote, string /*const char **/ pchText );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateCurrentEntryElapsedSeconds" )] internal static extern bool /*bool*/ UpdateCurrentEntryElapsedSeconds( IntPtr ISteamMusicRemote, int /*int*/ nValue );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateCurrentEntryCoverArt" )] internal static extern bool /*bool*/ UpdateCurrentEntryCoverArt( IntPtr ISteamMusicRemote, IntPtr /*void **/ pvBuffer , uint /*uint32*/ cbBufferLength );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_CurrentEntryDidChange" )] internal static extern bool /*bool*/ CurrentEntryDidChange( IntPtr ISteamMusicRemote );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_QueueWillChange" )] internal static extern bool /*bool*/ QueueWillChange( IntPtr ISteamMusicRemote );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_ResetQueueEntries" )] internal static extern bool /*bool*/ ResetQueueEntries( IntPtr ISteamMusicRemote );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_SetQueueEntry" )] internal static extern bool /*bool*/ SetQueueEntry( IntPtr ISteamMusicRemote, int /*int*/ nID , int /*int*/ nPosition , string /*const char **/ pchEntryText );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_SetCurrentQueueEntry" )] internal static extern bool /*bool*/ SetCurrentQueueEntry( IntPtr ISteamMusicRemote, int /*int*/ nID );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_QueueDidChange" )] internal static extern bool /*bool*/ QueueDidChange( IntPtr ISteamMusicRemote );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_PlaylistWillChange" )] internal static extern bool /*bool*/ PlaylistWillChange( IntPtr ISteamMusicRemote );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_ResetPlaylistEntries" )] internal static extern bool /*bool*/ ResetPlaylistEntries( IntPtr ISteamMusicRemote );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_SetPlaylistEntry" )] internal static extern bool /*bool*/ SetPlaylistEntry( IntPtr ISteamMusicRemote, int /*int*/ nID , int /*int*/ nPosition , string /*const char **/ pchEntryText );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_SetCurrentPlaylistEntry" )] internal static extern bool /*bool*/ SetCurrentPlaylistEntry( IntPtr ISteamMusicRemote, int /*int*/ nID );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamMusicRemote_PlaylistDidChange" )] internal static extern bool /*bool*/ PlaylistDidChange( IntPtr ISteamMusicRemote );
}
public static unsafe class ISteamHTTP
{
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_CreateHTTPRequest" )] internal static extern uint /*HTTPRequestHandle*/ CreateHTTPRequest( IntPtr ISteamHTTP, HTTPMethod /*EHTTPMethod*/ eHTTPRequestMethod , string /*const char **/ pchAbsoluteURL );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestContextValue" )] internal static extern bool /*bool*/ SetHTTPRequestContextValue( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, ulong /*uint64*/ ulContextValue );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestNetworkActivityTimeout" )] internal static extern bool /*bool*/ SetHTTPRequestNetworkActivityTimeout( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, uint /*uint32*/ unTimeoutSeconds );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestHeaderValue" )] internal static extern bool /*bool*/ SetHTTPRequestHeaderValue( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, string /*const char **/ pchHeaderName , string /*const char **/ pchHeaderValue );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestGetOrPostParameter" )] internal static extern bool /*bool*/ SetHTTPRequestGetOrPostParameter( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, string /*const char **/ pchParamName , string /*const char **/ pchParamValue );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_SendHTTPRequest" )] internal static extern bool /*bool*/ SendHTTPRequest( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, ref SteamAPICall_t /*SteamAPICall_t **/ pCallHandle );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_SendHTTPRequestAndStreamResponse" )] internal static extern bool /*bool*/ SendHTTPRequestAndStreamResponse( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, ref SteamAPICall_t /*SteamAPICall_t **/ pCallHandle );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_DeferHTTPRequest" )] internal static extern bool /*bool*/ DeferHTTPRequest( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_PrioritizeHTTPRequest" )] internal static extern bool /*bool*/ PrioritizeHTTPRequest( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPResponseHeaderSize" )] internal static extern bool /*bool*/ GetHTTPResponseHeaderSize( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, string /*const char **/ pchHeaderName , out uint /*uint32 **/ unResponseHeaderSize );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPResponseHeaderValue" )] internal static extern bool /*bool*/ GetHTTPResponseHeaderValue( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, string /*const char **/ pchHeaderName , out byte /*uint8 **/ pHeaderValueBuffer, uint /*uint32*/ unBufferSize );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPResponseBodySize" )] internal static extern bool /*bool*/ GetHTTPResponseBodySize( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, out uint /*uint32 **/ unBodySize );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPResponseBodyData" )] internal static extern bool /*bool*/ GetHTTPResponseBodyData( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPStreamingResponseBodyData" )] internal static extern bool /*bool*/ GetHTTPStreamingResponseBodyData( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, uint /*uint32*/ cOffset , out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_ReleaseHTTPRequest" )] internal static extern bool /*bool*/ ReleaseHTTPRequest( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPDownloadProgressPct" )] internal static extern bool /*bool*/ GetHTTPDownloadProgressPct( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, out float /*float **/ pflPercentOut );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestRawPostBody" )] internal static extern bool /*bool*/ SetHTTPRequestRawPostBody( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, string /*const char **/ pchContentType , out byte /*uint8 **/ pubBody, uint /*uint32*/ unBodyLen );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_CreateCookieContainer" )] internal static extern uint /*HTTPCookieContainerHandle*/ CreateCookieContainer( IntPtr ISteamHTTP, bool /*bool*/ bAllowResponsesToModify );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_ReleaseCookieContainer" )] internal static extern bool /*bool*/ ReleaseCookieContainer( IntPtr ISteamHTTP, HTTPCookieContainerHandle /*HTTPCookieContainerHandle*/ hCookieContainer );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_SetCookie" )] internal static extern bool /*bool*/ SetCookie( IntPtr ISteamHTTP, HTTPCookieContainerHandle /*HTTPCookieContainerHandle*/ hCookieContainer, string /*const char **/ pchHost , string /*const char **/ pchUrl , string /*const char **/ pchCookie );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestCookieContainer" )] internal static extern bool /*bool*/ SetHTTPRequestCookieContainer( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, HTTPCookieContainerHandle /*HTTPCookieContainerHandle*/ hCookieContainer );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestUserAgentInfo" )] internal static extern bool /*bool*/ SetHTTPRequestUserAgentInfo( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, string /*const char **/ pchUserAgentInfo );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestRequiresVerifiedCertificate" )] internal static extern bool /*bool*/ SetHTTPRequestRequiresVerifiedCertificate( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, bool /*bool*/ bRequireVerifiedCertificate );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestAbsoluteTimeoutMS" )] internal static extern bool /*bool*/ SetHTTPRequestAbsoluteTimeoutMS( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, uint /*uint32*/ unMilliseconds );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPRequestWasTimedOut" )] internal static extern bool /*bool*/ GetHTTPRequestWasTimedOut( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, out bool /*bool **/ pbWasTimedOut );
}
public static unsafe class ISteamUnifiedMessages
{
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUnifiedMessages_SendMethod" )] internal static extern ulong /*ClientUnifiedMessageHandle*/ SendMethod( IntPtr ISteamUnifiedMessages, string /*const char **/ pchServiceMethod , IntPtr /*const void **/ pRequestBuffer , uint /*uint32*/ unRequestBufferSize , ulong /*uint64*/ unContext );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUnifiedMessages_GetMethodResponseInfo" )] internal static extern bool /*bool*/ GetMethodResponseInfo( IntPtr ISteamUnifiedMessages, ClientUnifiedMessageHandle /*ClientUnifiedMessageHandle*/ hHandle, out uint /*uint32 **/ punResponseSize, out Result /*EResult **/ peResult );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUnifiedMessages_GetMethodResponseData" )] internal static extern bool /*bool*/ GetMethodResponseData( IntPtr ISteamUnifiedMessages, ClientUnifiedMessageHandle /*ClientUnifiedMessageHandle*/ hHandle, IntPtr /*void **/ pResponseBuffer , uint /*uint32*/ unResponseBufferSize , bool /*bool*/ bAutoRelease );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUnifiedMessages_ReleaseMethod" )] internal static extern bool /*bool*/ ReleaseMethod( IntPtr ISteamUnifiedMessages, ClientUnifiedMessageHandle /*ClientUnifiedMessageHandle*/ hHandle );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUnifiedMessages_SendNotification" )] internal static extern bool /*bool*/ SendNotification( IntPtr ISteamUnifiedMessages, string /*const char **/ pchServiceNotification , IntPtr /*const void **/ pNotificationBuffer , uint /*uint32*/ unNotificationBufferSize );
}
public static unsafe class ISteamController
{
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_Init" )] internal static extern bool /*bool*/ Init( IntPtr ISteamController );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_Shutdown" )] internal static extern bool /*bool*/ Shutdown( IntPtr ISteamController );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_RunFrame" )] internal static extern void /*void*/ RunFrame( IntPtr ISteamController );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_GetConnectedControllers" )] internal static extern int /*int*/ GetConnectedControllers( IntPtr ISteamController, IntPtr /*ControllerHandle_t **/ handlesOut );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_ShowBindingPanel" )] internal static extern bool /*bool*/ ShowBindingPanel( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_GetActionSetHandle" )] internal static extern ulong /*ControllerActionSetHandle_t*/ GetActionSetHandle( IntPtr ISteamController, string /*const char **/ pszActionSetName );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_ActivateActionSet" )] internal static extern void /*void*/ ActivateActionSet( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle, ControllerActionSetHandle_t /*ControllerActionSetHandle_t*/ actionSetHandle );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_GetCurrentActionSet" )] internal static extern ulong /*ControllerActionSetHandle_t*/ GetCurrentActionSet( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_GetDigitalActionHandle" )] internal static extern ulong /*ControllerDigitalActionHandle_t*/ GetDigitalActionHandle( IntPtr ISteamController, string /*const char **/ pszActionName );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_GetDigitalActionData" )] internal static extern ControllerDigitalActionData_t /*struct ControllerDigitalActionData_t*/ GetDigitalActionData( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle, ControllerDigitalActionHandle_t /*ControllerDigitalActionHandle_t*/ digitalActionHandle );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_GetDigitalActionOrigins" )] internal static extern int /*int*/ GetDigitalActionOrigins( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle, ControllerActionSetHandle_t /*ControllerActionSetHandle_t*/ actionSetHandle, ControllerDigitalActionHandle_t /*ControllerDigitalActionHandle_t*/ digitalActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_GetAnalogActionHandle" )] internal static extern ulong /*ControllerAnalogActionHandle_t*/ GetAnalogActionHandle( IntPtr ISteamController, string /*const char **/ pszActionName );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_GetAnalogActionData" )] internal static extern ControllerAnalogActionData_t /*struct ControllerAnalogActionData_t*/ GetAnalogActionData( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle, ControllerAnalogActionHandle_t /*ControllerAnalogActionHandle_t*/ analogActionHandle );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_GetAnalogActionOrigins" )] internal static extern int /*int*/ GetAnalogActionOrigins( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle, ControllerActionSetHandle_t /*ControllerActionSetHandle_t*/ actionSetHandle, ControllerAnalogActionHandle_t /*ControllerAnalogActionHandle_t*/ analogActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_StopAnalogActionMomentum" )] internal static extern void /*void*/ StopAnalogActionMomentum( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle, ControllerAnalogActionHandle_t /*ControllerAnalogActionHandle_t*/ eAction );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_TriggerHapticPulse" )] internal static extern void /*void*/ TriggerHapticPulse( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad , ushort /*unsigned short*/ usDurationMicroSec );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamController_TriggerRepeatedHapticPulse" )] internal static extern void /*void*/ TriggerRepeatedHapticPulse( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad , ushort /*unsigned short*/ usDurationMicroSec , ushort /*unsigned short*/ usOffMicroSec , ushort /*unsigned short*/ unRepeat , uint /*unsigned int*/ nFlags );
}
public static unsafe class ISteamUGC
{
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_CreateQueryUserUGCRequest" )] internal static extern ulong /*UGCQueryHandle_t*/ CreateQueryUserUGCRequest( IntPtr ISteamUGC, AccountID_t /*AccountID_t*/ unAccountID, UserUGCList /*EUserUGCList*/ eListType , UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingUGCType , UserUGCListSortOrder /*EUserUGCListSortOrder*/ eSortOrder , AppId_t /*AppId_t*/ nCreatorAppID, AppId_t /*AppId_t*/ nConsumerAppID, uint /*uint32*/ unPage );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_CreateQueryAllUGCRequest" )] internal static extern ulong /*UGCQueryHandle_t*/ CreateQueryAllUGCRequest( IntPtr ISteamUGC, UGCQuery /*EUGCQuery*/ eQueryType , UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingeMatchingUGCTypeFileType , AppId_t /*AppId_t*/ nCreatorAppID, AppId_t /*AppId_t*/ nConsumerAppID, uint /*uint32*/ unPage );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_CreateQueryUGCDetailsRequest" )] internal static extern ulong /*UGCQueryHandle_t*/ CreateQueryUGCDetailsRequest( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SendQueryUGCRequest" )] internal static extern ulong /*SteamAPICall_t*/ SendQueryUGCRequest( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCResult" )] internal static extern bool /*bool*/ GetQueryUGCResult( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ index , IntPtr /*struct SteamUGCDetails_t **/ pDetails );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCPreviewURL" )] internal static extern bool /*bool*/ GetQueryUGCPreviewURL( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ index , char* /*char **/ pchURL , uint /*uint32*/ cchURLSize );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCMetadata" )] internal static extern bool /*bool*/ GetQueryUGCMetadata( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ index , char* /*char **/ pchMetadata , uint /*uint32*/ cchMetadatasize );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCChildren" )] internal static extern bool /*bool*/ GetQueryUGCChildren( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ index , IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCStatistic" )] internal static extern bool /*bool*/ GetQueryUGCStatistic( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ index , ItemStatistic /*EItemStatistic*/ eStatType , out uint /*uint32 **/ pStatValue );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCNumAdditionalPreviews" )] internal static extern uint /*uint32*/ GetQueryUGCNumAdditionalPreviews( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ index );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCAdditionalPreview" )] internal static extern bool /*bool*/ GetQueryUGCAdditionalPreview( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ index , uint /*uint32*/ previewIndex , char* /*char **/ pchURLOrVideoID , uint /*uint32*/ cchURLSize , char* /*char **/ pchOriginalFileName , uint /*uint32*/ cchOriginalFileNameSize , out ItemPreviewType /*EItemPreviewType **/ pPreviewType );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCNumKeyValueTags" )] internal static extern uint /*uint32*/ GetQueryUGCNumKeyValueTags( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ index );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCKeyValueTag" )] internal static extern bool /*bool*/ GetQueryUGCKeyValueTag( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ index , uint /*uint32*/ keyValueTagIndex , char* /*char **/ pchKey , uint /*uint32*/ cchKeySize , char* /*char **/ pchValue , uint /*uint32*/ cchValueSize );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_ReleaseQueryUGCRequest" )] internal static extern bool /*bool*/ ReleaseQueryUGCRequest( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_AddRequiredTag" )] internal static extern bool /*bool*/ AddRequiredTag( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, string /*const char **/ pTagName );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_AddExcludedTag" )] internal static extern bool /*bool*/ AddExcludedTag( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, string /*const char **/ pTagName );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetReturnKeyValueTags" )] internal static extern bool /*bool*/ SetReturnKeyValueTags( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, bool /*bool*/ bReturnKeyValueTags );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetReturnLongDescription" )] internal static extern bool /*bool*/ SetReturnLongDescription( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, bool /*bool*/ bReturnLongDescription );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetReturnMetadata" )] internal static extern bool /*bool*/ SetReturnMetadata( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, bool /*bool*/ bReturnMetadata );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetReturnChildren" )] internal static extern bool /*bool*/ SetReturnChildren( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, bool /*bool*/ bReturnChildren );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetReturnAdditionalPreviews" )] internal static extern bool /*bool*/ SetReturnAdditionalPreviews( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, bool /*bool*/ bReturnAdditionalPreviews );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetReturnTotalOnly" )] internal static extern bool /*bool*/ SetReturnTotalOnly( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, bool /*bool*/ bReturnTotalOnly );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetLanguage" )] internal static extern bool /*bool*/ SetLanguage( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, string /*const char **/ pchLanguage );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetAllowCachedResponse" )] internal static extern bool /*bool*/ SetAllowCachedResponse( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ unMaxAgeSeconds );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetCloudFileNameFilter" )] internal static extern bool /*bool*/ SetCloudFileNameFilter( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, string /*const char **/ pMatchCloudFileName );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetMatchAnyTag" )] internal static extern bool /*bool*/ SetMatchAnyTag( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, bool /*bool*/ bMatchAnyTag );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetSearchText" )] internal static extern bool /*bool*/ SetSearchText( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, string /*const char **/ pSearchText );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetRankedByTrendDays" )] internal static extern bool /*bool*/ SetRankedByTrendDays( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ unDays );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_AddRequiredKeyValueTag" )] internal static extern bool /*bool*/ AddRequiredKeyValueTag( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, string /*const char **/ pKey , string /*const char **/ pValue );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_RequestUGCDetails" )] internal static extern ulong /*SteamAPICall_t*/ RequestUGCDetails( IntPtr ISteamUGC, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID, uint /*uint32*/ unMaxAgeSeconds );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_CreateItem" )] internal static extern ulong /*SteamAPICall_t*/ CreateItem( IntPtr ISteamUGC, AppId_t /*AppId_t*/ nConsumerAppId, WorkshopFileType /*EWorkshopFileType*/ eFileType );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_StartItemUpdate" )] internal static extern ulong /*UGCUpdateHandle_t*/ StartItemUpdate( IntPtr ISteamUGC, AppId_t /*AppId_t*/ nConsumerAppId, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetItemTitle" )] internal static extern bool /*bool*/ SetItemTitle( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pchTitle );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetItemDescription" )] internal static extern bool /*bool*/ SetItemDescription( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pchDescription );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetItemUpdateLanguage" )] internal static extern bool /*bool*/ SetItemUpdateLanguage( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pchLanguage );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetItemMetadata" )] internal static extern bool /*bool*/ SetItemMetadata( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pchMetaData );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetItemVisibility" )] internal static extern bool /*bool*/ SetItemVisibility( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetItemTags" )] internal static extern bool /*bool*/ SetItemTags( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ updateHandle, IntPtr /*const struct SteamParamStringArray_t **/ pTags );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetItemContent" )] internal static extern bool /*bool*/ SetItemContent( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pszContentFolder );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetItemPreview" )] internal static extern bool /*bool*/ SetItemPreview( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pszPreviewFile );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_RemoveItemKeyValueTags" )] internal static extern bool /*bool*/ RemoveItemKeyValueTags( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pchKey );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_AddItemKeyValueTag" )] internal static extern bool /*bool*/ AddItemKeyValueTag( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pchKey , string /*const char **/ pchValue );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_AddItemPreviewFile" )] internal static extern bool /*bool*/ AddItemPreviewFile( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pszPreviewFile , ItemPreviewType /*EItemPreviewType*/ type );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_AddItemPreviewVideo" )] internal static extern bool /*bool*/ AddItemPreviewVideo( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pszVideoID );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_UpdateItemPreviewFile" )] internal static extern bool /*bool*/ UpdateItemPreviewFile( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, uint /*uint32*/ index , string /*const char **/ pszPreviewFile );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_UpdateItemPreviewVideo" )] internal static extern bool /*bool*/ UpdateItemPreviewVideo( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, uint /*uint32*/ index , string /*const char **/ pszVideoID );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_RemoveItemPreview" )] internal static extern bool /*bool*/ RemoveItemPreview( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, uint /*uint32*/ index );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SubmitItemUpdate" )] internal static extern ulong /*SteamAPICall_t*/ SubmitItemUpdate( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pchChangeNote );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_GetItemUpdateProgress" )] internal static extern ItemUpdateStatus /*EItemUpdateStatus*/ GetItemUpdateProgress( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, out ulong /*uint64 **/ punBytesProcessed, out ulong /*uint64 **/ punBytesTotal );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SetUserItemVote" )] internal static extern ulong /*SteamAPICall_t*/ SetUserItemVote( IntPtr ISteamUGC, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID, bool /*bool*/ bVoteUp );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_GetUserItemVote" )] internal static extern ulong /*SteamAPICall_t*/ GetUserItemVote( IntPtr ISteamUGC, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_AddItemToFavorites" )] internal static extern ulong /*SteamAPICall_t*/ AddItemToFavorites( IntPtr ISteamUGC, AppId_t /*AppId_t*/ nAppId, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_RemoveItemFromFavorites" )] internal static extern ulong /*SteamAPICall_t*/ RemoveItemFromFavorites( IntPtr ISteamUGC, AppId_t /*AppId_t*/ nAppId, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SubscribeItem" )] internal static extern ulong /*SteamAPICall_t*/ SubscribeItem( IntPtr ISteamUGC, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_UnsubscribeItem" )] internal static extern ulong /*SteamAPICall_t*/ UnsubscribeItem( IntPtr ISteamUGC, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_GetNumSubscribedItems" )] internal static extern uint /*uint32*/ GetNumSubscribedItems( IntPtr ISteamUGC );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_GetSubscribedItems" )] internal static extern uint /*uint32*/ GetSubscribedItems( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_GetItemState" )] internal static extern uint /*uint32*/ GetItemState( IntPtr ISteamUGC, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_GetItemInstallInfo" )] internal static extern bool /*bool*/ GetItemInstallInfo( IntPtr ISteamUGC, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID, out ulong /*uint64 **/ punSizeOnDisk, char* /*char **/ pchFolder , uint /*uint32*/ cchFolderSize , out uint /*uint32 **/ punTimeStamp );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_GetItemDownloadInfo" )] internal static extern bool /*bool*/ GetItemDownloadInfo( IntPtr ISteamUGC, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_DownloadItem" )] internal static extern bool /*bool*/ DownloadItem( IntPtr ISteamUGC, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID, bool /*bool*/ bHighPriority );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_BInitWorkshopForGameServer" )] internal static extern bool /*bool*/ BInitWorkshopForGameServer( IntPtr ISteamUGC, DepotId_t /*DepotId_t*/ unWorkshopDepotID, string /*const char **/ pszFolder );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamUGC_SuspendDownloads" )] internal static extern void /*void*/ SuspendDownloads( IntPtr ISteamUGC, bool /*bool*/ bSuspend );
}
public static unsafe class ISteamAppList
{
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamAppList_GetNumInstalledApps" )] internal static extern uint /*uint32*/ GetNumInstalledApps( IntPtr ISteamAppList );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamAppList_GetInstalledApps" )] internal static extern uint /*uint32*/ GetInstalledApps( IntPtr ISteamAppList, IntPtr /*AppId_t **/ pvecAppID, uint /*uint32*/ unMaxAppIDs );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamAppList_GetAppName" )] internal static extern int /*int*/ GetAppName( IntPtr ISteamAppList, AppId_t /*AppId_t*/ nAppID, char* /*char **/ pchName , int /*int*/ cchNameMax );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamAppList_GetAppInstallDir" )] internal static extern int /*int*/ GetAppInstallDir( IntPtr ISteamAppList, AppId_t /*AppId_t*/ nAppID, char* /*char **/ pchDirectory , int /*int*/ cchNameMax );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamAppList_GetAppBuildId" )] internal static extern int /*int*/ GetAppBuildId( IntPtr ISteamAppList, AppId_t /*AppId_t*/ nAppID );
}
public static unsafe class ISteamHTMLSurface
{
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_DestructISteamHTMLSurface" )] internal static extern void /*void*/ DestructISteamHTMLSurface( IntPtr ISteamHTMLSurface );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_Init" )] internal static extern bool /*bool*/ Init( IntPtr ISteamHTMLSurface );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_Shutdown" )] internal static extern bool /*bool*/ Shutdown( IntPtr ISteamHTMLSurface );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_CreateBrowser" )] internal static extern ulong /*SteamAPICall_t*/ CreateBrowser( IntPtr ISteamHTMLSurface, string /*const char **/ pchUserAgent , string /*const char **/ pchUserCSS );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_RemoveBrowser" )] internal static extern void /*void*/ RemoveBrowser( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_LoadURL" )] internal static extern void /*void*/ LoadURL( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, string /*const char **/ pchURL , string /*const char **/ pchPostData );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetSize" )] internal static extern void /*void*/ SetSize( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, uint /*uint32*/ unWidth , uint /*uint32*/ unHeight );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_StopLoad" )] internal static extern void /*void*/ StopLoad( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_Reload" )] internal static extern void /*void*/ Reload( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_GoBack" )] internal static extern void /*void*/ GoBack( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_GoForward" )] internal static extern void /*void*/ GoForward( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_AddHeader" )] internal static extern void /*void*/ AddHeader( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, string /*const char **/ pchKey , string /*const char **/ pchValue );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_ExecuteJavascript" )] internal static extern void /*void*/ ExecuteJavascript( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, string /*const char **/ pchScript );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseUp" )] internal static extern void /*void*/ MouseUp( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseDown" )] internal static extern void /*void*/ MouseDown( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseDoubleClick" )] internal static extern void /*void*/ MouseDoubleClick( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseMove" )] internal static extern void /*void*/ MouseMove( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, int /*int*/ x , int /*int*/ y );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseWheel" )] internal static extern void /*void*/ MouseWheel( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, int /*int32*/ nDelta );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_KeyDown" )] internal static extern void /*void*/ KeyDown( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, uint /*uint32*/ nNativeKeyCode , HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_KeyUp" )] internal static extern void /*void*/ KeyUp( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, uint /*uint32*/ nNativeKeyCode , HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_KeyChar" )] internal static extern void /*void*/ KeyChar( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, uint /*uint32*/ cUnicodeChar , HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetHorizontalScroll" )] internal static extern void /*void*/ SetHorizontalScroll( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetVerticalScroll" )] internal static extern void /*void*/ SetVerticalScroll( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetKeyFocus" )] internal static extern void /*void*/ SetKeyFocus( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, bool /*bool*/ bHasKeyFocus );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_ViewSource" )] internal static extern void /*void*/ ViewSource( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_CopyToClipboard" )] internal static extern void /*void*/ CopyToClipboard( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_PasteFromClipboard" )] internal static extern void /*void*/ PasteFromClipboard( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_Find" )] internal static extern void /*void*/ Find( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, string /*const char **/ pchSearchStr , bool /*bool*/ bCurrentlyInFind , bool /*bool*/ bReverse );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_StopFind" )] internal static extern void /*void*/ StopFind( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_GetLinkAtPosition" )] internal static extern void /*void*/ GetLinkAtPosition( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, int /*int*/ x , int /*int*/ y );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetCookie" )] internal static extern void /*void*/ SetCookie( IntPtr ISteamHTMLSurface, string /*const char **/ pchHostname , string /*const char **/ pchKey , string /*const char **/ pchValue , string /*const char **/ pchPath , RTime32 /*RTime32*/ nExpires, bool /*bool*/ bSecure , bool /*bool*/ bHTTPOnly );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetPageScaleFactor" )] internal static extern void /*void*/ SetPageScaleFactor( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, float /*float*/ flZoom , int /*int*/ nPointX , int /*int*/ nPointY );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetBackgroundMode" )] internal static extern void /*void*/ SetBackgroundMode( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, bool /*bool*/ bBackgroundMode );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_AllowStartRequest" )] internal static extern void /*void*/ AllowStartRequest( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, bool /*bool*/ bAllowed );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_JSDialogResponse" )] internal static extern void /*void*/ JSDialogResponse( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, bool /*bool*/ bResult );
}
public static unsafe class ISteamInventory
{
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_GetResultStatus" )] internal static extern Result /*EResult*/ GetResultStatus( IntPtr ISteamInventory, SteamInventoryResult_t /*SteamInventoryResult_t*/ resultHandle );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_GetResultItems" )] internal static extern bool /*bool*/ GetResultItems( IntPtr ISteamInventory, SteamInventoryResult_t /*SteamInventoryResult_t*/ resultHandle, IntPtr /*struct SteamItemDetails_t **/ pOutItemsArray, out uint /*uint32 **/ punOutItemsArraySize );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_GetResultTimestamp" )] internal static extern uint /*uint32*/ GetResultTimestamp( IntPtr ISteamInventory, SteamInventoryResult_t /*SteamInventoryResult_t*/ resultHandle );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_CheckResultSteamID" )] internal static extern bool /*bool*/ CheckResultSteamID( IntPtr ISteamInventory, SteamInventoryResult_t /*SteamInventoryResult_t*/ resultHandle, CSteamID /*class CSteamID*/ steamIDExpected );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_DestroyResult" )] internal static extern void /*void*/ DestroyResult( IntPtr ISteamInventory, SteamInventoryResult_t /*SteamInventoryResult_t*/ resultHandle );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_GetAllItems" )] internal static extern bool /*bool*/ GetAllItems( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_GetItemsByID" )] internal static extern bool /*bool*/ GetItemsByID( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle, IntPtr /*const SteamItemInstanceID_t **/ pInstanceIDs, uint /*uint32*/ unCountInstanceIDs );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_SerializeResult" )] internal static extern bool /*bool*/ SerializeResult( IntPtr ISteamInventory, SteamInventoryResult_t /*SteamInventoryResult_t*/ resultHandle, IntPtr /*void **/ pOutBuffer , out uint /*uint32 **/ punOutBufferSize );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_DeserializeResult" )] internal static extern bool /*bool*/ DeserializeResult( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pOutResultHandle, IntPtr /*const void **/ pBuffer , uint /*uint32*/ unBufferSize , bool /*bool*/ bRESERVED_MUST_BE_FALSE );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_GenerateItems" )] internal static extern bool /*bool*/ GenerateItems( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, out uint /*const uint32 **/ punArrayQuantity, uint /*uint32*/ unArrayLength );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_GrantPromoItems" )] internal static extern bool /*bool*/ GrantPromoItems( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_AddPromoItem" )] internal static extern bool /*bool*/ AddPromoItem( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle, SteamItemDef_t /*SteamItemDef_t*/ itemDef );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_AddPromoItems" )] internal static extern bool /*bool*/ AddPromoItems( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, uint /*uint32*/ unArrayLength );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_ConsumeItem" )] internal static extern bool /*bool*/ ConsumeItem( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle, SteamItemInstanceID_t /*SteamItemInstanceID_t*/ itemConsume, uint /*uint32*/ unQuantity );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_ExchangeItems" )] internal static extern bool /*bool*/ ExchangeItems( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle, ref SteamItemDef_t /*const SteamItemDef_t **/ pArrayGenerate, out uint /*const uint32 **/ punArrayGenerateQuantity, uint /*uint32*/ unArrayGenerateLength , IntPtr /*const SteamItemInstanceID_t **/ pArrayDestroy, IntPtr /*const uint32 **/ punArrayDestroyQuantity, uint /*uint32*/ unArrayDestroyLength );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_TransferItemQuantity" )] internal static extern bool /*bool*/ TransferItemQuantity( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle, SteamItemInstanceID_t /*SteamItemInstanceID_t*/ itemIdSource, uint /*uint32*/ unQuantity , SteamItemInstanceID_t /*SteamItemInstanceID_t*/ itemIdDest );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_SendItemDropHeartbeat" )] internal static extern void /*void*/ SendItemDropHeartbeat( IntPtr ISteamInventory );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_TriggerItemDrop" )] internal static extern bool /*bool*/ TriggerItemDrop( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle, SteamItemDef_t /*SteamItemDef_t*/ dropListDefinition );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_TradeItems" )] internal static extern bool /*bool*/ TradeItems( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle, CSteamID /*class CSteamID*/ steamIDTradePartner, ref SteamItemInstanceID_t /*const SteamItemInstanceID_t **/ pArrayGive, out uint /*const uint32 **/ pArrayGiveQuantity, uint /*uint32*/ nArrayGiveLength , ref SteamItemInstanceID_t /*const SteamItemInstanceID_t **/ pArrayGet, out uint /*const uint32 **/ pArrayGetQuantity, uint /*uint32*/ nArrayGetLength );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_LoadItemDefinitions" )] internal static extern bool /*bool*/ LoadItemDefinitions( IntPtr ISteamInventory );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_GetItemDefinitionIDs" )] internal static extern bool /*bool*/ GetItemDefinitionIDs( IntPtr ISteamInventory, IntPtr /*SteamItemDef_t **/ pItemDefIDs, out uint /*uint32 **/ punItemDefIDsArraySize );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamInventory_GetItemDefinitionProperty" )] internal static extern bool /*bool*/ GetItemDefinitionProperty( IntPtr ISteamInventory, SteamItemDef_t /*SteamItemDef_t*/ iDefinition, string /*const char **/ pchPropertyName , char* /*char **/ pchValueBuffer , out uint /*uint32 **/ punValueBufferSize );
}
public static unsafe class ISteamVideo
{
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamVideo_GetVideoURL" )] internal static extern void /*void*/ GetVideoURL( IntPtr ISteamVideo, AppId_t /*AppId_t*/ unVideoAppID );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamVideo_IsBroadcasting" )] internal static extern bool /*bool*/ IsBroadcasting( IntPtr ISteamVideo, IntPtr /*int **/ pnNumViewers );
}
public static unsafe class ISteamGameServer
{
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_InitGameServer" )] internal static extern bool /*bool*/ InitGameServer( IntPtr ISteamGameServer, uint /*uint32*/ unIP , ushort /*uint16*/ usGamePort , ushort /*uint16*/ usQueryPort , uint /*uint32*/ unFlags , AppId_t /*AppId_t*/ nGameAppId, string /*const char **/ pchVersionString );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_SetProduct" )] internal static extern void /*void*/ SetProduct( IntPtr ISteamGameServer, string /*const char **/ pszProduct );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_SetGameDescription" )] internal static extern void /*void*/ SetGameDescription( IntPtr ISteamGameServer, string /*const char **/ pszGameDescription );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_SetModDir" )] internal static extern void /*void*/ SetModDir( IntPtr ISteamGameServer, string /*const char **/ pszModDir );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_SetDedicatedServer" )] internal static extern void /*void*/ SetDedicatedServer( IntPtr ISteamGameServer, bool /*bool*/ bDedicated );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_LogOn" )] internal static extern void /*void*/ LogOn( IntPtr ISteamGameServer, string /*const char **/ pszToken );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_LogOnAnonymous" )] internal static extern void /*void*/ LogOnAnonymous( IntPtr ISteamGameServer );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_LogOff" )] internal static extern void /*void*/ LogOff( IntPtr ISteamGameServer );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_BLoggedOn" )] internal static extern bool /*bool*/ BLoggedOn( IntPtr ISteamGameServer );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_BSecure" )] internal static extern bool /*bool*/ BSecure( IntPtr ISteamGameServer );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_GetSteamID" )] internal static extern ulong /*class CSteamID*/ GetSteamID( IntPtr ISteamGameServer );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_WasRestartRequested" )] internal static extern bool /*bool*/ WasRestartRequested( IntPtr ISteamGameServer );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_SetMaxPlayerCount" )] internal static extern void /*void*/ SetMaxPlayerCount( IntPtr ISteamGameServer, int /*int*/ cPlayersMax );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_SetBotPlayerCount" )] internal static extern void /*void*/ SetBotPlayerCount( IntPtr ISteamGameServer, int /*int*/ cBotplayers );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_SetServerName" )] internal static extern void /*void*/ SetServerName( IntPtr ISteamGameServer, string /*const char **/ pszServerName );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_SetMapName" )] internal static extern void /*void*/ SetMapName( IntPtr ISteamGameServer, string /*const char **/ pszMapName );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_SetPasswordProtected" )] internal static extern void /*void*/ SetPasswordProtected( IntPtr ISteamGameServer, bool /*bool*/ bPasswordProtected );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_SetSpectatorPort" )] internal static extern void /*void*/ SetSpectatorPort( IntPtr ISteamGameServer, ushort /*uint16*/ unSpectatorPort );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_SetSpectatorServerName" )] internal static extern void /*void*/ SetSpectatorServerName( IntPtr ISteamGameServer, string /*const char **/ pszSpectatorServerName );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_ClearAllKeyValues" )] internal static extern void /*void*/ ClearAllKeyValues( IntPtr ISteamGameServer );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_SetKeyValue" )] internal static extern void /*void*/ SetKeyValue( IntPtr ISteamGameServer, string /*const char **/ pKey , string /*const char **/ pValue );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_SetGameTags" )] internal static extern void /*void*/ SetGameTags( IntPtr ISteamGameServer, string /*const char **/ pchGameTags );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_SetGameData" )] internal static extern void /*void*/ SetGameData( IntPtr ISteamGameServer, string /*const char **/ pchGameData );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_SetRegion" )] internal static extern void /*void*/ SetRegion( IntPtr ISteamGameServer, string /*const char **/ pszRegion );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_SendUserConnectAndAuthenticate" )] internal static extern bool /*bool*/ SendUserConnectAndAuthenticate( IntPtr ISteamGameServer, uint /*uint32*/ unIPClient , IntPtr /*const void **/ pvAuthBlob , uint /*uint32*/ cubAuthBlobSize , out CSteamID /*class CSteamID **/ pSteamIDUser );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_CreateUnauthenticatedUserConnection" )] internal static extern ulong /*class CSteamID*/ CreateUnauthenticatedUserConnection( IntPtr ISteamGameServer );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_SendUserDisconnect" )] internal static extern void /*void*/ SendUserDisconnect( IntPtr ISteamGameServer, CSteamID /*class CSteamID*/ steamIDUser );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_BUpdateUserData" )] internal static extern bool /*bool*/ BUpdateUserData( IntPtr ISteamGameServer, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchPlayerName , uint /*uint32*/ uScore );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_GetAuthSessionTicket" )] internal static extern uint /*HAuthTicket*/ GetAuthSessionTicket( IntPtr ISteamGameServer, IntPtr /*void **/ pTicket , int /*int*/ cbMaxTicket , out uint /*uint32 **/ pcbTicket );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_BeginAuthSession" )] internal static extern BeginAuthSessionResult /*EBeginAuthSessionResult*/ BeginAuthSession( IntPtr ISteamGameServer, IntPtr /*const void **/ pAuthTicket , int /*int*/ cbAuthTicket , CSteamID /*class CSteamID*/ steamID );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_EndAuthSession" )] internal static extern void /*void*/ EndAuthSession( IntPtr ISteamGameServer, CSteamID /*class CSteamID*/ steamID );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_CancelAuthTicket" )] internal static extern void /*void*/ CancelAuthTicket( IntPtr ISteamGameServer, HAuthTicket /*HAuthTicket*/ hAuthTicket );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_UserHasLicenseForApp" )] internal static extern UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ UserHasLicenseForApp( IntPtr ISteamGameServer, CSteamID /*class CSteamID*/ steamID, AppId_t /*AppId_t*/ appID );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_RequestUserGroupStatus" )] internal static extern bool /*bool*/ RequestUserGroupStatus( IntPtr ISteamGameServer, CSteamID /*class CSteamID*/ steamIDUser, CSteamID /*class CSteamID*/ steamIDGroup );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_GetGameplayStats" )] internal static extern void /*void*/ GetGameplayStats( IntPtr ISteamGameServer );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_GetServerReputation" )] internal static extern ulong /*SteamAPICall_t*/ GetServerReputation( IntPtr ISteamGameServer );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_GetPublicIP" )] internal static extern uint /*uint32*/ GetPublicIP( IntPtr ISteamGameServer );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_HandleIncomingPacket" )] internal static extern bool /*bool*/ HandleIncomingPacket( IntPtr ISteamGameServer, IntPtr /*const void **/ pData , int /*int*/ cbData , uint /*uint32*/ srcIP , ushort /*uint16*/ srcPort );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_GetNextOutgoingPacket" )] internal static extern int /*int*/ GetNextOutgoingPacket( IntPtr ISteamGameServer, IntPtr /*void **/ pOut , int /*int*/ cbMaxOut , out uint /*uint32 **/ pNetAdr, out ushort /*uint16 **/ pPort );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_EnableHeartbeats" )] internal static extern void /*void*/ EnableHeartbeats( IntPtr ISteamGameServer, bool /*bool*/ bActive );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_SetHeartbeatInterval" )] internal static extern void /*void*/ SetHeartbeatInterval( IntPtr ISteamGameServer, int /*int*/ iHeartbeatInterval );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_ForceHeartbeat" )] internal static extern void /*void*/ ForceHeartbeat( IntPtr ISteamGameServer );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_AssociateWithClan" )] internal static extern ulong /*SteamAPICall_t*/ AssociateWithClan( IntPtr ISteamGameServer, CSteamID /*class CSteamID*/ steamIDClan );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServer_ComputeNewPlayerCompatibility" )] internal static extern ulong /*SteamAPICall_t*/ ComputeNewPlayerCompatibility( IntPtr ISteamGameServer, CSteamID /*class CSteamID*/ steamIDNewPlayer );
}
public static unsafe class ISteamGameServerStats
{
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServerStats_RequestUserStats" )] internal static extern ulong /*SteamAPICall_t*/ RequestUserStats( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServerStats_GetUserStat" )] internal static extern bool /*bool*/ GetUserStat( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , out int /*int32 **/ pData );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServerStats_GetUserStat0" )] internal static extern bool /*bool*/ GetUserStat0( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , out float /*float **/ pData );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServerStats_GetUserAchievement" )] internal static extern bool /*bool*/ GetUserAchievement( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , out bool /*bool **/ pbAchieved );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServerStats_SetUserStat" )] internal static extern bool /*bool*/ SetUserStat( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , int /*int32*/ nData );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServerStats_SetUserStat0" )] internal static extern bool /*bool*/ SetUserStat0( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , float /*float*/ fData );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServerStats_UpdateUserAvgRateStat" )] internal static extern bool /*bool*/ UpdateUserAvgRateStat( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , float /*float*/ flCountThisSession , double /*double*/ dSessionLength );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServerStats_SetUserAchievement" )] internal static extern bool /*bool*/ SetUserAchievement( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServerStats_ClearUserAchievement" )] internal static extern bool /*bool*/ ClearUserAchievement( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_ISteamGameServerStats_StoreUserStats" )] internal static extern ulong /*SteamAPICall_t*/ StoreUserStats( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser );
}
public static unsafe class Global
{
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_Init" )] internal static extern void /*void*/ SteamAPI_Init( );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_RunCallbacks" )] internal static extern void /*void*/ SteamAPI_RunCallbacks( );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamGameServer_RunCallbacks" )] internal static extern void /*void*/ SteamGameServer_RunCallbacks( );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_RegisterCallback" )] internal static extern void /*void*/ SteamAPI_RegisterCallback( IntPtr /*void **/ pCallback , int /*int*/ callback );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_UnregisterCallback" )] internal static extern void /*void*/ SteamAPI_UnregisterCallback( IntPtr /*void **/ pCallback );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamInternal_GameServer_Init" )] internal static extern bool /*bool*/ SteamInternal_GameServer_Init( uint /*uint32*/ unIP , ushort /*uint16*/ usPort , ushort /*uint16*/ usGamePort , ushort /*uint16*/ usQueryPort , int /*int*/ eServerMode , string /*const char **/ pchVersionString );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_Shutdown" )] internal static extern void /*void*/ SteamAPI_Shutdown( );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_GetHSteamUser" )] internal static extern int /*HSteamUser*/ SteamAPI_GetHSteamUser( );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamAPI_GetHSteamPipe" )] internal static extern int /*HSteamPipe*/ SteamAPI_GetHSteamPipe( );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamGameServer_GetHSteamUser" )] internal static extern int /*HSteamUser*/ SteamGameServer_GetHSteamUser( );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamGameServer_GetHSteamPipe" )] internal static extern int /*HSteamPipe*/ SteamGameServer_GetHSteamPipe( );
[DllImportAttribute( "libsteam_api.so", EntryPoint = "SteamInternal_CreateInterface" )] internal static extern IntPtr /*void **/ SteamInternal_CreateInterface( string /*const char **/ version );
}
}
}
}

View File

@ -0,0 +1,752 @@
using System;
using System.Runtime.InteropServices;
namespace SteamNative
{
internal static partial class Platform
{
public static class Mac
{
public static unsafe class ISteamClient
{
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamClient_CreateSteamPipe" )] internal static extern int /*HSteamPipe*/ CreateSteamPipe( IntPtr ISteamClient );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamClient_BReleaseSteamPipe" )] internal static extern bool /*bool*/ BReleaseSteamPipe( IntPtr ISteamClient, HSteamPipe /*HSteamPipe*/ hSteamPipe );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamClient_ConnectToGlobalUser" )] internal static extern int /*HSteamUser*/ ConnectToGlobalUser( IntPtr ISteamClient, HSteamPipe /*HSteamPipe*/ hSteamPipe );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamClient_CreateLocalUser" )] internal static extern int /*HSteamUser*/ CreateLocalUser( IntPtr ISteamClient, out HSteamPipe /*HSteamPipe **/ phSteamPipe, AccountType /*EAccountType*/ eAccountType );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamClient_ReleaseUser" )] internal static extern void /*void*/ ReleaseUser( IntPtr ISteamClient, HSteamPipe /*HSteamPipe*/ hSteamPipe, HSteamUser /*HSteamUser*/ hUser );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamUser" )] internal static extern IntPtr /*class ISteamUser **/ GetISteamUser( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamGameServer" )] internal static extern IntPtr /*class ISteamGameServer **/ GetISteamGameServer( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamClient_SetLocalIPBinding" )] internal static extern void /*void*/ SetLocalIPBinding( IntPtr ISteamClient, uint /*uint32*/ unIP , ushort /*uint16*/ usPort );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamFriends" )] internal static extern IntPtr /*class ISteamFriends **/ GetISteamFriends( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamUtils" )] internal static extern IntPtr /*class ISteamUtils **/ GetISteamUtils( IntPtr ISteamClient, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamMatchmaking" )] internal static extern IntPtr /*class ISteamMatchmaking **/ GetISteamMatchmaking( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamMatchmakingServers" )] internal static extern IntPtr /*class ISteamMatchmakingServers **/ GetISteamMatchmakingServers( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamGenericInterface" )] internal static extern IntPtr /*void **/ GetISteamGenericInterface( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamUserStats" )] internal static extern IntPtr /*class ISteamUserStats **/ GetISteamUserStats( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamGameServerStats" )] internal static extern IntPtr /*class ISteamGameServerStats **/ GetISteamGameServerStats( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamApps" )] internal static extern IntPtr /*class ISteamApps **/ GetISteamApps( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamNetworking" )] internal static extern IntPtr /*class ISteamNetworking **/ GetISteamNetworking( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamRemoteStorage" )] internal static extern IntPtr /*class ISteamRemoteStorage **/ GetISteamRemoteStorage( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamScreenshots" )] internal static extern IntPtr /*class ISteamScreenshots **/ GetISteamScreenshots( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamClient_GetIPCCallCount" )] internal static extern uint /*uint32*/ GetIPCCallCount( IntPtr ISteamClient );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamClient_SetWarningMessageHook" )] internal static extern void /*void*/ SetWarningMessageHook( IntPtr ISteamClient, IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamClient_BShutdownIfAllPipesClosed" )] internal static extern bool /*bool*/ BShutdownIfAllPipesClosed( IntPtr ISteamClient );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamHTTP" )] internal static extern IntPtr /*class ISteamHTTP **/ GetISteamHTTP( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamUnifiedMessages" )] internal static extern IntPtr /*class ISteamUnifiedMessages **/ GetISteamUnifiedMessages( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamController" )] internal static extern IntPtr /*class ISteamController **/ GetISteamController( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamUGC" )] internal static extern IntPtr /*class ISteamUGC **/ GetISteamUGC( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamAppList" )] internal static extern IntPtr /*class ISteamAppList **/ GetISteamAppList( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamMusic" )] internal static extern IntPtr /*class ISteamMusic **/ GetISteamMusic( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamMusicRemote" )] internal static extern IntPtr /*class ISteamMusicRemote **/ GetISteamMusicRemote( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamHTMLSurface" )] internal static extern IntPtr /*class ISteamHTMLSurface **/ GetISteamHTMLSurface( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamInventory" )] internal static extern IntPtr /*class ISteamInventory **/ GetISteamInventory( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamClient_GetISteamVideo" )] internal static extern IntPtr /*class ISteamVideo **/ GetISteamVideo( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
}
public static unsafe class ISteamUser
{
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUser_GetHSteamUser" )] internal static extern int /*HSteamUser*/ GetHSteamUser( IntPtr ISteamUser );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUser_BLoggedOn" )] internal static extern bool /*bool*/ BLoggedOn( IntPtr ISteamUser );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUser_GetSteamID" )] internal static extern ulong /*class CSteamID*/ GetSteamID( IntPtr ISteamUser );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUser_InitiateGameConnection" )] internal static extern int /*int*/ InitiateGameConnection( IntPtr ISteamUser, IntPtr /*void **/ pAuthBlob , int /*int*/ cbMaxAuthBlob , CSteamID /*class CSteamID*/ steamIDGameServer, uint /*uint32*/ unIPServer , ushort /*uint16*/ usPortServer , bool /*bool*/ bSecure );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUser_TerminateGameConnection" )] internal static extern void /*void*/ TerminateGameConnection( IntPtr ISteamUser, uint /*uint32*/ unIPServer , ushort /*uint16*/ usPortServer );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUser_TrackAppUsageEvent" )] internal static extern void /*void*/ TrackAppUsageEvent( IntPtr ISteamUser, CGameID /*class CGameID*/ gameID, int /*int*/ eAppUsageEvent , string /*const char **/ pchExtraInfo );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUser_GetUserDataFolder" )] internal static extern bool /*bool*/ GetUserDataFolder( IntPtr ISteamUser, char* /*char **/ pchBuffer , int /*int*/ cubBuffer );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUser_StartVoiceRecording" )] internal static extern void /*void*/ StartVoiceRecording( IntPtr ISteamUser );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUser_StopVoiceRecording" )] internal static extern void /*void*/ StopVoiceRecording( IntPtr ISteamUser );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUser_GetAvailableVoice" )] internal static extern VoiceResult /*EVoiceResult*/ GetAvailableVoice( IntPtr ISteamUser, out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUser_GetVoice" )] internal static extern VoiceResult /*EVoiceResult*/ GetVoice( IntPtr ISteamUser, bool /*bool*/ bWantCompressed , IntPtr /*void **/ pDestBuffer , uint /*uint32*/ cbDestBufferSize , out uint /*uint32 **/ nBytesWritten, bool /*bool*/ bWantUncompressed , IntPtr /*void **/ pUncompressedDestBuffer , uint /*uint32*/ cbUncompressedDestBufferSize , out uint /*uint32 **/ nUncompressBytesWritten, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUser_DecompressVoice" )] internal static extern VoiceResult /*EVoiceResult*/ DecompressVoice( IntPtr ISteamUser, IntPtr /*const void **/ pCompressed , uint /*uint32*/ cbCompressed , IntPtr /*void **/ pDestBuffer , uint /*uint32*/ cbDestBufferSize , out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUser_GetVoiceOptimalSampleRate" )] internal static extern uint /*uint32*/ GetVoiceOptimalSampleRate( IntPtr ISteamUser );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUser_GetAuthSessionTicket" )] internal static extern uint /*HAuthTicket*/ GetAuthSessionTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket , int /*int*/ cbMaxTicket , out uint /*uint32 **/ pcbTicket );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUser_BeginAuthSession" )] internal static extern BeginAuthSessionResult /*EBeginAuthSessionResult*/ BeginAuthSession( IntPtr ISteamUser, IntPtr /*const void **/ pAuthTicket , int /*int*/ cbAuthTicket , CSteamID /*class CSteamID*/ steamID );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUser_EndAuthSession" )] internal static extern void /*void*/ EndAuthSession( IntPtr ISteamUser, CSteamID /*class CSteamID*/ steamID );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUser_CancelAuthTicket" )] internal static extern void /*void*/ CancelAuthTicket( IntPtr ISteamUser, HAuthTicket /*HAuthTicket*/ hAuthTicket );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUser_UserHasLicenseForApp" )] internal static extern UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ UserHasLicenseForApp( IntPtr ISteamUser, CSteamID /*class CSteamID*/ steamID, AppId_t /*AppId_t*/ appID );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUser_BIsBehindNAT" )] internal static extern bool /*bool*/ BIsBehindNAT( IntPtr ISteamUser );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUser_AdvertiseGame" )] internal static extern void /*void*/ AdvertiseGame( IntPtr ISteamUser, CSteamID /*class CSteamID*/ steamIDGameServer, uint /*uint32*/ unIPServer , ushort /*uint16*/ usPortServer );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUser_RequestEncryptedAppTicket" )] internal static extern ulong /*SteamAPICall_t*/ RequestEncryptedAppTicket( IntPtr ISteamUser, IntPtr /*void **/ pDataToInclude , int /*int*/ cbDataToInclude );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUser_GetEncryptedAppTicket" )] internal static extern bool /*bool*/ GetEncryptedAppTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket , int /*int*/ cbMaxTicket , out uint /*uint32 **/ pcbTicket );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUser_GetGameBadgeLevel" )] internal static extern int /*int*/ GetGameBadgeLevel( IntPtr ISteamUser, int /*int*/ nSeries , bool /*bool*/ bFoil );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUser_GetPlayerSteamLevel" )] internal static extern int /*int*/ GetPlayerSteamLevel( IntPtr ISteamUser );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUser_RequestStoreAuthURL" )] internal static extern ulong /*SteamAPICall_t*/ RequestStoreAuthURL( IntPtr ISteamUser, string /*const char **/ pchRedirectURL );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUser_BIsPhoneVerified" )] internal static extern bool /*bool*/ BIsPhoneVerified( IntPtr ISteamUser );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUser_BIsTwoFactorEnabled" )] internal static extern bool /*bool*/ BIsTwoFactorEnabled( IntPtr ISteamUser );
}
public static unsafe class ISteamFriends
{
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetPersonaName" )] internal static extern IntPtr GetPersonaName( IntPtr ISteamFriends );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_SetPersonaName" )] internal static extern ulong /*SteamAPICall_t*/ SetPersonaName( IntPtr ISteamFriends, string /*const char **/ pchPersonaName );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetPersonaState" )] internal static extern PersonaState /*EPersonaState*/ GetPersonaState( IntPtr ISteamFriends );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendCount" )] internal static extern int /*int*/ GetFriendCount( IntPtr ISteamFriends, int /*int*/ iFriendFlags );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendByIndex" )] internal static extern ulong /*class CSteamID*/ GetFriendByIndex( IntPtr ISteamFriends, int /*int*/ iFriend , int /*int*/ iFriendFlags );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendRelationship" )] internal static extern FriendRelationship /*EFriendRelationship*/ GetFriendRelationship( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendPersonaState" )] internal static extern PersonaState /*EPersonaState*/ GetFriendPersonaState( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendPersonaName" )] internal static extern IntPtr GetFriendPersonaName( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendGamePlayed" )] internal static extern bool /*bool*/ GetFriendGamePlayed( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend, ref FriendGameInfo_t /*struct FriendGameInfo_t **/ pFriendGameInfo );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendPersonaNameHistory" )] internal static extern IntPtr GetFriendPersonaNameHistory( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend, int /*int*/ iPersonaName );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendSteamLevel" )] internal static extern int /*int*/ GetFriendSteamLevel( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetPlayerNickname" )] internal static extern IntPtr GetPlayerNickname( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDPlayer );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupCount" )] internal static extern int /*int*/ GetFriendsGroupCount( IntPtr ISteamFriends );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupIDByIndex" )] internal static extern short /*FriendsGroupID_t*/ GetFriendsGroupIDByIndex( IntPtr ISteamFriends, int /*int*/ iFG );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupName" )] internal static extern IntPtr GetFriendsGroupName( IntPtr ISteamFriends, FriendsGroupID_t /*FriendsGroupID_t*/ friendsGroupID );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupMembersCount" )] internal static extern int /*int*/ GetFriendsGroupMembersCount( IntPtr ISteamFriends, FriendsGroupID_t /*FriendsGroupID_t*/ friendsGroupID );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupMembersList" )] internal static extern void /*void*/ GetFriendsGroupMembersList( IntPtr ISteamFriends, FriendsGroupID_t /*FriendsGroupID_t*/ friendsGroupID, IntPtr /*class CSteamID **/ pOutSteamIDMembers, int /*int*/ nMembersCount );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_HasFriend" )] internal static extern bool /*bool*/ HasFriend( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend, int /*int*/ iFriendFlags );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanCount" )] internal static extern int /*int*/ GetClanCount( IntPtr ISteamFriends );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanByIndex" )] internal static extern ulong /*class CSteamID*/ GetClanByIndex( IntPtr ISteamFriends, int /*int*/ iClan );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanName" )] internal static extern IntPtr GetClanName( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanTag" )] internal static extern IntPtr GetClanTag( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanActivityCounts" )] internal static extern bool /*bool*/ GetClanActivityCounts( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan, out int /*int **/ pnOnline, out int /*int **/ pnInGame, out int /*int **/ pnChatting );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_DownloadClanActivityCounts" )] internal static extern ulong /*SteamAPICall_t*/ DownloadClanActivityCounts( IntPtr ISteamFriends, IntPtr /*class CSteamID **/ psteamIDClans, int /*int*/ cClansToRequest );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendCountFromSource" )] internal static extern int /*int*/ GetFriendCountFromSource( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDSource );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendFromSourceByIndex" )] internal static extern ulong /*class CSteamID*/ GetFriendFromSourceByIndex( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDSource, int /*int*/ iFriend );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_IsUserInSource" )] internal static extern bool /*bool*/ IsUserInSource( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDUser, CSteamID /*class CSteamID*/ steamIDSource );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_SetInGameVoiceSpeaking" )] internal static extern void /*void*/ SetInGameVoiceSpeaking( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDUser, bool /*bool*/ bSpeaking );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlay" )] internal static extern void /*void*/ ActivateGameOverlay( IntPtr ISteamFriends, string /*const char **/ pchDialog );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlayToUser" )] internal static extern void /*void*/ ActivateGameOverlayToUser( IntPtr ISteamFriends, string /*const char **/ pchDialog , CSteamID /*class CSteamID*/ steamID );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlayToWebPage" )] internal static extern void /*void*/ ActivateGameOverlayToWebPage( IntPtr ISteamFriends, string /*const char **/ pchURL );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlayToStore" )] internal static extern void /*void*/ ActivateGameOverlayToStore( IntPtr ISteamFriends, AppId_t /*AppId_t*/ nAppID, OverlayToStoreFlag /*EOverlayToStoreFlag*/ eFlag );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_SetPlayedWith" )] internal static extern void /*void*/ SetPlayedWith( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDUserPlayedWith );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlayInviteDialog" )] internal static extern void /*void*/ ActivateGameOverlayInviteDialog( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDLobby );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetSmallFriendAvatar" )] internal static extern int /*int*/ GetSmallFriendAvatar( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetMediumFriendAvatar" )] internal static extern int /*int*/ GetMediumFriendAvatar( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetLargeFriendAvatar" )] internal static extern int /*int*/ GetLargeFriendAvatar( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_RequestUserInformation" )] internal static extern bool /*bool*/ RequestUserInformation( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDUser, bool /*bool*/ bRequireNameOnly );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_RequestClanOfficerList" )] internal static extern ulong /*SteamAPICall_t*/ RequestClanOfficerList( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanOwner" )] internal static extern ulong /*class CSteamID*/ GetClanOwner( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanOfficerCount" )] internal static extern int /*int*/ GetClanOfficerCount( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanOfficerByIndex" )] internal static extern ulong /*class CSteamID*/ GetClanOfficerByIndex( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan, int /*int*/ iOfficer );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetUserRestrictions" )] internal static extern uint /*uint32*/ GetUserRestrictions( IntPtr ISteamFriends );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_SetRichPresence" )] internal static extern bool /*bool*/ SetRichPresence( IntPtr ISteamFriends, string /*const char **/ pchKey , string /*const char **/ pchValue );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_ClearRichPresence" )] internal static extern void /*void*/ ClearRichPresence( IntPtr ISteamFriends );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendRichPresence" )] internal static extern IntPtr GetFriendRichPresence( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend, string /*const char **/ pchKey );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendRichPresenceKeyCount" )] internal static extern int /*int*/ GetFriendRichPresenceKeyCount( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendRichPresenceKeyByIndex" )] internal static extern IntPtr GetFriendRichPresenceKeyByIndex( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend, int /*int*/ iKey );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_RequestFriendRichPresence" )] internal static extern void /*void*/ RequestFriendRichPresence( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_InviteUserToGame" )] internal static extern bool /*bool*/ InviteUserToGame( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend, string /*const char **/ pchConnectString );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetCoplayFriendCount" )] internal static extern int /*int*/ GetCoplayFriendCount( IntPtr ISteamFriends );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetCoplayFriend" )] internal static extern ulong /*class CSteamID*/ GetCoplayFriend( IntPtr ISteamFriends, int /*int*/ iCoplayFriend );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendCoplayTime" )] internal static extern int /*int*/ GetFriendCoplayTime( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendCoplayGame" )] internal static extern uint /*AppId_t*/ GetFriendCoplayGame( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_JoinClanChatRoom" )] internal static extern ulong /*SteamAPICall_t*/ JoinClanChatRoom( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_LeaveClanChatRoom" )] internal static extern bool /*bool*/ LeaveClanChatRoom( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanChatMemberCount" )] internal static extern int /*int*/ GetClanChatMemberCount( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetChatMemberByIndex" )] internal static extern ulong /*class CSteamID*/ GetChatMemberByIndex( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan, int /*int*/ iUser );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_SendClanChatMessage" )] internal static extern bool /*bool*/ SendClanChatMessage( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClanChat, string /*const char **/ pchText );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetClanChatMessage" )] internal static extern int /*int*/ GetClanChatMessage( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClanChat, int /*int*/ iMessage , IntPtr /*void **/ prgchText , int /*int*/ cchTextMax , out ChatEntryType /*EChatEntryType **/ peChatEntryType, out CSteamID /*class CSteamID **/ psteamidChatter );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_IsClanChatAdmin" )] internal static extern bool /*bool*/ IsClanChatAdmin( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClanChat, CSteamID /*class CSteamID*/ steamIDUser );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_IsClanChatWindowOpenInSteam" )] internal static extern bool /*bool*/ IsClanChatWindowOpenInSteam( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClanChat );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_OpenClanChatWindowInSteam" )] internal static extern bool /*bool*/ OpenClanChatWindowInSteam( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClanChat );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_CloseClanChatWindowInSteam" )] internal static extern bool /*bool*/ CloseClanChatWindowInSteam( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClanChat );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_SetListenForFriendsMessages" )] internal static extern bool /*bool*/ SetListenForFriendsMessages( IntPtr ISteamFriends, bool /*bool*/ bInterceptEnabled );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_ReplyToFriendMessage" )] internal static extern bool /*bool*/ ReplyToFriendMessage( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend, string /*const char **/ pchMsgToSend );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetFriendMessage" )] internal static extern int /*int*/ GetFriendMessage( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend, int /*int*/ iMessageID , IntPtr /*void **/ pvData , int /*int*/ cubData , out ChatEntryType /*EChatEntryType **/ peChatEntryType );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_GetFollowerCount" )] internal static extern ulong /*SteamAPICall_t*/ GetFollowerCount( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamID );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_IsFollowing" )] internal static extern ulong /*SteamAPICall_t*/ IsFollowing( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamID );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamFriends_EnumerateFollowingList" )] internal static extern ulong /*SteamAPICall_t*/ EnumerateFollowingList( IntPtr ISteamFriends, uint /*uint32*/ unStartIndex );
}
public static unsafe class ISteamUtils
{
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUtils_GetSecondsSinceAppActive" )] internal static extern uint /*uint32*/ GetSecondsSinceAppActive( IntPtr ISteamUtils );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUtils_GetSecondsSinceComputerActive" )] internal static extern uint /*uint32*/ GetSecondsSinceComputerActive( IntPtr ISteamUtils );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUtils_GetConnectedUniverse" )] internal static extern Universe /*EUniverse*/ GetConnectedUniverse( IntPtr ISteamUtils );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUtils_GetServerRealTime" )] internal static extern uint /*uint32*/ GetServerRealTime( IntPtr ISteamUtils );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUtils_GetIPCountry" )] internal static extern IntPtr GetIPCountry( IntPtr ISteamUtils );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUtils_GetImageSize" )] internal static extern bool /*bool*/ GetImageSize( IntPtr ISteamUtils, int /*int*/ iImage , out uint /*uint32 **/ pnWidth, out uint /*uint32 **/ pnHeight );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUtils_GetImageRGBA" )] internal static extern bool /*bool*/ GetImageRGBA( IntPtr ISteamUtils, int /*int*/ iImage , IntPtr /*uint8 **/ pubDest, int /*int*/ nDestBufferSize );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUtils_GetCSERIPPort" )] internal static extern bool /*bool*/ GetCSERIPPort( IntPtr ISteamUtils, out uint /*uint32 **/ unIP, out ushort /*uint16 **/ usPort );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUtils_GetCurrentBatteryPower" )] internal static extern byte /*uint8*/ GetCurrentBatteryPower( IntPtr ISteamUtils );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUtils_GetAppID" )] internal static extern uint /*uint32*/ GetAppID( IntPtr ISteamUtils );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUtils_SetOverlayNotificationPosition" )] internal static extern void /*void*/ SetOverlayNotificationPosition( IntPtr ISteamUtils, NotificationPosition /*ENotificationPosition*/ eNotificationPosition );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUtils_IsAPICallCompleted" )] internal static extern bool /*bool*/ IsAPICallCompleted( IntPtr ISteamUtils, SteamAPICall_t /*SteamAPICall_t*/ hSteamAPICall, out bool /*bool **/ pbFailed );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUtils_GetAPICallFailureReason" )] internal static extern SteamAPICallFailure /*ESteamAPICallFailure*/ GetAPICallFailureReason( IntPtr ISteamUtils, SteamAPICall_t /*SteamAPICall_t*/ hSteamAPICall );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUtils_GetAPICallResult" )] internal static extern bool /*bool*/ GetAPICallResult( IntPtr ISteamUtils, SteamAPICall_t /*SteamAPICall_t*/ hSteamAPICall, IntPtr /*void **/ pCallback , int /*int*/ cubCallback , int /*int*/ iCallbackExpected , out bool /*bool **/ pbFailed );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUtils_GetIPCCallCount" )] internal static extern uint /*uint32*/ GetIPCCallCount( IntPtr ISteamUtils );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUtils_SetWarningMessageHook" )] internal static extern void /*void*/ SetWarningMessageHook( IntPtr ISteamUtils, IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUtils_IsOverlayEnabled" )] internal static extern bool /*bool*/ IsOverlayEnabled( IntPtr ISteamUtils );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUtils_BOverlayNeedsPresent" )] internal static extern bool /*bool*/ BOverlayNeedsPresent( IntPtr ISteamUtils );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUtils_CheckFileSignature" )] internal static extern ulong /*SteamAPICall_t*/ CheckFileSignature( IntPtr ISteamUtils, string /*const char **/ szFileName );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUtils_ShowGamepadTextInput" )] internal static extern bool /*bool*/ ShowGamepadTextInput( IntPtr ISteamUtils, GamepadTextInputMode /*EGamepadTextInputMode*/ eInputMode , GamepadTextInputLineMode /*EGamepadTextInputLineMode*/ eLineInputMode , string /*const char **/ pchDescription , uint /*uint32*/ unCharMax , string /*const char **/ pchExistingText );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUtils_GetEnteredGamepadTextLength" )] internal static extern uint /*uint32*/ GetEnteredGamepadTextLength( IntPtr ISteamUtils );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUtils_GetEnteredGamepadTextInput" )] internal static extern bool /*bool*/ GetEnteredGamepadTextInput( IntPtr ISteamUtils, char* /*char **/ pchText , uint /*uint32*/ cchText );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUtils_GetSteamUILanguage" )] internal static extern IntPtr GetSteamUILanguage( IntPtr ISteamUtils );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUtils_IsSteamRunningInVR" )] internal static extern bool /*bool*/ IsSteamRunningInVR( IntPtr ISteamUtils );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUtils_SetOverlayNotificationInset" )] internal static extern void /*void*/ SetOverlayNotificationInset( IntPtr ISteamUtils, int /*int*/ nHorizontalInset , int /*int*/ nVerticalInset );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUtils_IsSteamInBigPictureMode" )] internal static extern bool /*bool*/ IsSteamInBigPictureMode( IntPtr ISteamUtils );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUtils_StartVRDashboard" )] internal static extern void /*void*/ StartVRDashboard( IntPtr ISteamUtils );
}
public static unsafe class ISteamMatchmaking
{
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetFavoriteGameCount" )] internal static extern int /*int*/ GetFavoriteGameCount( IntPtr ISteamMatchmaking );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetFavoriteGame" )] internal static extern bool /*bool*/ GetFavoriteGame( IntPtr ISteamMatchmaking, int /*int*/ iGame , ref AppId_t /*AppId_t **/ pnAppID, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnConnPort, out ushort /*uint16 **/ pnQueryPort, IntPtr /*uint32 **/ punFlags, out uint /*uint32 **/ pRTime32LastPlayedOnServer );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_AddFavoriteGame" )] internal static extern int /*int*/ AddFavoriteGame( IntPtr ISteamMatchmaking, AppId_t /*AppId_t*/ nAppID, uint /*uint32*/ nIP , ushort /*uint16*/ nConnPort , ushort /*uint16*/ nQueryPort , uint /*uint32*/ unFlags , uint /*uint32*/ rTime32LastPlayedOnServer );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_RemoveFavoriteGame" )] internal static extern bool /*bool*/ RemoveFavoriteGame( IntPtr ISteamMatchmaking, AppId_t /*AppId_t*/ nAppID, uint /*uint32*/ nIP , ushort /*uint16*/ nConnPort , ushort /*uint16*/ nQueryPort , uint /*uint32*/ unFlags );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_RequestLobbyList" )] internal static extern ulong /*SteamAPICall_t*/ RequestLobbyList( IntPtr ISteamMatchmaking );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListStringFilter" )] internal static extern void /*void*/ AddRequestLobbyListStringFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch , string /*const char **/ pchValueToMatch , LobbyComparison /*ELobbyComparison*/ eComparisonType );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListNumericalFilter" )] internal static extern void /*void*/ AddRequestLobbyListNumericalFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch , int /*int*/ nValueToMatch , LobbyComparison /*ELobbyComparison*/ eComparisonType );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListNearValueFilter" )] internal static extern void /*void*/ AddRequestLobbyListNearValueFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch , int /*int*/ nValueToBeCloseTo );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListFilterSlotsAvailable" )] internal static extern void /*void*/ AddRequestLobbyListFilterSlotsAvailable( IntPtr ISteamMatchmaking, int /*int*/ nSlotsAvailable );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListDistanceFilter" )] internal static extern void /*void*/ AddRequestLobbyListDistanceFilter( IntPtr ISteamMatchmaking, LobbyDistanceFilter /*ELobbyDistanceFilter*/ eLobbyDistanceFilter );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListResultCountFilter" )] internal static extern void /*void*/ AddRequestLobbyListResultCountFilter( IntPtr ISteamMatchmaking, int /*int*/ cMaxResults );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListCompatibleMembersFilter" )] internal static extern void /*void*/ AddRequestLobbyListCompatibleMembersFilter( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyByIndex" )] internal static extern ulong /*class CSteamID*/ GetLobbyByIndex( IntPtr ISteamMatchmaking, int /*int*/ iLobby );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_CreateLobby" )] internal static extern ulong /*SteamAPICall_t*/ CreateLobby( IntPtr ISteamMatchmaking, LobbyType /*ELobbyType*/ eLobbyType , int /*int*/ cMaxMembers );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_JoinLobby" )] internal static extern ulong /*SteamAPICall_t*/ JoinLobby( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_LeaveLobby" )] internal static extern void /*void*/ LeaveLobby( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_InviteUserToLobby" )] internal static extern bool /*bool*/ InviteUserToLobby( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, CSteamID /*class CSteamID*/ steamIDInvitee );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetNumLobbyMembers" )] internal static extern int /*int*/ GetNumLobbyMembers( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyMemberByIndex" )] internal static extern ulong /*class CSteamID*/ GetLobbyMemberByIndex( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, int /*int*/ iMember );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyData" )] internal static extern IntPtr GetLobbyData( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, string /*const char **/ pchKey );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyData" )] internal static extern bool /*bool*/ SetLobbyData( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, string /*const char **/ pchKey , string /*const char **/ pchValue );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyDataCount" )] internal static extern int /*int*/ GetLobbyDataCount( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyDataByIndex" )] internal static extern bool /*bool*/ GetLobbyDataByIndex( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, int /*int*/ iLobbyData , char* /*char **/ pchKey , int /*int*/ cchKeyBufferSize , char* /*char **/ pchValue , int /*int*/ cchValueBufferSize );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_DeleteLobbyData" )] internal static extern bool /*bool*/ DeleteLobbyData( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, string /*const char **/ pchKey );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyMemberData" )] internal static extern IntPtr GetLobbyMemberData( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchKey );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyMemberData" )] internal static extern void /*void*/ SetLobbyMemberData( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, string /*const char **/ pchKey , string /*const char **/ pchValue );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_SendLobbyChatMsg" )] internal static extern bool /*bool*/ SendLobbyChatMsg( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, IntPtr /*const void **/ pvMsgBody , int /*int*/ cubMsgBody );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyChatEntry" )] internal static extern int /*int*/ GetLobbyChatEntry( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, int /*int*/ iChatID , out CSteamID /*class CSteamID **/ pSteamIDUser, IntPtr /*void **/ pvData , int /*int*/ cubData , out ChatEntryType /*EChatEntryType **/ peChatEntryType );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_RequestLobbyData" )] internal static extern bool /*bool*/ RequestLobbyData( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyGameServer" )] internal static extern void /*void*/ SetLobbyGameServer( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, uint /*uint32*/ unGameServerIP , ushort /*uint16*/ unGameServerPort , CSteamID /*class CSteamID*/ steamIDGameServer );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyGameServer" )] internal static extern bool /*bool*/ GetLobbyGameServer( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, out uint /*uint32 **/ punGameServerIP, out ushort /*uint16 **/ punGameServerPort, out CSteamID /*class CSteamID **/ psteamIDGameServer );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyMemberLimit" )] internal static extern bool /*bool*/ SetLobbyMemberLimit( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, int /*int*/ cMaxMembers );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyMemberLimit" )] internal static extern int /*int*/ GetLobbyMemberLimit( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyType" )] internal static extern bool /*bool*/ SetLobbyType( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, LobbyType /*ELobbyType*/ eLobbyType );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyJoinable" )] internal static extern bool /*bool*/ SetLobbyJoinable( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, bool /*bool*/ bLobbyJoinable );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyOwner" )] internal static extern ulong /*class CSteamID*/ GetLobbyOwner( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyOwner" )] internal static extern bool /*bool*/ SetLobbyOwner( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, CSteamID /*class CSteamID*/ steamIDNewOwner );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLinkedLobby" )] internal static extern bool /*bool*/ SetLinkedLobby( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, CSteamID /*class CSteamID*/ steamIDLobbyDependent );
}
public static unsafe class ISteamMatchmakingServers
{
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestInternetServerList" )] internal static extern IntPtr /*HServerListRequest*/ RequestInternetServerList( IntPtr ISteamMatchmakingServers, AppId_t /*AppId_t*/ iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters , IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestLANServerList" )] internal static extern IntPtr /*HServerListRequest*/ RequestLANServerList( IntPtr ISteamMatchmakingServers, AppId_t /*AppId_t*/ iApp, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestFriendsServerList" )] internal static extern IntPtr /*HServerListRequest*/ RequestFriendsServerList( IntPtr ISteamMatchmakingServers, AppId_t /*AppId_t*/ iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters , IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestFavoritesServerList" )] internal static extern IntPtr /*HServerListRequest*/ RequestFavoritesServerList( IntPtr ISteamMatchmakingServers, AppId_t /*AppId_t*/ iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters , IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestHistoryServerList" )] internal static extern IntPtr /*HServerListRequest*/ RequestHistoryServerList( IntPtr ISteamMatchmakingServers, AppId_t /*AppId_t*/ iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters , IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestSpectatorServerList" )] internal static extern IntPtr /*HServerListRequest*/ RequestSpectatorServerList( IntPtr ISteamMatchmakingServers, AppId_t /*AppId_t*/ iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters , IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_ReleaseRequest" )] internal static extern void /*void*/ ReleaseRequest( IntPtr ISteamMatchmakingServers, HServerListRequest /*HServerListRequest*/ hServerListRequest );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_GetServerDetails" )] internal static extern IntPtr /*class gameserveritem_t **/ GetServerDetails( IntPtr ISteamMatchmakingServers, HServerListRequest /*HServerListRequest*/ hRequest, int /*int*/ iServer );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_CancelQuery" )] internal static extern void /*void*/ CancelQuery( IntPtr ISteamMatchmakingServers, HServerListRequest /*HServerListRequest*/ hRequest );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RefreshQuery" )] internal static extern void /*void*/ RefreshQuery( IntPtr ISteamMatchmakingServers, HServerListRequest /*HServerListRequest*/ hRequest );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_IsRefreshing" )] internal static extern bool /*bool*/ IsRefreshing( IntPtr ISteamMatchmakingServers, HServerListRequest /*HServerListRequest*/ hRequest );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_GetServerCount" )] internal static extern int /*int*/ GetServerCount( IntPtr ISteamMatchmakingServers, HServerListRequest /*HServerListRequest*/ hRequest );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RefreshServer" )] internal static extern void /*void*/ RefreshServer( IntPtr ISteamMatchmakingServers, HServerListRequest /*HServerListRequest*/ hRequest, int /*int*/ iServer );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_PingServer" )] internal static extern int /*HServerQuery*/ PingServer( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP , ushort /*uint16*/ usPort , IntPtr /*class ISteamMatchmakingPingResponse **/ pRequestServersResponse );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_PlayerDetails" )] internal static extern int /*HServerQuery*/ PlayerDetails( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP , ushort /*uint16*/ usPort , IntPtr /*class ISteamMatchmakingPlayersResponse **/ pRequestServersResponse );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_ServerRules" )] internal static extern int /*HServerQuery*/ ServerRules( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP , ushort /*uint16*/ usPort , IntPtr /*class ISteamMatchmakingRulesResponse **/ pRequestServersResponse );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMatchmakingServers_CancelServerQuery" )] internal static extern void /*void*/ CancelServerQuery( IntPtr ISteamMatchmakingServers, HServerQuery /*HServerQuery*/ hServerQuery );
}
public static unsafe class ISteamRemoteStorage
{
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWrite" )] internal static extern bool /*bool*/ FileWrite( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile , IntPtr /*const void **/ pvData , int /*int32*/ cubData );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileRead" )] internal static extern int /*int32*/ FileRead( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile , IntPtr /*void **/ pvData , int /*int32*/ cubDataToRead );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteAsync" )] internal static extern ulong /*SteamAPICall_t*/ FileWriteAsync( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile , IntPtr /*const void **/ pvData , uint /*uint32*/ cubData );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileReadAsync" )] internal static extern ulong /*SteamAPICall_t*/ FileReadAsync( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile , uint /*uint32*/ nOffset , uint /*uint32*/ cubToRead );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileReadAsyncComplete" )] internal static extern bool /*bool*/ FileReadAsyncComplete( IntPtr ISteamRemoteStorage, SteamAPICall_t /*SteamAPICall_t*/ hReadCall, IntPtr /*void **/ pvBuffer , uint /*uint32*/ cubToRead );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileForget" )] internal static extern bool /*bool*/ FileForget( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileDelete" )] internal static extern bool /*bool*/ FileDelete( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileShare" )] internal static extern ulong /*SteamAPICall_t*/ FileShare( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_SetSyncPlatforms" )] internal static extern bool /*bool*/ SetSyncPlatforms( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile , RemoteStoragePlatform /*ERemoteStoragePlatform*/ eRemoteStoragePlatform );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteStreamOpen" )] internal static extern ulong /*UGCFileWriteStreamHandle_t*/ FileWriteStreamOpen( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteStreamWriteChunk" )] internal static extern bool /*bool*/ FileWriteStreamWriteChunk( IntPtr ISteamRemoteStorage, UGCFileWriteStreamHandle_t /*UGCFileWriteStreamHandle_t*/ writeHandle, IntPtr /*const void **/ pvData , int /*int32*/ cubData );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteStreamClose" )] internal static extern bool /*bool*/ FileWriteStreamClose( IntPtr ISteamRemoteStorage, UGCFileWriteStreamHandle_t /*UGCFileWriteStreamHandle_t*/ writeHandle );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteStreamCancel" )] internal static extern bool /*bool*/ FileWriteStreamCancel( IntPtr ISteamRemoteStorage, UGCFileWriteStreamHandle_t /*UGCFileWriteStreamHandle_t*/ writeHandle );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileExists" )] internal static extern bool /*bool*/ FileExists( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_FilePersisted" )] internal static extern bool /*bool*/ FilePersisted( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetFileSize" )] internal static extern int /*int32*/ GetFileSize( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetFileTimestamp" )] internal static extern long /*int64*/ GetFileTimestamp( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetSyncPlatforms" )] internal static extern RemoteStoragePlatform /*ERemoteStoragePlatform*/ GetSyncPlatforms( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetFileCount" )] internal static extern int /*int32*/ GetFileCount( IntPtr ISteamRemoteStorage );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetFileNameAndSize" )] internal static extern IntPtr GetFileNameAndSize( IntPtr ISteamRemoteStorage, int /*int*/ iFile , IntPtr /*int32 **/ pnFileSizeInBytes );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetQuota" )] internal static extern bool /*bool*/ GetQuota( IntPtr ISteamRemoteStorage, IntPtr /*int32 **/ pnTotalBytes, IntPtr /*int32 **/ puAvailableBytes );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_IsCloudEnabledForAccount" )] internal static extern bool /*bool*/ IsCloudEnabledForAccount( IntPtr ISteamRemoteStorage );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_IsCloudEnabledForApp" )] internal static extern bool /*bool*/ IsCloudEnabledForApp( IntPtr ISteamRemoteStorage );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_SetCloudEnabledForApp" )] internal static extern void /*void*/ SetCloudEnabledForApp( IntPtr ISteamRemoteStorage, bool /*bool*/ bEnabled );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UGCDownload" )] internal static extern ulong /*SteamAPICall_t*/ UGCDownload( IntPtr ISteamRemoteStorage, UGCHandle_t /*UGCHandle_t*/ hContent, uint /*uint32*/ unPriority );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetUGCDownloadProgress" )] internal static extern bool /*bool*/ GetUGCDownloadProgress( IntPtr ISteamRemoteStorage, UGCHandle_t /*UGCHandle_t*/ hContent, out int /*int32 **/ pnBytesDownloaded, out int /*int32 **/ pnBytesExpected );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetUGCDetails" )] internal static extern bool /*bool*/ GetUGCDetails( IntPtr ISteamRemoteStorage, UGCHandle_t /*UGCHandle_t*/ hContent, ref AppId_t /*AppId_t **/ pnAppID, char* /*char ***/ ppchName , IntPtr /*int32 **/ pnFileSizeInBytes, out CSteamID /*class CSteamID **/ pSteamIDOwner );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UGCRead" )] internal static extern int /*int32*/ UGCRead( IntPtr ISteamRemoteStorage, UGCHandle_t /*UGCHandle_t*/ hContent, IntPtr /*void **/ pvData , int /*int32*/ cubDataToRead , uint /*uint32*/ cOffset , UGCReadAction /*EUGCReadAction*/ eAction );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetCachedUGCCount" )] internal static extern int /*int32*/ GetCachedUGCCount( IntPtr ISteamRemoteStorage );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetCachedUGCHandle" )] internal static extern ulong /*UGCHandle_t*/ GetCachedUGCHandle( IntPtr ISteamRemoteStorage, int /*int32*/ iCachedContent );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_PublishWorkshopFile" )] internal static extern ulong /*SteamAPICall_t*/ PublishWorkshopFile( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile , string /*const char **/ pchPreviewFile , AppId_t /*AppId_t*/ nConsumerAppId, string /*const char **/ pchTitle , string /*const char **/ pchDescription , RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility , IntPtr /*struct SteamParamStringArray_t **/ pTags, WorkshopFileType /*EWorkshopFileType*/ eWorkshopFileType );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_CreatePublishedFileUpdateRequest" )] internal static extern ulong /*PublishedFileUpdateHandle_t*/ CreatePublishedFileUpdateRequest( IntPtr ISteamRemoteStorage, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileId );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileFile" )] internal static extern bool /*bool*/ UpdatePublishedFileFile( IntPtr ISteamRemoteStorage, PublishedFileUpdateHandle_t /*PublishedFileUpdateHandle_t*/ updateHandle, string /*const char **/ pchFile );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFilePreviewFile" )] internal static extern bool /*bool*/ UpdatePublishedFilePreviewFile( IntPtr ISteamRemoteStorage, PublishedFileUpdateHandle_t /*PublishedFileUpdateHandle_t*/ updateHandle, string /*const char **/ pchPreviewFile );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTitle" )] internal static extern bool /*bool*/ UpdatePublishedFileTitle( IntPtr ISteamRemoteStorage, PublishedFileUpdateHandle_t /*PublishedFileUpdateHandle_t*/ updateHandle, string /*const char **/ pchTitle );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileDescription" )] internal static extern bool /*bool*/ UpdatePublishedFileDescription( IntPtr ISteamRemoteStorage, PublishedFileUpdateHandle_t /*PublishedFileUpdateHandle_t*/ updateHandle, string /*const char **/ pchDescription );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileVisibility" )] internal static extern bool /*bool*/ UpdatePublishedFileVisibility( IntPtr ISteamRemoteStorage, PublishedFileUpdateHandle_t /*PublishedFileUpdateHandle_t*/ updateHandle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTags" )] internal static extern bool /*bool*/ UpdatePublishedFileTags( IntPtr ISteamRemoteStorage, PublishedFileUpdateHandle_t /*PublishedFileUpdateHandle_t*/ updateHandle, IntPtr /*struct SteamParamStringArray_t **/ pTags );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_CommitPublishedFileUpdate" )] internal static extern ulong /*SteamAPICall_t*/ CommitPublishedFileUpdate( IntPtr ISteamRemoteStorage, PublishedFileUpdateHandle_t /*PublishedFileUpdateHandle_t*/ updateHandle );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetPublishedFileDetails" )] internal static extern ulong /*SteamAPICall_t*/ GetPublishedFileDetails( IntPtr ISteamRemoteStorage, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileId, uint /*uint32*/ unMaxSecondsOld );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_DeletePublishedFile" )] internal static extern ulong /*SteamAPICall_t*/ DeletePublishedFile( IntPtr ISteamRemoteStorage, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileId );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumerateUserPublishedFiles" )] internal static extern ulong /*SteamAPICall_t*/ EnumerateUserPublishedFiles( IntPtr ISteamRemoteStorage, uint /*uint32*/ unStartIndex );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_SubscribePublishedFile" )] internal static extern ulong /*SteamAPICall_t*/ SubscribePublishedFile( IntPtr ISteamRemoteStorage, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileId );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumerateUserSubscribedFiles" )] internal static extern ulong /*SteamAPICall_t*/ EnumerateUserSubscribedFiles( IntPtr ISteamRemoteStorage, uint /*uint32*/ unStartIndex );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UnsubscribePublishedFile" )] internal static extern ulong /*SteamAPICall_t*/ UnsubscribePublishedFile( IntPtr ISteamRemoteStorage, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileId );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileSetChangeDescription" )] internal static extern bool /*bool*/ UpdatePublishedFileSetChangeDescription( IntPtr ISteamRemoteStorage, PublishedFileUpdateHandle_t /*PublishedFileUpdateHandle_t*/ updateHandle, string /*const char **/ pchChangeDescription );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetPublishedItemVoteDetails" )] internal static extern ulong /*SteamAPICall_t*/ GetPublishedItemVoteDetails( IntPtr ISteamRemoteStorage, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileId );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdateUserPublishedItemVote" )] internal static extern ulong /*SteamAPICall_t*/ UpdateUserPublishedItemVote( IntPtr ISteamRemoteStorage, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileId, bool /*bool*/ bVoteUp );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetUserPublishedItemVoteDetails" )] internal static extern ulong /*SteamAPICall_t*/ GetUserPublishedItemVoteDetails( IntPtr ISteamRemoteStorage, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileId );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumerateUserSharedWorkshopFiles" )] internal static extern ulong /*SteamAPICall_t*/ EnumerateUserSharedWorkshopFiles( IntPtr ISteamRemoteStorage, CSteamID /*class CSteamID*/ steamId, uint /*uint32*/ unStartIndex , IntPtr /*struct SteamParamStringArray_t **/ pRequiredTags, IntPtr /*struct SteamParamStringArray_t **/ pExcludedTags );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_PublishVideo" )] internal static extern ulong /*SteamAPICall_t*/ PublishVideo( IntPtr ISteamRemoteStorage, WorkshopVideoProvider /*EWorkshopVideoProvider*/ eVideoProvider , string /*const char **/ pchVideoAccount , string /*const char **/ pchVideoIdentifier , string /*const char **/ pchPreviewFile , AppId_t /*AppId_t*/ nConsumerAppId, string /*const char **/ pchTitle , string /*const char **/ pchDescription , RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility , IntPtr /*struct SteamParamStringArray_t **/ pTags );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_SetUserPublishedFileAction" )] internal static extern ulong /*SteamAPICall_t*/ SetUserPublishedFileAction( IntPtr ISteamRemoteStorage, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileId, WorkshopFileAction /*EWorkshopFileAction*/ eAction );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumeratePublishedFilesByUserAction" )] internal static extern ulong /*SteamAPICall_t*/ EnumeratePublishedFilesByUserAction( IntPtr ISteamRemoteStorage, WorkshopFileAction /*EWorkshopFileAction*/ eAction , uint /*uint32*/ unStartIndex );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumeratePublishedWorkshopFiles" )] internal static extern ulong /*SteamAPICall_t*/ EnumeratePublishedWorkshopFiles( IntPtr ISteamRemoteStorage, WorkshopEnumerationType /*EWorkshopEnumerationType*/ eEnumerationType , uint /*uint32*/ unStartIndex , uint /*uint32*/ unCount , uint /*uint32*/ unDays , IntPtr /*struct SteamParamStringArray_t **/ pTags, IntPtr /*struct SteamParamStringArray_t **/ pUserTags );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamRemoteStorage_UGCDownloadToLocation" )] internal static extern ulong /*SteamAPICall_t*/ UGCDownloadToLocation( IntPtr ISteamRemoteStorage, UGCHandle_t /*UGCHandle_t*/ hContent, string /*const char **/ pchLocation , uint /*uint32*/ unPriority );
}
public static unsafe class ISteamUserStats
{
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_RequestCurrentStats" )] internal static extern bool /*bool*/ RequestCurrentStats( IntPtr ISteamUserStats );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_GetStat" )] internal static extern bool /*bool*/ GetStat( IntPtr ISteamUserStats, string /*const char **/ pchName , out int /*int32 **/ pData );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_GetStat0" )] internal static extern bool /*bool*/ GetStat0( IntPtr ISteamUserStats, string /*const char **/ pchName , out float /*float **/ pData );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_SetStat" )] internal static extern bool /*bool*/ SetStat( IntPtr ISteamUserStats, string /*const char **/ pchName , int /*int32*/ nData );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_SetStat0" )] internal static extern bool /*bool*/ SetStat0( IntPtr ISteamUserStats, string /*const char **/ pchName , float /*float*/ fData );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_UpdateAvgRateStat" )] internal static extern bool /*bool*/ UpdateAvgRateStat( IntPtr ISteamUserStats, string /*const char **/ pchName , float /*float*/ flCountThisSession , double /*double*/ dSessionLength );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievement" )] internal static extern bool /*bool*/ GetAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName , out bool /*bool **/ pbAchieved );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_SetAchievement" )] internal static extern bool /*bool*/ SetAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_ClearAchievement" )] internal static extern bool /*bool*/ ClearAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementAndUnlockTime" )] internal static extern bool /*bool*/ GetAchievementAndUnlockTime( IntPtr ISteamUserStats, string /*const char **/ pchName , out bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_StoreStats" )] internal static extern bool /*bool*/ StoreStats( IntPtr ISteamUserStats );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementIcon" )] internal static extern int /*int*/ GetAchievementIcon( IntPtr ISteamUserStats, string /*const char **/ pchName );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementDisplayAttribute" )] internal static extern IntPtr GetAchievementDisplayAttribute( IntPtr ISteamUserStats, string /*const char **/ pchName , string /*const char **/ pchKey );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_IndicateAchievementProgress" )] internal static extern bool /*bool*/ IndicateAchievementProgress( IntPtr ISteamUserStats, string /*const char **/ pchName , uint /*uint32*/ nCurProgress , uint /*uint32*/ nMaxProgress );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_GetNumAchievements" )] internal static extern uint /*uint32*/ GetNumAchievements( IntPtr ISteamUserStats );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementName" )] internal static extern IntPtr GetAchievementName( IntPtr ISteamUserStats, uint /*uint32*/ iAchievement );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_RequestUserStats" )] internal static extern ulong /*SteamAPICall_t*/ RequestUserStats( IntPtr ISteamUserStats, CSteamID /*class CSteamID*/ steamIDUser );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_GetUserStat" )] internal static extern bool /*bool*/ GetUserStat( IntPtr ISteamUserStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , out int /*int32 **/ pData );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_GetUserStat0" )] internal static extern bool /*bool*/ GetUserStat0( IntPtr ISteamUserStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , out float /*float **/ pData );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_GetUserAchievement" )] internal static extern bool /*bool*/ GetUserAchievement( IntPtr ISteamUserStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , out bool /*bool **/ pbAchieved );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_GetUserAchievementAndUnlockTime" )] internal static extern bool /*bool*/ GetUserAchievementAndUnlockTime( IntPtr ISteamUserStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , out bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_ResetAllStats" )] internal static extern bool /*bool*/ ResetAllStats( IntPtr ISteamUserStats, bool /*bool*/ bAchievementsToo );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_FindOrCreateLeaderboard" )] internal static extern ulong /*SteamAPICall_t*/ FindOrCreateLeaderboard( IntPtr ISteamUserStats, string /*const char **/ pchLeaderboardName , LeaderboardSortMethod /*ELeaderboardSortMethod*/ eLeaderboardSortMethod , LeaderboardDisplayType /*ELeaderboardDisplayType*/ eLeaderboardDisplayType );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_FindLeaderboard" )] internal static extern ulong /*SteamAPICall_t*/ FindLeaderboard( IntPtr ISteamUserStats, string /*const char **/ pchLeaderboardName );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_GetLeaderboardName" )] internal static extern IntPtr GetLeaderboardName( IntPtr ISteamUserStats, SteamLeaderboard_t /*SteamLeaderboard_t*/ hSteamLeaderboard );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_GetLeaderboardEntryCount" )] internal static extern int /*int*/ GetLeaderboardEntryCount( IntPtr ISteamUserStats, SteamLeaderboard_t /*SteamLeaderboard_t*/ hSteamLeaderboard );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_GetLeaderboardSortMethod" )] internal static extern LeaderboardSortMethod /*ELeaderboardSortMethod*/ GetLeaderboardSortMethod( IntPtr ISteamUserStats, SteamLeaderboard_t /*SteamLeaderboard_t*/ hSteamLeaderboard );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_GetLeaderboardDisplayType" )] internal static extern LeaderboardDisplayType /*ELeaderboardDisplayType*/ GetLeaderboardDisplayType( IntPtr ISteamUserStats, SteamLeaderboard_t /*SteamLeaderboard_t*/ hSteamLeaderboard );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_DownloadLeaderboardEntries" )] internal static extern ulong /*SteamAPICall_t*/ DownloadLeaderboardEntries( IntPtr ISteamUserStats, SteamLeaderboard_t /*SteamLeaderboard_t*/ hSteamLeaderboard, LeaderboardDataRequest /*ELeaderboardDataRequest*/ eLeaderboardDataRequest , int /*int*/ nRangeStart , int /*int*/ nRangeEnd );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_DownloadLeaderboardEntriesForUsers" )] internal static extern ulong /*SteamAPICall_t*/ DownloadLeaderboardEntriesForUsers( IntPtr ISteamUserStats, SteamLeaderboard_t /*SteamLeaderboard_t*/ hSteamLeaderboard, IntPtr /*class CSteamID **/ prgUsers, int /*int*/ cUsers );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_GetDownloadedLeaderboardEntry" )] internal static extern bool /*bool*/ GetDownloadedLeaderboardEntry( IntPtr ISteamUserStats, SteamLeaderboardEntries_t /*SteamLeaderboardEntries_t*/ hSteamLeaderboardEntries, int /*int*/ index , ref LeaderboardEntry_t /*struct LeaderboardEntry_t **/ pLeaderboardEntry, IntPtr /*int32 **/ pDetails, int /*int*/ cDetailsMax );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_UploadLeaderboardScore" )] internal static extern ulong /*SteamAPICall_t*/ UploadLeaderboardScore( IntPtr ISteamUserStats, SteamLeaderboard_t /*SteamLeaderboard_t*/ hSteamLeaderboard, LeaderboardUploadScoreMethod /*ELeaderboardUploadScoreMethod*/ eLeaderboardUploadScoreMethod , int /*int32*/ nScore , IntPtr /*const int32 **/ pScoreDetails, int /*int*/ cScoreDetailsCount );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_AttachLeaderboardUGC" )] internal static extern ulong /*SteamAPICall_t*/ AttachLeaderboardUGC( IntPtr ISteamUserStats, SteamLeaderboard_t /*SteamLeaderboard_t*/ hSteamLeaderboard, UGCHandle_t /*UGCHandle_t*/ hUGC );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_GetNumberOfCurrentPlayers" )] internal static extern ulong /*SteamAPICall_t*/ GetNumberOfCurrentPlayers( IntPtr ISteamUserStats );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_RequestGlobalAchievementPercentages" )] internal static extern ulong /*SteamAPICall_t*/ RequestGlobalAchievementPercentages( IntPtr ISteamUserStats );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_GetMostAchievedAchievementInfo" )] internal static extern int /*int*/ GetMostAchievedAchievementInfo( IntPtr ISteamUserStats, char* /*char **/ pchName , uint /*uint32*/ unNameBufLen , out float /*float **/ pflPercent, out bool /*bool **/ pbAchieved );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_GetNextMostAchievedAchievementInfo" )] internal static extern int /*int*/ GetNextMostAchievedAchievementInfo( IntPtr ISteamUserStats, int /*int*/ iIteratorPrevious , char* /*char **/ pchName , uint /*uint32*/ unNameBufLen , out float /*float **/ pflPercent, out bool /*bool **/ pbAchieved );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementAchievedPercent" )] internal static extern bool /*bool*/ GetAchievementAchievedPercent( IntPtr ISteamUserStats, string /*const char **/ pchName , out float /*float **/ pflPercent );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_RequestGlobalStats" )] internal static extern ulong /*SteamAPICall_t*/ RequestGlobalStats( IntPtr ISteamUserStats, int /*int*/ nHistoryDays );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_GetGlobalStat" )] internal static extern bool /*bool*/ GetGlobalStat( IntPtr ISteamUserStats, string /*const char **/ pchStatName , out long /*int64 **/ pData );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_GetGlobalStat0" )] internal static extern bool /*bool*/ GetGlobalStat0( IntPtr ISteamUserStats, string /*const char **/ pchStatName , out double /*double **/ pData );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_GetGlobalStatHistory" )] internal static extern int /*int32*/ GetGlobalStatHistory( IntPtr ISteamUserStats, string /*const char **/ pchStatName , out long /*int64 **/ pData, uint /*uint32*/ cubData );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUserStats_GetGlobalStatHistory0" )] internal static extern int /*int32*/ GetGlobalStatHistory0( IntPtr ISteamUserStats, string /*const char **/ pchStatName , out double /*double **/ pData, uint /*uint32*/ cubData );
}
public static unsafe class ISteamApps
{
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamApps_BIsSubscribed" )] internal static extern bool /*bool*/ BIsSubscribed( IntPtr ISteamApps );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamApps_BIsLowViolence" )] internal static extern bool /*bool*/ BIsLowViolence( IntPtr ISteamApps );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamApps_BIsCybercafe" )] internal static extern bool /*bool*/ BIsCybercafe( IntPtr ISteamApps );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamApps_BIsVACBanned" )] internal static extern bool /*bool*/ BIsVACBanned( IntPtr ISteamApps );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamApps_GetCurrentGameLanguage" )] internal static extern IntPtr GetCurrentGameLanguage( IntPtr ISteamApps );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamApps_GetAvailableGameLanguages" )] internal static extern IntPtr GetAvailableGameLanguages( IntPtr ISteamApps );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamApps_BIsSubscribedApp" )] internal static extern bool /*bool*/ BIsSubscribedApp( IntPtr ISteamApps, AppId_t /*AppId_t*/ appID );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamApps_BIsDlcInstalled" )] internal static extern bool /*bool*/ BIsDlcInstalled( IntPtr ISteamApps, AppId_t /*AppId_t*/ appID );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamApps_GetEarliestPurchaseUnixTime" )] internal static extern uint /*uint32*/ GetEarliestPurchaseUnixTime( IntPtr ISteamApps, AppId_t /*AppId_t*/ nAppID );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamApps_BIsSubscribedFromFreeWeekend" )] internal static extern bool /*bool*/ BIsSubscribedFromFreeWeekend( IntPtr ISteamApps );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamApps_GetDLCCount" )] internal static extern int /*int*/ GetDLCCount( IntPtr ISteamApps );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamApps_BGetDLCDataByIndex" )] internal static extern bool /*bool*/ BGetDLCDataByIndex( IntPtr ISteamApps, int /*int*/ iDLC , ref AppId_t /*AppId_t **/ pAppID, out bool /*bool **/ pbAvailable, char* /*char **/ pchName , int /*int*/ cchNameBufferSize );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamApps_InstallDLC" )] internal static extern void /*void*/ InstallDLC( IntPtr ISteamApps, AppId_t /*AppId_t*/ nAppID );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamApps_UninstallDLC" )] internal static extern void /*void*/ UninstallDLC( IntPtr ISteamApps, AppId_t /*AppId_t*/ nAppID );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamApps_RequestAppProofOfPurchaseKey" )] internal static extern void /*void*/ RequestAppProofOfPurchaseKey( IntPtr ISteamApps, AppId_t /*AppId_t*/ nAppID );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamApps_GetCurrentBetaName" )] internal static extern bool /*bool*/ GetCurrentBetaName( IntPtr ISteamApps, char* /*char **/ pchName , int /*int*/ cchNameBufferSize );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamApps_MarkContentCorrupt" )] internal static extern bool /*bool*/ MarkContentCorrupt( IntPtr ISteamApps, bool /*bool*/ bMissingFilesOnly );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamApps_GetInstalledDepots" )] internal static extern uint /*uint32*/ GetInstalledDepots( IntPtr ISteamApps, AppId_t /*AppId_t*/ appID, IntPtr /*DepotId_t **/ pvecDepots, uint /*uint32*/ cMaxDepots );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamApps_GetAppInstallDir" )] internal static extern uint /*uint32*/ GetAppInstallDir( IntPtr ISteamApps, AppId_t /*AppId_t*/ appID, char* /*char **/ pchFolder , uint /*uint32*/ cchFolderBufferSize );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamApps_BIsAppInstalled" )] internal static extern bool /*bool*/ BIsAppInstalled( IntPtr ISteamApps, AppId_t /*AppId_t*/ appID );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamApps_GetAppOwner" )] internal static extern ulong /*class CSteamID*/ GetAppOwner( IntPtr ISteamApps );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamApps_GetLaunchQueryParam" )] internal static extern IntPtr GetLaunchQueryParam( IntPtr ISteamApps, string /*const char **/ pchKey );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamApps_GetDlcDownloadProgress" )] internal static extern bool /*bool*/ GetDlcDownloadProgress( IntPtr ISteamApps, AppId_t /*AppId_t*/ nAppID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamApps_GetAppBuildId" )] internal static extern int /*int*/ GetAppBuildId( IntPtr ISteamApps );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamApps_RequestAllProofOfPurchaseKeys" )] internal static extern void /*void*/ RequestAllProofOfPurchaseKeys( IntPtr ISteamApps );
}
public static unsafe class ISteamNetworking
{
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamNetworking_SendP2PPacket" )] internal static extern bool /*bool*/ SendP2PPacket( IntPtr ISteamNetworking, CSteamID /*class CSteamID*/ steamIDRemote, IntPtr /*const void **/ pubData , uint /*uint32*/ cubData , P2PSend /*EP2PSend*/ eP2PSendType , int /*int*/ nChannel );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamNetworking_IsP2PPacketAvailable" )] internal static extern bool /*bool*/ IsP2PPacketAvailable( IntPtr ISteamNetworking, out uint /*uint32 **/ pcubMsgSize, int /*int*/ nChannel );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamNetworking_ReadP2PPacket" )] internal static extern bool /*bool*/ ReadP2PPacket( IntPtr ISteamNetworking, IntPtr /*void **/ pubDest , uint /*uint32*/ cubDest , out uint /*uint32 **/ pcubMsgSize, out CSteamID /*class CSteamID **/ psteamIDRemote, int /*int*/ nChannel );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamNetworking_AcceptP2PSessionWithUser" )] internal static extern bool /*bool*/ AcceptP2PSessionWithUser( IntPtr ISteamNetworking, CSteamID /*class CSteamID*/ steamIDRemote );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamNetworking_CloseP2PSessionWithUser" )] internal static extern bool /*bool*/ CloseP2PSessionWithUser( IntPtr ISteamNetworking, CSteamID /*class CSteamID*/ steamIDRemote );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamNetworking_CloseP2PChannelWithUser" )] internal static extern bool /*bool*/ CloseP2PChannelWithUser( IntPtr ISteamNetworking, CSteamID /*class CSteamID*/ steamIDRemote, int /*int*/ nChannel );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamNetworking_GetP2PSessionState" )] internal static extern bool /*bool*/ GetP2PSessionState( IntPtr ISteamNetworking, CSteamID /*class CSteamID*/ steamIDRemote, ref P2PSessionState_t /*struct P2PSessionState_t **/ pConnectionState );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamNetworking_AllowP2PPacketRelay" )] internal static extern bool /*bool*/ AllowP2PPacketRelay( IntPtr ISteamNetworking, bool /*bool*/ bAllow );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamNetworking_CreateListenSocket" )] internal static extern uint /*SNetListenSocket_t*/ CreateListenSocket( IntPtr ISteamNetworking, int /*int*/ nVirtualP2PPort , uint /*uint32*/ nIP , ushort /*uint16*/ nPort , bool /*bool*/ bAllowUseOfPacketRelay );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamNetworking_CreateP2PConnectionSocket" )] internal static extern uint /*SNetSocket_t*/ CreateP2PConnectionSocket( IntPtr ISteamNetworking, CSteamID /*class CSteamID*/ steamIDTarget, int /*int*/ nVirtualPort , int /*int*/ nTimeoutSec , bool /*bool*/ bAllowUseOfPacketRelay );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamNetworking_CreateConnectionSocket" )] internal static extern uint /*SNetSocket_t*/ CreateConnectionSocket( IntPtr ISteamNetworking, uint /*uint32*/ nIP , ushort /*uint16*/ nPort , int /*int*/ nTimeoutSec );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamNetworking_DestroySocket" )] internal static extern bool /*bool*/ DestroySocket( IntPtr ISteamNetworking, SNetSocket_t /*SNetSocket_t*/ hSocket, bool /*bool*/ bNotifyRemoteEnd );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamNetworking_DestroyListenSocket" )] internal static extern bool /*bool*/ DestroyListenSocket( IntPtr ISteamNetworking, SNetListenSocket_t /*SNetListenSocket_t*/ hSocket, bool /*bool*/ bNotifyRemoteEnd );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamNetworking_SendDataOnSocket" )] internal static extern bool /*bool*/ SendDataOnSocket( IntPtr ISteamNetworking, SNetSocket_t /*SNetSocket_t*/ hSocket, IntPtr /*void **/ pubData , uint /*uint32*/ cubData , bool /*bool*/ bReliable );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamNetworking_IsDataAvailableOnSocket" )] internal static extern bool /*bool*/ IsDataAvailableOnSocket( IntPtr ISteamNetworking, SNetSocket_t /*SNetSocket_t*/ hSocket, out uint /*uint32 **/ pcubMsgSize );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamNetworking_RetrieveDataFromSocket" )] internal static extern bool /*bool*/ RetrieveDataFromSocket( IntPtr ISteamNetworking, SNetSocket_t /*SNetSocket_t*/ hSocket, IntPtr /*void **/ pubDest , uint /*uint32*/ cubDest , out uint /*uint32 **/ pcubMsgSize );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamNetworking_IsDataAvailable" )] internal static extern bool /*bool*/ IsDataAvailable( IntPtr ISteamNetworking, SNetListenSocket_t /*SNetListenSocket_t*/ hListenSocket, out uint /*uint32 **/ pcubMsgSize, ref SNetSocket_t /*SNetSocket_t **/ phSocket );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamNetworking_RetrieveData" )] internal static extern bool /*bool*/ RetrieveData( IntPtr ISteamNetworking, SNetListenSocket_t /*SNetListenSocket_t*/ hListenSocket, IntPtr /*void **/ pubDest , uint /*uint32*/ cubDest , out uint /*uint32 **/ pcubMsgSize, ref SNetSocket_t /*SNetSocket_t **/ phSocket );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamNetworking_GetSocketInfo" )] internal static extern bool /*bool*/ GetSocketInfo( IntPtr ISteamNetworking, SNetSocket_t /*SNetSocket_t*/ hSocket, out CSteamID /*class CSteamID **/ pSteamIDRemote, IntPtr /*int **/ peSocketStatus, out uint /*uint32 **/ punIPRemote, out ushort /*uint16 **/ punPortRemote );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamNetworking_GetListenSocketInfo" )] internal static extern bool /*bool*/ GetListenSocketInfo( IntPtr ISteamNetworking, SNetListenSocket_t /*SNetListenSocket_t*/ hListenSocket, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnPort );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamNetworking_GetSocketConnectionType" )] internal static extern SNetSocketConnectionType /*ESNetSocketConnectionType*/ GetSocketConnectionType( IntPtr ISteamNetworking, SNetSocket_t /*SNetSocket_t*/ hSocket );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamNetworking_GetMaxPacketSize" )] internal static extern int /*int*/ GetMaxPacketSize( IntPtr ISteamNetworking, SNetSocket_t /*SNetSocket_t*/ hSocket );
}
public static unsafe class ISteamScreenshots
{
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamScreenshots_WriteScreenshot" )] internal static extern uint /*ScreenshotHandle*/ WriteScreenshot( IntPtr ISteamScreenshots, IntPtr /*void **/ pubRGB , uint /*uint32*/ cubRGB , int /*int*/ nWidth , int /*int*/ nHeight );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamScreenshots_AddScreenshotToLibrary" )] internal static extern uint /*ScreenshotHandle*/ AddScreenshotToLibrary( IntPtr ISteamScreenshots, string /*const char **/ pchFilename , string /*const char **/ pchThumbnailFilename , int /*int*/ nWidth , int /*int*/ nHeight );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamScreenshots_TriggerScreenshot" )] internal static extern void /*void*/ TriggerScreenshot( IntPtr ISteamScreenshots );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamScreenshots_HookScreenshots" )] internal static extern void /*void*/ HookScreenshots( IntPtr ISteamScreenshots, bool /*bool*/ bHook );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamScreenshots_SetLocation" )] internal static extern bool /*bool*/ SetLocation( IntPtr ISteamScreenshots, ScreenshotHandle /*ScreenshotHandle*/ hScreenshot, string /*const char **/ pchLocation );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamScreenshots_TagUser" )] internal static extern bool /*bool*/ TagUser( IntPtr ISteamScreenshots, ScreenshotHandle /*ScreenshotHandle*/ hScreenshot, CSteamID /*class CSteamID*/ steamID );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamScreenshots_TagPublishedFile" )] internal static extern bool /*bool*/ TagPublishedFile( IntPtr ISteamScreenshots, ScreenshotHandle /*ScreenshotHandle*/ hScreenshot, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileID );
}
public static unsafe class ISteamMusic
{
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusic_BIsEnabled" )] internal static extern bool /*bool*/ BIsEnabled( IntPtr ISteamMusic );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusic_BIsPlaying" )] internal static extern bool /*bool*/ BIsPlaying( IntPtr ISteamMusic );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusic_GetPlaybackStatus" )] internal static extern AudioPlayback_Status /*AudioPlayback_Status*/ GetPlaybackStatus( IntPtr ISteamMusic );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusic_Play" )] internal static extern void /*void*/ Play( IntPtr ISteamMusic );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusic_Pause" )] internal static extern void /*void*/ Pause( IntPtr ISteamMusic );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusic_PlayPrevious" )] internal static extern void /*void*/ PlayPrevious( IntPtr ISteamMusic );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusic_PlayNext" )] internal static extern void /*void*/ PlayNext( IntPtr ISteamMusic );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusic_SetVolume" )] internal static extern void /*void*/ SetVolume( IntPtr ISteamMusic, float /*float*/ flVolume );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusic_GetVolume" )] internal static extern float /*float*/ GetVolume( IntPtr ISteamMusic );
}
public static unsafe class ISteamMusicRemote
{
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusicRemote_RegisterSteamMusicRemote" )] internal static extern bool /*bool*/ RegisterSteamMusicRemote( IntPtr ISteamMusicRemote, string /*const char **/ pchName );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusicRemote_DeregisterSteamMusicRemote" )] internal static extern bool /*bool*/ DeregisterSteamMusicRemote( IntPtr ISteamMusicRemote );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusicRemote_BIsCurrentMusicRemote" )] internal static extern bool /*bool*/ BIsCurrentMusicRemote( IntPtr ISteamMusicRemote );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusicRemote_BActivationSuccess" )] internal static extern bool /*bool*/ BActivationSuccess( IntPtr ISteamMusicRemote, bool /*bool*/ bValue );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusicRemote_SetDisplayName" )] internal static extern bool /*bool*/ SetDisplayName( IntPtr ISteamMusicRemote, string /*const char **/ pchDisplayName );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusicRemote_SetPNGIcon_64x64" )] internal static extern bool /*bool*/ SetPNGIcon_64x64( IntPtr ISteamMusicRemote, IntPtr /*void **/ pvBuffer , uint /*uint32*/ cbBufferLength );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusicRemote_EnablePlayPrevious" )] internal static extern bool /*bool*/ EnablePlayPrevious( IntPtr ISteamMusicRemote, bool /*bool*/ bValue );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusicRemote_EnablePlayNext" )] internal static extern bool /*bool*/ EnablePlayNext( IntPtr ISteamMusicRemote, bool /*bool*/ bValue );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusicRemote_EnableShuffled" )] internal static extern bool /*bool*/ EnableShuffled( IntPtr ISteamMusicRemote, bool /*bool*/ bValue );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusicRemote_EnableLooped" )] internal static extern bool /*bool*/ EnableLooped( IntPtr ISteamMusicRemote, bool /*bool*/ bValue );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusicRemote_EnableQueue" )] internal static extern bool /*bool*/ EnableQueue( IntPtr ISteamMusicRemote, bool /*bool*/ bValue );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusicRemote_EnablePlaylists" )] internal static extern bool /*bool*/ EnablePlaylists( IntPtr ISteamMusicRemote, bool /*bool*/ bValue );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdatePlaybackStatus" )] internal static extern bool /*bool*/ UpdatePlaybackStatus( IntPtr ISteamMusicRemote, AudioPlayback_Status /*AudioPlayback_Status*/ nStatus );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateShuffled" )] internal static extern bool /*bool*/ UpdateShuffled( IntPtr ISteamMusicRemote, bool /*bool*/ bValue );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateLooped" )] internal static extern bool /*bool*/ UpdateLooped( IntPtr ISteamMusicRemote, bool /*bool*/ bValue );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateVolume" )] internal static extern bool /*bool*/ UpdateVolume( IntPtr ISteamMusicRemote, float /*float*/ flValue );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusicRemote_CurrentEntryWillChange" )] internal static extern bool /*bool*/ CurrentEntryWillChange( IntPtr ISteamMusicRemote );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusicRemote_CurrentEntryIsAvailable" )] internal static extern bool /*bool*/ CurrentEntryIsAvailable( IntPtr ISteamMusicRemote, bool /*bool*/ bAvailable );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateCurrentEntryText" )] internal static extern bool /*bool*/ UpdateCurrentEntryText( IntPtr ISteamMusicRemote, string /*const char **/ pchText );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateCurrentEntryElapsedSeconds" )] internal static extern bool /*bool*/ UpdateCurrentEntryElapsedSeconds( IntPtr ISteamMusicRemote, int /*int*/ nValue );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateCurrentEntryCoverArt" )] internal static extern bool /*bool*/ UpdateCurrentEntryCoverArt( IntPtr ISteamMusicRemote, IntPtr /*void **/ pvBuffer , uint /*uint32*/ cbBufferLength );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusicRemote_CurrentEntryDidChange" )] internal static extern bool /*bool*/ CurrentEntryDidChange( IntPtr ISteamMusicRemote );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusicRemote_QueueWillChange" )] internal static extern bool /*bool*/ QueueWillChange( IntPtr ISteamMusicRemote );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusicRemote_ResetQueueEntries" )] internal static extern bool /*bool*/ ResetQueueEntries( IntPtr ISteamMusicRemote );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusicRemote_SetQueueEntry" )] internal static extern bool /*bool*/ SetQueueEntry( IntPtr ISteamMusicRemote, int /*int*/ nID , int /*int*/ nPosition , string /*const char **/ pchEntryText );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusicRemote_SetCurrentQueueEntry" )] internal static extern bool /*bool*/ SetCurrentQueueEntry( IntPtr ISteamMusicRemote, int /*int*/ nID );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusicRemote_QueueDidChange" )] internal static extern bool /*bool*/ QueueDidChange( IntPtr ISteamMusicRemote );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusicRemote_PlaylistWillChange" )] internal static extern bool /*bool*/ PlaylistWillChange( IntPtr ISteamMusicRemote );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusicRemote_ResetPlaylistEntries" )] internal static extern bool /*bool*/ ResetPlaylistEntries( IntPtr ISteamMusicRemote );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusicRemote_SetPlaylistEntry" )] internal static extern bool /*bool*/ SetPlaylistEntry( IntPtr ISteamMusicRemote, int /*int*/ nID , int /*int*/ nPosition , string /*const char **/ pchEntryText );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusicRemote_SetCurrentPlaylistEntry" )] internal static extern bool /*bool*/ SetCurrentPlaylistEntry( IntPtr ISteamMusicRemote, int /*int*/ nID );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamMusicRemote_PlaylistDidChange" )] internal static extern bool /*bool*/ PlaylistDidChange( IntPtr ISteamMusicRemote );
}
public static unsafe class ISteamHTTP
{
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTTP_CreateHTTPRequest" )] internal static extern uint /*HTTPRequestHandle*/ CreateHTTPRequest( IntPtr ISteamHTTP, HTTPMethod /*EHTTPMethod*/ eHTTPRequestMethod , string /*const char **/ pchAbsoluteURL );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestContextValue" )] internal static extern bool /*bool*/ SetHTTPRequestContextValue( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, ulong /*uint64*/ ulContextValue );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestNetworkActivityTimeout" )] internal static extern bool /*bool*/ SetHTTPRequestNetworkActivityTimeout( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, uint /*uint32*/ unTimeoutSeconds );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestHeaderValue" )] internal static extern bool /*bool*/ SetHTTPRequestHeaderValue( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, string /*const char **/ pchHeaderName , string /*const char **/ pchHeaderValue );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestGetOrPostParameter" )] internal static extern bool /*bool*/ SetHTTPRequestGetOrPostParameter( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, string /*const char **/ pchParamName , string /*const char **/ pchParamValue );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTTP_SendHTTPRequest" )] internal static extern bool /*bool*/ SendHTTPRequest( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, ref SteamAPICall_t /*SteamAPICall_t **/ pCallHandle );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTTP_SendHTTPRequestAndStreamResponse" )] internal static extern bool /*bool*/ SendHTTPRequestAndStreamResponse( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, ref SteamAPICall_t /*SteamAPICall_t **/ pCallHandle );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTTP_DeferHTTPRequest" )] internal static extern bool /*bool*/ DeferHTTPRequest( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTTP_PrioritizeHTTPRequest" )] internal static extern bool /*bool*/ PrioritizeHTTPRequest( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPResponseHeaderSize" )] internal static extern bool /*bool*/ GetHTTPResponseHeaderSize( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, string /*const char **/ pchHeaderName , out uint /*uint32 **/ unResponseHeaderSize );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPResponseHeaderValue" )] internal static extern bool /*bool*/ GetHTTPResponseHeaderValue( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, string /*const char **/ pchHeaderName , out byte /*uint8 **/ pHeaderValueBuffer, uint /*uint32*/ unBufferSize );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPResponseBodySize" )] internal static extern bool /*bool*/ GetHTTPResponseBodySize( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, out uint /*uint32 **/ unBodySize );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPResponseBodyData" )] internal static extern bool /*bool*/ GetHTTPResponseBodyData( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPStreamingResponseBodyData" )] internal static extern bool /*bool*/ GetHTTPStreamingResponseBodyData( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, uint /*uint32*/ cOffset , out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTTP_ReleaseHTTPRequest" )] internal static extern bool /*bool*/ ReleaseHTTPRequest( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPDownloadProgressPct" )] internal static extern bool /*bool*/ GetHTTPDownloadProgressPct( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, out float /*float **/ pflPercentOut );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestRawPostBody" )] internal static extern bool /*bool*/ SetHTTPRequestRawPostBody( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, string /*const char **/ pchContentType , out byte /*uint8 **/ pubBody, uint /*uint32*/ unBodyLen );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTTP_CreateCookieContainer" )] internal static extern uint /*HTTPCookieContainerHandle*/ CreateCookieContainer( IntPtr ISteamHTTP, bool /*bool*/ bAllowResponsesToModify );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTTP_ReleaseCookieContainer" )] internal static extern bool /*bool*/ ReleaseCookieContainer( IntPtr ISteamHTTP, HTTPCookieContainerHandle /*HTTPCookieContainerHandle*/ hCookieContainer );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTTP_SetCookie" )] internal static extern bool /*bool*/ SetCookie( IntPtr ISteamHTTP, HTTPCookieContainerHandle /*HTTPCookieContainerHandle*/ hCookieContainer, string /*const char **/ pchHost , string /*const char **/ pchUrl , string /*const char **/ pchCookie );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestCookieContainer" )] internal static extern bool /*bool*/ SetHTTPRequestCookieContainer( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, HTTPCookieContainerHandle /*HTTPCookieContainerHandle*/ hCookieContainer );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestUserAgentInfo" )] internal static extern bool /*bool*/ SetHTTPRequestUserAgentInfo( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, string /*const char **/ pchUserAgentInfo );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestRequiresVerifiedCertificate" )] internal static extern bool /*bool*/ SetHTTPRequestRequiresVerifiedCertificate( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, bool /*bool*/ bRequireVerifiedCertificate );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestAbsoluteTimeoutMS" )] internal static extern bool /*bool*/ SetHTTPRequestAbsoluteTimeoutMS( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, uint /*uint32*/ unMilliseconds );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPRequestWasTimedOut" )] internal static extern bool /*bool*/ GetHTTPRequestWasTimedOut( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, out bool /*bool **/ pbWasTimedOut );
}
public static unsafe class ISteamUnifiedMessages
{
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUnifiedMessages_SendMethod" )] internal static extern ulong /*ClientUnifiedMessageHandle*/ SendMethod( IntPtr ISteamUnifiedMessages, string /*const char **/ pchServiceMethod , IntPtr /*const void **/ pRequestBuffer , uint /*uint32*/ unRequestBufferSize , ulong /*uint64*/ unContext );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUnifiedMessages_GetMethodResponseInfo" )] internal static extern bool /*bool*/ GetMethodResponseInfo( IntPtr ISteamUnifiedMessages, ClientUnifiedMessageHandle /*ClientUnifiedMessageHandle*/ hHandle, out uint /*uint32 **/ punResponseSize, out Result /*EResult **/ peResult );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUnifiedMessages_GetMethodResponseData" )] internal static extern bool /*bool*/ GetMethodResponseData( IntPtr ISteamUnifiedMessages, ClientUnifiedMessageHandle /*ClientUnifiedMessageHandle*/ hHandle, IntPtr /*void **/ pResponseBuffer , uint /*uint32*/ unResponseBufferSize , bool /*bool*/ bAutoRelease );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUnifiedMessages_ReleaseMethod" )] internal static extern bool /*bool*/ ReleaseMethod( IntPtr ISteamUnifiedMessages, ClientUnifiedMessageHandle /*ClientUnifiedMessageHandle*/ hHandle );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUnifiedMessages_SendNotification" )] internal static extern bool /*bool*/ SendNotification( IntPtr ISteamUnifiedMessages, string /*const char **/ pchServiceNotification , IntPtr /*const void **/ pNotificationBuffer , uint /*uint32*/ unNotificationBufferSize );
}
public static unsafe class ISteamController
{
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamController_Init" )] internal static extern bool /*bool*/ Init( IntPtr ISteamController );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamController_Shutdown" )] internal static extern bool /*bool*/ Shutdown( IntPtr ISteamController );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamController_RunFrame" )] internal static extern void /*void*/ RunFrame( IntPtr ISteamController );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamController_GetConnectedControllers" )] internal static extern int /*int*/ GetConnectedControllers( IntPtr ISteamController, IntPtr /*ControllerHandle_t **/ handlesOut );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamController_ShowBindingPanel" )] internal static extern bool /*bool*/ ShowBindingPanel( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamController_GetActionSetHandle" )] internal static extern ulong /*ControllerActionSetHandle_t*/ GetActionSetHandle( IntPtr ISteamController, string /*const char **/ pszActionSetName );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamController_ActivateActionSet" )] internal static extern void /*void*/ ActivateActionSet( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle, ControllerActionSetHandle_t /*ControllerActionSetHandle_t*/ actionSetHandle );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamController_GetCurrentActionSet" )] internal static extern ulong /*ControllerActionSetHandle_t*/ GetCurrentActionSet( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamController_GetDigitalActionHandle" )] internal static extern ulong /*ControllerDigitalActionHandle_t*/ GetDigitalActionHandle( IntPtr ISteamController, string /*const char **/ pszActionName );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamController_GetDigitalActionData" )] internal static extern ControllerDigitalActionData_t /*struct ControllerDigitalActionData_t*/ GetDigitalActionData( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle, ControllerDigitalActionHandle_t /*ControllerDigitalActionHandle_t*/ digitalActionHandle );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamController_GetDigitalActionOrigins" )] internal static extern int /*int*/ GetDigitalActionOrigins( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle, ControllerActionSetHandle_t /*ControllerActionSetHandle_t*/ actionSetHandle, ControllerDigitalActionHandle_t /*ControllerDigitalActionHandle_t*/ digitalActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamController_GetAnalogActionHandle" )] internal static extern ulong /*ControllerAnalogActionHandle_t*/ GetAnalogActionHandle( IntPtr ISteamController, string /*const char **/ pszActionName );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamController_GetAnalogActionData" )] internal static extern ControllerAnalogActionData_t /*struct ControllerAnalogActionData_t*/ GetAnalogActionData( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle, ControllerAnalogActionHandle_t /*ControllerAnalogActionHandle_t*/ analogActionHandle );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamController_GetAnalogActionOrigins" )] internal static extern int /*int*/ GetAnalogActionOrigins( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle, ControllerActionSetHandle_t /*ControllerActionSetHandle_t*/ actionSetHandle, ControllerAnalogActionHandle_t /*ControllerAnalogActionHandle_t*/ analogActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamController_StopAnalogActionMomentum" )] internal static extern void /*void*/ StopAnalogActionMomentum( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle, ControllerAnalogActionHandle_t /*ControllerAnalogActionHandle_t*/ eAction );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamController_TriggerHapticPulse" )] internal static extern void /*void*/ TriggerHapticPulse( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad , ushort /*unsigned short*/ usDurationMicroSec );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamController_TriggerRepeatedHapticPulse" )] internal static extern void /*void*/ TriggerRepeatedHapticPulse( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad , ushort /*unsigned short*/ usDurationMicroSec , ushort /*unsigned short*/ usOffMicroSec , ushort /*unsigned short*/ unRepeat , uint /*unsigned int*/ nFlags );
}
public static unsafe class ISteamUGC
{
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_CreateQueryUserUGCRequest" )] internal static extern ulong /*UGCQueryHandle_t*/ CreateQueryUserUGCRequest( IntPtr ISteamUGC, AccountID_t /*AccountID_t*/ unAccountID, UserUGCList /*EUserUGCList*/ eListType , UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingUGCType , UserUGCListSortOrder /*EUserUGCListSortOrder*/ eSortOrder , AppId_t /*AppId_t*/ nCreatorAppID, AppId_t /*AppId_t*/ nConsumerAppID, uint /*uint32*/ unPage );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_CreateQueryAllUGCRequest" )] internal static extern ulong /*UGCQueryHandle_t*/ CreateQueryAllUGCRequest( IntPtr ISteamUGC, UGCQuery /*EUGCQuery*/ eQueryType , UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingeMatchingUGCTypeFileType , AppId_t /*AppId_t*/ nCreatorAppID, AppId_t /*AppId_t*/ nConsumerAppID, uint /*uint32*/ unPage );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_CreateQueryUGCDetailsRequest" )] internal static extern ulong /*UGCQueryHandle_t*/ CreateQueryUGCDetailsRequest( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_SendQueryUGCRequest" )] internal static extern ulong /*SteamAPICall_t*/ SendQueryUGCRequest( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCResult" )] internal static extern bool /*bool*/ GetQueryUGCResult( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ index , IntPtr /*struct SteamUGCDetails_t **/ pDetails );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCPreviewURL" )] internal static extern bool /*bool*/ GetQueryUGCPreviewURL( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ index , char* /*char **/ pchURL , uint /*uint32*/ cchURLSize );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCMetadata" )] internal static extern bool /*bool*/ GetQueryUGCMetadata( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ index , char* /*char **/ pchMetadata , uint /*uint32*/ cchMetadatasize );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCChildren" )] internal static extern bool /*bool*/ GetQueryUGCChildren( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ index , IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCStatistic" )] internal static extern bool /*bool*/ GetQueryUGCStatistic( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ index , ItemStatistic /*EItemStatistic*/ eStatType , out uint /*uint32 **/ pStatValue );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCNumAdditionalPreviews" )] internal static extern uint /*uint32*/ GetQueryUGCNumAdditionalPreviews( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ index );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCAdditionalPreview" )] internal static extern bool /*bool*/ GetQueryUGCAdditionalPreview( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ index , uint /*uint32*/ previewIndex , char* /*char **/ pchURLOrVideoID , uint /*uint32*/ cchURLSize , char* /*char **/ pchOriginalFileName , uint /*uint32*/ cchOriginalFileNameSize , out ItemPreviewType /*EItemPreviewType **/ pPreviewType );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCNumKeyValueTags" )] internal static extern uint /*uint32*/ GetQueryUGCNumKeyValueTags( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ index );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCKeyValueTag" )] internal static extern bool /*bool*/ GetQueryUGCKeyValueTag( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ index , uint /*uint32*/ keyValueTagIndex , char* /*char **/ pchKey , uint /*uint32*/ cchKeySize , char* /*char **/ pchValue , uint /*uint32*/ cchValueSize );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_ReleaseQueryUGCRequest" )] internal static extern bool /*bool*/ ReleaseQueryUGCRequest( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_AddRequiredTag" )] internal static extern bool /*bool*/ AddRequiredTag( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, string /*const char **/ pTagName );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_AddExcludedTag" )] internal static extern bool /*bool*/ AddExcludedTag( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, string /*const char **/ pTagName );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_SetReturnKeyValueTags" )] internal static extern bool /*bool*/ SetReturnKeyValueTags( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, bool /*bool*/ bReturnKeyValueTags );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_SetReturnLongDescription" )] internal static extern bool /*bool*/ SetReturnLongDescription( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, bool /*bool*/ bReturnLongDescription );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_SetReturnMetadata" )] internal static extern bool /*bool*/ SetReturnMetadata( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, bool /*bool*/ bReturnMetadata );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_SetReturnChildren" )] internal static extern bool /*bool*/ SetReturnChildren( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, bool /*bool*/ bReturnChildren );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_SetReturnAdditionalPreviews" )] internal static extern bool /*bool*/ SetReturnAdditionalPreviews( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, bool /*bool*/ bReturnAdditionalPreviews );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_SetReturnTotalOnly" )] internal static extern bool /*bool*/ SetReturnTotalOnly( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, bool /*bool*/ bReturnTotalOnly );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_SetLanguage" )] internal static extern bool /*bool*/ SetLanguage( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, string /*const char **/ pchLanguage );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_SetAllowCachedResponse" )] internal static extern bool /*bool*/ SetAllowCachedResponse( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ unMaxAgeSeconds );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_SetCloudFileNameFilter" )] internal static extern bool /*bool*/ SetCloudFileNameFilter( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, string /*const char **/ pMatchCloudFileName );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_SetMatchAnyTag" )] internal static extern bool /*bool*/ SetMatchAnyTag( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, bool /*bool*/ bMatchAnyTag );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_SetSearchText" )] internal static extern bool /*bool*/ SetSearchText( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, string /*const char **/ pSearchText );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_SetRankedByTrendDays" )] internal static extern bool /*bool*/ SetRankedByTrendDays( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ unDays );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_AddRequiredKeyValueTag" )] internal static extern bool /*bool*/ AddRequiredKeyValueTag( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, string /*const char **/ pKey , string /*const char **/ pValue );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_RequestUGCDetails" )] internal static extern ulong /*SteamAPICall_t*/ RequestUGCDetails( IntPtr ISteamUGC, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID, uint /*uint32*/ unMaxAgeSeconds );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_CreateItem" )] internal static extern ulong /*SteamAPICall_t*/ CreateItem( IntPtr ISteamUGC, AppId_t /*AppId_t*/ nConsumerAppId, WorkshopFileType /*EWorkshopFileType*/ eFileType );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_StartItemUpdate" )] internal static extern ulong /*UGCUpdateHandle_t*/ StartItemUpdate( IntPtr ISteamUGC, AppId_t /*AppId_t*/ nConsumerAppId, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_SetItemTitle" )] internal static extern bool /*bool*/ SetItemTitle( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pchTitle );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_SetItemDescription" )] internal static extern bool /*bool*/ SetItemDescription( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pchDescription );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_SetItemUpdateLanguage" )] internal static extern bool /*bool*/ SetItemUpdateLanguage( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pchLanguage );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_SetItemMetadata" )] internal static extern bool /*bool*/ SetItemMetadata( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pchMetaData );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_SetItemVisibility" )] internal static extern bool /*bool*/ SetItemVisibility( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_SetItemTags" )] internal static extern bool /*bool*/ SetItemTags( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ updateHandle, IntPtr /*const struct SteamParamStringArray_t **/ pTags );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_SetItemContent" )] internal static extern bool /*bool*/ SetItemContent( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pszContentFolder );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_SetItemPreview" )] internal static extern bool /*bool*/ SetItemPreview( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pszPreviewFile );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_RemoveItemKeyValueTags" )] internal static extern bool /*bool*/ RemoveItemKeyValueTags( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pchKey );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_AddItemKeyValueTag" )] internal static extern bool /*bool*/ AddItemKeyValueTag( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pchKey , string /*const char **/ pchValue );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_AddItemPreviewFile" )] internal static extern bool /*bool*/ AddItemPreviewFile( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pszPreviewFile , ItemPreviewType /*EItemPreviewType*/ type );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_AddItemPreviewVideo" )] internal static extern bool /*bool*/ AddItemPreviewVideo( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pszVideoID );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_UpdateItemPreviewFile" )] internal static extern bool /*bool*/ UpdateItemPreviewFile( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, uint /*uint32*/ index , string /*const char **/ pszPreviewFile );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_UpdateItemPreviewVideo" )] internal static extern bool /*bool*/ UpdateItemPreviewVideo( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, uint /*uint32*/ index , string /*const char **/ pszVideoID );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_RemoveItemPreview" )] internal static extern bool /*bool*/ RemoveItemPreview( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, uint /*uint32*/ index );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_SubmitItemUpdate" )] internal static extern ulong /*SteamAPICall_t*/ SubmitItemUpdate( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pchChangeNote );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_GetItemUpdateProgress" )] internal static extern ItemUpdateStatus /*EItemUpdateStatus*/ GetItemUpdateProgress( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, out ulong /*uint64 **/ punBytesProcessed, out ulong /*uint64 **/ punBytesTotal );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_SetUserItemVote" )] internal static extern ulong /*SteamAPICall_t*/ SetUserItemVote( IntPtr ISteamUGC, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID, bool /*bool*/ bVoteUp );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_GetUserItemVote" )] internal static extern ulong /*SteamAPICall_t*/ GetUserItemVote( IntPtr ISteamUGC, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_AddItemToFavorites" )] internal static extern ulong /*SteamAPICall_t*/ AddItemToFavorites( IntPtr ISteamUGC, AppId_t /*AppId_t*/ nAppId, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_RemoveItemFromFavorites" )] internal static extern ulong /*SteamAPICall_t*/ RemoveItemFromFavorites( IntPtr ISteamUGC, AppId_t /*AppId_t*/ nAppId, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_SubscribeItem" )] internal static extern ulong /*SteamAPICall_t*/ SubscribeItem( IntPtr ISteamUGC, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_UnsubscribeItem" )] internal static extern ulong /*SteamAPICall_t*/ UnsubscribeItem( IntPtr ISteamUGC, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_GetNumSubscribedItems" )] internal static extern uint /*uint32*/ GetNumSubscribedItems( IntPtr ISteamUGC );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_GetSubscribedItems" )] internal static extern uint /*uint32*/ GetSubscribedItems( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_GetItemState" )] internal static extern uint /*uint32*/ GetItemState( IntPtr ISteamUGC, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_GetItemInstallInfo" )] internal static extern bool /*bool*/ GetItemInstallInfo( IntPtr ISteamUGC, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID, out ulong /*uint64 **/ punSizeOnDisk, char* /*char **/ pchFolder , uint /*uint32*/ cchFolderSize , out uint /*uint32 **/ punTimeStamp );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_GetItemDownloadInfo" )] internal static extern bool /*bool*/ GetItemDownloadInfo( IntPtr ISteamUGC, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_DownloadItem" )] internal static extern bool /*bool*/ DownloadItem( IntPtr ISteamUGC, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID, bool /*bool*/ bHighPriority );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_BInitWorkshopForGameServer" )] internal static extern bool /*bool*/ BInitWorkshopForGameServer( IntPtr ISteamUGC, DepotId_t /*DepotId_t*/ unWorkshopDepotID, string /*const char **/ pszFolder );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamUGC_SuspendDownloads" )] internal static extern void /*void*/ SuspendDownloads( IntPtr ISteamUGC, bool /*bool*/ bSuspend );
}
public static unsafe class ISteamAppList
{
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamAppList_GetNumInstalledApps" )] internal static extern uint /*uint32*/ GetNumInstalledApps( IntPtr ISteamAppList );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamAppList_GetInstalledApps" )] internal static extern uint /*uint32*/ GetInstalledApps( IntPtr ISteamAppList, IntPtr /*AppId_t **/ pvecAppID, uint /*uint32*/ unMaxAppIDs );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamAppList_GetAppName" )] internal static extern int /*int*/ GetAppName( IntPtr ISteamAppList, AppId_t /*AppId_t*/ nAppID, char* /*char **/ pchName , int /*int*/ cchNameMax );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamAppList_GetAppInstallDir" )] internal static extern int /*int*/ GetAppInstallDir( IntPtr ISteamAppList, AppId_t /*AppId_t*/ nAppID, char* /*char **/ pchDirectory , int /*int*/ cchNameMax );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamAppList_GetAppBuildId" )] internal static extern int /*int*/ GetAppBuildId( IntPtr ISteamAppList, AppId_t /*AppId_t*/ nAppID );
}
public static unsafe class ISteamHTMLSurface
{
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_DestructISteamHTMLSurface" )] internal static extern void /*void*/ DestructISteamHTMLSurface( IntPtr ISteamHTMLSurface );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_Init" )] internal static extern bool /*bool*/ Init( IntPtr ISteamHTMLSurface );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_Shutdown" )] internal static extern bool /*bool*/ Shutdown( IntPtr ISteamHTMLSurface );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_CreateBrowser" )] internal static extern ulong /*SteamAPICall_t*/ CreateBrowser( IntPtr ISteamHTMLSurface, string /*const char **/ pchUserAgent , string /*const char **/ pchUserCSS );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_RemoveBrowser" )] internal static extern void /*void*/ RemoveBrowser( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_LoadURL" )] internal static extern void /*void*/ LoadURL( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, string /*const char **/ pchURL , string /*const char **/ pchPostData );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetSize" )] internal static extern void /*void*/ SetSize( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, uint /*uint32*/ unWidth , uint /*uint32*/ unHeight );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_StopLoad" )] internal static extern void /*void*/ StopLoad( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_Reload" )] internal static extern void /*void*/ Reload( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_GoBack" )] internal static extern void /*void*/ GoBack( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_GoForward" )] internal static extern void /*void*/ GoForward( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_AddHeader" )] internal static extern void /*void*/ AddHeader( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, string /*const char **/ pchKey , string /*const char **/ pchValue );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_ExecuteJavascript" )] internal static extern void /*void*/ ExecuteJavascript( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, string /*const char **/ pchScript );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseUp" )] internal static extern void /*void*/ MouseUp( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseDown" )] internal static extern void /*void*/ MouseDown( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseDoubleClick" )] internal static extern void /*void*/ MouseDoubleClick( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseMove" )] internal static extern void /*void*/ MouseMove( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, int /*int*/ x , int /*int*/ y );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseWheel" )] internal static extern void /*void*/ MouseWheel( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, int /*int32*/ nDelta );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_KeyDown" )] internal static extern void /*void*/ KeyDown( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, uint /*uint32*/ nNativeKeyCode , HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_KeyUp" )] internal static extern void /*void*/ KeyUp( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, uint /*uint32*/ nNativeKeyCode , HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_KeyChar" )] internal static extern void /*void*/ KeyChar( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, uint /*uint32*/ cUnicodeChar , HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetHorizontalScroll" )] internal static extern void /*void*/ SetHorizontalScroll( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetVerticalScroll" )] internal static extern void /*void*/ SetVerticalScroll( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetKeyFocus" )] internal static extern void /*void*/ SetKeyFocus( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, bool /*bool*/ bHasKeyFocus );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_ViewSource" )] internal static extern void /*void*/ ViewSource( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_CopyToClipboard" )] internal static extern void /*void*/ CopyToClipboard( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_PasteFromClipboard" )] internal static extern void /*void*/ PasteFromClipboard( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_Find" )] internal static extern void /*void*/ Find( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, string /*const char **/ pchSearchStr , bool /*bool*/ bCurrentlyInFind , bool /*bool*/ bReverse );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_StopFind" )] internal static extern void /*void*/ StopFind( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_GetLinkAtPosition" )] internal static extern void /*void*/ GetLinkAtPosition( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, int /*int*/ x , int /*int*/ y );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetCookie" )] internal static extern void /*void*/ SetCookie( IntPtr ISteamHTMLSurface, string /*const char **/ pchHostname , string /*const char **/ pchKey , string /*const char **/ pchValue , string /*const char **/ pchPath , RTime32 /*RTime32*/ nExpires, bool /*bool*/ bSecure , bool /*bool*/ bHTTPOnly );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetPageScaleFactor" )] internal static extern void /*void*/ SetPageScaleFactor( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, float /*float*/ flZoom , int /*int*/ nPointX , int /*int*/ nPointY );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetBackgroundMode" )] internal static extern void /*void*/ SetBackgroundMode( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, bool /*bool*/ bBackgroundMode );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_AllowStartRequest" )] internal static extern void /*void*/ AllowStartRequest( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, bool /*bool*/ bAllowed );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamHTMLSurface_JSDialogResponse" )] internal static extern void /*void*/ JSDialogResponse( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, bool /*bool*/ bResult );
}
public static unsafe class ISteamInventory
{
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamInventory_GetResultStatus" )] internal static extern Result /*EResult*/ GetResultStatus( IntPtr ISteamInventory, SteamInventoryResult_t /*SteamInventoryResult_t*/ resultHandle );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamInventory_GetResultItems" )] internal static extern bool /*bool*/ GetResultItems( IntPtr ISteamInventory, SteamInventoryResult_t /*SteamInventoryResult_t*/ resultHandle, IntPtr /*struct SteamItemDetails_t **/ pOutItemsArray, out uint /*uint32 **/ punOutItemsArraySize );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamInventory_GetResultTimestamp" )] internal static extern uint /*uint32*/ GetResultTimestamp( IntPtr ISteamInventory, SteamInventoryResult_t /*SteamInventoryResult_t*/ resultHandle );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamInventory_CheckResultSteamID" )] internal static extern bool /*bool*/ CheckResultSteamID( IntPtr ISteamInventory, SteamInventoryResult_t /*SteamInventoryResult_t*/ resultHandle, CSteamID /*class CSteamID*/ steamIDExpected );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamInventory_DestroyResult" )] internal static extern void /*void*/ DestroyResult( IntPtr ISteamInventory, SteamInventoryResult_t /*SteamInventoryResult_t*/ resultHandle );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamInventory_GetAllItems" )] internal static extern bool /*bool*/ GetAllItems( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamInventory_GetItemsByID" )] internal static extern bool /*bool*/ GetItemsByID( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle, IntPtr /*const SteamItemInstanceID_t **/ pInstanceIDs, uint /*uint32*/ unCountInstanceIDs );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamInventory_SerializeResult" )] internal static extern bool /*bool*/ SerializeResult( IntPtr ISteamInventory, SteamInventoryResult_t /*SteamInventoryResult_t*/ resultHandle, IntPtr /*void **/ pOutBuffer , out uint /*uint32 **/ punOutBufferSize );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamInventory_DeserializeResult" )] internal static extern bool /*bool*/ DeserializeResult( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pOutResultHandle, IntPtr /*const void **/ pBuffer , uint /*uint32*/ unBufferSize , bool /*bool*/ bRESERVED_MUST_BE_FALSE );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamInventory_GenerateItems" )] internal static extern bool /*bool*/ GenerateItems( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, out uint /*const uint32 **/ punArrayQuantity, uint /*uint32*/ unArrayLength );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamInventory_GrantPromoItems" )] internal static extern bool /*bool*/ GrantPromoItems( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamInventory_AddPromoItem" )] internal static extern bool /*bool*/ AddPromoItem( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle, SteamItemDef_t /*SteamItemDef_t*/ itemDef );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamInventory_AddPromoItems" )] internal static extern bool /*bool*/ AddPromoItems( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, uint /*uint32*/ unArrayLength );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamInventory_ConsumeItem" )] internal static extern bool /*bool*/ ConsumeItem( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle, SteamItemInstanceID_t /*SteamItemInstanceID_t*/ itemConsume, uint /*uint32*/ unQuantity );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamInventory_ExchangeItems" )] internal static extern bool /*bool*/ ExchangeItems( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle, ref SteamItemDef_t /*const SteamItemDef_t **/ pArrayGenerate, out uint /*const uint32 **/ punArrayGenerateQuantity, uint /*uint32*/ unArrayGenerateLength , IntPtr /*const SteamItemInstanceID_t **/ pArrayDestroy, IntPtr /*const uint32 **/ punArrayDestroyQuantity, uint /*uint32*/ unArrayDestroyLength );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamInventory_TransferItemQuantity" )] internal static extern bool /*bool*/ TransferItemQuantity( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle, SteamItemInstanceID_t /*SteamItemInstanceID_t*/ itemIdSource, uint /*uint32*/ unQuantity , SteamItemInstanceID_t /*SteamItemInstanceID_t*/ itemIdDest );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamInventory_SendItemDropHeartbeat" )] internal static extern void /*void*/ SendItemDropHeartbeat( IntPtr ISteamInventory );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamInventory_TriggerItemDrop" )] internal static extern bool /*bool*/ TriggerItemDrop( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle, SteamItemDef_t /*SteamItemDef_t*/ dropListDefinition );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamInventory_TradeItems" )] internal static extern bool /*bool*/ TradeItems( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle, CSteamID /*class CSteamID*/ steamIDTradePartner, ref SteamItemInstanceID_t /*const SteamItemInstanceID_t **/ pArrayGive, out uint /*const uint32 **/ pArrayGiveQuantity, uint /*uint32*/ nArrayGiveLength , ref SteamItemInstanceID_t /*const SteamItemInstanceID_t **/ pArrayGet, out uint /*const uint32 **/ pArrayGetQuantity, uint /*uint32*/ nArrayGetLength );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamInventory_LoadItemDefinitions" )] internal static extern bool /*bool*/ LoadItemDefinitions( IntPtr ISteamInventory );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamInventory_GetItemDefinitionIDs" )] internal static extern bool /*bool*/ GetItemDefinitionIDs( IntPtr ISteamInventory, IntPtr /*SteamItemDef_t **/ pItemDefIDs, out uint /*uint32 **/ punItemDefIDsArraySize );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamInventory_GetItemDefinitionProperty" )] internal static extern bool /*bool*/ GetItemDefinitionProperty( IntPtr ISteamInventory, SteamItemDef_t /*SteamItemDef_t*/ iDefinition, string /*const char **/ pchPropertyName , char* /*char **/ pchValueBuffer , out uint /*uint32 **/ punValueBufferSize );
}
public static unsafe class ISteamVideo
{
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamVideo_GetVideoURL" )] internal static extern void /*void*/ GetVideoURL( IntPtr ISteamVideo, AppId_t /*AppId_t*/ unVideoAppID );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamVideo_IsBroadcasting" )] internal static extern bool /*bool*/ IsBroadcasting( IntPtr ISteamVideo, IntPtr /*int **/ pnNumViewers );
}
public static unsafe class ISteamGameServer
{
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_InitGameServer" )] internal static extern bool /*bool*/ InitGameServer( IntPtr ISteamGameServer, uint /*uint32*/ unIP , ushort /*uint16*/ usGamePort , ushort /*uint16*/ usQueryPort , uint /*uint32*/ unFlags , AppId_t /*AppId_t*/ nGameAppId, string /*const char **/ pchVersionString );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_SetProduct" )] internal static extern void /*void*/ SetProduct( IntPtr ISteamGameServer, string /*const char **/ pszProduct );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_SetGameDescription" )] internal static extern void /*void*/ SetGameDescription( IntPtr ISteamGameServer, string /*const char **/ pszGameDescription );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_SetModDir" )] internal static extern void /*void*/ SetModDir( IntPtr ISteamGameServer, string /*const char **/ pszModDir );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_SetDedicatedServer" )] internal static extern void /*void*/ SetDedicatedServer( IntPtr ISteamGameServer, bool /*bool*/ bDedicated );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_LogOn" )] internal static extern void /*void*/ LogOn( IntPtr ISteamGameServer, string /*const char **/ pszToken );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_LogOnAnonymous" )] internal static extern void /*void*/ LogOnAnonymous( IntPtr ISteamGameServer );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_LogOff" )] internal static extern void /*void*/ LogOff( IntPtr ISteamGameServer );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_BLoggedOn" )] internal static extern bool /*bool*/ BLoggedOn( IntPtr ISteamGameServer );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_BSecure" )] internal static extern bool /*bool*/ BSecure( IntPtr ISteamGameServer );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_GetSteamID" )] internal static extern ulong /*class CSteamID*/ GetSteamID( IntPtr ISteamGameServer );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_WasRestartRequested" )] internal static extern bool /*bool*/ WasRestartRequested( IntPtr ISteamGameServer );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_SetMaxPlayerCount" )] internal static extern void /*void*/ SetMaxPlayerCount( IntPtr ISteamGameServer, int /*int*/ cPlayersMax );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_SetBotPlayerCount" )] internal static extern void /*void*/ SetBotPlayerCount( IntPtr ISteamGameServer, int /*int*/ cBotplayers );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_SetServerName" )] internal static extern void /*void*/ SetServerName( IntPtr ISteamGameServer, string /*const char **/ pszServerName );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_SetMapName" )] internal static extern void /*void*/ SetMapName( IntPtr ISteamGameServer, string /*const char **/ pszMapName );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_SetPasswordProtected" )] internal static extern void /*void*/ SetPasswordProtected( IntPtr ISteamGameServer, bool /*bool*/ bPasswordProtected );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_SetSpectatorPort" )] internal static extern void /*void*/ SetSpectatorPort( IntPtr ISteamGameServer, ushort /*uint16*/ unSpectatorPort );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_SetSpectatorServerName" )] internal static extern void /*void*/ SetSpectatorServerName( IntPtr ISteamGameServer, string /*const char **/ pszSpectatorServerName );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_ClearAllKeyValues" )] internal static extern void /*void*/ ClearAllKeyValues( IntPtr ISteamGameServer );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_SetKeyValue" )] internal static extern void /*void*/ SetKeyValue( IntPtr ISteamGameServer, string /*const char **/ pKey , string /*const char **/ pValue );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_SetGameTags" )] internal static extern void /*void*/ SetGameTags( IntPtr ISteamGameServer, string /*const char **/ pchGameTags );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_SetGameData" )] internal static extern void /*void*/ SetGameData( IntPtr ISteamGameServer, string /*const char **/ pchGameData );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_SetRegion" )] internal static extern void /*void*/ SetRegion( IntPtr ISteamGameServer, string /*const char **/ pszRegion );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_SendUserConnectAndAuthenticate" )] internal static extern bool /*bool*/ SendUserConnectAndAuthenticate( IntPtr ISteamGameServer, uint /*uint32*/ unIPClient , IntPtr /*const void **/ pvAuthBlob , uint /*uint32*/ cubAuthBlobSize , out CSteamID /*class CSteamID **/ pSteamIDUser );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_CreateUnauthenticatedUserConnection" )] internal static extern ulong /*class CSteamID*/ CreateUnauthenticatedUserConnection( IntPtr ISteamGameServer );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_SendUserDisconnect" )] internal static extern void /*void*/ SendUserDisconnect( IntPtr ISteamGameServer, CSteamID /*class CSteamID*/ steamIDUser );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_BUpdateUserData" )] internal static extern bool /*bool*/ BUpdateUserData( IntPtr ISteamGameServer, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchPlayerName , uint /*uint32*/ uScore );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_GetAuthSessionTicket" )] internal static extern uint /*HAuthTicket*/ GetAuthSessionTicket( IntPtr ISteamGameServer, IntPtr /*void **/ pTicket , int /*int*/ cbMaxTicket , out uint /*uint32 **/ pcbTicket );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_BeginAuthSession" )] internal static extern BeginAuthSessionResult /*EBeginAuthSessionResult*/ BeginAuthSession( IntPtr ISteamGameServer, IntPtr /*const void **/ pAuthTicket , int /*int*/ cbAuthTicket , CSteamID /*class CSteamID*/ steamID );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_EndAuthSession" )] internal static extern void /*void*/ EndAuthSession( IntPtr ISteamGameServer, CSteamID /*class CSteamID*/ steamID );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_CancelAuthTicket" )] internal static extern void /*void*/ CancelAuthTicket( IntPtr ISteamGameServer, HAuthTicket /*HAuthTicket*/ hAuthTicket );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_UserHasLicenseForApp" )] internal static extern UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ UserHasLicenseForApp( IntPtr ISteamGameServer, CSteamID /*class CSteamID*/ steamID, AppId_t /*AppId_t*/ appID );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_RequestUserGroupStatus" )] internal static extern bool /*bool*/ RequestUserGroupStatus( IntPtr ISteamGameServer, CSteamID /*class CSteamID*/ steamIDUser, CSteamID /*class CSteamID*/ steamIDGroup );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_GetGameplayStats" )] internal static extern void /*void*/ GetGameplayStats( IntPtr ISteamGameServer );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_GetServerReputation" )] internal static extern ulong /*SteamAPICall_t*/ GetServerReputation( IntPtr ISteamGameServer );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_GetPublicIP" )] internal static extern uint /*uint32*/ GetPublicIP( IntPtr ISteamGameServer );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_HandleIncomingPacket" )] internal static extern bool /*bool*/ HandleIncomingPacket( IntPtr ISteamGameServer, IntPtr /*const void **/ pData , int /*int*/ cbData , uint /*uint32*/ srcIP , ushort /*uint16*/ srcPort );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_GetNextOutgoingPacket" )] internal static extern int /*int*/ GetNextOutgoingPacket( IntPtr ISteamGameServer, IntPtr /*void **/ pOut , int /*int*/ cbMaxOut , out uint /*uint32 **/ pNetAdr, out ushort /*uint16 **/ pPort );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_EnableHeartbeats" )] internal static extern void /*void*/ EnableHeartbeats( IntPtr ISteamGameServer, bool /*bool*/ bActive );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_SetHeartbeatInterval" )] internal static extern void /*void*/ SetHeartbeatInterval( IntPtr ISteamGameServer, int /*int*/ iHeartbeatInterval );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_ForceHeartbeat" )] internal static extern void /*void*/ ForceHeartbeat( IntPtr ISteamGameServer );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_AssociateWithClan" )] internal static extern ulong /*SteamAPICall_t*/ AssociateWithClan( IntPtr ISteamGameServer, CSteamID /*class CSteamID*/ steamIDClan );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServer_ComputeNewPlayerCompatibility" )] internal static extern ulong /*SteamAPICall_t*/ ComputeNewPlayerCompatibility( IntPtr ISteamGameServer, CSteamID /*class CSteamID*/ steamIDNewPlayer );
}
public static unsafe class ISteamGameServerStats
{
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServerStats_RequestUserStats" )] internal static extern ulong /*SteamAPICall_t*/ RequestUserStats( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServerStats_GetUserStat" )] internal static extern bool /*bool*/ GetUserStat( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , out int /*int32 **/ pData );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServerStats_GetUserStat0" )] internal static extern bool /*bool*/ GetUserStat0( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , out float /*float **/ pData );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServerStats_GetUserAchievement" )] internal static extern bool /*bool*/ GetUserAchievement( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , out bool /*bool **/ pbAchieved );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServerStats_SetUserStat" )] internal static extern bool /*bool*/ SetUserStat( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , int /*int32*/ nData );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServerStats_SetUserStat0" )] internal static extern bool /*bool*/ SetUserStat0( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , float /*float*/ fData );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServerStats_UpdateUserAvgRateStat" )] internal static extern bool /*bool*/ UpdateUserAvgRateStat( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , float /*float*/ flCountThisSession , double /*double*/ dSessionLength );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServerStats_SetUserAchievement" )] internal static extern bool /*bool*/ SetUserAchievement( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServerStats_ClearUserAchievement" )] internal static extern bool /*bool*/ ClearUserAchievement( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_ISteamGameServerStats_StoreUserStats" )] internal static extern ulong /*SteamAPICall_t*/ StoreUserStats( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser );
}
public static unsafe class Global
{
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_Init" )] internal static extern void /*void*/ SteamAPI_Init( );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_RunCallbacks" )] internal static extern void /*void*/ SteamAPI_RunCallbacks( );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamGameServer_RunCallbacks" )] internal static extern void /*void*/ SteamGameServer_RunCallbacks( );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_RegisterCallback" )] internal static extern void /*void*/ SteamAPI_RegisterCallback( IntPtr /*void **/ pCallback , int /*int*/ callback );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_UnregisterCallback" )] internal static extern void /*void*/ SteamAPI_UnregisterCallback( IntPtr /*void **/ pCallback );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamInternal_GameServer_Init" )] internal static extern bool /*bool*/ SteamInternal_GameServer_Init( uint /*uint32*/ unIP , ushort /*uint16*/ usPort , ushort /*uint16*/ usGamePort , ushort /*uint16*/ usQueryPort , int /*int*/ eServerMode , string /*const char **/ pchVersionString );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_Shutdown" )] internal static extern void /*void*/ SteamAPI_Shutdown( );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_GetHSteamUser" )] internal static extern int /*HSteamUser*/ SteamAPI_GetHSteamUser( );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamAPI_GetHSteamPipe" )] internal static extern int /*HSteamPipe*/ SteamAPI_GetHSteamPipe( );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamGameServer_GetHSteamUser" )] internal static extern int /*HSteamUser*/ SteamGameServer_GetHSteamUser( );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamGameServer_GetHSteamPipe" )] internal static extern int /*HSteamPipe*/ SteamGameServer_GetHSteamPipe( );
[DllImportAttribute( "libsteam_api.dylib.so", EntryPoint = "SteamInternal_CreateInterface" )] internal static extern IntPtr /*void **/ SteamInternal_CreateInterface( string /*const char **/ version );
}
}
}
}

View File

@ -0,0 +1,752 @@
using System;
using System.Runtime.InteropServices;
namespace SteamNative
{
internal static partial class Platform
{
public static class Win32
{
public static unsafe class ISteamClient
{
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_CreateSteamPipe" )] internal static extern int /*HSteamPipe*/ CreateSteamPipe( IntPtr ISteamClient );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_BReleaseSteamPipe" )] internal static extern bool /*bool*/ BReleaseSteamPipe( IntPtr ISteamClient, HSteamPipe /*HSteamPipe*/ hSteamPipe );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_ConnectToGlobalUser" )] internal static extern int /*HSteamUser*/ ConnectToGlobalUser( IntPtr ISteamClient, HSteamPipe /*HSteamPipe*/ hSteamPipe );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_CreateLocalUser" )] internal static extern int /*HSteamUser*/ CreateLocalUser( IntPtr ISteamClient, out HSteamPipe /*HSteamPipe **/ phSteamPipe, AccountType /*EAccountType*/ eAccountType );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_ReleaseUser" )] internal static extern void /*void*/ ReleaseUser( IntPtr ISteamClient, HSteamPipe /*HSteamPipe*/ hSteamPipe, HSteamUser /*HSteamUser*/ hUser );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamUser" )] internal static extern IntPtr /*class ISteamUser **/ GetISteamUser( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamGameServer" )] internal static extern IntPtr /*class ISteamGameServer **/ GetISteamGameServer( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_SetLocalIPBinding" )] internal static extern void /*void*/ SetLocalIPBinding( IntPtr ISteamClient, uint /*uint32*/ unIP , ushort /*uint16*/ usPort );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamFriends" )] internal static extern IntPtr /*class ISteamFriends **/ GetISteamFriends( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamUtils" )] internal static extern IntPtr /*class ISteamUtils **/ GetISteamUtils( IntPtr ISteamClient, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamMatchmaking" )] internal static extern IntPtr /*class ISteamMatchmaking **/ GetISteamMatchmaking( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamMatchmakingServers" )] internal static extern IntPtr /*class ISteamMatchmakingServers **/ GetISteamMatchmakingServers( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamGenericInterface" )] internal static extern IntPtr /*void **/ GetISteamGenericInterface( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamUserStats" )] internal static extern IntPtr /*class ISteamUserStats **/ GetISteamUserStats( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamGameServerStats" )] internal static extern IntPtr /*class ISteamGameServerStats **/ GetISteamGameServerStats( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamApps" )] internal static extern IntPtr /*class ISteamApps **/ GetISteamApps( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamNetworking" )] internal static extern IntPtr /*class ISteamNetworking **/ GetISteamNetworking( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamRemoteStorage" )] internal static extern IntPtr /*class ISteamRemoteStorage **/ GetISteamRemoteStorage( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamScreenshots" )] internal static extern IntPtr /*class ISteamScreenshots **/ GetISteamScreenshots( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetIPCCallCount" )] internal static extern uint /*uint32*/ GetIPCCallCount( IntPtr ISteamClient );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_SetWarningMessageHook" )] internal static extern void /*void*/ SetWarningMessageHook( IntPtr ISteamClient, IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_BShutdownIfAllPipesClosed" )] internal static extern bool /*bool*/ BShutdownIfAllPipesClosed( IntPtr ISteamClient );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamHTTP" )] internal static extern IntPtr /*class ISteamHTTP **/ GetISteamHTTP( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamUnifiedMessages" )] internal static extern IntPtr /*class ISteamUnifiedMessages **/ GetISteamUnifiedMessages( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamController" )] internal static extern IntPtr /*class ISteamController **/ GetISteamController( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamUGC" )] internal static extern IntPtr /*class ISteamUGC **/ GetISteamUGC( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamAppList" )] internal static extern IntPtr /*class ISteamAppList **/ GetISteamAppList( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamMusic" )] internal static extern IntPtr /*class ISteamMusic **/ GetISteamMusic( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamMusicRemote" )] internal static extern IntPtr /*class ISteamMusicRemote **/ GetISteamMusicRemote( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamHTMLSurface" )] internal static extern IntPtr /*class ISteamHTMLSurface **/ GetISteamHTMLSurface( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamInventory" )] internal static extern IntPtr /*class ISteamInventory **/ GetISteamInventory( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamVideo" )] internal static extern IntPtr /*class ISteamVideo **/ GetISteamVideo( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
}
public static unsafe class ISteamUser
{
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_GetHSteamUser" )] internal static extern int /*HSteamUser*/ GetHSteamUser( IntPtr ISteamUser );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_BLoggedOn" )] internal static extern bool /*bool*/ BLoggedOn( IntPtr ISteamUser );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_GetSteamID" )] internal static extern ulong /*class CSteamID*/ GetSteamID( IntPtr ISteamUser );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_InitiateGameConnection" )] internal static extern int /*int*/ InitiateGameConnection( IntPtr ISteamUser, IntPtr /*void **/ pAuthBlob , int /*int*/ cbMaxAuthBlob , CSteamID /*class CSteamID*/ steamIDGameServer, uint /*uint32*/ unIPServer , ushort /*uint16*/ usPortServer , bool /*bool*/ bSecure );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_TerminateGameConnection" )] internal static extern void /*void*/ TerminateGameConnection( IntPtr ISteamUser, uint /*uint32*/ unIPServer , ushort /*uint16*/ usPortServer );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_TrackAppUsageEvent" )] internal static extern void /*void*/ TrackAppUsageEvent( IntPtr ISteamUser, CGameID /*class CGameID*/ gameID, int /*int*/ eAppUsageEvent , string /*const char **/ pchExtraInfo );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_GetUserDataFolder" )] internal static extern bool /*bool*/ GetUserDataFolder( IntPtr ISteamUser, char* /*char **/ pchBuffer , int /*int*/ cubBuffer );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_StartVoiceRecording" )] internal static extern void /*void*/ StartVoiceRecording( IntPtr ISteamUser );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_StopVoiceRecording" )] internal static extern void /*void*/ StopVoiceRecording( IntPtr ISteamUser );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_GetAvailableVoice" )] internal static extern VoiceResult /*EVoiceResult*/ GetAvailableVoice( IntPtr ISteamUser, out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_GetVoice" )] internal static extern VoiceResult /*EVoiceResult*/ GetVoice( IntPtr ISteamUser, bool /*bool*/ bWantCompressed , IntPtr /*void **/ pDestBuffer , uint /*uint32*/ cbDestBufferSize , out uint /*uint32 **/ nBytesWritten, bool /*bool*/ bWantUncompressed , IntPtr /*void **/ pUncompressedDestBuffer , uint /*uint32*/ cbUncompressedDestBufferSize , out uint /*uint32 **/ nUncompressBytesWritten, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_DecompressVoice" )] internal static extern VoiceResult /*EVoiceResult*/ DecompressVoice( IntPtr ISteamUser, IntPtr /*const void **/ pCompressed , uint /*uint32*/ cbCompressed , IntPtr /*void **/ pDestBuffer , uint /*uint32*/ cbDestBufferSize , out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_GetVoiceOptimalSampleRate" )] internal static extern uint /*uint32*/ GetVoiceOptimalSampleRate( IntPtr ISteamUser );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_GetAuthSessionTicket" )] internal static extern uint /*HAuthTicket*/ GetAuthSessionTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket , int /*int*/ cbMaxTicket , out uint /*uint32 **/ pcbTicket );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_BeginAuthSession" )] internal static extern BeginAuthSessionResult /*EBeginAuthSessionResult*/ BeginAuthSession( IntPtr ISteamUser, IntPtr /*const void **/ pAuthTicket , int /*int*/ cbAuthTicket , CSteamID /*class CSteamID*/ steamID );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_EndAuthSession" )] internal static extern void /*void*/ EndAuthSession( IntPtr ISteamUser, CSteamID /*class CSteamID*/ steamID );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_CancelAuthTicket" )] internal static extern void /*void*/ CancelAuthTicket( IntPtr ISteamUser, HAuthTicket /*HAuthTicket*/ hAuthTicket );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_UserHasLicenseForApp" )] internal static extern UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ UserHasLicenseForApp( IntPtr ISteamUser, CSteamID /*class CSteamID*/ steamID, AppId_t /*AppId_t*/ appID );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_BIsBehindNAT" )] internal static extern bool /*bool*/ BIsBehindNAT( IntPtr ISteamUser );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_AdvertiseGame" )] internal static extern void /*void*/ AdvertiseGame( IntPtr ISteamUser, CSteamID /*class CSteamID*/ steamIDGameServer, uint /*uint32*/ unIPServer , ushort /*uint16*/ usPortServer );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_RequestEncryptedAppTicket" )] internal static extern ulong /*SteamAPICall_t*/ RequestEncryptedAppTicket( IntPtr ISteamUser, IntPtr /*void **/ pDataToInclude , int /*int*/ cbDataToInclude );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_GetEncryptedAppTicket" )] internal static extern bool /*bool*/ GetEncryptedAppTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket , int /*int*/ cbMaxTicket , out uint /*uint32 **/ pcbTicket );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_GetGameBadgeLevel" )] internal static extern int /*int*/ GetGameBadgeLevel( IntPtr ISteamUser, int /*int*/ nSeries , bool /*bool*/ bFoil );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_GetPlayerSteamLevel" )] internal static extern int /*int*/ GetPlayerSteamLevel( IntPtr ISteamUser );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_RequestStoreAuthURL" )] internal static extern ulong /*SteamAPICall_t*/ RequestStoreAuthURL( IntPtr ISteamUser, string /*const char **/ pchRedirectURL );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_BIsPhoneVerified" )] internal static extern bool /*bool*/ BIsPhoneVerified( IntPtr ISteamUser );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUser_BIsTwoFactorEnabled" )] internal static extern bool /*bool*/ BIsTwoFactorEnabled( IntPtr ISteamUser );
}
public static unsafe class ISteamFriends
{
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetPersonaName" )] internal static extern IntPtr GetPersonaName( IntPtr ISteamFriends );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_SetPersonaName" )] internal static extern ulong /*SteamAPICall_t*/ SetPersonaName( IntPtr ISteamFriends, string /*const char **/ pchPersonaName );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetPersonaState" )] internal static extern PersonaState /*EPersonaState*/ GetPersonaState( IntPtr ISteamFriends );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendCount" )] internal static extern int /*int*/ GetFriendCount( IntPtr ISteamFriends, int /*int*/ iFriendFlags );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendByIndex" )] internal static extern ulong /*class CSteamID*/ GetFriendByIndex( IntPtr ISteamFriends, int /*int*/ iFriend , int /*int*/ iFriendFlags );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendRelationship" )] internal static extern FriendRelationship /*EFriendRelationship*/ GetFriendRelationship( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendPersonaState" )] internal static extern PersonaState /*EPersonaState*/ GetFriendPersonaState( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendPersonaName" )] internal static extern IntPtr GetFriendPersonaName( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendGamePlayed" )] internal static extern bool /*bool*/ GetFriendGamePlayed( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend, ref FriendGameInfo_t /*struct FriendGameInfo_t **/ pFriendGameInfo );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendPersonaNameHistory" )] internal static extern IntPtr GetFriendPersonaNameHistory( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend, int /*int*/ iPersonaName );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendSteamLevel" )] internal static extern int /*int*/ GetFriendSteamLevel( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetPlayerNickname" )] internal static extern IntPtr GetPlayerNickname( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDPlayer );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupCount" )] internal static extern int /*int*/ GetFriendsGroupCount( IntPtr ISteamFriends );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupIDByIndex" )] internal static extern short /*FriendsGroupID_t*/ GetFriendsGroupIDByIndex( IntPtr ISteamFriends, int /*int*/ iFG );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupName" )] internal static extern IntPtr GetFriendsGroupName( IntPtr ISteamFriends, FriendsGroupID_t /*FriendsGroupID_t*/ friendsGroupID );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupMembersCount" )] internal static extern int /*int*/ GetFriendsGroupMembersCount( IntPtr ISteamFriends, FriendsGroupID_t /*FriendsGroupID_t*/ friendsGroupID );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupMembersList" )] internal static extern void /*void*/ GetFriendsGroupMembersList( IntPtr ISteamFriends, FriendsGroupID_t /*FriendsGroupID_t*/ friendsGroupID, IntPtr /*class CSteamID **/ pOutSteamIDMembers, int /*int*/ nMembersCount );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_HasFriend" )] internal static extern bool /*bool*/ HasFriend( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend, int /*int*/ iFriendFlags );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanCount" )] internal static extern int /*int*/ GetClanCount( IntPtr ISteamFriends );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanByIndex" )] internal static extern ulong /*class CSteamID*/ GetClanByIndex( IntPtr ISteamFriends, int /*int*/ iClan );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanName" )] internal static extern IntPtr GetClanName( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanTag" )] internal static extern IntPtr GetClanTag( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanActivityCounts" )] internal static extern bool /*bool*/ GetClanActivityCounts( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan, out int /*int **/ pnOnline, out int /*int **/ pnInGame, out int /*int **/ pnChatting );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_DownloadClanActivityCounts" )] internal static extern ulong /*SteamAPICall_t*/ DownloadClanActivityCounts( IntPtr ISteamFriends, IntPtr /*class CSteamID **/ psteamIDClans, int /*int*/ cClansToRequest );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendCountFromSource" )] internal static extern int /*int*/ GetFriendCountFromSource( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDSource );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendFromSourceByIndex" )] internal static extern ulong /*class CSteamID*/ GetFriendFromSourceByIndex( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDSource, int /*int*/ iFriend );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_IsUserInSource" )] internal static extern bool /*bool*/ IsUserInSource( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDUser, CSteamID /*class CSteamID*/ steamIDSource );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_SetInGameVoiceSpeaking" )] internal static extern void /*void*/ SetInGameVoiceSpeaking( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDUser, bool /*bool*/ bSpeaking );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlay" )] internal static extern void /*void*/ ActivateGameOverlay( IntPtr ISteamFriends, string /*const char **/ pchDialog );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlayToUser" )] internal static extern void /*void*/ ActivateGameOverlayToUser( IntPtr ISteamFriends, string /*const char **/ pchDialog , CSteamID /*class CSteamID*/ steamID );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlayToWebPage" )] internal static extern void /*void*/ ActivateGameOverlayToWebPage( IntPtr ISteamFriends, string /*const char **/ pchURL );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlayToStore" )] internal static extern void /*void*/ ActivateGameOverlayToStore( IntPtr ISteamFriends, AppId_t /*AppId_t*/ nAppID, OverlayToStoreFlag /*EOverlayToStoreFlag*/ eFlag );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_SetPlayedWith" )] internal static extern void /*void*/ SetPlayedWith( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDUserPlayedWith );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlayInviteDialog" )] internal static extern void /*void*/ ActivateGameOverlayInviteDialog( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDLobby );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetSmallFriendAvatar" )] internal static extern int /*int*/ GetSmallFriendAvatar( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetMediumFriendAvatar" )] internal static extern int /*int*/ GetMediumFriendAvatar( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetLargeFriendAvatar" )] internal static extern int /*int*/ GetLargeFriendAvatar( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_RequestUserInformation" )] internal static extern bool /*bool*/ RequestUserInformation( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDUser, bool /*bool*/ bRequireNameOnly );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_RequestClanOfficerList" )] internal static extern ulong /*SteamAPICall_t*/ RequestClanOfficerList( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanOwner" )] internal static extern ulong /*class CSteamID*/ GetClanOwner( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanOfficerCount" )] internal static extern int /*int*/ GetClanOfficerCount( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanOfficerByIndex" )] internal static extern ulong /*class CSteamID*/ GetClanOfficerByIndex( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan, int /*int*/ iOfficer );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetUserRestrictions" )] internal static extern uint /*uint32*/ GetUserRestrictions( IntPtr ISteamFriends );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_SetRichPresence" )] internal static extern bool /*bool*/ SetRichPresence( IntPtr ISteamFriends, string /*const char **/ pchKey , string /*const char **/ pchValue );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_ClearRichPresence" )] internal static extern void /*void*/ ClearRichPresence( IntPtr ISteamFriends );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendRichPresence" )] internal static extern IntPtr GetFriendRichPresence( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend, string /*const char **/ pchKey );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendRichPresenceKeyCount" )] internal static extern int /*int*/ GetFriendRichPresenceKeyCount( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendRichPresenceKeyByIndex" )] internal static extern IntPtr GetFriendRichPresenceKeyByIndex( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend, int /*int*/ iKey );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_RequestFriendRichPresence" )] internal static extern void /*void*/ RequestFriendRichPresence( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_InviteUserToGame" )] internal static extern bool /*bool*/ InviteUserToGame( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend, string /*const char **/ pchConnectString );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetCoplayFriendCount" )] internal static extern int /*int*/ GetCoplayFriendCount( IntPtr ISteamFriends );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetCoplayFriend" )] internal static extern ulong /*class CSteamID*/ GetCoplayFriend( IntPtr ISteamFriends, int /*int*/ iCoplayFriend );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendCoplayTime" )] internal static extern int /*int*/ GetFriendCoplayTime( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendCoplayGame" )] internal static extern uint /*AppId_t*/ GetFriendCoplayGame( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_JoinClanChatRoom" )] internal static extern ulong /*SteamAPICall_t*/ JoinClanChatRoom( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_LeaveClanChatRoom" )] internal static extern bool /*bool*/ LeaveClanChatRoom( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanChatMemberCount" )] internal static extern int /*int*/ GetClanChatMemberCount( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetChatMemberByIndex" )] internal static extern ulong /*class CSteamID*/ GetChatMemberByIndex( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan, int /*int*/ iUser );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_SendClanChatMessage" )] internal static extern bool /*bool*/ SendClanChatMessage( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClanChat, string /*const char **/ pchText );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanChatMessage" )] internal static extern int /*int*/ GetClanChatMessage( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClanChat, int /*int*/ iMessage , IntPtr /*void **/ prgchText , int /*int*/ cchTextMax , out ChatEntryType /*EChatEntryType **/ peChatEntryType, out CSteamID /*class CSteamID **/ psteamidChatter );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_IsClanChatAdmin" )] internal static extern bool /*bool*/ IsClanChatAdmin( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClanChat, CSteamID /*class CSteamID*/ steamIDUser );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_IsClanChatWindowOpenInSteam" )] internal static extern bool /*bool*/ IsClanChatWindowOpenInSteam( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClanChat );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_OpenClanChatWindowInSteam" )] internal static extern bool /*bool*/ OpenClanChatWindowInSteam( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClanChat );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_CloseClanChatWindowInSteam" )] internal static extern bool /*bool*/ CloseClanChatWindowInSteam( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClanChat );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_SetListenForFriendsMessages" )] internal static extern bool /*bool*/ SetListenForFriendsMessages( IntPtr ISteamFriends, bool /*bool*/ bInterceptEnabled );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_ReplyToFriendMessage" )] internal static extern bool /*bool*/ ReplyToFriendMessage( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend, string /*const char **/ pchMsgToSend );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendMessage" )] internal static extern int /*int*/ GetFriendMessage( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend, int /*int*/ iMessageID , IntPtr /*void **/ pvData , int /*int*/ cubData , out ChatEntryType /*EChatEntryType **/ peChatEntryType );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFollowerCount" )] internal static extern ulong /*SteamAPICall_t*/ GetFollowerCount( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamID );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_IsFollowing" )] internal static extern ulong /*SteamAPICall_t*/ IsFollowing( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamID );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamFriends_EnumerateFollowingList" )] internal static extern ulong /*SteamAPICall_t*/ EnumerateFollowingList( IntPtr ISteamFriends, uint /*uint32*/ unStartIndex );
}
public static unsafe class ISteamUtils
{
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_GetSecondsSinceAppActive" )] internal static extern uint /*uint32*/ GetSecondsSinceAppActive( IntPtr ISteamUtils );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_GetSecondsSinceComputerActive" )] internal static extern uint /*uint32*/ GetSecondsSinceComputerActive( IntPtr ISteamUtils );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_GetConnectedUniverse" )] internal static extern Universe /*EUniverse*/ GetConnectedUniverse( IntPtr ISteamUtils );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_GetServerRealTime" )] internal static extern uint /*uint32*/ GetServerRealTime( IntPtr ISteamUtils );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_GetIPCountry" )] internal static extern IntPtr GetIPCountry( IntPtr ISteamUtils );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_GetImageSize" )] internal static extern bool /*bool*/ GetImageSize( IntPtr ISteamUtils, int /*int*/ iImage , out uint /*uint32 **/ pnWidth, out uint /*uint32 **/ pnHeight );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_GetImageRGBA" )] internal static extern bool /*bool*/ GetImageRGBA( IntPtr ISteamUtils, int /*int*/ iImage , IntPtr /*uint8 **/ pubDest, int /*int*/ nDestBufferSize );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_GetCSERIPPort" )] internal static extern bool /*bool*/ GetCSERIPPort( IntPtr ISteamUtils, out uint /*uint32 **/ unIP, out ushort /*uint16 **/ usPort );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_GetCurrentBatteryPower" )] internal static extern byte /*uint8*/ GetCurrentBatteryPower( IntPtr ISteamUtils );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_GetAppID" )] internal static extern uint /*uint32*/ GetAppID( IntPtr ISteamUtils );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_SetOverlayNotificationPosition" )] internal static extern void /*void*/ SetOverlayNotificationPosition( IntPtr ISteamUtils, NotificationPosition /*ENotificationPosition*/ eNotificationPosition );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_IsAPICallCompleted" )] internal static extern bool /*bool*/ IsAPICallCompleted( IntPtr ISteamUtils, SteamAPICall_t /*SteamAPICall_t*/ hSteamAPICall, out bool /*bool **/ pbFailed );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_GetAPICallFailureReason" )] internal static extern SteamAPICallFailure /*ESteamAPICallFailure*/ GetAPICallFailureReason( IntPtr ISteamUtils, SteamAPICall_t /*SteamAPICall_t*/ hSteamAPICall );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_GetAPICallResult" )] internal static extern bool /*bool*/ GetAPICallResult( IntPtr ISteamUtils, SteamAPICall_t /*SteamAPICall_t*/ hSteamAPICall, IntPtr /*void **/ pCallback , int /*int*/ cubCallback , int /*int*/ iCallbackExpected , out bool /*bool **/ pbFailed );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_GetIPCCallCount" )] internal static extern uint /*uint32*/ GetIPCCallCount( IntPtr ISteamUtils );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_SetWarningMessageHook" )] internal static extern void /*void*/ SetWarningMessageHook( IntPtr ISteamUtils, IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_IsOverlayEnabled" )] internal static extern bool /*bool*/ IsOverlayEnabled( IntPtr ISteamUtils );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_BOverlayNeedsPresent" )] internal static extern bool /*bool*/ BOverlayNeedsPresent( IntPtr ISteamUtils );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_CheckFileSignature" )] internal static extern ulong /*SteamAPICall_t*/ CheckFileSignature( IntPtr ISteamUtils, string /*const char **/ szFileName );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_ShowGamepadTextInput" )] internal static extern bool /*bool*/ ShowGamepadTextInput( IntPtr ISteamUtils, GamepadTextInputMode /*EGamepadTextInputMode*/ eInputMode , GamepadTextInputLineMode /*EGamepadTextInputLineMode*/ eLineInputMode , string /*const char **/ pchDescription , uint /*uint32*/ unCharMax , string /*const char **/ pchExistingText );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_GetEnteredGamepadTextLength" )] internal static extern uint /*uint32*/ GetEnteredGamepadTextLength( IntPtr ISteamUtils );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_GetEnteredGamepadTextInput" )] internal static extern bool /*bool*/ GetEnteredGamepadTextInput( IntPtr ISteamUtils, char* /*char **/ pchText , uint /*uint32*/ cchText );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_GetSteamUILanguage" )] internal static extern IntPtr GetSteamUILanguage( IntPtr ISteamUtils );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_IsSteamRunningInVR" )] internal static extern bool /*bool*/ IsSteamRunningInVR( IntPtr ISteamUtils );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_SetOverlayNotificationInset" )] internal static extern void /*void*/ SetOverlayNotificationInset( IntPtr ISteamUtils, int /*int*/ nHorizontalInset , int /*int*/ nVerticalInset );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_IsSteamInBigPictureMode" )] internal static extern bool /*bool*/ IsSteamInBigPictureMode( IntPtr ISteamUtils );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUtils_StartVRDashboard" )] internal static extern void /*void*/ StartVRDashboard( IntPtr ISteamUtils );
}
public static unsafe class ISteamMatchmaking
{
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetFavoriteGameCount" )] internal static extern int /*int*/ GetFavoriteGameCount( IntPtr ISteamMatchmaking );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetFavoriteGame" )] internal static extern bool /*bool*/ GetFavoriteGame( IntPtr ISteamMatchmaking, int /*int*/ iGame , ref AppId_t /*AppId_t **/ pnAppID, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnConnPort, out ushort /*uint16 **/ pnQueryPort, IntPtr /*uint32 **/ punFlags, out uint /*uint32 **/ pRTime32LastPlayedOnServer );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_AddFavoriteGame" )] internal static extern int /*int*/ AddFavoriteGame( IntPtr ISteamMatchmaking, AppId_t /*AppId_t*/ nAppID, uint /*uint32*/ nIP , ushort /*uint16*/ nConnPort , ushort /*uint16*/ nQueryPort , uint /*uint32*/ unFlags , uint /*uint32*/ rTime32LastPlayedOnServer );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_RemoveFavoriteGame" )] internal static extern bool /*bool*/ RemoveFavoriteGame( IntPtr ISteamMatchmaking, AppId_t /*AppId_t*/ nAppID, uint /*uint32*/ nIP , ushort /*uint16*/ nConnPort , ushort /*uint16*/ nQueryPort , uint /*uint32*/ unFlags );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_RequestLobbyList" )] internal static extern ulong /*SteamAPICall_t*/ RequestLobbyList( IntPtr ISteamMatchmaking );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListStringFilter" )] internal static extern void /*void*/ AddRequestLobbyListStringFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch , string /*const char **/ pchValueToMatch , LobbyComparison /*ELobbyComparison*/ eComparisonType );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListNumericalFilter" )] internal static extern void /*void*/ AddRequestLobbyListNumericalFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch , int /*int*/ nValueToMatch , LobbyComparison /*ELobbyComparison*/ eComparisonType );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListNearValueFilter" )] internal static extern void /*void*/ AddRequestLobbyListNearValueFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch , int /*int*/ nValueToBeCloseTo );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListFilterSlotsAvailable" )] internal static extern void /*void*/ AddRequestLobbyListFilterSlotsAvailable( IntPtr ISteamMatchmaking, int /*int*/ nSlotsAvailable );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListDistanceFilter" )] internal static extern void /*void*/ AddRequestLobbyListDistanceFilter( IntPtr ISteamMatchmaking, LobbyDistanceFilter /*ELobbyDistanceFilter*/ eLobbyDistanceFilter );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListResultCountFilter" )] internal static extern void /*void*/ AddRequestLobbyListResultCountFilter( IntPtr ISteamMatchmaking, int /*int*/ cMaxResults );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListCompatibleMembersFilter" )] internal static extern void /*void*/ AddRequestLobbyListCompatibleMembersFilter( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyByIndex" )] internal static extern ulong /*class CSteamID*/ GetLobbyByIndex( IntPtr ISteamMatchmaking, int /*int*/ iLobby );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_CreateLobby" )] internal static extern ulong /*SteamAPICall_t*/ CreateLobby( IntPtr ISteamMatchmaking, LobbyType /*ELobbyType*/ eLobbyType , int /*int*/ cMaxMembers );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_JoinLobby" )] internal static extern ulong /*SteamAPICall_t*/ JoinLobby( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_LeaveLobby" )] internal static extern void /*void*/ LeaveLobby( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_InviteUserToLobby" )] internal static extern bool /*bool*/ InviteUserToLobby( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, CSteamID /*class CSteamID*/ steamIDInvitee );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetNumLobbyMembers" )] internal static extern int /*int*/ GetNumLobbyMembers( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyMemberByIndex" )] internal static extern ulong /*class CSteamID*/ GetLobbyMemberByIndex( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, int /*int*/ iMember );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyData" )] internal static extern IntPtr GetLobbyData( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, string /*const char **/ pchKey );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyData" )] internal static extern bool /*bool*/ SetLobbyData( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, string /*const char **/ pchKey , string /*const char **/ pchValue );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyDataCount" )] internal static extern int /*int*/ GetLobbyDataCount( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyDataByIndex" )] internal static extern bool /*bool*/ GetLobbyDataByIndex( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, int /*int*/ iLobbyData , char* /*char **/ pchKey , int /*int*/ cchKeyBufferSize , char* /*char **/ pchValue , int /*int*/ cchValueBufferSize );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_DeleteLobbyData" )] internal static extern bool /*bool*/ DeleteLobbyData( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, string /*const char **/ pchKey );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyMemberData" )] internal static extern IntPtr GetLobbyMemberData( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchKey );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyMemberData" )] internal static extern void /*void*/ SetLobbyMemberData( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, string /*const char **/ pchKey , string /*const char **/ pchValue );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_SendLobbyChatMsg" )] internal static extern bool /*bool*/ SendLobbyChatMsg( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, IntPtr /*const void **/ pvMsgBody , int /*int*/ cubMsgBody );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyChatEntry" )] internal static extern int /*int*/ GetLobbyChatEntry( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, int /*int*/ iChatID , out CSteamID /*class CSteamID **/ pSteamIDUser, IntPtr /*void **/ pvData , int /*int*/ cubData , out ChatEntryType /*EChatEntryType **/ peChatEntryType );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_RequestLobbyData" )] internal static extern bool /*bool*/ RequestLobbyData( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyGameServer" )] internal static extern void /*void*/ SetLobbyGameServer( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, uint /*uint32*/ unGameServerIP , ushort /*uint16*/ unGameServerPort , CSteamID /*class CSteamID*/ steamIDGameServer );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyGameServer" )] internal static extern bool /*bool*/ GetLobbyGameServer( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, out uint /*uint32 **/ punGameServerIP, out ushort /*uint16 **/ punGameServerPort, out CSteamID /*class CSteamID **/ psteamIDGameServer );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyMemberLimit" )] internal static extern bool /*bool*/ SetLobbyMemberLimit( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, int /*int*/ cMaxMembers );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyMemberLimit" )] internal static extern int /*int*/ GetLobbyMemberLimit( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyType" )] internal static extern bool /*bool*/ SetLobbyType( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, LobbyType /*ELobbyType*/ eLobbyType );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyJoinable" )] internal static extern bool /*bool*/ SetLobbyJoinable( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, bool /*bool*/ bLobbyJoinable );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyOwner" )] internal static extern ulong /*class CSteamID*/ GetLobbyOwner( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyOwner" )] internal static extern bool /*bool*/ SetLobbyOwner( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, CSteamID /*class CSteamID*/ steamIDNewOwner );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLinkedLobby" )] internal static extern bool /*bool*/ SetLinkedLobby( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, CSteamID /*class CSteamID*/ steamIDLobbyDependent );
}
public static unsafe class ISteamMatchmakingServers
{
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestInternetServerList" )] internal static extern IntPtr /*HServerListRequest*/ RequestInternetServerList( IntPtr ISteamMatchmakingServers, AppId_t /*AppId_t*/ iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters , IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestLANServerList" )] internal static extern IntPtr /*HServerListRequest*/ RequestLANServerList( IntPtr ISteamMatchmakingServers, AppId_t /*AppId_t*/ iApp, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestFriendsServerList" )] internal static extern IntPtr /*HServerListRequest*/ RequestFriendsServerList( IntPtr ISteamMatchmakingServers, AppId_t /*AppId_t*/ iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters , IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestFavoritesServerList" )] internal static extern IntPtr /*HServerListRequest*/ RequestFavoritesServerList( IntPtr ISteamMatchmakingServers, AppId_t /*AppId_t*/ iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters , IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestHistoryServerList" )] internal static extern IntPtr /*HServerListRequest*/ RequestHistoryServerList( IntPtr ISteamMatchmakingServers, AppId_t /*AppId_t*/ iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters , IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestSpectatorServerList" )] internal static extern IntPtr /*HServerListRequest*/ RequestSpectatorServerList( IntPtr ISteamMatchmakingServers, AppId_t /*AppId_t*/ iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters , IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_ReleaseRequest" )] internal static extern void /*void*/ ReleaseRequest( IntPtr ISteamMatchmakingServers, HServerListRequest /*HServerListRequest*/ hServerListRequest );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_GetServerDetails" )] internal static extern IntPtr /*class gameserveritem_t **/ GetServerDetails( IntPtr ISteamMatchmakingServers, HServerListRequest /*HServerListRequest*/ hRequest, int /*int*/ iServer );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_CancelQuery" )] internal static extern void /*void*/ CancelQuery( IntPtr ISteamMatchmakingServers, HServerListRequest /*HServerListRequest*/ hRequest );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RefreshQuery" )] internal static extern void /*void*/ RefreshQuery( IntPtr ISteamMatchmakingServers, HServerListRequest /*HServerListRequest*/ hRequest );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_IsRefreshing" )] internal static extern bool /*bool*/ IsRefreshing( IntPtr ISteamMatchmakingServers, HServerListRequest /*HServerListRequest*/ hRequest );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_GetServerCount" )] internal static extern int /*int*/ GetServerCount( IntPtr ISteamMatchmakingServers, HServerListRequest /*HServerListRequest*/ hRequest );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RefreshServer" )] internal static extern void /*void*/ RefreshServer( IntPtr ISteamMatchmakingServers, HServerListRequest /*HServerListRequest*/ hRequest, int /*int*/ iServer );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_PingServer" )] internal static extern int /*HServerQuery*/ PingServer( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP , ushort /*uint16*/ usPort , IntPtr /*class ISteamMatchmakingPingResponse **/ pRequestServersResponse );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_PlayerDetails" )] internal static extern int /*HServerQuery*/ PlayerDetails( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP , ushort /*uint16*/ usPort , IntPtr /*class ISteamMatchmakingPlayersResponse **/ pRequestServersResponse );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_ServerRules" )] internal static extern int /*HServerQuery*/ ServerRules( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP , ushort /*uint16*/ usPort , IntPtr /*class ISteamMatchmakingRulesResponse **/ pRequestServersResponse );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_CancelServerQuery" )] internal static extern void /*void*/ CancelServerQuery( IntPtr ISteamMatchmakingServers, HServerQuery /*HServerQuery*/ hServerQuery );
}
public static unsafe class ISteamRemoteStorage
{
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWrite" )] internal static extern bool /*bool*/ FileWrite( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile , IntPtr /*const void **/ pvData , int /*int32*/ cubData );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileRead" )] internal static extern int /*int32*/ FileRead( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile , IntPtr /*void **/ pvData , int /*int32*/ cubDataToRead );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteAsync" )] internal static extern ulong /*SteamAPICall_t*/ FileWriteAsync( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile , IntPtr /*const void **/ pvData , uint /*uint32*/ cubData );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileReadAsync" )] internal static extern ulong /*SteamAPICall_t*/ FileReadAsync( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile , uint /*uint32*/ nOffset , uint /*uint32*/ cubToRead );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileReadAsyncComplete" )] internal static extern bool /*bool*/ FileReadAsyncComplete( IntPtr ISteamRemoteStorage, SteamAPICall_t /*SteamAPICall_t*/ hReadCall, IntPtr /*void **/ pvBuffer , uint /*uint32*/ cubToRead );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileForget" )] internal static extern bool /*bool*/ FileForget( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileDelete" )] internal static extern bool /*bool*/ FileDelete( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileShare" )] internal static extern ulong /*SteamAPICall_t*/ FileShare( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_SetSyncPlatforms" )] internal static extern bool /*bool*/ SetSyncPlatforms( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile , RemoteStoragePlatform /*ERemoteStoragePlatform*/ eRemoteStoragePlatform );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteStreamOpen" )] internal static extern ulong /*UGCFileWriteStreamHandle_t*/ FileWriteStreamOpen( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteStreamWriteChunk" )] internal static extern bool /*bool*/ FileWriteStreamWriteChunk( IntPtr ISteamRemoteStorage, UGCFileWriteStreamHandle_t /*UGCFileWriteStreamHandle_t*/ writeHandle, IntPtr /*const void **/ pvData , int /*int32*/ cubData );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteStreamClose" )] internal static extern bool /*bool*/ FileWriteStreamClose( IntPtr ISteamRemoteStorage, UGCFileWriteStreamHandle_t /*UGCFileWriteStreamHandle_t*/ writeHandle );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteStreamCancel" )] internal static extern bool /*bool*/ FileWriteStreamCancel( IntPtr ISteamRemoteStorage, UGCFileWriteStreamHandle_t /*UGCFileWriteStreamHandle_t*/ writeHandle );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileExists" )] internal static extern bool /*bool*/ FileExists( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FilePersisted" )] internal static extern bool /*bool*/ FilePersisted( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetFileSize" )] internal static extern int /*int32*/ GetFileSize( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetFileTimestamp" )] internal static extern long /*int64*/ GetFileTimestamp( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetSyncPlatforms" )] internal static extern RemoteStoragePlatform /*ERemoteStoragePlatform*/ GetSyncPlatforms( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetFileCount" )] internal static extern int /*int32*/ GetFileCount( IntPtr ISteamRemoteStorage );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetFileNameAndSize" )] internal static extern IntPtr GetFileNameAndSize( IntPtr ISteamRemoteStorage, int /*int*/ iFile , IntPtr /*int32 **/ pnFileSizeInBytes );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetQuota" )] internal static extern bool /*bool*/ GetQuota( IntPtr ISteamRemoteStorage, IntPtr /*int32 **/ pnTotalBytes, IntPtr /*int32 **/ puAvailableBytes );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_IsCloudEnabledForAccount" )] internal static extern bool /*bool*/ IsCloudEnabledForAccount( IntPtr ISteamRemoteStorage );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_IsCloudEnabledForApp" )] internal static extern bool /*bool*/ IsCloudEnabledForApp( IntPtr ISteamRemoteStorage );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_SetCloudEnabledForApp" )] internal static extern void /*void*/ SetCloudEnabledForApp( IntPtr ISteamRemoteStorage, bool /*bool*/ bEnabled );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UGCDownload" )] internal static extern ulong /*SteamAPICall_t*/ UGCDownload( IntPtr ISteamRemoteStorage, UGCHandle_t /*UGCHandle_t*/ hContent, uint /*uint32*/ unPriority );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetUGCDownloadProgress" )] internal static extern bool /*bool*/ GetUGCDownloadProgress( IntPtr ISteamRemoteStorage, UGCHandle_t /*UGCHandle_t*/ hContent, out int /*int32 **/ pnBytesDownloaded, out int /*int32 **/ pnBytesExpected );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetUGCDetails" )] internal static extern bool /*bool*/ GetUGCDetails( IntPtr ISteamRemoteStorage, UGCHandle_t /*UGCHandle_t*/ hContent, ref AppId_t /*AppId_t **/ pnAppID, char* /*char ***/ ppchName , IntPtr /*int32 **/ pnFileSizeInBytes, out CSteamID /*class CSteamID **/ pSteamIDOwner );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UGCRead" )] internal static extern int /*int32*/ UGCRead( IntPtr ISteamRemoteStorage, UGCHandle_t /*UGCHandle_t*/ hContent, IntPtr /*void **/ pvData , int /*int32*/ cubDataToRead , uint /*uint32*/ cOffset , UGCReadAction /*EUGCReadAction*/ eAction );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetCachedUGCCount" )] internal static extern int /*int32*/ GetCachedUGCCount( IntPtr ISteamRemoteStorage );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetCachedUGCHandle" )] internal static extern ulong /*UGCHandle_t*/ GetCachedUGCHandle( IntPtr ISteamRemoteStorage, int /*int32*/ iCachedContent );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_PublishWorkshopFile" )] internal static extern ulong /*SteamAPICall_t*/ PublishWorkshopFile( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile , string /*const char **/ pchPreviewFile , AppId_t /*AppId_t*/ nConsumerAppId, string /*const char **/ pchTitle , string /*const char **/ pchDescription , RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility , IntPtr /*struct SteamParamStringArray_t **/ pTags, WorkshopFileType /*EWorkshopFileType*/ eWorkshopFileType );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_CreatePublishedFileUpdateRequest" )] internal static extern ulong /*PublishedFileUpdateHandle_t*/ CreatePublishedFileUpdateRequest( IntPtr ISteamRemoteStorage, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileId );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileFile" )] internal static extern bool /*bool*/ UpdatePublishedFileFile( IntPtr ISteamRemoteStorage, PublishedFileUpdateHandle_t /*PublishedFileUpdateHandle_t*/ updateHandle, string /*const char **/ pchFile );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFilePreviewFile" )] internal static extern bool /*bool*/ UpdatePublishedFilePreviewFile( IntPtr ISteamRemoteStorage, PublishedFileUpdateHandle_t /*PublishedFileUpdateHandle_t*/ updateHandle, string /*const char **/ pchPreviewFile );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTitle" )] internal static extern bool /*bool*/ UpdatePublishedFileTitle( IntPtr ISteamRemoteStorage, PublishedFileUpdateHandle_t /*PublishedFileUpdateHandle_t*/ updateHandle, string /*const char **/ pchTitle );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileDescription" )] internal static extern bool /*bool*/ UpdatePublishedFileDescription( IntPtr ISteamRemoteStorage, PublishedFileUpdateHandle_t /*PublishedFileUpdateHandle_t*/ updateHandle, string /*const char **/ pchDescription );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileVisibility" )] internal static extern bool /*bool*/ UpdatePublishedFileVisibility( IntPtr ISteamRemoteStorage, PublishedFileUpdateHandle_t /*PublishedFileUpdateHandle_t*/ updateHandle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTags" )] internal static extern bool /*bool*/ UpdatePublishedFileTags( IntPtr ISteamRemoteStorage, PublishedFileUpdateHandle_t /*PublishedFileUpdateHandle_t*/ updateHandle, IntPtr /*struct SteamParamStringArray_t **/ pTags );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_CommitPublishedFileUpdate" )] internal static extern ulong /*SteamAPICall_t*/ CommitPublishedFileUpdate( IntPtr ISteamRemoteStorage, PublishedFileUpdateHandle_t /*PublishedFileUpdateHandle_t*/ updateHandle );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetPublishedFileDetails" )] internal static extern ulong /*SteamAPICall_t*/ GetPublishedFileDetails( IntPtr ISteamRemoteStorage, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileId, uint /*uint32*/ unMaxSecondsOld );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_DeletePublishedFile" )] internal static extern ulong /*SteamAPICall_t*/ DeletePublishedFile( IntPtr ISteamRemoteStorage, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileId );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumerateUserPublishedFiles" )] internal static extern ulong /*SteamAPICall_t*/ EnumerateUserPublishedFiles( IntPtr ISteamRemoteStorage, uint /*uint32*/ unStartIndex );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_SubscribePublishedFile" )] internal static extern ulong /*SteamAPICall_t*/ SubscribePublishedFile( IntPtr ISteamRemoteStorage, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileId );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumerateUserSubscribedFiles" )] internal static extern ulong /*SteamAPICall_t*/ EnumerateUserSubscribedFiles( IntPtr ISteamRemoteStorage, uint /*uint32*/ unStartIndex );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UnsubscribePublishedFile" )] internal static extern ulong /*SteamAPICall_t*/ UnsubscribePublishedFile( IntPtr ISteamRemoteStorage, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileId );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileSetChangeDescription" )] internal static extern bool /*bool*/ UpdatePublishedFileSetChangeDescription( IntPtr ISteamRemoteStorage, PublishedFileUpdateHandle_t /*PublishedFileUpdateHandle_t*/ updateHandle, string /*const char **/ pchChangeDescription );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetPublishedItemVoteDetails" )] internal static extern ulong /*SteamAPICall_t*/ GetPublishedItemVoteDetails( IntPtr ISteamRemoteStorage, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileId );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdateUserPublishedItemVote" )] internal static extern ulong /*SteamAPICall_t*/ UpdateUserPublishedItemVote( IntPtr ISteamRemoteStorage, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileId, bool /*bool*/ bVoteUp );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetUserPublishedItemVoteDetails" )] internal static extern ulong /*SteamAPICall_t*/ GetUserPublishedItemVoteDetails( IntPtr ISteamRemoteStorage, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileId );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumerateUserSharedWorkshopFiles" )] internal static extern ulong /*SteamAPICall_t*/ EnumerateUserSharedWorkshopFiles( IntPtr ISteamRemoteStorage, CSteamID /*class CSteamID*/ steamId, uint /*uint32*/ unStartIndex , IntPtr /*struct SteamParamStringArray_t **/ pRequiredTags, IntPtr /*struct SteamParamStringArray_t **/ pExcludedTags );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_PublishVideo" )] internal static extern ulong /*SteamAPICall_t*/ PublishVideo( IntPtr ISteamRemoteStorage, WorkshopVideoProvider /*EWorkshopVideoProvider*/ eVideoProvider , string /*const char **/ pchVideoAccount , string /*const char **/ pchVideoIdentifier , string /*const char **/ pchPreviewFile , AppId_t /*AppId_t*/ nConsumerAppId, string /*const char **/ pchTitle , string /*const char **/ pchDescription , RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility , IntPtr /*struct SteamParamStringArray_t **/ pTags );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_SetUserPublishedFileAction" )] internal static extern ulong /*SteamAPICall_t*/ SetUserPublishedFileAction( IntPtr ISteamRemoteStorage, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileId, WorkshopFileAction /*EWorkshopFileAction*/ eAction );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumeratePublishedFilesByUserAction" )] internal static extern ulong /*SteamAPICall_t*/ EnumeratePublishedFilesByUserAction( IntPtr ISteamRemoteStorage, WorkshopFileAction /*EWorkshopFileAction*/ eAction , uint /*uint32*/ unStartIndex );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumeratePublishedWorkshopFiles" )] internal static extern ulong /*SteamAPICall_t*/ EnumeratePublishedWorkshopFiles( IntPtr ISteamRemoteStorage, WorkshopEnumerationType /*EWorkshopEnumerationType*/ eEnumerationType , uint /*uint32*/ unStartIndex , uint /*uint32*/ unCount , uint /*uint32*/ unDays , IntPtr /*struct SteamParamStringArray_t **/ pTags, IntPtr /*struct SteamParamStringArray_t **/ pUserTags );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UGCDownloadToLocation" )] internal static extern ulong /*SteamAPICall_t*/ UGCDownloadToLocation( IntPtr ISteamRemoteStorage, UGCHandle_t /*UGCHandle_t*/ hContent, string /*const char **/ pchLocation , uint /*uint32*/ unPriority );
}
public static unsafe class ISteamUserStats
{
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_RequestCurrentStats" )] internal static extern bool /*bool*/ RequestCurrentStats( IntPtr ISteamUserStats );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetStat" )] internal static extern bool /*bool*/ GetStat( IntPtr ISteamUserStats, string /*const char **/ pchName , out int /*int32 **/ pData );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetStat0" )] internal static extern bool /*bool*/ GetStat0( IntPtr ISteamUserStats, string /*const char **/ pchName , out float /*float **/ pData );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_SetStat" )] internal static extern bool /*bool*/ SetStat( IntPtr ISteamUserStats, string /*const char **/ pchName , int /*int32*/ nData );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_SetStat0" )] internal static extern bool /*bool*/ SetStat0( IntPtr ISteamUserStats, string /*const char **/ pchName , float /*float*/ fData );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_UpdateAvgRateStat" )] internal static extern bool /*bool*/ UpdateAvgRateStat( IntPtr ISteamUserStats, string /*const char **/ pchName , float /*float*/ flCountThisSession , double /*double*/ dSessionLength );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievement" )] internal static extern bool /*bool*/ GetAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName , out bool /*bool **/ pbAchieved );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_SetAchievement" )] internal static extern bool /*bool*/ SetAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_ClearAchievement" )] internal static extern bool /*bool*/ ClearAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementAndUnlockTime" )] internal static extern bool /*bool*/ GetAchievementAndUnlockTime( IntPtr ISteamUserStats, string /*const char **/ pchName , out bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_StoreStats" )] internal static extern bool /*bool*/ StoreStats( IntPtr ISteamUserStats );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementIcon" )] internal static extern int /*int*/ GetAchievementIcon( IntPtr ISteamUserStats, string /*const char **/ pchName );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementDisplayAttribute" )] internal static extern IntPtr GetAchievementDisplayAttribute( IntPtr ISteamUserStats, string /*const char **/ pchName , string /*const char **/ pchKey );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_IndicateAchievementProgress" )] internal static extern bool /*bool*/ IndicateAchievementProgress( IntPtr ISteamUserStats, string /*const char **/ pchName , uint /*uint32*/ nCurProgress , uint /*uint32*/ nMaxProgress );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetNumAchievements" )] internal static extern uint /*uint32*/ GetNumAchievements( IntPtr ISteamUserStats );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementName" )] internal static extern IntPtr GetAchievementName( IntPtr ISteamUserStats, uint /*uint32*/ iAchievement );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_RequestUserStats" )] internal static extern ulong /*SteamAPICall_t*/ RequestUserStats( IntPtr ISteamUserStats, CSteamID /*class CSteamID*/ steamIDUser );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetUserStat" )] internal static extern bool /*bool*/ GetUserStat( IntPtr ISteamUserStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , out int /*int32 **/ pData );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetUserStat0" )] internal static extern bool /*bool*/ GetUserStat0( IntPtr ISteamUserStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , out float /*float **/ pData );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetUserAchievement" )] internal static extern bool /*bool*/ GetUserAchievement( IntPtr ISteamUserStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , out bool /*bool **/ pbAchieved );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetUserAchievementAndUnlockTime" )] internal static extern bool /*bool*/ GetUserAchievementAndUnlockTime( IntPtr ISteamUserStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , out bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_ResetAllStats" )] internal static extern bool /*bool*/ ResetAllStats( IntPtr ISteamUserStats, bool /*bool*/ bAchievementsToo );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_FindOrCreateLeaderboard" )] internal static extern ulong /*SteamAPICall_t*/ FindOrCreateLeaderboard( IntPtr ISteamUserStats, string /*const char **/ pchLeaderboardName , LeaderboardSortMethod /*ELeaderboardSortMethod*/ eLeaderboardSortMethod , LeaderboardDisplayType /*ELeaderboardDisplayType*/ eLeaderboardDisplayType );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_FindLeaderboard" )] internal static extern ulong /*SteamAPICall_t*/ FindLeaderboard( IntPtr ISteamUserStats, string /*const char **/ pchLeaderboardName );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetLeaderboardName" )] internal static extern IntPtr GetLeaderboardName( IntPtr ISteamUserStats, SteamLeaderboard_t /*SteamLeaderboard_t*/ hSteamLeaderboard );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetLeaderboardEntryCount" )] internal static extern int /*int*/ GetLeaderboardEntryCount( IntPtr ISteamUserStats, SteamLeaderboard_t /*SteamLeaderboard_t*/ hSteamLeaderboard );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetLeaderboardSortMethod" )] internal static extern LeaderboardSortMethod /*ELeaderboardSortMethod*/ GetLeaderboardSortMethod( IntPtr ISteamUserStats, SteamLeaderboard_t /*SteamLeaderboard_t*/ hSteamLeaderboard );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetLeaderboardDisplayType" )] internal static extern LeaderboardDisplayType /*ELeaderboardDisplayType*/ GetLeaderboardDisplayType( IntPtr ISteamUserStats, SteamLeaderboard_t /*SteamLeaderboard_t*/ hSteamLeaderboard );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_DownloadLeaderboardEntries" )] internal static extern ulong /*SteamAPICall_t*/ DownloadLeaderboardEntries( IntPtr ISteamUserStats, SteamLeaderboard_t /*SteamLeaderboard_t*/ hSteamLeaderboard, LeaderboardDataRequest /*ELeaderboardDataRequest*/ eLeaderboardDataRequest , int /*int*/ nRangeStart , int /*int*/ nRangeEnd );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_DownloadLeaderboardEntriesForUsers" )] internal static extern ulong /*SteamAPICall_t*/ DownloadLeaderboardEntriesForUsers( IntPtr ISteamUserStats, SteamLeaderboard_t /*SteamLeaderboard_t*/ hSteamLeaderboard, IntPtr /*class CSteamID **/ prgUsers, int /*int*/ cUsers );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetDownloadedLeaderboardEntry" )] internal static extern bool /*bool*/ GetDownloadedLeaderboardEntry( IntPtr ISteamUserStats, SteamLeaderboardEntries_t /*SteamLeaderboardEntries_t*/ hSteamLeaderboardEntries, int /*int*/ index , ref LeaderboardEntry_t /*struct LeaderboardEntry_t **/ pLeaderboardEntry, IntPtr /*int32 **/ pDetails, int /*int*/ cDetailsMax );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_UploadLeaderboardScore" )] internal static extern ulong /*SteamAPICall_t*/ UploadLeaderboardScore( IntPtr ISteamUserStats, SteamLeaderboard_t /*SteamLeaderboard_t*/ hSteamLeaderboard, LeaderboardUploadScoreMethod /*ELeaderboardUploadScoreMethod*/ eLeaderboardUploadScoreMethod , int /*int32*/ nScore , IntPtr /*const int32 **/ pScoreDetails, int /*int*/ cScoreDetailsCount );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_AttachLeaderboardUGC" )] internal static extern ulong /*SteamAPICall_t*/ AttachLeaderboardUGC( IntPtr ISteamUserStats, SteamLeaderboard_t /*SteamLeaderboard_t*/ hSteamLeaderboard, UGCHandle_t /*UGCHandle_t*/ hUGC );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetNumberOfCurrentPlayers" )] internal static extern ulong /*SteamAPICall_t*/ GetNumberOfCurrentPlayers( IntPtr ISteamUserStats );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_RequestGlobalAchievementPercentages" )] internal static extern ulong /*SteamAPICall_t*/ RequestGlobalAchievementPercentages( IntPtr ISteamUserStats );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetMostAchievedAchievementInfo" )] internal static extern int /*int*/ GetMostAchievedAchievementInfo( IntPtr ISteamUserStats, char* /*char **/ pchName , uint /*uint32*/ unNameBufLen , out float /*float **/ pflPercent, out bool /*bool **/ pbAchieved );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetNextMostAchievedAchievementInfo" )] internal static extern int /*int*/ GetNextMostAchievedAchievementInfo( IntPtr ISteamUserStats, int /*int*/ iIteratorPrevious , char* /*char **/ pchName , uint /*uint32*/ unNameBufLen , out float /*float **/ pflPercent, out bool /*bool **/ pbAchieved );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementAchievedPercent" )] internal static extern bool /*bool*/ GetAchievementAchievedPercent( IntPtr ISteamUserStats, string /*const char **/ pchName , out float /*float **/ pflPercent );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_RequestGlobalStats" )] internal static extern ulong /*SteamAPICall_t*/ RequestGlobalStats( IntPtr ISteamUserStats, int /*int*/ nHistoryDays );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetGlobalStat" )] internal static extern bool /*bool*/ GetGlobalStat( IntPtr ISteamUserStats, string /*const char **/ pchStatName , out long /*int64 **/ pData );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetGlobalStat0" )] internal static extern bool /*bool*/ GetGlobalStat0( IntPtr ISteamUserStats, string /*const char **/ pchStatName , out double /*double **/ pData );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetGlobalStatHistory" )] internal static extern int /*int32*/ GetGlobalStatHistory( IntPtr ISteamUserStats, string /*const char **/ pchStatName , out long /*int64 **/ pData, uint /*uint32*/ cubData );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetGlobalStatHistory0" )] internal static extern int /*int32*/ GetGlobalStatHistory0( IntPtr ISteamUserStats, string /*const char **/ pchStatName , out double /*double **/ pData, uint /*uint32*/ cubData );
}
public static unsafe class ISteamApps
{
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_BIsSubscribed" )] internal static extern bool /*bool*/ BIsSubscribed( IntPtr ISteamApps );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_BIsLowViolence" )] internal static extern bool /*bool*/ BIsLowViolence( IntPtr ISteamApps );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_BIsCybercafe" )] internal static extern bool /*bool*/ BIsCybercafe( IntPtr ISteamApps );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_BIsVACBanned" )] internal static extern bool /*bool*/ BIsVACBanned( IntPtr ISteamApps );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_GetCurrentGameLanguage" )] internal static extern IntPtr GetCurrentGameLanguage( IntPtr ISteamApps );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_GetAvailableGameLanguages" )] internal static extern IntPtr GetAvailableGameLanguages( IntPtr ISteamApps );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_BIsSubscribedApp" )] internal static extern bool /*bool*/ BIsSubscribedApp( IntPtr ISteamApps, AppId_t /*AppId_t*/ appID );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_BIsDlcInstalled" )] internal static extern bool /*bool*/ BIsDlcInstalled( IntPtr ISteamApps, AppId_t /*AppId_t*/ appID );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_GetEarliestPurchaseUnixTime" )] internal static extern uint /*uint32*/ GetEarliestPurchaseUnixTime( IntPtr ISteamApps, AppId_t /*AppId_t*/ nAppID );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_BIsSubscribedFromFreeWeekend" )] internal static extern bool /*bool*/ BIsSubscribedFromFreeWeekend( IntPtr ISteamApps );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_GetDLCCount" )] internal static extern int /*int*/ GetDLCCount( IntPtr ISteamApps );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_BGetDLCDataByIndex" )] internal static extern bool /*bool*/ BGetDLCDataByIndex( IntPtr ISteamApps, int /*int*/ iDLC , ref AppId_t /*AppId_t **/ pAppID, out bool /*bool **/ pbAvailable, char* /*char **/ pchName , int /*int*/ cchNameBufferSize );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_InstallDLC" )] internal static extern void /*void*/ InstallDLC( IntPtr ISteamApps, AppId_t /*AppId_t*/ nAppID );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_UninstallDLC" )] internal static extern void /*void*/ UninstallDLC( IntPtr ISteamApps, AppId_t /*AppId_t*/ nAppID );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_RequestAppProofOfPurchaseKey" )] internal static extern void /*void*/ RequestAppProofOfPurchaseKey( IntPtr ISteamApps, AppId_t /*AppId_t*/ nAppID );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_GetCurrentBetaName" )] internal static extern bool /*bool*/ GetCurrentBetaName( IntPtr ISteamApps, char* /*char **/ pchName , int /*int*/ cchNameBufferSize );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_MarkContentCorrupt" )] internal static extern bool /*bool*/ MarkContentCorrupt( IntPtr ISteamApps, bool /*bool*/ bMissingFilesOnly );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_GetInstalledDepots" )] internal static extern uint /*uint32*/ GetInstalledDepots( IntPtr ISteamApps, AppId_t /*AppId_t*/ appID, IntPtr /*DepotId_t **/ pvecDepots, uint /*uint32*/ cMaxDepots );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_GetAppInstallDir" )] internal static extern uint /*uint32*/ GetAppInstallDir( IntPtr ISteamApps, AppId_t /*AppId_t*/ appID, char* /*char **/ pchFolder , uint /*uint32*/ cchFolderBufferSize );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_BIsAppInstalled" )] internal static extern bool /*bool*/ BIsAppInstalled( IntPtr ISteamApps, AppId_t /*AppId_t*/ appID );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_GetAppOwner" )] internal static extern ulong /*class CSteamID*/ GetAppOwner( IntPtr ISteamApps );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_GetLaunchQueryParam" )] internal static extern IntPtr GetLaunchQueryParam( IntPtr ISteamApps, string /*const char **/ pchKey );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_GetDlcDownloadProgress" )] internal static extern bool /*bool*/ GetDlcDownloadProgress( IntPtr ISteamApps, AppId_t /*AppId_t*/ nAppID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_GetAppBuildId" )] internal static extern int /*int*/ GetAppBuildId( IntPtr ISteamApps );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamApps_RequestAllProofOfPurchaseKeys" )] internal static extern void /*void*/ RequestAllProofOfPurchaseKeys( IntPtr ISteamApps );
}
public static unsafe class ISteamNetworking
{
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_SendP2PPacket" )] internal static extern bool /*bool*/ SendP2PPacket( IntPtr ISteamNetworking, CSteamID /*class CSteamID*/ steamIDRemote, IntPtr /*const void **/ pubData , uint /*uint32*/ cubData , P2PSend /*EP2PSend*/ eP2PSendType , int /*int*/ nChannel );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_IsP2PPacketAvailable" )] internal static extern bool /*bool*/ IsP2PPacketAvailable( IntPtr ISteamNetworking, out uint /*uint32 **/ pcubMsgSize, int /*int*/ nChannel );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_ReadP2PPacket" )] internal static extern bool /*bool*/ ReadP2PPacket( IntPtr ISteamNetworking, IntPtr /*void **/ pubDest , uint /*uint32*/ cubDest , out uint /*uint32 **/ pcubMsgSize, out CSteamID /*class CSteamID **/ psteamIDRemote, int /*int*/ nChannel );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_AcceptP2PSessionWithUser" )] internal static extern bool /*bool*/ AcceptP2PSessionWithUser( IntPtr ISteamNetworking, CSteamID /*class CSteamID*/ steamIDRemote );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_CloseP2PSessionWithUser" )] internal static extern bool /*bool*/ CloseP2PSessionWithUser( IntPtr ISteamNetworking, CSteamID /*class CSteamID*/ steamIDRemote );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_CloseP2PChannelWithUser" )] internal static extern bool /*bool*/ CloseP2PChannelWithUser( IntPtr ISteamNetworking, CSteamID /*class CSteamID*/ steamIDRemote, int /*int*/ nChannel );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_GetP2PSessionState" )] internal static extern bool /*bool*/ GetP2PSessionState( IntPtr ISteamNetworking, CSteamID /*class CSteamID*/ steamIDRemote, ref P2PSessionState_t /*struct P2PSessionState_t **/ pConnectionState );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_AllowP2PPacketRelay" )] internal static extern bool /*bool*/ AllowP2PPacketRelay( IntPtr ISteamNetworking, bool /*bool*/ bAllow );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_CreateListenSocket" )] internal static extern uint /*SNetListenSocket_t*/ CreateListenSocket( IntPtr ISteamNetworking, int /*int*/ nVirtualP2PPort , uint /*uint32*/ nIP , ushort /*uint16*/ nPort , bool /*bool*/ bAllowUseOfPacketRelay );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_CreateP2PConnectionSocket" )] internal static extern uint /*SNetSocket_t*/ CreateP2PConnectionSocket( IntPtr ISteamNetworking, CSteamID /*class CSteamID*/ steamIDTarget, int /*int*/ nVirtualPort , int /*int*/ nTimeoutSec , bool /*bool*/ bAllowUseOfPacketRelay );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_CreateConnectionSocket" )] internal static extern uint /*SNetSocket_t*/ CreateConnectionSocket( IntPtr ISteamNetworking, uint /*uint32*/ nIP , ushort /*uint16*/ nPort , int /*int*/ nTimeoutSec );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_DestroySocket" )] internal static extern bool /*bool*/ DestroySocket( IntPtr ISteamNetworking, SNetSocket_t /*SNetSocket_t*/ hSocket, bool /*bool*/ bNotifyRemoteEnd );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_DestroyListenSocket" )] internal static extern bool /*bool*/ DestroyListenSocket( IntPtr ISteamNetworking, SNetListenSocket_t /*SNetListenSocket_t*/ hSocket, bool /*bool*/ bNotifyRemoteEnd );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_SendDataOnSocket" )] internal static extern bool /*bool*/ SendDataOnSocket( IntPtr ISteamNetworking, SNetSocket_t /*SNetSocket_t*/ hSocket, IntPtr /*void **/ pubData , uint /*uint32*/ cubData , bool /*bool*/ bReliable );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_IsDataAvailableOnSocket" )] internal static extern bool /*bool*/ IsDataAvailableOnSocket( IntPtr ISteamNetworking, SNetSocket_t /*SNetSocket_t*/ hSocket, out uint /*uint32 **/ pcubMsgSize );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_RetrieveDataFromSocket" )] internal static extern bool /*bool*/ RetrieveDataFromSocket( IntPtr ISteamNetworking, SNetSocket_t /*SNetSocket_t*/ hSocket, IntPtr /*void **/ pubDest , uint /*uint32*/ cubDest , out uint /*uint32 **/ pcubMsgSize );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_IsDataAvailable" )] internal static extern bool /*bool*/ IsDataAvailable( IntPtr ISteamNetworking, SNetListenSocket_t /*SNetListenSocket_t*/ hListenSocket, out uint /*uint32 **/ pcubMsgSize, ref SNetSocket_t /*SNetSocket_t **/ phSocket );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_RetrieveData" )] internal static extern bool /*bool*/ RetrieveData( IntPtr ISteamNetworking, SNetListenSocket_t /*SNetListenSocket_t*/ hListenSocket, IntPtr /*void **/ pubDest , uint /*uint32*/ cubDest , out uint /*uint32 **/ pcubMsgSize, ref SNetSocket_t /*SNetSocket_t **/ phSocket );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_GetSocketInfo" )] internal static extern bool /*bool*/ GetSocketInfo( IntPtr ISteamNetworking, SNetSocket_t /*SNetSocket_t*/ hSocket, out CSteamID /*class CSteamID **/ pSteamIDRemote, IntPtr /*int **/ peSocketStatus, out uint /*uint32 **/ punIPRemote, out ushort /*uint16 **/ punPortRemote );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_GetListenSocketInfo" )] internal static extern bool /*bool*/ GetListenSocketInfo( IntPtr ISteamNetworking, SNetListenSocket_t /*SNetListenSocket_t*/ hListenSocket, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnPort );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_GetSocketConnectionType" )] internal static extern SNetSocketConnectionType /*ESNetSocketConnectionType*/ GetSocketConnectionType( IntPtr ISteamNetworking, SNetSocket_t /*SNetSocket_t*/ hSocket );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamNetworking_GetMaxPacketSize" )] internal static extern int /*int*/ GetMaxPacketSize( IntPtr ISteamNetworking, SNetSocket_t /*SNetSocket_t*/ hSocket );
}
public static unsafe class ISteamScreenshots
{
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamScreenshots_WriteScreenshot" )] internal static extern uint /*ScreenshotHandle*/ WriteScreenshot( IntPtr ISteamScreenshots, IntPtr /*void **/ pubRGB , uint /*uint32*/ cubRGB , int /*int*/ nWidth , int /*int*/ nHeight );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamScreenshots_AddScreenshotToLibrary" )] internal static extern uint /*ScreenshotHandle*/ AddScreenshotToLibrary( IntPtr ISteamScreenshots, string /*const char **/ pchFilename , string /*const char **/ pchThumbnailFilename , int /*int*/ nWidth , int /*int*/ nHeight );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamScreenshots_TriggerScreenshot" )] internal static extern void /*void*/ TriggerScreenshot( IntPtr ISteamScreenshots );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamScreenshots_HookScreenshots" )] internal static extern void /*void*/ HookScreenshots( IntPtr ISteamScreenshots, bool /*bool*/ bHook );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamScreenshots_SetLocation" )] internal static extern bool /*bool*/ SetLocation( IntPtr ISteamScreenshots, ScreenshotHandle /*ScreenshotHandle*/ hScreenshot, string /*const char **/ pchLocation );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamScreenshots_TagUser" )] internal static extern bool /*bool*/ TagUser( IntPtr ISteamScreenshots, ScreenshotHandle /*ScreenshotHandle*/ hScreenshot, CSteamID /*class CSteamID*/ steamID );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamScreenshots_TagPublishedFile" )] internal static extern bool /*bool*/ TagPublishedFile( IntPtr ISteamScreenshots, ScreenshotHandle /*ScreenshotHandle*/ hScreenshot, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileID );
}
public static unsafe class ISteamMusic
{
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusic_BIsEnabled" )] internal static extern bool /*bool*/ BIsEnabled( IntPtr ISteamMusic );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusic_BIsPlaying" )] internal static extern bool /*bool*/ BIsPlaying( IntPtr ISteamMusic );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusic_GetPlaybackStatus" )] internal static extern AudioPlayback_Status /*AudioPlayback_Status*/ GetPlaybackStatus( IntPtr ISteamMusic );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusic_Play" )] internal static extern void /*void*/ Play( IntPtr ISteamMusic );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusic_Pause" )] internal static extern void /*void*/ Pause( IntPtr ISteamMusic );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusic_PlayPrevious" )] internal static extern void /*void*/ PlayPrevious( IntPtr ISteamMusic );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusic_PlayNext" )] internal static extern void /*void*/ PlayNext( IntPtr ISteamMusic );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusic_SetVolume" )] internal static extern void /*void*/ SetVolume( IntPtr ISteamMusic, float /*float*/ flVolume );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusic_GetVolume" )] internal static extern float /*float*/ GetVolume( IntPtr ISteamMusic );
}
public static unsafe class ISteamMusicRemote
{
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_RegisterSteamMusicRemote" )] internal static extern bool /*bool*/ RegisterSteamMusicRemote( IntPtr ISteamMusicRemote, string /*const char **/ pchName );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_DeregisterSteamMusicRemote" )] internal static extern bool /*bool*/ DeregisterSteamMusicRemote( IntPtr ISteamMusicRemote );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_BIsCurrentMusicRemote" )] internal static extern bool /*bool*/ BIsCurrentMusicRemote( IntPtr ISteamMusicRemote );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_BActivationSuccess" )] internal static extern bool /*bool*/ BActivationSuccess( IntPtr ISteamMusicRemote, bool /*bool*/ bValue );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_SetDisplayName" )] internal static extern bool /*bool*/ SetDisplayName( IntPtr ISteamMusicRemote, string /*const char **/ pchDisplayName );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_SetPNGIcon_64x64" )] internal static extern bool /*bool*/ SetPNGIcon_64x64( IntPtr ISteamMusicRemote, IntPtr /*void **/ pvBuffer , uint /*uint32*/ cbBufferLength );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_EnablePlayPrevious" )] internal static extern bool /*bool*/ EnablePlayPrevious( IntPtr ISteamMusicRemote, bool /*bool*/ bValue );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_EnablePlayNext" )] internal static extern bool /*bool*/ EnablePlayNext( IntPtr ISteamMusicRemote, bool /*bool*/ bValue );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_EnableShuffled" )] internal static extern bool /*bool*/ EnableShuffled( IntPtr ISteamMusicRemote, bool /*bool*/ bValue );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_EnableLooped" )] internal static extern bool /*bool*/ EnableLooped( IntPtr ISteamMusicRemote, bool /*bool*/ bValue );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_EnableQueue" )] internal static extern bool /*bool*/ EnableQueue( IntPtr ISteamMusicRemote, bool /*bool*/ bValue );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_EnablePlaylists" )] internal static extern bool /*bool*/ EnablePlaylists( IntPtr ISteamMusicRemote, bool /*bool*/ bValue );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdatePlaybackStatus" )] internal static extern bool /*bool*/ UpdatePlaybackStatus( IntPtr ISteamMusicRemote, AudioPlayback_Status /*AudioPlayback_Status*/ nStatus );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateShuffled" )] internal static extern bool /*bool*/ UpdateShuffled( IntPtr ISteamMusicRemote, bool /*bool*/ bValue );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateLooped" )] internal static extern bool /*bool*/ UpdateLooped( IntPtr ISteamMusicRemote, bool /*bool*/ bValue );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateVolume" )] internal static extern bool /*bool*/ UpdateVolume( IntPtr ISteamMusicRemote, float /*float*/ flValue );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_CurrentEntryWillChange" )] internal static extern bool /*bool*/ CurrentEntryWillChange( IntPtr ISteamMusicRemote );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_CurrentEntryIsAvailable" )] internal static extern bool /*bool*/ CurrentEntryIsAvailable( IntPtr ISteamMusicRemote, bool /*bool*/ bAvailable );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateCurrentEntryText" )] internal static extern bool /*bool*/ UpdateCurrentEntryText( IntPtr ISteamMusicRemote, string /*const char **/ pchText );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateCurrentEntryElapsedSeconds" )] internal static extern bool /*bool*/ UpdateCurrentEntryElapsedSeconds( IntPtr ISteamMusicRemote, int /*int*/ nValue );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateCurrentEntryCoverArt" )] internal static extern bool /*bool*/ UpdateCurrentEntryCoverArt( IntPtr ISteamMusicRemote, IntPtr /*void **/ pvBuffer , uint /*uint32*/ cbBufferLength );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_CurrentEntryDidChange" )] internal static extern bool /*bool*/ CurrentEntryDidChange( IntPtr ISteamMusicRemote );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_QueueWillChange" )] internal static extern bool /*bool*/ QueueWillChange( IntPtr ISteamMusicRemote );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_ResetQueueEntries" )] internal static extern bool /*bool*/ ResetQueueEntries( IntPtr ISteamMusicRemote );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_SetQueueEntry" )] internal static extern bool /*bool*/ SetQueueEntry( IntPtr ISteamMusicRemote, int /*int*/ nID , int /*int*/ nPosition , string /*const char **/ pchEntryText );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_SetCurrentQueueEntry" )] internal static extern bool /*bool*/ SetCurrentQueueEntry( IntPtr ISteamMusicRemote, int /*int*/ nID );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_QueueDidChange" )] internal static extern bool /*bool*/ QueueDidChange( IntPtr ISteamMusicRemote );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_PlaylistWillChange" )] internal static extern bool /*bool*/ PlaylistWillChange( IntPtr ISteamMusicRemote );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_ResetPlaylistEntries" )] internal static extern bool /*bool*/ ResetPlaylistEntries( IntPtr ISteamMusicRemote );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_SetPlaylistEntry" )] internal static extern bool /*bool*/ SetPlaylistEntry( IntPtr ISteamMusicRemote, int /*int*/ nID , int /*int*/ nPosition , string /*const char **/ pchEntryText );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_SetCurrentPlaylistEntry" )] internal static extern bool /*bool*/ SetCurrentPlaylistEntry( IntPtr ISteamMusicRemote, int /*int*/ nID );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_PlaylistDidChange" )] internal static extern bool /*bool*/ PlaylistDidChange( IntPtr ISteamMusicRemote );
}
public static unsafe class ISteamHTTP
{
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_CreateHTTPRequest" )] internal static extern uint /*HTTPRequestHandle*/ CreateHTTPRequest( IntPtr ISteamHTTP, HTTPMethod /*EHTTPMethod*/ eHTTPRequestMethod , string /*const char **/ pchAbsoluteURL );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestContextValue" )] internal static extern bool /*bool*/ SetHTTPRequestContextValue( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, ulong /*uint64*/ ulContextValue );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestNetworkActivityTimeout" )] internal static extern bool /*bool*/ SetHTTPRequestNetworkActivityTimeout( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, uint /*uint32*/ unTimeoutSeconds );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestHeaderValue" )] internal static extern bool /*bool*/ SetHTTPRequestHeaderValue( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, string /*const char **/ pchHeaderName , string /*const char **/ pchHeaderValue );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestGetOrPostParameter" )] internal static extern bool /*bool*/ SetHTTPRequestGetOrPostParameter( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, string /*const char **/ pchParamName , string /*const char **/ pchParamValue );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_SendHTTPRequest" )] internal static extern bool /*bool*/ SendHTTPRequest( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, ref SteamAPICall_t /*SteamAPICall_t **/ pCallHandle );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_SendHTTPRequestAndStreamResponse" )] internal static extern bool /*bool*/ SendHTTPRequestAndStreamResponse( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, ref SteamAPICall_t /*SteamAPICall_t **/ pCallHandle );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_DeferHTTPRequest" )] internal static extern bool /*bool*/ DeferHTTPRequest( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_PrioritizeHTTPRequest" )] internal static extern bool /*bool*/ PrioritizeHTTPRequest( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPResponseHeaderSize" )] internal static extern bool /*bool*/ GetHTTPResponseHeaderSize( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, string /*const char **/ pchHeaderName , out uint /*uint32 **/ unResponseHeaderSize );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPResponseHeaderValue" )] internal static extern bool /*bool*/ GetHTTPResponseHeaderValue( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, string /*const char **/ pchHeaderName , out byte /*uint8 **/ pHeaderValueBuffer, uint /*uint32*/ unBufferSize );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPResponseBodySize" )] internal static extern bool /*bool*/ GetHTTPResponseBodySize( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, out uint /*uint32 **/ unBodySize );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPResponseBodyData" )] internal static extern bool /*bool*/ GetHTTPResponseBodyData( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPStreamingResponseBodyData" )] internal static extern bool /*bool*/ GetHTTPStreamingResponseBodyData( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, uint /*uint32*/ cOffset , out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_ReleaseHTTPRequest" )] internal static extern bool /*bool*/ ReleaseHTTPRequest( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPDownloadProgressPct" )] internal static extern bool /*bool*/ GetHTTPDownloadProgressPct( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, out float /*float **/ pflPercentOut );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestRawPostBody" )] internal static extern bool /*bool*/ SetHTTPRequestRawPostBody( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, string /*const char **/ pchContentType , out byte /*uint8 **/ pubBody, uint /*uint32*/ unBodyLen );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_CreateCookieContainer" )] internal static extern uint /*HTTPCookieContainerHandle*/ CreateCookieContainer( IntPtr ISteamHTTP, bool /*bool*/ bAllowResponsesToModify );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_ReleaseCookieContainer" )] internal static extern bool /*bool*/ ReleaseCookieContainer( IntPtr ISteamHTTP, HTTPCookieContainerHandle /*HTTPCookieContainerHandle*/ hCookieContainer );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetCookie" )] internal static extern bool /*bool*/ SetCookie( IntPtr ISteamHTTP, HTTPCookieContainerHandle /*HTTPCookieContainerHandle*/ hCookieContainer, string /*const char **/ pchHost , string /*const char **/ pchUrl , string /*const char **/ pchCookie );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestCookieContainer" )] internal static extern bool /*bool*/ SetHTTPRequestCookieContainer( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, HTTPCookieContainerHandle /*HTTPCookieContainerHandle*/ hCookieContainer );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestUserAgentInfo" )] internal static extern bool /*bool*/ SetHTTPRequestUserAgentInfo( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, string /*const char **/ pchUserAgentInfo );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestRequiresVerifiedCertificate" )] internal static extern bool /*bool*/ SetHTTPRequestRequiresVerifiedCertificate( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, bool /*bool*/ bRequireVerifiedCertificate );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestAbsoluteTimeoutMS" )] internal static extern bool /*bool*/ SetHTTPRequestAbsoluteTimeoutMS( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, uint /*uint32*/ unMilliseconds );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPRequestWasTimedOut" )] internal static extern bool /*bool*/ GetHTTPRequestWasTimedOut( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, out bool /*bool **/ pbWasTimedOut );
}
public static unsafe class ISteamUnifiedMessages
{
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUnifiedMessages_SendMethod" )] internal static extern ulong /*ClientUnifiedMessageHandle*/ SendMethod( IntPtr ISteamUnifiedMessages, string /*const char **/ pchServiceMethod , IntPtr /*const void **/ pRequestBuffer , uint /*uint32*/ unRequestBufferSize , ulong /*uint64*/ unContext );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUnifiedMessages_GetMethodResponseInfo" )] internal static extern bool /*bool*/ GetMethodResponseInfo( IntPtr ISteamUnifiedMessages, ClientUnifiedMessageHandle /*ClientUnifiedMessageHandle*/ hHandle, out uint /*uint32 **/ punResponseSize, out Result /*EResult **/ peResult );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUnifiedMessages_GetMethodResponseData" )] internal static extern bool /*bool*/ GetMethodResponseData( IntPtr ISteamUnifiedMessages, ClientUnifiedMessageHandle /*ClientUnifiedMessageHandle*/ hHandle, IntPtr /*void **/ pResponseBuffer , uint /*uint32*/ unResponseBufferSize , bool /*bool*/ bAutoRelease );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUnifiedMessages_ReleaseMethod" )] internal static extern bool /*bool*/ ReleaseMethod( IntPtr ISteamUnifiedMessages, ClientUnifiedMessageHandle /*ClientUnifiedMessageHandle*/ hHandle );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUnifiedMessages_SendNotification" )] internal static extern bool /*bool*/ SendNotification( IntPtr ISteamUnifiedMessages, string /*const char **/ pchServiceNotification , IntPtr /*const void **/ pNotificationBuffer , uint /*uint32*/ unNotificationBufferSize );
}
public static unsafe class ISteamController
{
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_Init" )] internal static extern bool /*bool*/ Init( IntPtr ISteamController );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_Shutdown" )] internal static extern bool /*bool*/ Shutdown( IntPtr ISteamController );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_RunFrame" )] internal static extern void /*void*/ RunFrame( IntPtr ISteamController );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_GetConnectedControllers" )] internal static extern int /*int*/ GetConnectedControllers( IntPtr ISteamController, IntPtr /*ControllerHandle_t **/ handlesOut );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_ShowBindingPanel" )] internal static extern bool /*bool*/ ShowBindingPanel( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_GetActionSetHandle" )] internal static extern ulong /*ControllerActionSetHandle_t*/ GetActionSetHandle( IntPtr ISteamController, string /*const char **/ pszActionSetName );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_ActivateActionSet" )] internal static extern void /*void*/ ActivateActionSet( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle, ControllerActionSetHandle_t /*ControllerActionSetHandle_t*/ actionSetHandle );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_GetCurrentActionSet" )] internal static extern ulong /*ControllerActionSetHandle_t*/ GetCurrentActionSet( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_GetDigitalActionHandle" )] internal static extern ulong /*ControllerDigitalActionHandle_t*/ GetDigitalActionHandle( IntPtr ISteamController, string /*const char **/ pszActionName );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_GetDigitalActionData" )] internal static extern ControllerDigitalActionData_t /*struct ControllerDigitalActionData_t*/ GetDigitalActionData( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle, ControllerDigitalActionHandle_t /*ControllerDigitalActionHandle_t*/ digitalActionHandle );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_GetDigitalActionOrigins" )] internal static extern int /*int*/ GetDigitalActionOrigins( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle, ControllerActionSetHandle_t /*ControllerActionSetHandle_t*/ actionSetHandle, ControllerDigitalActionHandle_t /*ControllerDigitalActionHandle_t*/ digitalActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_GetAnalogActionHandle" )] internal static extern ulong /*ControllerAnalogActionHandle_t*/ GetAnalogActionHandle( IntPtr ISteamController, string /*const char **/ pszActionName );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_GetAnalogActionData" )] internal static extern ControllerAnalogActionData_t /*struct ControllerAnalogActionData_t*/ GetAnalogActionData( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle, ControllerAnalogActionHandle_t /*ControllerAnalogActionHandle_t*/ analogActionHandle );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_GetAnalogActionOrigins" )] internal static extern int /*int*/ GetAnalogActionOrigins( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle, ControllerActionSetHandle_t /*ControllerActionSetHandle_t*/ actionSetHandle, ControllerAnalogActionHandle_t /*ControllerAnalogActionHandle_t*/ analogActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_StopAnalogActionMomentum" )] internal static extern void /*void*/ StopAnalogActionMomentum( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle, ControllerAnalogActionHandle_t /*ControllerAnalogActionHandle_t*/ eAction );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_TriggerHapticPulse" )] internal static extern void /*void*/ TriggerHapticPulse( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad , ushort /*unsigned short*/ usDurationMicroSec );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamController_TriggerRepeatedHapticPulse" )] internal static extern void /*void*/ TriggerRepeatedHapticPulse( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad , ushort /*unsigned short*/ usDurationMicroSec , ushort /*unsigned short*/ usOffMicroSec , ushort /*unsigned short*/ unRepeat , uint /*unsigned int*/ nFlags );
}
public static unsafe class ISteamUGC
{
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_CreateQueryUserUGCRequest" )] internal static extern ulong /*UGCQueryHandle_t*/ CreateQueryUserUGCRequest( IntPtr ISteamUGC, AccountID_t /*AccountID_t*/ unAccountID, UserUGCList /*EUserUGCList*/ eListType , UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingUGCType , UserUGCListSortOrder /*EUserUGCListSortOrder*/ eSortOrder , AppId_t /*AppId_t*/ nCreatorAppID, AppId_t /*AppId_t*/ nConsumerAppID, uint /*uint32*/ unPage );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_CreateQueryAllUGCRequest" )] internal static extern ulong /*UGCQueryHandle_t*/ CreateQueryAllUGCRequest( IntPtr ISteamUGC, UGCQuery /*EUGCQuery*/ eQueryType , UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingeMatchingUGCTypeFileType , AppId_t /*AppId_t*/ nCreatorAppID, AppId_t /*AppId_t*/ nConsumerAppID, uint /*uint32*/ unPage );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_CreateQueryUGCDetailsRequest" )] internal static extern ulong /*UGCQueryHandle_t*/ CreateQueryUGCDetailsRequest( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SendQueryUGCRequest" )] internal static extern ulong /*SteamAPICall_t*/ SendQueryUGCRequest( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCResult" )] internal static extern bool /*bool*/ GetQueryUGCResult( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ index , IntPtr /*struct SteamUGCDetails_t **/ pDetails );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCPreviewURL" )] internal static extern bool /*bool*/ GetQueryUGCPreviewURL( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ index , char* /*char **/ pchURL , uint /*uint32*/ cchURLSize );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCMetadata" )] internal static extern bool /*bool*/ GetQueryUGCMetadata( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ index , char* /*char **/ pchMetadata , uint /*uint32*/ cchMetadatasize );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCChildren" )] internal static extern bool /*bool*/ GetQueryUGCChildren( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ index , IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCStatistic" )] internal static extern bool /*bool*/ GetQueryUGCStatistic( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ index , ItemStatistic /*EItemStatistic*/ eStatType , out uint /*uint32 **/ pStatValue );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCNumAdditionalPreviews" )] internal static extern uint /*uint32*/ GetQueryUGCNumAdditionalPreviews( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ index );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCAdditionalPreview" )] internal static extern bool /*bool*/ GetQueryUGCAdditionalPreview( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ index , uint /*uint32*/ previewIndex , char* /*char **/ pchURLOrVideoID , uint /*uint32*/ cchURLSize , char* /*char **/ pchOriginalFileName , uint /*uint32*/ cchOriginalFileNameSize , out ItemPreviewType /*EItemPreviewType **/ pPreviewType );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCNumKeyValueTags" )] internal static extern uint /*uint32*/ GetQueryUGCNumKeyValueTags( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ index );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCKeyValueTag" )] internal static extern bool /*bool*/ GetQueryUGCKeyValueTag( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ index , uint /*uint32*/ keyValueTagIndex , char* /*char **/ pchKey , uint /*uint32*/ cchKeySize , char* /*char **/ pchValue , uint /*uint32*/ cchValueSize );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_ReleaseQueryUGCRequest" )] internal static extern bool /*bool*/ ReleaseQueryUGCRequest( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_AddRequiredTag" )] internal static extern bool /*bool*/ AddRequiredTag( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, string /*const char **/ pTagName );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_AddExcludedTag" )] internal static extern bool /*bool*/ AddExcludedTag( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, string /*const char **/ pTagName );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetReturnKeyValueTags" )] internal static extern bool /*bool*/ SetReturnKeyValueTags( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, bool /*bool*/ bReturnKeyValueTags );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetReturnLongDescription" )] internal static extern bool /*bool*/ SetReturnLongDescription( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, bool /*bool*/ bReturnLongDescription );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetReturnMetadata" )] internal static extern bool /*bool*/ SetReturnMetadata( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, bool /*bool*/ bReturnMetadata );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetReturnChildren" )] internal static extern bool /*bool*/ SetReturnChildren( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, bool /*bool*/ bReturnChildren );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetReturnAdditionalPreviews" )] internal static extern bool /*bool*/ SetReturnAdditionalPreviews( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, bool /*bool*/ bReturnAdditionalPreviews );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetReturnTotalOnly" )] internal static extern bool /*bool*/ SetReturnTotalOnly( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, bool /*bool*/ bReturnTotalOnly );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetLanguage" )] internal static extern bool /*bool*/ SetLanguage( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, string /*const char **/ pchLanguage );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetAllowCachedResponse" )] internal static extern bool /*bool*/ SetAllowCachedResponse( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ unMaxAgeSeconds );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetCloudFileNameFilter" )] internal static extern bool /*bool*/ SetCloudFileNameFilter( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, string /*const char **/ pMatchCloudFileName );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetMatchAnyTag" )] internal static extern bool /*bool*/ SetMatchAnyTag( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, bool /*bool*/ bMatchAnyTag );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetSearchText" )] internal static extern bool /*bool*/ SetSearchText( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, string /*const char **/ pSearchText );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetRankedByTrendDays" )] internal static extern bool /*bool*/ SetRankedByTrendDays( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ unDays );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_AddRequiredKeyValueTag" )] internal static extern bool /*bool*/ AddRequiredKeyValueTag( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, string /*const char **/ pKey , string /*const char **/ pValue );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_RequestUGCDetails" )] internal static extern ulong /*SteamAPICall_t*/ RequestUGCDetails( IntPtr ISteamUGC, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID, uint /*uint32*/ unMaxAgeSeconds );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_CreateItem" )] internal static extern ulong /*SteamAPICall_t*/ CreateItem( IntPtr ISteamUGC, AppId_t /*AppId_t*/ nConsumerAppId, WorkshopFileType /*EWorkshopFileType*/ eFileType );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_StartItemUpdate" )] internal static extern ulong /*UGCUpdateHandle_t*/ StartItemUpdate( IntPtr ISteamUGC, AppId_t /*AppId_t*/ nConsumerAppId, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetItemTitle" )] internal static extern bool /*bool*/ SetItemTitle( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pchTitle );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetItemDescription" )] internal static extern bool /*bool*/ SetItemDescription( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pchDescription );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetItemUpdateLanguage" )] internal static extern bool /*bool*/ SetItemUpdateLanguage( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pchLanguage );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetItemMetadata" )] internal static extern bool /*bool*/ SetItemMetadata( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pchMetaData );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetItemVisibility" )] internal static extern bool /*bool*/ SetItemVisibility( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetItemTags" )] internal static extern bool /*bool*/ SetItemTags( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ updateHandle, IntPtr /*const struct SteamParamStringArray_t **/ pTags );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetItemContent" )] internal static extern bool /*bool*/ SetItemContent( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pszContentFolder );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetItemPreview" )] internal static extern bool /*bool*/ SetItemPreview( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pszPreviewFile );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_RemoveItemKeyValueTags" )] internal static extern bool /*bool*/ RemoveItemKeyValueTags( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pchKey );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_AddItemKeyValueTag" )] internal static extern bool /*bool*/ AddItemKeyValueTag( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pchKey , string /*const char **/ pchValue );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_AddItemPreviewFile" )] internal static extern bool /*bool*/ AddItemPreviewFile( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pszPreviewFile , ItemPreviewType /*EItemPreviewType*/ type );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_AddItemPreviewVideo" )] internal static extern bool /*bool*/ AddItemPreviewVideo( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pszVideoID );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_UpdateItemPreviewFile" )] internal static extern bool /*bool*/ UpdateItemPreviewFile( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, uint /*uint32*/ index , string /*const char **/ pszPreviewFile );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_UpdateItemPreviewVideo" )] internal static extern bool /*bool*/ UpdateItemPreviewVideo( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, uint /*uint32*/ index , string /*const char **/ pszVideoID );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_RemoveItemPreview" )] internal static extern bool /*bool*/ RemoveItemPreview( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, uint /*uint32*/ index );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SubmitItemUpdate" )] internal static extern ulong /*SteamAPICall_t*/ SubmitItemUpdate( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pchChangeNote );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_GetItemUpdateProgress" )] internal static extern ItemUpdateStatus /*EItemUpdateStatus*/ GetItemUpdateProgress( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, out ulong /*uint64 **/ punBytesProcessed, out ulong /*uint64 **/ punBytesTotal );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SetUserItemVote" )] internal static extern ulong /*SteamAPICall_t*/ SetUserItemVote( IntPtr ISteamUGC, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID, bool /*bool*/ bVoteUp );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_GetUserItemVote" )] internal static extern ulong /*SteamAPICall_t*/ GetUserItemVote( IntPtr ISteamUGC, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_AddItemToFavorites" )] internal static extern ulong /*SteamAPICall_t*/ AddItemToFavorites( IntPtr ISteamUGC, AppId_t /*AppId_t*/ nAppId, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_RemoveItemFromFavorites" )] internal static extern ulong /*SteamAPICall_t*/ RemoveItemFromFavorites( IntPtr ISteamUGC, AppId_t /*AppId_t*/ nAppId, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SubscribeItem" )] internal static extern ulong /*SteamAPICall_t*/ SubscribeItem( IntPtr ISteamUGC, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_UnsubscribeItem" )] internal static extern ulong /*SteamAPICall_t*/ UnsubscribeItem( IntPtr ISteamUGC, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_GetNumSubscribedItems" )] internal static extern uint /*uint32*/ GetNumSubscribedItems( IntPtr ISteamUGC );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_GetSubscribedItems" )] internal static extern uint /*uint32*/ GetSubscribedItems( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_GetItemState" )] internal static extern uint /*uint32*/ GetItemState( IntPtr ISteamUGC, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_GetItemInstallInfo" )] internal static extern bool /*bool*/ GetItemInstallInfo( IntPtr ISteamUGC, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID, out ulong /*uint64 **/ punSizeOnDisk, char* /*char **/ pchFolder , uint /*uint32*/ cchFolderSize , out uint /*uint32 **/ punTimeStamp );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_GetItemDownloadInfo" )] internal static extern bool /*bool*/ GetItemDownloadInfo( IntPtr ISteamUGC, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_DownloadItem" )] internal static extern bool /*bool*/ DownloadItem( IntPtr ISteamUGC, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID, bool /*bool*/ bHighPriority );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_BInitWorkshopForGameServer" )] internal static extern bool /*bool*/ BInitWorkshopForGameServer( IntPtr ISteamUGC, DepotId_t /*DepotId_t*/ unWorkshopDepotID, string /*const char **/ pszFolder );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamUGC_SuspendDownloads" )] internal static extern void /*void*/ SuspendDownloads( IntPtr ISteamUGC, bool /*bool*/ bSuspend );
}
public static unsafe class ISteamAppList
{
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamAppList_GetNumInstalledApps" )] internal static extern uint /*uint32*/ GetNumInstalledApps( IntPtr ISteamAppList );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamAppList_GetInstalledApps" )] internal static extern uint /*uint32*/ GetInstalledApps( IntPtr ISteamAppList, IntPtr /*AppId_t **/ pvecAppID, uint /*uint32*/ unMaxAppIDs );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamAppList_GetAppName" )] internal static extern int /*int*/ GetAppName( IntPtr ISteamAppList, AppId_t /*AppId_t*/ nAppID, char* /*char **/ pchName , int /*int*/ cchNameMax );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamAppList_GetAppInstallDir" )] internal static extern int /*int*/ GetAppInstallDir( IntPtr ISteamAppList, AppId_t /*AppId_t*/ nAppID, char* /*char **/ pchDirectory , int /*int*/ cchNameMax );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamAppList_GetAppBuildId" )] internal static extern int /*int*/ GetAppBuildId( IntPtr ISteamAppList, AppId_t /*AppId_t*/ nAppID );
}
public static unsafe class ISteamHTMLSurface
{
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_DestructISteamHTMLSurface" )] internal static extern void /*void*/ DestructISteamHTMLSurface( IntPtr ISteamHTMLSurface );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_Init" )] internal static extern bool /*bool*/ Init( IntPtr ISteamHTMLSurface );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_Shutdown" )] internal static extern bool /*bool*/ Shutdown( IntPtr ISteamHTMLSurface );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_CreateBrowser" )] internal static extern ulong /*SteamAPICall_t*/ CreateBrowser( IntPtr ISteamHTMLSurface, string /*const char **/ pchUserAgent , string /*const char **/ pchUserCSS );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_RemoveBrowser" )] internal static extern void /*void*/ RemoveBrowser( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_LoadURL" )] internal static extern void /*void*/ LoadURL( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, string /*const char **/ pchURL , string /*const char **/ pchPostData );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetSize" )] internal static extern void /*void*/ SetSize( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, uint /*uint32*/ unWidth , uint /*uint32*/ unHeight );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_StopLoad" )] internal static extern void /*void*/ StopLoad( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_Reload" )] internal static extern void /*void*/ Reload( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_GoBack" )] internal static extern void /*void*/ GoBack( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_GoForward" )] internal static extern void /*void*/ GoForward( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_AddHeader" )] internal static extern void /*void*/ AddHeader( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, string /*const char **/ pchKey , string /*const char **/ pchValue );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_ExecuteJavascript" )] internal static extern void /*void*/ ExecuteJavascript( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, string /*const char **/ pchScript );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseUp" )] internal static extern void /*void*/ MouseUp( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseDown" )] internal static extern void /*void*/ MouseDown( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseDoubleClick" )] internal static extern void /*void*/ MouseDoubleClick( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseMove" )] internal static extern void /*void*/ MouseMove( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, int /*int*/ x , int /*int*/ y );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseWheel" )] internal static extern void /*void*/ MouseWheel( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, int /*int32*/ nDelta );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_KeyDown" )] internal static extern void /*void*/ KeyDown( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, uint /*uint32*/ nNativeKeyCode , HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_KeyUp" )] internal static extern void /*void*/ KeyUp( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, uint /*uint32*/ nNativeKeyCode , HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_KeyChar" )] internal static extern void /*void*/ KeyChar( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, uint /*uint32*/ cUnicodeChar , HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetHorizontalScroll" )] internal static extern void /*void*/ SetHorizontalScroll( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetVerticalScroll" )] internal static extern void /*void*/ SetVerticalScroll( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetKeyFocus" )] internal static extern void /*void*/ SetKeyFocus( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, bool /*bool*/ bHasKeyFocus );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_ViewSource" )] internal static extern void /*void*/ ViewSource( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_CopyToClipboard" )] internal static extern void /*void*/ CopyToClipboard( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_PasteFromClipboard" )] internal static extern void /*void*/ PasteFromClipboard( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_Find" )] internal static extern void /*void*/ Find( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, string /*const char **/ pchSearchStr , bool /*bool*/ bCurrentlyInFind , bool /*bool*/ bReverse );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_StopFind" )] internal static extern void /*void*/ StopFind( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_GetLinkAtPosition" )] internal static extern void /*void*/ GetLinkAtPosition( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, int /*int*/ x , int /*int*/ y );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetCookie" )] internal static extern void /*void*/ SetCookie( IntPtr ISteamHTMLSurface, string /*const char **/ pchHostname , string /*const char **/ pchKey , string /*const char **/ pchValue , string /*const char **/ pchPath , RTime32 /*RTime32*/ nExpires, bool /*bool*/ bSecure , bool /*bool*/ bHTTPOnly );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetPageScaleFactor" )] internal static extern void /*void*/ SetPageScaleFactor( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, float /*float*/ flZoom , int /*int*/ nPointX , int /*int*/ nPointY );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetBackgroundMode" )] internal static extern void /*void*/ SetBackgroundMode( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, bool /*bool*/ bBackgroundMode );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_AllowStartRequest" )] internal static extern void /*void*/ AllowStartRequest( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, bool /*bool*/ bAllowed );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_JSDialogResponse" )] internal static extern void /*void*/ JSDialogResponse( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, bool /*bool*/ bResult );
}
public static unsafe class ISteamInventory
{
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_GetResultStatus" )] internal static extern Result /*EResult*/ GetResultStatus( IntPtr ISteamInventory, SteamInventoryResult_t /*SteamInventoryResult_t*/ resultHandle );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_GetResultItems" )] internal static extern bool /*bool*/ GetResultItems( IntPtr ISteamInventory, SteamInventoryResult_t /*SteamInventoryResult_t*/ resultHandle, IntPtr /*struct SteamItemDetails_t **/ pOutItemsArray, out uint /*uint32 **/ punOutItemsArraySize );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_GetResultTimestamp" )] internal static extern uint /*uint32*/ GetResultTimestamp( IntPtr ISteamInventory, SteamInventoryResult_t /*SteamInventoryResult_t*/ resultHandle );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_CheckResultSteamID" )] internal static extern bool /*bool*/ CheckResultSteamID( IntPtr ISteamInventory, SteamInventoryResult_t /*SteamInventoryResult_t*/ resultHandle, CSteamID /*class CSteamID*/ steamIDExpected );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_DestroyResult" )] internal static extern void /*void*/ DestroyResult( IntPtr ISteamInventory, SteamInventoryResult_t /*SteamInventoryResult_t*/ resultHandle );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_GetAllItems" )] internal static extern bool /*bool*/ GetAllItems( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_GetItemsByID" )] internal static extern bool /*bool*/ GetItemsByID( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle, IntPtr /*const SteamItemInstanceID_t **/ pInstanceIDs, uint /*uint32*/ unCountInstanceIDs );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_SerializeResult" )] internal static extern bool /*bool*/ SerializeResult( IntPtr ISteamInventory, SteamInventoryResult_t /*SteamInventoryResult_t*/ resultHandle, IntPtr /*void **/ pOutBuffer , out uint /*uint32 **/ punOutBufferSize );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_DeserializeResult" )] internal static extern bool /*bool*/ DeserializeResult( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pOutResultHandle, IntPtr /*const void **/ pBuffer , uint /*uint32*/ unBufferSize , bool /*bool*/ bRESERVED_MUST_BE_FALSE );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_GenerateItems" )] internal static extern bool /*bool*/ GenerateItems( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, out uint /*const uint32 **/ punArrayQuantity, uint /*uint32*/ unArrayLength );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_GrantPromoItems" )] internal static extern bool /*bool*/ GrantPromoItems( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_AddPromoItem" )] internal static extern bool /*bool*/ AddPromoItem( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle, SteamItemDef_t /*SteamItemDef_t*/ itemDef );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_AddPromoItems" )] internal static extern bool /*bool*/ AddPromoItems( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, uint /*uint32*/ unArrayLength );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_ConsumeItem" )] internal static extern bool /*bool*/ ConsumeItem( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle, SteamItemInstanceID_t /*SteamItemInstanceID_t*/ itemConsume, uint /*uint32*/ unQuantity );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_ExchangeItems" )] internal static extern bool /*bool*/ ExchangeItems( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle, ref SteamItemDef_t /*const SteamItemDef_t **/ pArrayGenerate, out uint /*const uint32 **/ punArrayGenerateQuantity, uint /*uint32*/ unArrayGenerateLength , IntPtr /*const SteamItemInstanceID_t **/ pArrayDestroy, IntPtr /*const uint32 **/ punArrayDestroyQuantity, uint /*uint32*/ unArrayDestroyLength );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_TransferItemQuantity" )] internal static extern bool /*bool*/ TransferItemQuantity( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle, SteamItemInstanceID_t /*SteamItemInstanceID_t*/ itemIdSource, uint /*uint32*/ unQuantity , SteamItemInstanceID_t /*SteamItemInstanceID_t*/ itemIdDest );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_SendItemDropHeartbeat" )] internal static extern void /*void*/ SendItemDropHeartbeat( IntPtr ISteamInventory );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_TriggerItemDrop" )] internal static extern bool /*bool*/ TriggerItemDrop( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle, SteamItemDef_t /*SteamItemDef_t*/ dropListDefinition );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_TradeItems" )] internal static extern bool /*bool*/ TradeItems( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle, CSteamID /*class CSteamID*/ steamIDTradePartner, ref SteamItemInstanceID_t /*const SteamItemInstanceID_t **/ pArrayGive, out uint /*const uint32 **/ pArrayGiveQuantity, uint /*uint32*/ nArrayGiveLength , ref SteamItemInstanceID_t /*const SteamItemInstanceID_t **/ pArrayGet, out uint /*const uint32 **/ pArrayGetQuantity, uint /*uint32*/ nArrayGetLength );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_LoadItemDefinitions" )] internal static extern bool /*bool*/ LoadItemDefinitions( IntPtr ISteamInventory );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_GetItemDefinitionIDs" )] internal static extern bool /*bool*/ GetItemDefinitionIDs( IntPtr ISteamInventory, IntPtr /*SteamItemDef_t **/ pItemDefIDs, out uint /*uint32 **/ punItemDefIDsArraySize );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamInventory_GetItemDefinitionProperty" )] internal static extern bool /*bool*/ GetItemDefinitionProperty( IntPtr ISteamInventory, SteamItemDef_t /*SteamItemDef_t*/ iDefinition, string /*const char **/ pchPropertyName , char* /*char **/ pchValueBuffer , out uint /*uint32 **/ punValueBufferSize );
}
public static unsafe class ISteamVideo
{
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamVideo_GetVideoURL" )] internal static extern void /*void*/ GetVideoURL( IntPtr ISteamVideo, AppId_t /*AppId_t*/ unVideoAppID );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamVideo_IsBroadcasting" )] internal static extern bool /*bool*/ IsBroadcasting( IntPtr ISteamVideo, IntPtr /*int **/ pnNumViewers );
}
public static unsafe class ISteamGameServer
{
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_InitGameServer" )] internal static extern bool /*bool*/ InitGameServer( IntPtr ISteamGameServer, uint /*uint32*/ unIP , ushort /*uint16*/ usGamePort , ushort /*uint16*/ usQueryPort , uint /*uint32*/ unFlags , AppId_t /*AppId_t*/ nGameAppId, string /*const char **/ pchVersionString );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetProduct" )] internal static extern void /*void*/ SetProduct( IntPtr ISteamGameServer, string /*const char **/ pszProduct );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetGameDescription" )] internal static extern void /*void*/ SetGameDescription( IntPtr ISteamGameServer, string /*const char **/ pszGameDescription );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetModDir" )] internal static extern void /*void*/ SetModDir( IntPtr ISteamGameServer, string /*const char **/ pszModDir );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetDedicatedServer" )] internal static extern void /*void*/ SetDedicatedServer( IntPtr ISteamGameServer, bool /*bool*/ bDedicated );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_LogOn" )] internal static extern void /*void*/ LogOn( IntPtr ISteamGameServer, string /*const char **/ pszToken );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_LogOnAnonymous" )] internal static extern void /*void*/ LogOnAnonymous( IntPtr ISteamGameServer );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_LogOff" )] internal static extern void /*void*/ LogOff( IntPtr ISteamGameServer );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_BLoggedOn" )] internal static extern bool /*bool*/ BLoggedOn( IntPtr ISteamGameServer );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_BSecure" )] internal static extern bool /*bool*/ BSecure( IntPtr ISteamGameServer );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_GetSteamID" )] internal static extern ulong /*class CSteamID*/ GetSteamID( IntPtr ISteamGameServer );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_WasRestartRequested" )] internal static extern bool /*bool*/ WasRestartRequested( IntPtr ISteamGameServer );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetMaxPlayerCount" )] internal static extern void /*void*/ SetMaxPlayerCount( IntPtr ISteamGameServer, int /*int*/ cPlayersMax );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetBotPlayerCount" )] internal static extern void /*void*/ SetBotPlayerCount( IntPtr ISteamGameServer, int /*int*/ cBotplayers );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetServerName" )] internal static extern void /*void*/ SetServerName( IntPtr ISteamGameServer, string /*const char **/ pszServerName );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetMapName" )] internal static extern void /*void*/ SetMapName( IntPtr ISteamGameServer, string /*const char **/ pszMapName );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetPasswordProtected" )] internal static extern void /*void*/ SetPasswordProtected( IntPtr ISteamGameServer, bool /*bool*/ bPasswordProtected );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetSpectatorPort" )] internal static extern void /*void*/ SetSpectatorPort( IntPtr ISteamGameServer, ushort /*uint16*/ unSpectatorPort );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetSpectatorServerName" )] internal static extern void /*void*/ SetSpectatorServerName( IntPtr ISteamGameServer, string /*const char **/ pszSpectatorServerName );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_ClearAllKeyValues" )] internal static extern void /*void*/ ClearAllKeyValues( IntPtr ISteamGameServer );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetKeyValue" )] internal static extern void /*void*/ SetKeyValue( IntPtr ISteamGameServer, string /*const char **/ pKey , string /*const char **/ pValue );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetGameTags" )] internal static extern void /*void*/ SetGameTags( IntPtr ISteamGameServer, string /*const char **/ pchGameTags );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetGameData" )] internal static extern void /*void*/ SetGameData( IntPtr ISteamGameServer, string /*const char **/ pchGameData );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetRegion" )] internal static extern void /*void*/ SetRegion( IntPtr ISteamGameServer, string /*const char **/ pszRegion );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_SendUserConnectAndAuthenticate" )] internal static extern bool /*bool*/ SendUserConnectAndAuthenticate( IntPtr ISteamGameServer, uint /*uint32*/ unIPClient , IntPtr /*const void **/ pvAuthBlob , uint /*uint32*/ cubAuthBlobSize , out CSteamID /*class CSteamID **/ pSteamIDUser );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_CreateUnauthenticatedUserConnection" )] internal static extern ulong /*class CSteamID*/ CreateUnauthenticatedUserConnection( IntPtr ISteamGameServer );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_SendUserDisconnect" )] internal static extern void /*void*/ SendUserDisconnect( IntPtr ISteamGameServer, CSteamID /*class CSteamID*/ steamIDUser );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_BUpdateUserData" )] internal static extern bool /*bool*/ BUpdateUserData( IntPtr ISteamGameServer, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchPlayerName , uint /*uint32*/ uScore );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_GetAuthSessionTicket" )] internal static extern uint /*HAuthTicket*/ GetAuthSessionTicket( IntPtr ISteamGameServer, IntPtr /*void **/ pTicket , int /*int*/ cbMaxTicket , out uint /*uint32 **/ pcbTicket );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_BeginAuthSession" )] internal static extern BeginAuthSessionResult /*EBeginAuthSessionResult*/ BeginAuthSession( IntPtr ISteamGameServer, IntPtr /*const void **/ pAuthTicket , int /*int*/ cbAuthTicket , CSteamID /*class CSteamID*/ steamID );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_EndAuthSession" )] internal static extern void /*void*/ EndAuthSession( IntPtr ISteamGameServer, CSteamID /*class CSteamID*/ steamID );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_CancelAuthTicket" )] internal static extern void /*void*/ CancelAuthTicket( IntPtr ISteamGameServer, HAuthTicket /*HAuthTicket*/ hAuthTicket );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_UserHasLicenseForApp" )] internal static extern UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ UserHasLicenseForApp( IntPtr ISteamGameServer, CSteamID /*class CSteamID*/ steamID, AppId_t /*AppId_t*/ appID );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_RequestUserGroupStatus" )] internal static extern bool /*bool*/ RequestUserGroupStatus( IntPtr ISteamGameServer, CSteamID /*class CSteamID*/ steamIDUser, CSteamID /*class CSteamID*/ steamIDGroup );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_GetGameplayStats" )] internal static extern void /*void*/ GetGameplayStats( IntPtr ISteamGameServer );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_GetServerReputation" )] internal static extern ulong /*SteamAPICall_t*/ GetServerReputation( IntPtr ISteamGameServer );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_GetPublicIP" )] internal static extern uint /*uint32*/ GetPublicIP( IntPtr ISteamGameServer );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_HandleIncomingPacket" )] internal static extern bool /*bool*/ HandleIncomingPacket( IntPtr ISteamGameServer, IntPtr /*const void **/ pData , int /*int*/ cbData , uint /*uint32*/ srcIP , ushort /*uint16*/ srcPort );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_GetNextOutgoingPacket" )] internal static extern int /*int*/ GetNextOutgoingPacket( IntPtr ISteamGameServer, IntPtr /*void **/ pOut , int /*int*/ cbMaxOut , out uint /*uint32 **/ pNetAdr, out ushort /*uint16 **/ pPort );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_EnableHeartbeats" )] internal static extern void /*void*/ EnableHeartbeats( IntPtr ISteamGameServer, bool /*bool*/ bActive );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetHeartbeatInterval" )] internal static extern void /*void*/ SetHeartbeatInterval( IntPtr ISteamGameServer, int /*int*/ iHeartbeatInterval );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_ForceHeartbeat" )] internal static extern void /*void*/ ForceHeartbeat( IntPtr ISteamGameServer );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_AssociateWithClan" )] internal static extern ulong /*SteamAPICall_t*/ AssociateWithClan( IntPtr ISteamGameServer, CSteamID /*class CSteamID*/ steamIDClan );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServer_ComputeNewPlayerCompatibility" )] internal static extern ulong /*SteamAPICall_t*/ ComputeNewPlayerCompatibility( IntPtr ISteamGameServer, CSteamID /*class CSteamID*/ steamIDNewPlayer );
}
public static unsafe class ISteamGameServerStats
{
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_RequestUserStats" )] internal static extern ulong /*SteamAPICall_t*/ RequestUserStats( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_GetUserStat" )] internal static extern bool /*bool*/ GetUserStat( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , out int /*int32 **/ pData );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_GetUserStat0" )] internal static extern bool /*bool*/ GetUserStat0( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , out float /*float **/ pData );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_GetUserAchievement" )] internal static extern bool /*bool*/ GetUserAchievement( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , out bool /*bool **/ pbAchieved );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_SetUserStat" )] internal static extern bool /*bool*/ SetUserStat( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , int /*int32*/ nData );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_SetUserStat0" )] internal static extern bool /*bool*/ SetUserStat0( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , float /*float*/ fData );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_UpdateUserAvgRateStat" )] internal static extern bool /*bool*/ UpdateUserAvgRateStat( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , float /*float*/ flCountThisSession , double /*double*/ dSessionLength );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_SetUserAchievement" )] internal static extern bool /*bool*/ SetUserAchievement( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_ClearUserAchievement" )] internal static extern bool /*bool*/ ClearUserAchievement( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_StoreUserStats" )] internal static extern ulong /*SteamAPICall_t*/ StoreUserStats( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser );
}
public static unsafe class Global
{
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_Init" )] internal static extern void /*void*/ SteamAPI_Init( );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_RunCallbacks" )] internal static extern void /*void*/ SteamAPI_RunCallbacks( );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamGameServer_RunCallbacks" )] internal static extern void /*void*/ SteamGameServer_RunCallbacks( );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_RegisterCallback" )] internal static extern void /*void*/ SteamAPI_RegisterCallback( IntPtr /*void **/ pCallback , int /*int*/ callback );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_UnregisterCallback" )] internal static extern void /*void*/ SteamAPI_UnregisterCallback( IntPtr /*void **/ pCallback );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamInternal_GameServer_Init" )] internal static extern bool /*bool*/ SteamInternal_GameServer_Init( uint /*uint32*/ unIP , ushort /*uint16*/ usPort , ushort /*uint16*/ usGamePort , ushort /*uint16*/ usQueryPort , int /*int*/ eServerMode , string /*const char **/ pchVersionString );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_Shutdown" )] internal static extern void /*void*/ SteamAPI_Shutdown( );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_GetHSteamUser" )] internal static extern int /*HSteamUser*/ SteamAPI_GetHSteamUser( );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamAPI_GetHSteamPipe" )] internal static extern int /*HSteamPipe*/ SteamAPI_GetHSteamPipe( );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamGameServer_GetHSteamUser" )] internal static extern int /*HSteamUser*/ SteamGameServer_GetHSteamUser( );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamGameServer_GetHSteamPipe" )] internal static extern int /*HSteamPipe*/ SteamGameServer_GetHSteamPipe( );
[DllImportAttribute( "steam_api.dll", EntryPoint = "SteamInternal_CreateInterface" )] internal static extern IntPtr /*void **/ SteamInternal_CreateInterface( string /*const char **/ version );
}
}
}
}

View File

@ -0,0 +1,752 @@
using System;
using System.Runtime.InteropServices;
namespace SteamNative
{
internal static partial class Platform
{
public static class Win64
{
public static unsafe class ISteamClient
{
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_CreateSteamPipe" )] internal static extern int /*HSteamPipe*/ CreateSteamPipe( IntPtr ISteamClient );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_BReleaseSteamPipe" )] internal static extern bool /*bool*/ BReleaseSteamPipe( IntPtr ISteamClient, HSteamPipe /*HSteamPipe*/ hSteamPipe );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_ConnectToGlobalUser" )] internal static extern int /*HSteamUser*/ ConnectToGlobalUser( IntPtr ISteamClient, HSteamPipe /*HSteamPipe*/ hSteamPipe );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_CreateLocalUser" )] internal static extern int /*HSteamUser*/ CreateLocalUser( IntPtr ISteamClient, out HSteamPipe /*HSteamPipe **/ phSteamPipe, AccountType /*EAccountType*/ eAccountType );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_ReleaseUser" )] internal static extern void /*void*/ ReleaseUser( IntPtr ISteamClient, HSteamPipe /*HSteamPipe*/ hSteamPipe, HSteamUser /*HSteamUser*/ hUser );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamUser" )] internal static extern IntPtr /*class ISteamUser **/ GetISteamUser( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamGameServer" )] internal static extern IntPtr /*class ISteamGameServer **/ GetISteamGameServer( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_SetLocalIPBinding" )] internal static extern void /*void*/ SetLocalIPBinding( IntPtr ISteamClient, uint /*uint32*/ unIP , ushort /*uint16*/ usPort );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamFriends" )] internal static extern IntPtr /*class ISteamFriends **/ GetISteamFriends( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamUtils" )] internal static extern IntPtr /*class ISteamUtils **/ GetISteamUtils( IntPtr ISteamClient, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamMatchmaking" )] internal static extern IntPtr /*class ISteamMatchmaking **/ GetISteamMatchmaking( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamMatchmakingServers" )] internal static extern IntPtr /*class ISteamMatchmakingServers **/ GetISteamMatchmakingServers( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamGenericInterface" )] internal static extern IntPtr /*void **/ GetISteamGenericInterface( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamUserStats" )] internal static extern IntPtr /*class ISteamUserStats **/ GetISteamUserStats( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamGameServerStats" )] internal static extern IntPtr /*class ISteamGameServerStats **/ GetISteamGameServerStats( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamApps" )] internal static extern IntPtr /*class ISteamApps **/ GetISteamApps( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamNetworking" )] internal static extern IntPtr /*class ISteamNetworking **/ GetISteamNetworking( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamRemoteStorage" )] internal static extern IntPtr /*class ISteamRemoteStorage **/ GetISteamRemoteStorage( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamScreenshots" )] internal static extern IntPtr /*class ISteamScreenshots **/ GetISteamScreenshots( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetIPCCallCount" )] internal static extern uint /*uint32*/ GetIPCCallCount( IntPtr ISteamClient );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_SetWarningMessageHook" )] internal static extern void /*void*/ SetWarningMessageHook( IntPtr ISteamClient, IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_BShutdownIfAllPipesClosed" )] internal static extern bool /*bool*/ BShutdownIfAllPipesClosed( IntPtr ISteamClient );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamHTTP" )] internal static extern IntPtr /*class ISteamHTTP **/ GetISteamHTTP( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamUnifiedMessages" )] internal static extern IntPtr /*class ISteamUnifiedMessages **/ GetISteamUnifiedMessages( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamController" )] internal static extern IntPtr /*class ISteamController **/ GetISteamController( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamUGC" )] internal static extern IntPtr /*class ISteamUGC **/ GetISteamUGC( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamAppList" )] internal static extern IntPtr /*class ISteamAppList **/ GetISteamAppList( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamUser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamMusic" )] internal static extern IntPtr /*class ISteamMusic **/ GetISteamMusic( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamMusicRemote" )] internal static extern IntPtr /*class ISteamMusicRemote **/ GetISteamMusicRemote( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamHTMLSurface" )] internal static extern IntPtr /*class ISteamHTMLSurface **/ GetISteamHTMLSurface( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamInventory" )] internal static extern IntPtr /*class ISteamInventory **/ GetISteamInventory( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamClient_GetISteamVideo" )] internal static extern IntPtr /*class ISteamVideo **/ GetISteamVideo( IntPtr ISteamClient, HSteamUser /*HSteamUser*/ hSteamuser, HSteamPipe /*HSteamPipe*/ hSteamPipe, string /*const char **/ pchVersion );
}
public static unsafe class ISteamUser
{
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_GetHSteamUser" )] internal static extern int /*HSteamUser*/ GetHSteamUser( IntPtr ISteamUser );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_BLoggedOn" )] internal static extern bool /*bool*/ BLoggedOn( IntPtr ISteamUser );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_GetSteamID" )] internal static extern ulong /*class CSteamID*/ GetSteamID( IntPtr ISteamUser );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_InitiateGameConnection" )] internal static extern int /*int*/ InitiateGameConnection( IntPtr ISteamUser, IntPtr /*void **/ pAuthBlob , int /*int*/ cbMaxAuthBlob , CSteamID /*class CSteamID*/ steamIDGameServer, uint /*uint32*/ unIPServer , ushort /*uint16*/ usPortServer , bool /*bool*/ bSecure );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_TerminateGameConnection" )] internal static extern void /*void*/ TerminateGameConnection( IntPtr ISteamUser, uint /*uint32*/ unIPServer , ushort /*uint16*/ usPortServer );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_TrackAppUsageEvent" )] internal static extern void /*void*/ TrackAppUsageEvent( IntPtr ISteamUser, CGameID /*class CGameID*/ gameID, int /*int*/ eAppUsageEvent , string /*const char **/ pchExtraInfo );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_GetUserDataFolder" )] internal static extern bool /*bool*/ GetUserDataFolder( IntPtr ISteamUser, char* /*char **/ pchBuffer , int /*int*/ cubBuffer );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_StartVoiceRecording" )] internal static extern void /*void*/ StartVoiceRecording( IntPtr ISteamUser );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_StopVoiceRecording" )] internal static extern void /*void*/ StopVoiceRecording( IntPtr ISteamUser );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_GetAvailableVoice" )] internal static extern VoiceResult /*EVoiceResult*/ GetAvailableVoice( IntPtr ISteamUser, out uint /*uint32 **/ pcbCompressed, out uint /*uint32 **/ pcbUncompressed, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_GetVoice" )] internal static extern VoiceResult /*EVoiceResult*/ GetVoice( IntPtr ISteamUser, bool /*bool*/ bWantCompressed , IntPtr /*void **/ pDestBuffer , uint /*uint32*/ cbDestBufferSize , out uint /*uint32 **/ nBytesWritten, bool /*bool*/ bWantUncompressed , IntPtr /*void **/ pUncompressedDestBuffer , uint /*uint32*/ cbUncompressedDestBufferSize , out uint /*uint32 **/ nUncompressBytesWritten, uint /*uint32*/ nUncompressedVoiceDesiredSampleRate );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_DecompressVoice" )] internal static extern VoiceResult /*EVoiceResult*/ DecompressVoice( IntPtr ISteamUser, IntPtr /*const void **/ pCompressed , uint /*uint32*/ cbCompressed , IntPtr /*void **/ pDestBuffer , uint /*uint32*/ cbDestBufferSize , out uint /*uint32 **/ nBytesWritten, uint /*uint32*/ nDesiredSampleRate );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_GetVoiceOptimalSampleRate" )] internal static extern uint /*uint32*/ GetVoiceOptimalSampleRate( IntPtr ISteamUser );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_GetAuthSessionTicket" )] internal static extern uint /*HAuthTicket*/ GetAuthSessionTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket , int /*int*/ cbMaxTicket , out uint /*uint32 **/ pcbTicket );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_BeginAuthSession" )] internal static extern BeginAuthSessionResult /*EBeginAuthSessionResult*/ BeginAuthSession( IntPtr ISteamUser, IntPtr /*const void **/ pAuthTicket , int /*int*/ cbAuthTicket , CSteamID /*class CSteamID*/ steamID );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_EndAuthSession" )] internal static extern void /*void*/ EndAuthSession( IntPtr ISteamUser, CSteamID /*class CSteamID*/ steamID );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_CancelAuthTicket" )] internal static extern void /*void*/ CancelAuthTicket( IntPtr ISteamUser, HAuthTicket /*HAuthTicket*/ hAuthTicket );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_UserHasLicenseForApp" )] internal static extern UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ UserHasLicenseForApp( IntPtr ISteamUser, CSteamID /*class CSteamID*/ steamID, AppId_t /*AppId_t*/ appID );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_BIsBehindNAT" )] internal static extern bool /*bool*/ BIsBehindNAT( IntPtr ISteamUser );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_AdvertiseGame" )] internal static extern void /*void*/ AdvertiseGame( IntPtr ISteamUser, CSteamID /*class CSteamID*/ steamIDGameServer, uint /*uint32*/ unIPServer , ushort /*uint16*/ usPortServer );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_RequestEncryptedAppTicket" )] internal static extern ulong /*SteamAPICall_t*/ RequestEncryptedAppTicket( IntPtr ISteamUser, IntPtr /*void **/ pDataToInclude , int /*int*/ cbDataToInclude );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_GetEncryptedAppTicket" )] internal static extern bool /*bool*/ GetEncryptedAppTicket( IntPtr ISteamUser, IntPtr /*void **/ pTicket , int /*int*/ cbMaxTicket , out uint /*uint32 **/ pcbTicket );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_GetGameBadgeLevel" )] internal static extern int /*int*/ GetGameBadgeLevel( IntPtr ISteamUser, int /*int*/ nSeries , bool /*bool*/ bFoil );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_GetPlayerSteamLevel" )] internal static extern int /*int*/ GetPlayerSteamLevel( IntPtr ISteamUser );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_RequestStoreAuthURL" )] internal static extern ulong /*SteamAPICall_t*/ RequestStoreAuthURL( IntPtr ISteamUser, string /*const char **/ pchRedirectURL );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_BIsPhoneVerified" )] internal static extern bool /*bool*/ BIsPhoneVerified( IntPtr ISteamUser );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUser_BIsTwoFactorEnabled" )] internal static extern bool /*bool*/ BIsTwoFactorEnabled( IntPtr ISteamUser );
}
public static unsafe class ISteamFriends
{
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetPersonaName" )] internal static extern IntPtr GetPersonaName( IntPtr ISteamFriends );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_SetPersonaName" )] internal static extern ulong /*SteamAPICall_t*/ SetPersonaName( IntPtr ISteamFriends, string /*const char **/ pchPersonaName );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetPersonaState" )] internal static extern PersonaState /*EPersonaState*/ GetPersonaState( IntPtr ISteamFriends );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendCount" )] internal static extern int /*int*/ GetFriendCount( IntPtr ISteamFriends, int /*int*/ iFriendFlags );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendByIndex" )] internal static extern ulong /*class CSteamID*/ GetFriendByIndex( IntPtr ISteamFriends, int /*int*/ iFriend , int /*int*/ iFriendFlags );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendRelationship" )] internal static extern FriendRelationship /*EFriendRelationship*/ GetFriendRelationship( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendPersonaState" )] internal static extern PersonaState /*EPersonaState*/ GetFriendPersonaState( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendPersonaName" )] internal static extern IntPtr GetFriendPersonaName( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendGamePlayed" )] internal static extern bool /*bool*/ GetFriendGamePlayed( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend, ref FriendGameInfo_t /*struct FriendGameInfo_t **/ pFriendGameInfo );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendPersonaNameHistory" )] internal static extern IntPtr GetFriendPersonaNameHistory( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend, int /*int*/ iPersonaName );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendSteamLevel" )] internal static extern int /*int*/ GetFriendSteamLevel( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetPlayerNickname" )] internal static extern IntPtr GetPlayerNickname( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDPlayer );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupCount" )] internal static extern int /*int*/ GetFriendsGroupCount( IntPtr ISteamFriends );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupIDByIndex" )] internal static extern short /*FriendsGroupID_t*/ GetFriendsGroupIDByIndex( IntPtr ISteamFriends, int /*int*/ iFG );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupName" )] internal static extern IntPtr GetFriendsGroupName( IntPtr ISteamFriends, FriendsGroupID_t /*FriendsGroupID_t*/ friendsGroupID );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupMembersCount" )] internal static extern int /*int*/ GetFriendsGroupMembersCount( IntPtr ISteamFriends, FriendsGroupID_t /*FriendsGroupID_t*/ friendsGroupID );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendsGroupMembersList" )] internal static extern void /*void*/ GetFriendsGroupMembersList( IntPtr ISteamFriends, FriendsGroupID_t /*FriendsGroupID_t*/ friendsGroupID, IntPtr /*class CSteamID **/ pOutSteamIDMembers, int /*int*/ nMembersCount );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_HasFriend" )] internal static extern bool /*bool*/ HasFriend( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend, int /*int*/ iFriendFlags );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanCount" )] internal static extern int /*int*/ GetClanCount( IntPtr ISteamFriends );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanByIndex" )] internal static extern ulong /*class CSteamID*/ GetClanByIndex( IntPtr ISteamFriends, int /*int*/ iClan );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanName" )] internal static extern IntPtr GetClanName( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanTag" )] internal static extern IntPtr GetClanTag( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanActivityCounts" )] internal static extern bool /*bool*/ GetClanActivityCounts( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan, out int /*int **/ pnOnline, out int /*int **/ pnInGame, out int /*int **/ pnChatting );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_DownloadClanActivityCounts" )] internal static extern ulong /*SteamAPICall_t*/ DownloadClanActivityCounts( IntPtr ISteamFriends, IntPtr /*class CSteamID **/ psteamIDClans, int /*int*/ cClansToRequest );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendCountFromSource" )] internal static extern int /*int*/ GetFriendCountFromSource( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDSource );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendFromSourceByIndex" )] internal static extern ulong /*class CSteamID*/ GetFriendFromSourceByIndex( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDSource, int /*int*/ iFriend );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_IsUserInSource" )] internal static extern bool /*bool*/ IsUserInSource( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDUser, CSteamID /*class CSteamID*/ steamIDSource );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_SetInGameVoiceSpeaking" )] internal static extern void /*void*/ SetInGameVoiceSpeaking( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDUser, bool /*bool*/ bSpeaking );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlay" )] internal static extern void /*void*/ ActivateGameOverlay( IntPtr ISteamFriends, string /*const char **/ pchDialog );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlayToUser" )] internal static extern void /*void*/ ActivateGameOverlayToUser( IntPtr ISteamFriends, string /*const char **/ pchDialog , CSteamID /*class CSteamID*/ steamID );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlayToWebPage" )] internal static extern void /*void*/ ActivateGameOverlayToWebPage( IntPtr ISteamFriends, string /*const char **/ pchURL );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlayToStore" )] internal static extern void /*void*/ ActivateGameOverlayToStore( IntPtr ISteamFriends, AppId_t /*AppId_t*/ nAppID, OverlayToStoreFlag /*EOverlayToStoreFlag*/ eFlag );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_SetPlayedWith" )] internal static extern void /*void*/ SetPlayedWith( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDUserPlayedWith );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_ActivateGameOverlayInviteDialog" )] internal static extern void /*void*/ ActivateGameOverlayInviteDialog( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDLobby );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetSmallFriendAvatar" )] internal static extern int /*int*/ GetSmallFriendAvatar( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetMediumFriendAvatar" )] internal static extern int /*int*/ GetMediumFriendAvatar( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetLargeFriendAvatar" )] internal static extern int /*int*/ GetLargeFriendAvatar( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_RequestUserInformation" )] internal static extern bool /*bool*/ RequestUserInformation( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDUser, bool /*bool*/ bRequireNameOnly );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_RequestClanOfficerList" )] internal static extern ulong /*SteamAPICall_t*/ RequestClanOfficerList( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanOwner" )] internal static extern ulong /*class CSteamID*/ GetClanOwner( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanOfficerCount" )] internal static extern int /*int*/ GetClanOfficerCount( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanOfficerByIndex" )] internal static extern ulong /*class CSteamID*/ GetClanOfficerByIndex( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan, int /*int*/ iOfficer );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetUserRestrictions" )] internal static extern uint /*uint32*/ GetUserRestrictions( IntPtr ISteamFriends );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_SetRichPresence" )] internal static extern bool /*bool*/ SetRichPresence( IntPtr ISteamFriends, string /*const char **/ pchKey , string /*const char **/ pchValue );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_ClearRichPresence" )] internal static extern void /*void*/ ClearRichPresence( IntPtr ISteamFriends );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendRichPresence" )] internal static extern IntPtr GetFriendRichPresence( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend, string /*const char **/ pchKey );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendRichPresenceKeyCount" )] internal static extern int /*int*/ GetFriendRichPresenceKeyCount( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendRichPresenceKeyByIndex" )] internal static extern IntPtr GetFriendRichPresenceKeyByIndex( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend, int /*int*/ iKey );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_RequestFriendRichPresence" )] internal static extern void /*void*/ RequestFriendRichPresence( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_InviteUserToGame" )] internal static extern bool /*bool*/ InviteUserToGame( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend, string /*const char **/ pchConnectString );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetCoplayFriendCount" )] internal static extern int /*int*/ GetCoplayFriendCount( IntPtr ISteamFriends );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetCoplayFriend" )] internal static extern ulong /*class CSteamID*/ GetCoplayFriend( IntPtr ISteamFriends, int /*int*/ iCoplayFriend );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendCoplayTime" )] internal static extern int /*int*/ GetFriendCoplayTime( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendCoplayGame" )] internal static extern uint /*AppId_t*/ GetFriendCoplayGame( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_JoinClanChatRoom" )] internal static extern ulong /*SteamAPICall_t*/ JoinClanChatRoom( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_LeaveClanChatRoom" )] internal static extern bool /*bool*/ LeaveClanChatRoom( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanChatMemberCount" )] internal static extern int /*int*/ GetClanChatMemberCount( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetChatMemberByIndex" )] internal static extern ulong /*class CSteamID*/ GetChatMemberByIndex( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClan, int /*int*/ iUser );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_SendClanChatMessage" )] internal static extern bool /*bool*/ SendClanChatMessage( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClanChat, string /*const char **/ pchText );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetClanChatMessage" )] internal static extern int /*int*/ GetClanChatMessage( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClanChat, int /*int*/ iMessage , IntPtr /*void **/ prgchText , int /*int*/ cchTextMax , out ChatEntryType /*EChatEntryType **/ peChatEntryType, out CSteamID /*class CSteamID **/ psteamidChatter );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_IsClanChatAdmin" )] internal static extern bool /*bool*/ IsClanChatAdmin( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClanChat, CSteamID /*class CSteamID*/ steamIDUser );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_IsClanChatWindowOpenInSteam" )] internal static extern bool /*bool*/ IsClanChatWindowOpenInSteam( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClanChat );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_OpenClanChatWindowInSteam" )] internal static extern bool /*bool*/ OpenClanChatWindowInSteam( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClanChat );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_CloseClanChatWindowInSteam" )] internal static extern bool /*bool*/ CloseClanChatWindowInSteam( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDClanChat );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_SetListenForFriendsMessages" )] internal static extern bool /*bool*/ SetListenForFriendsMessages( IntPtr ISteamFriends, bool /*bool*/ bInterceptEnabled );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_ReplyToFriendMessage" )] internal static extern bool /*bool*/ ReplyToFriendMessage( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend, string /*const char **/ pchMsgToSend );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFriendMessage" )] internal static extern int /*int*/ GetFriendMessage( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamIDFriend, int /*int*/ iMessageID , IntPtr /*void **/ pvData , int /*int*/ cubData , out ChatEntryType /*EChatEntryType **/ peChatEntryType );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_GetFollowerCount" )] internal static extern ulong /*SteamAPICall_t*/ GetFollowerCount( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamID );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_IsFollowing" )] internal static extern ulong /*SteamAPICall_t*/ IsFollowing( IntPtr ISteamFriends, CSteamID /*class CSteamID*/ steamID );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamFriends_EnumerateFollowingList" )] internal static extern ulong /*SteamAPICall_t*/ EnumerateFollowingList( IntPtr ISteamFriends, uint /*uint32*/ unStartIndex );
}
public static unsafe class ISteamUtils
{
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_GetSecondsSinceAppActive" )] internal static extern uint /*uint32*/ GetSecondsSinceAppActive( IntPtr ISteamUtils );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_GetSecondsSinceComputerActive" )] internal static extern uint /*uint32*/ GetSecondsSinceComputerActive( IntPtr ISteamUtils );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_GetConnectedUniverse" )] internal static extern Universe /*EUniverse*/ GetConnectedUniverse( IntPtr ISteamUtils );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_GetServerRealTime" )] internal static extern uint /*uint32*/ GetServerRealTime( IntPtr ISteamUtils );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_GetIPCountry" )] internal static extern IntPtr GetIPCountry( IntPtr ISteamUtils );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_GetImageSize" )] internal static extern bool /*bool*/ GetImageSize( IntPtr ISteamUtils, int /*int*/ iImage , out uint /*uint32 **/ pnWidth, out uint /*uint32 **/ pnHeight );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_GetImageRGBA" )] internal static extern bool /*bool*/ GetImageRGBA( IntPtr ISteamUtils, int /*int*/ iImage , IntPtr /*uint8 **/ pubDest, int /*int*/ nDestBufferSize );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_GetCSERIPPort" )] internal static extern bool /*bool*/ GetCSERIPPort( IntPtr ISteamUtils, out uint /*uint32 **/ unIP, out ushort /*uint16 **/ usPort );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_GetCurrentBatteryPower" )] internal static extern byte /*uint8*/ GetCurrentBatteryPower( IntPtr ISteamUtils );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_GetAppID" )] internal static extern uint /*uint32*/ GetAppID( IntPtr ISteamUtils );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_SetOverlayNotificationPosition" )] internal static extern void /*void*/ SetOverlayNotificationPosition( IntPtr ISteamUtils, NotificationPosition /*ENotificationPosition*/ eNotificationPosition );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_IsAPICallCompleted" )] internal static extern bool /*bool*/ IsAPICallCompleted( IntPtr ISteamUtils, SteamAPICall_t /*SteamAPICall_t*/ hSteamAPICall, out bool /*bool **/ pbFailed );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_GetAPICallFailureReason" )] internal static extern SteamAPICallFailure /*ESteamAPICallFailure*/ GetAPICallFailureReason( IntPtr ISteamUtils, SteamAPICall_t /*SteamAPICall_t*/ hSteamAPICall );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_GetAPICallResult" )] internal static extern bool /*bool*/ GetAPICallResult( IntPtr ISteamUtils, SteamAPICall_t /*SteamAPICall_t*/ hSteamAPICall, IntPtr /*void **/ pCallback , int /*int*/ cubCallback , int /*int*/ iCallbackExpected , out bool /*bool **/ pbFailed );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_GetIPCCallCount" )] internal static extern uint /*uint32*/ GetIPCCallCount( IntPtr ISteamUtils );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_SetWarningMessageHook" )] internal static extern void /*void*/ SetWarningMessageHook( IntPtr ISteamUtils, IntPtr /*SteamAPIWarningMessageHook_t*/ pFunction );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_IsOverlayEnabled" )] internal static extern bool /*bool*/ IsOverlayEnabled( IntPtr ISteamUtils );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_BOverlayNeedsPresent" )] internal static extern bool /*bool*/ BOverlayNeedsPresent( IntPtr ISteamUtils );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_CheckFileSignature" )] internal static extern ulong /*SteamAPICall_t*/ CheckFileSignature( IntPtr ISteamUtils, string /*const char **/ szFileName );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_ShowGamepadTextInput" )] internal static extern bool /*bool*/ ShowGamepadTextInput( IntPtr ISteamUtils, GamepadTextInputMode /*EGamepadTextInputMode*/ eInputMode , GamepadTextInputLineMode /*EGamepadTextInputLineMode*/ eLineInputMode , string /*const char **/ pchDescription , uint /*uint32*/ unCharMax , string /*const char **/ pchExistingText );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_GetEnteredGamepadTextLength" )] internal static extern uint /*uint32*/ GetEnteredGamepadTextLength( IntPtr ISteamUtils );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_GetEnteredGamepadTextInput" )] internal static extern bool /*bool*/ GetEnteredGamepadTextInput( IntPtr ISteamUtils, char* /*char **/ pchText , uint /*uint32*/ cchText );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_GetSteamUILanguage" )] internal static extern IntPtr GetSteamUILanguage( IntPtr ISteamUtils );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_IsSteamRunningInVR" )] internal static extern bool /*bool*/ IsSteamRunningInVR( IntPtr ISteamUtils );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_SetOverlayNotificationInset" )] internal static extern void /*void*/ SetOverlayNotificationInset( IntPtr ISteamUtils, int /*int*/ nHorizontalInset , int /*int*/ nVerticalInset );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_IsSteamInBigPictureMode" )] internal static extern bool /*bool*/ IsSteamInBigPictureMode( IntPtr ISteamUtils );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUtils_StartVRDashboard" )] internal static extern void /*void*/ StartVRDashboard( IntPtr ISteamUtils );
}
public static unsafe class ISteamMatchmaking
{
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetFavoriteGameCount" )] internal static extern int /*int*/ GetFavoriteGameCount( IntPtr ISteamMatchmaking );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetFavoriteGame" )] internal static extern bool /*bool*/ GetFavoriteGame( IntPtr ISteamMatchmaking, int /*int*/ iGame , ref AppId_t /*AppId_t **/ pnAppID, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnConnPort, out ushort /*uint16 **/ pnQueryPort, IntPtr /*uint32 **/ punFlags, out uint /*uint32 **/ pRTime32LastPlayedOnServer );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_AddFavoriteGame" )] internal static extern int /*int*/ AddFavoriteGame( IntPtr ISteamMatchmaking, AppId_t /*AppId_t*/ nAppID, uint /*uint32*/ nIP , ushort /*uint16*/ nConnPort , ushort /*uint16*/ nQueryPort , uint /*uint32*/ unFlags , uint /*uint32*/ rTime32LastPlayedOnServer );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_RemoveFavoriteGame" )] internal static extern bool /*bool*/ RemoveFavoriteGame( IntPtr ISteamMatchmaking, AppId_t /*AppId_t*/ nAppID, uint /*uint32*/ nIP , ushort /*uint16*/ nConnPort , ushort /*uint16*/ nQueryPort , uint /*uint32*/ unFlags );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_RequestLobbyList" )] internal static extern ulong /*SteamAPICall_t*/ RequestLobbyList( IntPtr ISteamMatchmaking );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListStringFilter" )] internal static extern void /*void*/ AddRequestLobbyListStringFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch , string /*const char **/ pchValueToMatch , LobbyComparison /*ELobbyComparison*/ eComparisonType );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListNumericalFilter" )] internal static extern void /*void*/ AddRequestLobbyListNumericalFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch , int /*int*/ nValueToMatch , LobbyComparison /*ELobbyComparison*/ eComparisonType );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListNearValueFilter" )] internal static extern void /*void*/ AddRequestLobbyListNearValueFilter( IntPtr ISteamMatchmaking, string /*const char **/ pchKeyToMatch , int /*int*/ nValueToBeCloseTo );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListFilterSlotsAvailable" )] internal static extern void /*void*/ AddRequestLobbyListFilterSlotsAvailable( IntPtr ISteamMatchmaking, int /*int*/ nSlotsAvailable );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListDistanceFilter" )] internal static extern void /*void*/ AddRequestLobbyListDistanceFilter( IntPtr ISteamMatchmaking, LobbyDistanceFilter /*ELobbyDistanceFilter*/ eLobbyDistanceFilter );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListResultCountFilter" )] internal static extern void /*void*/ AddRequestLobbyListResultCountFilter( IntPtr ISteamMatchmaking, int /*int*/ cMaxResults );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_AddRequestLobbyListCompatibleMembersFilter" )] internal static extern void /*void*/ AddRequestLobbyListCompatibleMembersFilter( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyByIndex" )] internal static extern ulong /*class CSteamID*/ GetLobbyByIndex( IntPtr ISteamMatchmaking, int /*int*/ iLobby );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_CreateLobby" )] internal static extern ulong /*SteamAPICall_t*/ CreateLobby( IntPtr ISteamMatchmaking, LobbyType /*ELobbyType*/ eLobbyType , int /*int*/ cMaxMembers );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_JoinLobby" )] internal static extern ulong /*SteamAPICall_t*/ JoinLobby( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_LeaveLobby" )] internal static extern void /*void*/ LeaveLobby( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_InviteUserToLobby" )] internal static extern bool /*bool*/ InviteUserToLobby( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, CSteamID /*class CSteamID*/ steamIDInvitee );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetNumLobbyMembers" )] internal static extern int /*int*/ GetNumLobbyMembers( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyMemberByIndex" )] internal static extern ulong /*class CSteamID*/ GetLobbyMemberByIndex( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, int /*int*/ iMember );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyData" )] internal static extern IntPtr GetLobbyData( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, string /*const char **/ pchKey );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyData" )] internal static extern bool /*bool*/ SetLobbyData( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, string /*const char **/ pchKey , string /*const char **/ pchValue );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyDataCount" )] internal static extern int /*int*/ GetLobbyDataCount( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyDataByIndex" )] internal static extern bool /*bool*/ GetLobbyDataByIndex( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, int /*int*/ iLobbyData , char* /*char **/ pchKey , int /*int*/ cchKeyBufferSize , char* /*char **/ pchValue , int /*int*/ cchValueBufferSize );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_DeleteLobbyData" )] internal static extern bool /*bool*/ DeleteLobbyData( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, string /*const char **/ pchKey );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyMemberData" )] internal static extern IntPtr GetLobbyMemberData( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchKey );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyMemberData" )] internal static extern void /*void*/ SetLobbyMemberData( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, string /*const char **/ pchKey , string /*const char **/ pchValue );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_SendLobbyChatMsg" )] internal static extern bool /*bool*/ SendLobbyChatMsg( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, IntPtr /*const void **/ pvMsgBody , int /*int*/ cubMsgBody );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyChatEntry" )] internal static extern int /*int*/ GetLobbyChatEntry( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, int /*int*/ iChatID , out CSteamID /*class CSteamID **/ pSteamIDUser, IntPtr /*void **/ pvData , int /*int*/ cubData , out ChatEntryType /*EChatEntryType **/ peChatEntryType );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_RequestLobbyData" )] internal static extern bool /*bool*/ RequestLobbyData( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyGameServer" )] internal static extern void /*void*/ SetLobbyGameServer( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, uint /*uint32*/ unGameServerIP , ushort /*uint16*/ unGameServerPort , CSteamID /*class CSteamID*/ steamIDGameServer );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyGameServer" )] internal static extern bool /*bool*/ GetLobbyGameServer( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, out uint /*uint32 **/ punGameServerIP, out ushort /*uint16 **/ punGameServerPort, out CSteamID /*class CSteamID **/ psteamIDGameServer );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyMemberLimit" )] internal static extern bool /*bool*/ SetLobbyMemberLimit( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, int /*int*/ cMaxMembers );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyMemberLimit" )] internal static extern int /*int*/ GetLobbyMemberLimit( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyType" )] internal static extern bool /*bool*/ SetLobbyType( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, LobbyType /*ELobbyType*/ eLobbyType );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyJoinable" )] internal static extern bool /*bool*/ SetLobbyJoinable( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, bool /*bool*/ bLobbyJoinable );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_GetLobbyOwner" )] internal static extern ulong /*class CSteamID*/ GetLobbyOwner( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLobbyOwner" )] internal static extern bool /*bool*/ SetLobbyOwner( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, CSteamID /*class CSteamID*/ steamIDNewOwner );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmaking_SetLinkedLobby" )] internal static extern bool /*bool*/ SetLinkedLobby( IntPtr ISteamMatchmaking, CSteamID /*class CSteamID*/ steamIDLobby, CSteamID /*class CSteamID*/ steamIDLobbyDependent );
}
public static unsafe class ISteamMatchmakingServers
{
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestInternetServerList" )] internal static extern IntPtr /*HServerListRequest*/ RequestInternetServerList( IntPtr ISteamMatchmakingServers, AppId_t /*AppId_t*/ iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters , IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestLANServerList" )] internal static extern IntPtr /*HServerListRequest*/ RequestLANServerList( IntPtr ISteamMatchmakingServers, AppId_t /*AppId_t*/ iApp, IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestFriendsServerList" )] internal static extern IntPtr /*HServerListRequest*/ RequestFriendsServerList( IntPtr ISteamMatchmakingServers, AppId_t /*AppId_t*/ iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters , IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestFavoritesServerList" )] internal static extern IntPtr /*HServerListRequest*/ RequestFavoritesServerList( IntPtr ISteamMatchmakingServers, AppId_t /*AppId_t*/ iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters , IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestHistoryServerList" )] internal static extern IntPtr /*HServerListRequest*/ RequestHistoryServerList( IntPtr ISteamMatchmakingServers, AppId_t /*AppId_t*/ iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters , IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RequestSpectatorServerList" )] internal static extern IntPtr /*HServerListRequest*/ RequestSpectatorServerList( IntPtr ISteamMatchmakingServers, AppId_t /*AppId_t*/ iApp, IntPtr /*struct MatchMakingKeyValuePair_t ***/ ppchFilters, uint /*uint32*/ nFilters , IntPtr /*class ISteamMatchmakingServerListResponse **/ pRequestServersResponse );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_ReleaseRequest" )] internal static extern void /*void*/ ReleaseRequest( IntPtr ISteamMatchmakingServers, HServerListRequest /*HServerListRequest*/ hServerListRequest );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_GetServerDetails" )] internal static extern IntPtr /*class gameserveritem_t **/ GetServerDetails( IntPtr ISteamMatchmakingServers, HServerListRequest /*HServerListRequest*/ hRequest, int /*int*/ iServer );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_CancelQuery" )] internal static extern void /*void*/ CancelQuery( IntPtr ISteamMatchmakingServers, HServerListRequest /*HServerListRequest*/ hRequest );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RefreshQuery" )] internal static extern void /*void*/ RefreshQuery( IntPtr ISteamMatchmakingServers, HServerListRequest /*HServerListRequest*/ hRequest );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_IsRefreshing" )] internal static extern bool /*bool*/ IsRefreshing( IntPtr ISteamMatchmakingServers, HServerListRequest /*HServerListRequest*/ hRequest );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_GetServerCount" )] internal static extern int /*int*/ GetServerCount( IntPtr ISteamMatchmakingServers, HServerListRequest /*HServerListRequest*/ hRequest );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_RefreshServer" )] internal static extern void /*void*/ RefreshServer( IntPtr ISteamMatchmakingServers, HServerListRequest /*HServerListRequest*/ hRequest, int /*int*/ iServer );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_PingServer" )] internal static extern int /*HServerQuery*/ PingServer( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP , ushort /*uint16*/ usPort , IntPtr /*class ISteamMatchmakingPingResponse **/ pRequestServersResponse );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_PlayerDetails" )] internal static extern int /*HServerQuery*/ PlayerDetails( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP , ushort /*uint16*/ usPort , IntPtr /*class ISteamMatchmakingPlayersResponse **/ pRequestServersResponse );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_ServerRules" )] internal static extern int /*HServerQuery*/ ServerRules( IntPtr ISteamMatchmakingServers, uint /*uint32*/ unIP , ushort /*uint16*/ usPort , IntPtr /*class ISteamMatchmakingRulesResponse **/ pRequestServersResponse );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMatchmakingServers_CancelServerQuery" )] internal static extern void /*void*/ CancelServerQuery( IntPtr ISteamMatchmakingServers, HServerQuery /*HServerQuery*/ hServerQuery );
}
public static unsafe class ISteamRemoteStorage
{
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWrite" )] internal static extern bool /*bool*/ FileWrite( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile , IntPtr /*const void **/ pvData , int /*int32*/ cubData );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileRead" )] internal static extern int /*int32*/ FileRead( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile , IntPtr /*void **/ pvData , int /*int32*/ cubDataToRead );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteAsync" )] internal static extern ulong /*SteamAPICall_t*/ FileWriteAsync( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile , IntPtr /*const void **/ pvData , uint /*uint32*/ cubData );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileReadAsync" )] internal static extern ulong /*SteamAPICall_t*/ FileReadAsync( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile , uint /*uint32*/ nOffset , uint /*uint32*/ cubToRead );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileReadAsyncComplete" )] internal static extern bool /*bool*/ FileReadAsyncComplete( IntPtr ISteamRemoteStorage, SteamAPICall_t /*SteamAPICall_t*/ hReadCall, IntPtr /*void **/ pvBuffer , uint /*uint32*/ cubToRead );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileForget" )] internal static extern bool /*bool*/ FileForget( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileDelete" )] internal static extern bool /*bool*/ FileDelete( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileShare" )] internal static extern ulong /*SteamAPICall_t*/ FileShare( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_SetSyncPlatforms" )] internal static extern bool /*bool*/ SetSyncPlatforms( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile , RemoteStoragePlatform /*ERemoteStoragePlatform*/ eRemoteStoragePlatform );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteStreamOpen" )] internal static extern ulong /*UGCFileWriteStreamHandle_t*/ FileWriteStreamOpen( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteStreamWriteChunk" )] internal static extern bool /*bool*/ FileWriteStreamWriteChunk( IntPtr ISteamRemoteStorage, UGCFileWriteStreamHandle_t /*UGCFileWriteStreamHandle_t*/ writeHandle, IntPtr /*const void **/ pvData , int /*int32*/ cubData );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteStreamClose" )] internal static extern bool /*bool*/ FileWriteStreamClose( IntPtr ISteamRemoteStorage, UGCFileWriteStreamHandle_t /*UGCFileWriteStreamHandle_t*/ writeHandle );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileWriteStreamCancel" )] internal static extern bool /*bool*/ FileWriteStreamCancel( IntPtr ISteamRemoteStorage, UGCFileWriteStreamHandle_t /*UGCFileWriteStreamHandle_t*/ writeHandle );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FileExists" )] internal static extern bool /*bool*/ FileExists( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_FilePersisted" )] internal static extern bool /*bool*/ FilePersisted( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetFileSize" )] internal static extern int /*int32*/ GetFileSize( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetFileTimestamp" )] internal static extern long /*int64*/ GetFileTimestamp( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetSyncPlatforms" )] internal static extern RemoteStoragePlatform /*ERemoteStoragePlatform*/ GetSyncPlatforms( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetFileCount" )] internal static extern int /*int32*/ GetFileCount( IntPtr ISteamRemoteStorage );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetFileNameAndSize" )] internal static extern IntPtr GetFileNameAndSize( IntPtr ISteamRemoteStorage, int /*int*/ iFile , IntPtr /*int32 **/ pnFileSizeInBytes );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetQuota" )] internal static extern bool /*bool*/ GetQuota( IntPtr ISteamRemoteStorage, IntPtr /*int32 **/ pnTotalBytes, IntPtr /*int32 **/ puAvailableBytes );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_IsCloudEnabledForAccount" )] internal static extern bool /*bool*/ IsCloudEnabledForAccount( IntPtr ISteamRemoteStorage );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_IsCloudEnabledForApp" )] internal static extern bool /*bool*/ IsCloudEnabledForApp( IntPtr ISteamRemoteStorage );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_SetCloudEnabledForApp" )] internal static extern void /*void*/ SetCloudEnabledForApp( IntPtr ISteamRemoteStorage, bool /*bool*/ bEnabled );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UGCDownload" )] internal static extern ulong /*SteamAPICall_t*/ UGCDownload( IntPtr ISteamRemoteStorage, UGCHandle_t /*UGCHandle_t*/ hContent, uint /*uint32*/ unPriority );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetUGCDownloadProgress" )] internal static extern bool /*bool*/ GetUGCDownloadProgress( IntPtr ISteamRemoteStorage, UGCHandle_t /*UGCHandle_t*/ hContent, out int /*int32 **/ pnBytesDownloaded, out int /*int32 **/ pnBytesExpected );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetUGCDetails" )] internal static extern bool /*bool*/ GetUGCDetails( IntPtr ISteamRemoteStorage, UGCHandle_t /*UGCHandle_t*/ hContent, ref AppId_t /*AppId_t **/ pnAppID, char* /*char ***/ ppchName , IntPtr /*int32 **/ pnFileSizeInBytes, out CSteamID /*class CSteamID **/ pSteamIDOwner );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UGCRead" )] internal static extern int /*int32*/ UGCRead( IntPtr ISteamRemoteStorage, UGCHandle_t /*UGCHandle_t*/ hContent, IntPtr /*void **/ pvData , int /*int32*/ cubDataToRead , uint /*uint32*/ cOffset , UGCReadAction /*EUGCReadAction*/ eAction );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetCachedUGCCount" )] internal static extern int /*int32*/ GetCachedUGCCount( IntPtr ISteamRemoteStorage );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetCachedUGCHandle" )] internal static extern ulong /*UGCHandle_t*/ GetCachedUGCHandle( IntPtr ISteamRemoteStorage, int /*int32*/ iCachedContent );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_PublishWorkshopFile" )] internal static extern ulong /*SteamAPICall_t*/ PublishWorkshopFile( IntPtr ISteamRemoteStorage, string /*const char **/ pchFile , string /*const char **/ pchPreviewFile , AppId_t /*AppId_t*/ nConsumerAppId, string /*const char **/ pchTitle , string /*const char **/ pchDescription , RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility , IntPtr /*struct SteamParamStringArray_t **/ pTags, WorkshopFileType /*EWorkshopFileType*/ eWorkshopFileType );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_CreatePublishedFileUpdateRequest" )] internal static extern ulong /*PublishedFileUpdateHandle_t*/ CreatePublishedFileUpdateRequest( IntPtr ISteamRemoteStorage, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileId );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileFile" )] internal static extern bool /*bool*/ UpdatePublishedFileFile( IntPtr ISteamRemoteStorage, PublishedFileUpdateHandle_t /*PublishedFileUpdateHandle_t*/ updateHandle, string /*const char **/ pchFile );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFilePreviewFile" )] internal static extern bool /*bool*/ UpdatePublishedFilePreviewFile( IntPtr ISteamRemoteStorage, PublishedFileUpdateHandle_t /*PublishedFileUpdateHandle_t*/ updateHandle, string /*const char **/ pchPreviewFile );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTitle" )] internal static extern bool /*bool*/ UpdatePublishedFileTitle( IntPtr ISteamRemoteStorage, PublishedFileUpdateHandle_t /*PublishedFileUpdateHandle_t*/ updateHandle, string /*const char **/ pchTitle );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileDescription" )] internal static extern bool /*bool*/ UpdatePublishedFileDescription( IntPtr ISteamRemoteStorage, PublishedFileUpdateHandle_t /*PublishedFileUpdateHandle_t*/ updateHandle, string /*const char **/ pchDescription );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileVisibility" )] internal static extern bool /*bool*/ UpdatePublishedFileVisibility( IntPtr ISteamRemoteStorage, PublishedFileUpdateHandle_t /*PublishedFileUpdateHandle_t*/ updateHandle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTags" )] internal static extern bool /*bool*/ UpdatePublishedFileTags( IntPtr ISteamRemoteStorage, PublishedFileUpdateHandle_t /*PublishedFileUpdateHandle_t*/ updateHandle, IntPtr /*struct SteamParamStringArray_t **/ pTags );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_CommitPublishedFileUpdate" )] internal static extern ulong /*SteamAPICall_t*/ CommitPublishedFileUpdate( IntPtr ISteamRemoteStorage, PublishedFileUpdateHandle_t /*PublishedFileUpdateHandle_t*/ updateHandle );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetPublishedFileDetails" )] internal static extern ulong /*SteamAPICall_t*/ GetPublishedFileDetails( IntPtr ISteamRemoteStorage, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileId, uint /*uint32*/ unMaxSecondsOld );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_DeletePublishedFile" )] internal static extern ulong /*SteamAPICall_t*/ DeletePublishedFile( IntPtr ISteamRemoteStorage, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileId );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumerateUserPublishedFiles" )] internal static extern ulong /*SteamAPICall_t*/ EnumerateUserPublishedFiles( IntPtr ISteamRemoteStorage, uint /*uint32*/ unStartIndex );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_SubscribePublishedFile" )] internal static extern ulong /*SteamAPICall_t*/ SubscribePublishedFile( IntPtr ISteamRemoteStorage, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileId );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumerateUserSubscribedFiles" )] internal static extern ulong /*SteamAPICall_t*/ EnumerateUserSubscribedFiles( IntPtr ISteamRemoteStorage, uint /*uint32*/ unStartIndex );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UnsubscribePublishedFile" )] internal static extern ulong /*SteamAPICall_t*/ UnsubscribePublishedFile( IntPtr ISteamRemoteStorage, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileId );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdatePublishedFileSetChangeDescription" )] internal static extern bool /*bool*/ UpdatePublishedFileSetChangeDescription( IntPtr ISteamRemoteStorage, PublishedFileUpdateHandle_t /*PublishedFileUpdateHandle_t*/ updateHandle, string /*const char **/ pchChangeDescription );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetPublishedItemVoteDetails" )] internal static extern ulong /*SteamAPICall_t*/ GetPublishedItemVoteDetails( IntPtr ISteamRemoteStorage, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileId );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UpdateUserPublishedItemVote" )] internal static extern ulong /*SteamAPICall_t*/ UpdateUserPublishedItemVote( IntPtr ISteamRemoteStorage, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileId, bool /*bool*/ bVoteUp );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_GetUserPublishedItemVoteDetails" )] internal static extern ulong /*SteamAPICall_t*/ GetUserPublishedItemVoteDetails( IntPtr ISteamRemoteStorage, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileId );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumerateUserSharedWorkshopFiles" )] internal static extern ulong /*SteamAPICall_t*/ EnumerateUserSharedWorkshopFiles( IntPtr ISteamRemoteStorage, CSteamID /*class CSteamID*/ steamId, uint /*uint32*/ unStartIndex , IntPtr /*struct SteamParamStringArray_t **/ pRequiredTags, IntPtr /*struct SteamParamStringArray_t **/ pExcludedTags );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_PublishVideo" )] internal static extern ulong /*SteamAPICall_t*/ PublishVideo( IntPtr ISteamRemoteStorage, WorkshopVideoProvider /*EWorkshopVideoProvider*/ eVideoProvider , string /*const char **/ pchVideoAccount , string /*const char **/ pchVideoIdentifier , string /*const char **/ pchPreviewFile , AppId_t /*AppId_t*/ nConsumerAppId, string /*const char **/ pchTitle , string /*const char **/ pchDescription , RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility , IntPtr /*struct SteamParamStringArray_t **/ pTags );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_SetUserPublishedFileAction" )] internal static extern ulong /*SteamAPICall_t*/ SetUserPublishedFileAction( IntPtr ISteamRemoteStorage, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileId, WorkshopFileAction /*EWorkshopFileAction*/ eAction );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumeratePublishedFilesByUserAction" )] internal static extern ulong /*SteamAPICall_t*/ EnumeratePublishedFilesByUserAction( IntPtr ISteamRemoteStorage, WorkshopFileAction /*EWorkshopFileAction*/ eAction , uint /*uint32*/ unStartIndex );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_EnumeratePublishedWorkshopFiles" )] internal static extern ulong /*SteamAPICall_t*/ EnumeratePublishedWorkshopFiles( IntPtr ISteamRemoteStorage, WorkshopEnumerationType /*EWorkshopEnumerationType*/ eEnumerationType , uint /*uint32*/ unStartIndex , uint /*uint32*/ unCount , uint /*uint32*/ unDays , IntPtr /*struct SteamParamStringArray_t **/ pTags, IntPtr /*struct SteamParamStringArray_t **/ pUserTags );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamRemoteStorage_UGCDownloadToLocation" )] internal static extern ulong /*SteamAPICall_t*/ UGCDownloadToLocation( IntPtr ISteamRemoteStorage, UGCHandle_t /*UGCHandle_t*/ hContent, string /*const char **/ pchLocation , uint /*uint32*/ unPriority );
}
public static unsafe class ISteamUserStats
{
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_RequestCurrentStats" )] internal static extern bool /*bool*/ RequestCurrentStats( IntPtr ISteamUserStats );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetStat" )] internal static extern bool /*bool*/ GetStat( IntPtr ISteamUserStats, string /*const char **/ pchName , out int /*int32 **/ pData );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetStat0" )] internal static extern bool /*bool*/ GetStat0( IntPtr ISteamUserStats, string /*const char **/ pchName , out float /*float **/ pData );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_SetStat" )] internal static extern bool /*bool*/ SetStat( IntPtr ISteamUserStats, string /*const char **/ pchName , int /*int32*/ nData );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_SetStat0" )] internal static extern bool /*bool*/ SetStat0( IntPtr ISteamUserStats, string /*const char **/ pchName , float /*float*/ fData );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_UpdateAvgRateStat" )] internal static extern bool /*bool*/ UpdateAvgRateStat( IntPtr ISteamUserStats, string /*const char **/ pchName , float /*float*/ flCountThisSession , double /*double*/ dSessionLength );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievement" )] internal static extern bool /*bool*/ GetAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName , out bool /*bool **/ pbAchieved );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_SetAchievement" )] internal static extern bool /*bool*/ SetAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_ClearAchievement" )] internal static extern bool /*bool*/ ClearAchievement( IntPtr ISteamUserStats, string /*const char **/ pchName );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementAndUnlockTime" )] internal static extern bool /*bool*/ GetAchievementAndUnlockTime( IntPtr ISteamUserStats, string /*const char **/ pchName , out bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_StoreStats" )] internal static extern bool /*bool*/ StoreStats( IntPtr ISteamUserStats );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementIcon" )] internal static extern int /*int*/ GetAchievementIcon( IntPtr ISteamUserStats, string /*const char **/ pchName );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementDisplayAttribute" )] internal static extern IntPtr GetAchievementDisplayAttribute( IntPtr ISteamUserStats, string /*const char **/ pchName , string /*const char **/ pchKey );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_IndicateAchievementProgress" )] internal static extern bool /*bool*/ IndicateAchievementProgress( IntPtr ISteamUserStats, string /*const char **/ pchName , uint /*uint32*/ nCurProgress , uint /*uint32*/ nMaxProgress );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetNumAchievements" )] internal static extern uint /*uint32*/ GetNumAchievements( IntPtr ISteamUserStats );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementName" )] internal static extern IntPtr GetAchievementName( IntPtr ISteamUserStats, uint /*uint32*/ iAchievement );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_RequestUserStats" )] internal static extern ulong /*SteamAPICall_t*/ RequestUserStats( IntPtr ISteamUserStats, CSteamID /*class CSteamID*/ steamIDUser );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetUserStat" )] internal static extern bool /*bool*/ GetUserStat( IntPtr ISteamUserStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , out int /*int32 **/ pData );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetUserStat0" )] internal static extern bool /*bool*/ GetUserStat0( IntPtr ISteamUserStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , out float /*float **/ pData );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetUserAchievement" )] internal static extern bool /*bool*/ GetUserAchievement( IntPtr ISteamUserStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , out bool /*bool **/ pbAchieved );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetUserAchievementAndUnlockTime" )] internal static extern bool /*bool*/ GetUserAchievementAndUnlockTime( IntPtr ISteamUserStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , out bool /*bool **/ pbAchieved, out uint /*uint32 **/ punUnlockTime );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_ResetAllStats" )] internal static extern bool /*bool*/ ResetAllStats( IntPtr ISteamUserStats, bool /*bool*/ bAchievementsToo );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_FindOrCreateLeaderboard" )] internal static extern ulong /*SteamAPICall_t*/ FindOrCreateLeaderboard( IntPtr ISteamUserStats, string /*const char **/ pchLeaderboardName , LeaderboardSortMethod /*ELeaderboardSortMethod*/ eLeaderboardSortMethod , LeaderboardDisplayType /*ELeaderboardDisplayType*/ eLeaderboardDisplayType );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_FindLeaderboard" )] internal static extern ulong /*SteamAPICall_t*/ FindLeaderboard( IntPtr ISteamUserStats, string /*const char **/ pchLeaderboardName );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetLeaderboardName" )] internal static extern IntPtr GetLeaderboardName( IntPtr ISteamUserStats, SteamLeaderboard_t /*SteamLeaderboard_t*/ hSteamLeaderboard );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetLeaderboardEntryCount" )] internal static extern int /*int*/ GetLeaderboardEntryCount( IntPtr ISteamUserStats, SteamLeaderboard_t /*SteamLeaderboard_t*/ hSteamLeaderboard );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetLeaderboardSortMethod" )] internal static extern LeaderboardSortMethod /*ELeaderboardSortMethod*/ GetLeaderboardSortMethod( IntPtr ISteamUserStats, SteamLeaderboard_t /*SteamLeaderboard_t*/ hSteamLeaderboard );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetLeaderboardDisplayType" )] internal static extern LeaderboardDisplayType /*ELeaderboardDisplayType*/ GetLeaderboardDisplayType( IntPtr ISteamUserStats, SteamLeaderboard_t /*SteamLeaderboard_t*/ hSteamLeaderboard );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_DownloadLeaderboardEntries" )] internal static extern ulong /*SteamAPICall_t*/ DownloadLeaderboardEntries( IntPtr ISteamUserStats, SteamLeaderboard_t /*SteamLeaderboard_t*/ hSteamLeaderboard, LeaderboardDataRequest /*ELeaderboardDataRequest*/ eLeaderboardDataRequest , int /*int*/ nRangeStart , int /*int*/ nRangeEnd );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_DownloadLeaderboardEntriesForUsers" )] internal static extern ulong /*SteamAPICall_t*/ DownloadLeaderboardEntriesForUsers( IntPtr ISteamUserStats, SteamLeaderboard_t /*SteamLeaderboard_t*/ hSteamLeaderboard, IntPtr /*class CSteamID **/ prgUsers, int /*int*/ cUsers );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetDownloadedLeaderboardEntry" )] internal static extern bool /*bool*/ GetDownloadedLeaderboardEntry( IntPtr ISteamUserStats, SteamLeaderboardEntries_t /*SteamLeaderboardEntries_t*/ hSteamLeaderboardEntries, int /*int*/ index , ref LeaderboardEntry_t /*struct LeaderboardEntry_t **/ pLeaderboardEntry, IntPtr /*int32 **/ pDetails, int /*int*/ cDetailsMax );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_UploadLeaderboardScore" )] internal static extern ulong /*SteamAPICall_t*/ UploadLeaderboardScore( IntPtr ISteamUserStats, SteamLeaderboard_t /*SteamLeaderboard_t*/ hSteamLeaderboard, LeaderboardUploadScoreMethod /*ELeaderboardUploadScoreMethod*/ eLeaderboardUploadScoreMethod , int /*int32*/ nScore , IntPtr /*const int32 **/ pScoreDetails, int /*int*/ cScoreDetailsCount );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_AttachLeaderboardUGC" )] internal static extern ulong /*SteamAPICall_t*/ AttachLeaderboardUGC( IntPtr ISteamUserStats, SteamLeaderboard_t /*SteamLeaderboard_t*/ hSteamLeaderboard, UGCHandle_t /*UGCHandle_t*/ hUGC );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetNumberOfCurrentPlayers" )] internal static extern ulong /*SteamAPICall_t*/ GetNumberOfCurrentPlayers( IntPtr ISteamUserStats );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_RequestGlobalAchievementPercentages" )] internal static extern ulong /*SteamAPICall_t*/ RequestGlobalAchievementPercentages( IntPtr ISteamUserStats );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetMostAchievedAchievementInfo" )] internal static extern int /*int*/ GetMostAchievedAchievementInfo( IntPtr ISteamUserStats, char* /*char **/ pchName , uint /*uint32*/ unNameBufLen , out float /*float **/ pflPercent, out bool /*bool **/ pbAchieved );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetNextMostAchievedAchievementInfo" )] internal static extern int /*int*/ GetNextMostAchievedAchievementInfo( IntPtr ISteamUserStats, int /*int*/ iIteratorPrevious , char* /*char **/ pchName , uint /*uint32*/ unNameBufLen , out float /*float **/ pflPercent, out bool /*bool **/ pbAchieved );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetAchievementAchievedPercent" )] internal static extern bool /*bool*/ GetAchievementAchievedPercent( IntPtr ISteamUserStats, string /*const char **/ pchName , out float /*float **/ pflPercent );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_RequestGlobalStats" )] internal static extern ulong /*SteamAPICall_t*/ RequestGlobalStats( IntPtr ISteamUserStats, int /*int*/ nHistoryDays );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetGlobalStat" )] internal static extern bool /*bool*/ GetGlobalStat( IntPtr ISteamUserStats, string /*const char **/ pchStatName , out long /*int64 **/ pData );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetGlobalStat0" )] internal static extern bool /*bool*/ GetGlobalStat0( IntPtr ISteamUserStats, string /*const char **/ pchStatName , out double /*double **/ pData );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetGlobalStatHistory" )] internal static extern int /*int32*/ GetGlobalStatHistory( IntPtr ISteamUserStats, string /*const char **/ pchStatName , out long /*int64 **/ pData, uint /*uint32*/ cubData );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUserStats_GetGlobalStatHistory0" )] internal static extern int /*int32*/ GetGlobalStatHistory0( IntPtr ISteamUserStats, string /*const char **/ pchStatName , out double /*double **/ pData, uint /*uint32*/ cubData );
}
public static unsafe class ISteamApps
{
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_BIsSubscribed" )] internal static extern bool /*bool*/ BIsSubscribed( IntPtr ISteamApps );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_BIsLowViolence" )] internal static extern bool /*bool*/ BIsLowViolence( IntPtr ISteamApps );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_BIsCybercafe" )] internal static extern bool /*bool*/ BIsCybercafe( IntPtr ISteamApps );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_BIsVACBanned" )] internal static extern bool /*bool*/ BIsVACBanned( IntPtr ISteamApps );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_GetCurrentGameLanguage" )] internal static extern IntPtr GetCurrentGameLanguage( IntPtr ISteamApps );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_GetAvailableGameLanguages" )] internal static extern IntPtr GetAvailableGameLanguages( IntPtr ISteamApps );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_BIsSubscribedApp" )] internal static extern bool /*bool*/ BIsSubscribedApp( IntPtr ISteamApps, AppId_t /*AppId_t*/ appID );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_BIsDlcInstalled" )] internal static extern bool /*bool*/ BIsDlcInstalled( IntPtr ISteamApps, AppId_t /*AppId_t*/ appID );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_GetEarliestPurchaseUnixTime" )] internal static extern uint /*uint32*/ GetEarliestPurchaseUnixTime( IntPtr ISteamApps, AppId_t /*AppId_t*/ nAppID );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_BIsSubscribedFromFreeWeekend" )] internal static extern bool /*bool*/ BIsSubscribedFromFreeWeekend( IntPtr ISteamApps );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_GetDLCCount" )] internal static extern int /*int*/ GetDLCCount( IntPtr ISteamApps );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_BGetDLCDataByIndex" )] internal static extern bool /*bool*/ BGetDLCDataByIndex( IntPtr ISteamApps, int /*int*/ iDLC , ref AppId_t /*AppId_t **/ pAppID, out bool /*bool **/ pbAvailable, char* /*char **/ pchName , int /*int*/ cchNameBufferSize );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_InstallDLC" )] internal static extern void /*void*/ InstallDLC( IntPtr ISteamApps, AppId_t /*AppId_t*/ nAppID );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_UninstallDLC" )] internal static extern void /*void*/ UninstallDLC( IntPtr ISteamApps, AppId_t /*AppId_t*/ nAppID );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_RequestAppProofOfPurchaseKey" )] internal static extern void /*void*/ RequestAppProofOfPurchaseKey( IntPtr ISteamApps, AppId_t /*AppId_t*/ nAppID );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_GetCurrentBetaName" )] internal static extern bool /*bool*/ GetCurrentBetaName( IntPtr ISteamApps, char* /*char **/ pchName , int /*int*/ cchNameBufferSize );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_MarkContentCorrupt" )] internal static extern bool /*bool*/ MarkContentCorrupt( IntPtr ISteamApps, bool /*bool*/ bMissingFilesOnly );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_GetInstalledDepots" )] internal static extern uint /*uint32*/ GetInstalledDepots( IntPtr ISteamApps, AppId_t /*AppId_t*/ appID, IntPtr /*DepotId_t **/ pvecDepots, uint /*uint32*/ cMaxDepots );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_GetAppInstallDir" )] internal static extern uint /*uint32*/ GetAppInstallDir( IntPtr ISteamApps, AppId_t /*AppId_t*/ appID, char* /*char **/ pchFolder , uint /*uint32*/ cchFolderBufferSize );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_BIsAppInstalled" )] internal static extern bool /*bool*/ BIsAppInstalled( IntPtr ISteamApps, AppId_t /*AppId_t*/ appID );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_GetAppOwner" )] internal static extern ulong /*class CSteamID*/ GetAppOwner( IntPtr ISteamApps );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_GetLaunchQueryParam" )] internal static extern IntPtr GetLaunchQueryParam( IntPtr ISteamApps, string /*const char **/ pchKey );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_GetDlcDownloadProgress" )] internal static extern bool /*bool*/ GetDlcDownloadProgress( IntPtr ISteamApps, AppId_t /*AppId_t*/ nAppID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_GetAppBuildId" )] internal static extern int /*int*/ GetAppBuildId( IntPtr ISteamApps );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamApps_RequestAllProofOfPurchaseKeys" )] internal static extern void /*void*/ RequestAllProofOfPurchaseKeys( IntPtr ISteamApps );
}
public static unsafe class ISteamNetworking
{
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_SendP2PPacket" )] internal static extern bool /*bool*/ SendP2PPacket( IntPtr ISteamNetworking, CSteamID /*class CSteamID*/ steamIDRemote, IntPtr /*const void **/ pubData , uint /*uint32*/ cubData , P2PSend /*EP2PSend*/ eP2PSendType , int /*int*/ nChannel );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_IsP2PPacketAvailable" )] internal static extern bool /*bool*/ IsP2PPacketAvailable( IntPtr ISteamNetworking, out uint /*uint32 **/ pcubMsgSize, int /*int*/ nChannel );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_ReadP2PPacket" )] internal static extern bool /*bool*/ ReadP2PPacket( IntPtr ISteamNetworking, IntPtr /*void **/ pubDest , uint /*uint32*/ cubDest , out uint /*uint32 **/ pcubMsgSize, out CSteamID /*class CSteamID **/ psteamIDRemote, int /*int*/ nChannel );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_AcceptP2PSessionWithUser" )] internal static extern bool /*bool*/ AcceptP2PSessionWithUser( IntPtr ISteamNetworking, CSteamID /*class CSteamID*/ steamIDRemote );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_CloseP2PSessionWithUser" )] internal static extern bool /*bool*/ CloseP2PSessionWithUser( IntPtr ISteamNetworking, CSteamID /*class CSteamID*/ steamIDRemote );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_CloseP2PChannelWithUser" )] internal static extern bool /*bool*/ CloseP2PChannelWithUser( IntPtr ISteamNetworking, CSteamID /*class CSteamID*/ steamIDRemote, int /*int*/ nChannel );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_GetP2PSessionState" )] internal static extern bool /*bool*/ GetP2PSessionState( IntPtr ISteamNetworking, CSteamID /*class CSteamID*/ steamIDRemote, ref P2PSessionState_t /*struct P2PSessionState_t **/ pConnectionState );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_AllowP2PPacketRelay" )] internal static extern bool /*bool*/ AllowP2PPacketRelay( IntPtr ISteamNetworking, bool /*bool*/ bAllow );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_CreateListenSocket" )] internal static extern uint /*SNetListenSocket_t*/ CreateListenSocket( IntPtr ISteamNetworking, int /*int*/ nVirtualP2PPort , uint /*uint32*/ nIP , ushort /*uint16*/ nPort , bool /*bool*/ bAllowUseOfPacketRelay );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_CreateP2PConnectionSocket" )] internal static extern uint /*SNetSocket_t*/ CreateP2PConnectionSocket( IntPtr ISteamNetworking, CSteamID /*class CSteamID*/ steamIDTarget, int /*int*/ nVirtualPort , int /*int*/ nTimeoutSec , bool /*bool*/ bAllowUseOfPacketRelay );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_CreateConnectionSocket" )] internal static extern uint /*SNetSocket_t*/ CreateConnectionSocket( IntPtr ISteamNetworking, uint /*uint32*/ nIP , ushort /*uint16*/ nPort , int /*int*/ nTimeoutSec );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_DestroySocket" )] internal static extern bool /*bool*/ DestroySocket( IntPtr ISteamNetworking, SNetSocket_t /*SNetSocket_t*/ hSocket, bool /*bool*/ bNotifyRemoteEnd );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_DestroyListenSocket" )] internal static extern bool /*bool*/ DestroyListenSocket( IntPtr ISteamNetworking, SNetListenSocket_t /*SNetListenSocket_t*/ hSocket, bool /*bool*/ bNotifyRemoteEnd );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_SendDataOnSocket" )] internal static extern bool /*bool*/ SendDataOnSocket( IntPtr ISteamNetworking, SNetSocket_t /*SNetSocket_t*/ hSocket, IntPtr /*void **/ pubData , uint /*uint32*/ cubData , bool /*bool*/ bReliable );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_IsDataAvailableOnSocket" )] internal static extern bool /*bool*/ IsDataAvailableOnSocket( IntPtr ISteamNetworking, SNetSocket_t /*SNetSocket_t*/ hSocket, out uint /*uint32 **/ pcubMsgSize );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_RetrieveDataFromSocket" )] internal static extern bool /*bool*/ RetrieveDataFromSocket( IntPtr ISteamNetworking, SNetSocket_t /*SNetSocket_t*/ hSocket, IntPtr /*void **/ pubDest , uint /*uint32*/ cubDest , out uint /*uint32 **/ pcubMsgSize );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_IsDataAvailable" )] internal static extern bool /*bool*/ IsDataAvailable( IntPtr ISteamNetworking, SNetListenSocket_t /*SNetListenSocket_t*/ hListenSocket, out uint /*uint32 **/ pcubMsgSize, ref SNetSocket_t /*SNetSocket_t **/ phSocket );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_RetrieveData" )] internal static extern bool /*bool*/ RetrieveData( IntPtr ISteamNetworking, SNetListenSocket_t /*SNetListenSocket_t*/ hListenSocket, IntPtr /*void **/ pubDest , uint /*uint32*/ cubDest , out uint /*uint32 **/ pcubMsgSize, ref SNetSocket_t /*SNetSocket_t **/ phSocket );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_GetSocketInfo" )] internal static extern bool /*bool*/ GetSocketInfo( IntPtr ISteamNetworking, SNetSocket_t /*SNetSocket_t*/ hSocket, out CSteamID /*class CSteamID **/ pSteamIDRemote, IntPtr /*int **/ peSocketStatus, out uint /*uint32 **/ punIPRemote, out ushort /*uint16 **/ punPortRemote );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_GetListenSocketInfo" )] internal static extern bool /*bool*/ GetListenSocketInfo( IntPtr ISteamNetworking, SNetListenSocket_t /*SNetListenSocket_t*/ hListenSocket, out uint /*uint32 **/ pnIP, out ushort /*uint16 **/ pnPort );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_GetSocketConnectionType" )] internal static extern SNetSocketConnectionType /*ESNetSocketConnectionType*/ GetSocketConnectionType( IntPtr ISteamNetworking, SNetSocket_t /*SNetSocket_t*/ hSocket );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamNetworking_GetMaxPacketSize" )] internal static extern int /*int*/ GetMaxPacketSize( IntPtr ISteamNetworking, SNetSocket_t /*SNetSocket_t*/ hSocket );
}
public static unsafe class ISteamScreenshots
{
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamScreenshots_WriteScreenshot" )] internal static extern uint /*ScreenshotHandle*/ WriteScreenshot( IntPtr ISteamScreenshots, IntPtr /*void **/ pubRGB , uint /*uint32*/ cubRGB , int /*int*/ nWidth , int /*int*/ nHeight );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamScreenshots_AddScreenshotToLibrary" )] internal static extern uint /*ScreenshotHandle*/ AddScreenshotToLibrary( IntPtr ISteamScreenshots, string /*const char **/ pchFilename , string /*const char **/ pchThumbnailFilename , int /*int*/ nWidth , int /*int*/ nHeight );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamScreenshots_TriggerScreenshot" )] internal static extern void /*void*/ TriggerScreenshot( IntPtr ISteamScreenshots );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamScreenshots_HookScreenshots" )] internal static extern void /*void*/ HookScreenshots( IntPtr ISteamScreenshots, bool /*bool*/ bHook );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamScreenshots_SetLocation" )] internal static extern bool /*bool*/ SetLocation( IntPtr ISteamScreenshots, ScreenshotHandle /*ScreenshotHandle*/ hScreenshot, string /*const char **/ pchLocation );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamScreenshots_TagUser" )] internal static extern bool /*bool*/ TagUser( IntPtr ISteamScreenshots, ScreenshotHandle /*ScreenshotHandle*/ hScreenshot, CSteamID /*class CSteamID*/ steamID );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamScreenshots_TagPublishedFile" )] internal static extern bool /*bool*/ TagPublishedFile( IntPtr ISteamScreenshots, ScreenshotHandle /*ScreenshotHandle*/ hScreenshot, PublishedFileId_t /*PublishedFileId_t*/ unPublishedFileID );
}
public static unsafe class ISteamMusic
{
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusic_BIsEnabled" )] internal static extern bool /*bool*/ BIsEnabled( IntPtr ISteamMusic );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusic_BIsPlaying" )] internal static extern bool /*bool*/ BIsPlaying( IntPtr ISteamMusic );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusic_GetPlaybackStatus" )] internal static extern AudioPlayback_Status /*AudioPlayback_Status*/ GetPlaybackStatus( IntPtr ISteamMusic );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusic_Play" )] internal static extern void /*void*/ Play( IntPtr ISteamMusic );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusic_Pause" )] internal static extern void /*void*/ Pause( IntPtr ISteamMusic );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusic_PlayPrevious" )] internal static extern void /*void*/ PlayPrevious( IntPtr ISteamMusic );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusic_PlayNext" )] internal static extern void /*void*/ PlayNext( IntPtr ISteamMusic );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusic_SetVolume" )] internal static extern void /*void*/ SetVolume( IntPtr ISteamMusic, float /*float*/ flVolume );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusic_GetVolume" )] internal static extern float /*float*/ GetVolume( IntPtr ISteamMusic );
}
public static unsafe class ISteamMusicRemote
{
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_RegisterSteamMusicRemote" )] internal static extern bool /*bool*/ RegisterSteamMusicRemote( IntPtr ISteamMusicRemote, string /*const char **/ pchName );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_DeregisterSteamMusicRemote" )] internal static extern bool /*bool*/ DeregisterSteamMusicRemote( IntPtr ISteamMusicRemote );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_BIsCurrentMusicRemote" )] internal static extern bool /*bool*/ BIsCurrentMusicRemote( IntPtr ISteamMusicRemote );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_BActivationSuccess" )] internal static extern bool /*bool*/ BActivationSuccess( IntPtr ISteamMusicRemote, bool /*bool*/ bValue );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_SetDisplayName" )] internal static extern bool /*bool*/ SetDisplayName( IntPtr ISteamMusicRemote, string /*const char **/ pchDisplayName );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_SetPNGIcon_64x64" )] internal static extern bool /*bool*/ SetPNGIcon_64x64( IntPtr ISteamMusicRemote, IntPtr /*void **/ pvBuffer , uint /*uint32*/ cbBufferLength );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_EnablePlayPrevious" )] internal static extern bool /*bool*/ EnablePlayPrevious( IntPtr ISteamMusicRemote, bool /*bool*/ bValue );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_EnablePlayNext" )] internal static extern bool /*bool*/ EnablePlayNext( IntPtr ISteamMusicRemote, bool /*bool*/ bValue );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_EnableShuffled" )] internal static extern bool /*bool*/ EnableShuffled( IntPtr ISteamMusicRemote, bool /*bool*/ bValue );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_EnableLooped" )] internal static extern bool /*bool*/ EnableLooped( IntPtr ISteamMusicRemote, bool /*bool*/ bValue );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_EnableQueue" )] internal static extern bool /*bool*/ EnableQueue( IntPtr ISteamMusicRemote, bool /*bool*/ bValue );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_EnablePlaylists" )] internal static extern bool /*bool*/ EnablePlaylists( IntPtr ISteamMusicRemote, bool /*bool*/ bValue );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdatePlaybackStatus" )] internal static extern bool /*bool*/ UpdatePlaybackStatus( IntPtr ISteamMusicRemote, AudioPlayback_Status /*AudioPlayback_Status*/ nStatus );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateShuffled" )] internal static extern bool /*bool*/ UpdateShuffled( IntPtr ISteamMusicRemote, bool /*bool*/ bValue );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateLooped" )] internal static extern bool /*bool*/ UpdateLooped( IntPtr ISteamMusicRemote, bool /*bool*/ bValue );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateVolume" )] internal static extern bool /*bool*/ UpdateVolume( IntPtr ISteamMusicRemote, float /*float*/ flValue );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_CurrentEntryWillChange" )] internal static extern bool /*bool*/ CurrentEntryWillChange( IntPtr ISteamMusicRemote );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_CurrentEntryIsAvailable" )] internal static extern bool /*bool*/ CurrentEntryIsAvailable( IntPtr ISteamMusicRemote, bool /*bool*/ bAvailable );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateCurrentEntryText" )] internal static extern bool /*bool*/ UpdateCurrentEntryText( IntPtr ISteamMusicRemote, string /*const char **/ pchText );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateCurrentEntryElapsedSeconds" )] internal static extern bool /*bool*/ UpdateCurrentEntryElapsedSeconds( IntPtr ISteamMusicRemote, int /*int*/ nValue );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_UpdateCurrentEntryCoverArt" )] internal static extern bool /*bool*/ UpdateCurrentEntryCoverArt( IntPtr ISteamMusicRemote, IntPtr /*void **/ pvBuffer , uint /*uint32*/ cbBufferLength );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_CurrentEntryDidChange" )] internal static extern bool /*bool*/ CurrentEntryDidChange( IntPtr ISteamMusicRemote );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_QueueWillChange" )] internal static extern bool /*bool*/ QueueWillChange( IntPtr ISteamMusicRemote );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_ResetQueueEntries" )] internal static extern bool /*bool*/ ResetQueueEntries( IntPtr ISteamMusicRemote );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_SetQueueEntry" )] internal static extern bool /*bool*/ SetQueueEntry( IntPtr ISteamMusicRemote, int /*int*/ nID , int /*int*/ nPosition , string /*const char **/ pchEntryText );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_SetCurrentQueueEntry" )] internal static extern bool /*bool*/ SetCurrentQueueEntry( IntPtr ISteamMusicRemote, int /*int*/ nID );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_QueueDidChange" )] internal static extern bool /*bool*/ QueueDidChange( IntPtr ISteamMusicRemote );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_PlaylistWillChange" )] internal static extern bool /*bool*/ PlaylistWillChange( IntPtr ISteamMusicRemote );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_ResetPlaylistEntries" )] internal static extern bool /*bool*/ ResetPlaylistEntries( IntPtr ISteamMusicRemote );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_SetPlaylistEntry" )] internal static extern bool /*bool*/ SetPlaylistEntry( IntPtr ISteamMusicRemote, int /*int*/ nID , int /*int*/ nPosition , string /*const char **/ pchEntryText );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_SetCurrentPlaylistEntry" )] internal static extern bool /*bool*/ SetCurrentPlaylistEntry( IntPtr ISteamMusicRemote, int /*int*/ nID );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamMusicRemote_PlaylistDidChange" )] internal static extern bool /*bool*/ PlaylistDidChange( IntPtr ISteamMusicRemote );
}
public static unsafe class ISteamHTTP
{
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_CreateHTTPRequest" )] internal static extern uint /*HTTPRequestHandle*/ CreateHTTPRequest( IntPtr ISteamHTTP, HTTPMethod /*EHTTPMethod*/ eHTTPRequestMethod , string /*const char **/ pchAbsoluteURL );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestContextValue" )] internal static extern bool /*bool*/ SetHTTPRequestContextValue( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, ulong /*uint64*/ ulContextValue );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestNetworkActivityTimeout" )] internal static extern bool /*bool*/ SetHTTPRequestNetworkActivityTimeout( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, uint /*uint32*/ unTimeoutSeconds );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestHeaderValue" )] internal static extern bool /*bool*/ SetHTTPRequestHeaderValue( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, string /*const char **/ pchHeaderName , string /*const char **/ pchHeaderValue );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestGetOrPostParameter" )] internal static extern bool /*bool*/ SetHTTPRequestGetOrPostParameter( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, string /*const char **/ pchParamName , string /*const char **/ pchParamValue );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_SendHTTPRequest" )] internal static extern bool /*bool*/ SendHTTPRequest( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, ref SteamAPICall_t /*SteamAPICall_t **/ pCallHandle );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_SendHTTPRequestAndStreamResponse" )] internal static extern bool /*bool*/ SendHTTPRequestAndStreamResponse( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, ref SteamAPICall_t /*SteamAPICall_t **/ pCallHandle );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_DeferHTTPRequest" )] internal static extern bool /*bool*/ DeferHTTPRequest( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_PrioritizeHTTPRequest" )] internal static extern bool /*bool*/ PrioritizeHTTPRequest( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPResponseHeaderSize" )] internal static extern bool /*bool*/ GetHTTPResponseHeaderSize( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, string /*const char **/ pchHeaderName , out uint /*uint32 **/ unResponseHeaderSize );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPResponseHeaderValue" )] internal static extern bool /*bool*/ GetHTTPResponseHeaderValue( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, string /*const char **/ pchHeaderName , out byte /*uint8 **/ pHeaderValueBuffer, uint /*uint32*/ unBufferSize );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPResponseBodySize" )] internal static extern bool /*bool*/ GetHTTPResponseBodySize( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, out uint /*uint32 **/ unBodySize );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPResponseBodyData" )] internal static extern bool /*bool*/ GetHTTPResponseBodyData( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPStreamingResponseBodyData" )] internal static extern bool /*bool*/ GetHTTPStreamingResponseBodyData( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, uint /*uint32*/ cOffset , out byte /*uint8 **/ pBodyDataBuffer, uint /*uint32*/ unBufferSize );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_ReleaseHTTPRequest" )] internal static extern bool /*bool*/ ReleaseHTTPRequest( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPDownloadProgressPct" )] internal static extern bool /*bool*/ GetHTTPDownloadProgressPct( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, out float /*float **/ pflPercentOut );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestRawPostBody" )] internal static extern bool /*bool*/ SetHTTPRequestRawPostBody( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, string /*const char **/ pchContentType , out byte /*uint8 **/ pubBody, uint /*uint32*/ unBodyLen );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_CreateCookieContainer" )] internal static extern uint /*HTTPCookieContainerHandle*/ CreateCookieContainer( IntPtr ISteamHTTP, bool /*bool*/ bAllowResponsesToModify );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_ReleaseCookieContainer" )] internal static extern bool /*bool*/ ReleaseCookieContainer( IntPtr ISteamHTTP, HTTPCookieContainerHandle /*HTTPCookieContainerHandle*/ hCookieContainer );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetCookie" )] internal static extern bool /*bool*/ SetCookie( IntPtr ISteamHTTP, HTTPCookieContainerHandle /*HTTPCookieContainerHandle*/ hCookieContainer, string /*const char **/ pchHost , string /*const char **/ pchUrl , string /*const char **/ pchCookie );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestCookieContainer" )] internal static extern bool /*bool*/ SetHTTPRequestCookieContainer( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, HTTPCookieContainerHandle /*HTTPCookieContainerHandle*/ hCookieContainer );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestUserAgentInfo" )] internal static extern bool /*bool*/ SetHTTPRequestUserAgentInfo( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, string /*const char **/ pchUserAgentInfo );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestRequiresVerifiedCertificate" )] internal static extern bool /*bool*/ SetHTTPRequestRequiresVerifiedCertificate( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, bool /*bool*/ bRequireVerifiedCertificate );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_SetHTTPRequestAbsoluteTimeoutMS" )] internal static extern bool /*bool*/ SetHTTPRequestAbsoluteTimeoutMS( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, uint /*uint32*/ unMilliseconds );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTTP_GetHTTPRequestWasTimedOut" )] internal static extern bool /*bool*/ GetHTTPRequestWasTimedOut( IntPtr ISteamHTTP, HTTPRequestHandle /*HTTPRequestHandle*/ hRequest, out bool /*bool **/ pbWasTimedOut );
}
public static unsafe class ISteamUnifiedMessages
{
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUnifiedMessages_SendMethod" )] internal static extern ulong /*ClientUnifiedMessageHandle*/ SendMethod( IntPtr ISteamUnifiedMessages, string /*const char **/ pchServiceMethod , IntPtr /*const void **/ pRequestBuffer , uint /*uint32*/ unRequestBufferSize , ulong /*uint64*/ unContext );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUnifiedMessages_GetMethodResponseInfo" )] internal static extern bool /*bool*/ GetMethodResponseInfo( IntPtr ISteamUnifiedMessages, ClientUnifiedMessageHandle /*ClientUnifiedMessageHandle*/ hHandle, out uint /*uint32 **/ punResponseSize, out Result /*EResult **/ peResult );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUnifiedMessages_GetMethodResponseData" )] internal static extern bool /*bool*/ GetMethodResponseData( IntPtr ISteamUnifiedMessages, ClientUnifiedMessageHandle /*ClientUnifiedMessageHandle*/ hHandle, IntPtr /*void **/ pResponseBuffer , uint /*uint32*/ unResponseBufferSize , bool /*bool*/ bAutoRelease );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUnifiedMessages_ReleaseMethod" )] internal static extern bool /*bool*/ ReleaseMethod( IntPtr ISteamUnifiedMessages, ClientUnifiedMessageHandle /*ClientUnifiedMessageHandle*/ hHandle );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUnifiedMessages_SendNotification" )] internal static extern bool /*bool*/ SendNotification( IntPtr ISteamUnifiedMessages, string /*const char **/ pchServiceNotification , IntPtr /*const void **/ pNotificationBuffer , uint /*uint32*/ unNotificationBufferSize );
}
public static unsafe class ISteamController
{
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_Init" )] internal static extern bool /*bool*/ Init( IntPtr ISteamController );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_Shutdown" )] internal static extern bool /*bool*/ Shutdown( IntPtr ISteamController );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_RunFrame" )] internal static extern void /*void*/ RunFrame( IntPtr ISteamController );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_GetConnectedControllers" )] internal static extern int /*int*/ GetConnectedControllers( IntPtr ISteamController, IntPtr /*ControllerHandle_t **/ handlesOut );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_ShowBindingPanel" )] internal static extern bool /*bool*/ ShowBindingPanel( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_GetActionSetHandle" )] internal static extern ulong /*ControllerActionSetHandle_t*/ GetActionSetHandle( IntPtr ISteamController, string /*const char **/ pszActionSetName );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_ActivateActionSet" )] internal static extern void /*void*/ ActivateActionSet( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle, ControllerActionSetHandle_t /*ControllerActionSetHandle_t*/ actionSetHandle );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_GetCurrentActionSet" )] internal static extern ulong /*ControllerActionSetHandle_t*/ GetCurrentActionSet( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_GetDigitalActionHandle" )] internal static extern ulong /*ControllerDigitalActionHandle_t*/ GetDigitalActionHandle( IntPtr ISteamController, string /*const char **/ pszActionName );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_GetDigitalActionData" )] internal static extern ControllerDigitalActionData_t /*struct ControllerDigitalActionData_t*/ GetDigitalActionData( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle, ControllerDigitalActionHandle_t /*ControllerDigitalActionHandle_t*/ digitalActionHandle );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_GetDigitalActionOrigins" )] internal static extern int /*int*/ GetDigitalActionOrigins( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle, ControllerActionSetHandle_t /*ControllerActionSetHandle_t*/ actionSetHandle, ControllerDigitalActionHandle_t /*ControllerDigitalActionHandle_t*/ digitalActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_GetAnalogActionHandle" )] internal static extern ulong /*ControllerAnalogActionHandle_t*/ GetAnalogActionHandle( IntPtr ISteamController, string /*const char **/ pszActionName );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_GetAnalogActionData" )] internal static extern ControllerAnalogActionData_t /*struct ControllerAnalogActionData_t*/ GetAnalogActionData( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle, ControllerAnalogActionHandle_t /*ControllerAnalogActionHandle_t*/ analogActionHandle );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_GetAnalogActionOrigins" )] internal static extern int /*int*/ GetAnalogActionOrigins( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle, ControllerActionSetHandle_t /*ControllerActionSetHandle_t*/ actionSetHandle, ControllerAnalogActionHandle_t /*ControllerAnalogActionHandle_t*/ analogActionHandle, out ControllerActionOrigin /*EControllerActionOrigin **/ originsOut );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_StopAnalogActionMomentum" )] internal static extern void /*void*/ StopAnalogActionMomentum( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle, ControllerAnalogActionHandle_t /*ControllerAnalogActionHandle_t*/ eAction );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_TriggerHapticPulse" )] internal static extern void /*void*/ TriggerHapticPulse( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad , ushort /*unsigned short*/ usDurationMicroSec );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamController_TriggerRepeatedHapticPulse" )] internal static extern void /*void*/ TriggerRepeatedHapticPulse( IntPtr ISteamController, ControllerHandle_t /*ControllerHandle_t*/ controllerHandle, SteamControllerPad /*ESteamControllerPad*/ eTargetPad , ushort /*unsigned short*/ usDurationMicroSec , ushort /*unsigned short*/ usOffMicroSec , ushort /*unsigned short*/ unRepeat , uint /*unsigned int*/ nFlags );
}
public static unsafe class ISteamUGC
{
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_CreateQueryUserUGCRequest" )] internal static extern ulong /*UGCQueryHandle_t*/ CreateQueryUserUGCRequest( IntPtr ISteamUGC, AccountID_t /*AccountID_t*/ unAccountID, UserUGCList /*EUserUGCList*/ eListType , UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingUGCType , UserUGCListSortOrder /*EUserUGCListSortOrder*/ eSortOrder , AppId_t /*AppId_t*/ nCreatorAppID, AppId_t /*AppId_t*/ nConsumerAppID, uint /*uint32*/ unPage );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_CreateQueryAllUGCRequest" )] internal static extern ulong /*UGCQueryHandle_t*/ CreateQueryAllUGCRequest( IntPtr ISteamUGC, UGCQuery /*EUGCQuery*/ eQueryType , UGCMatchingUGCType /*EUGCMatchingUGCType*/ eMatchingeMatchingUGCTypeFileType , AppId_t /*AppId_t*/ nCreatorAppID, AppId_t /*AppId_t*/ nConsumerAppID, uint /*uint32*/ unPage );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_CreateQueryUGCDetailsRequest" )] internal static extern ulong /*UGCQueryHandle_t*/ CreateQueryUGCDetailsRequest( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ unNumPublishedFileIDs );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SendQueryUGCRequest" )] internal static extern ulong /*SteamAPICall_t*/ SendQueryUGCRequest( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCResult" )] internal static extern bool /*bool*/ GetQueryUGCResult( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ index , IntPtr /*struct SteamUGCDetails_t **/ pDetails );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCPreviewURL" )] internal static extern bool /*bool*/ GetQueryUGCPreviewURL( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ index , char* /*char **/ pchURL , uint /*uint32*/ cchURLSize );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCMetadata" )] internal static extern bool /*bool*/ GetQueryUGCMetadata( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ index , char* /*char **/ pchMetadata , uint /*uint32*/ cchMetadatasize );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCChildren" )] internal static extern bool /*bool*/ GetQueryUGCChildren( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ index , IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCStatistic" )] internal static extern bool /*bool*/ GetQueryUGCStatistic( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ index , ItemStatistic /*EItemStatistic*/ eStatType , out uint /*uint32 **/ pStatValue );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCNumAdditionalPreviews" )] internal static extern uint /*uint32*/ GetQueryUGCNumAdditionalPreviews( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ index );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCAdditionalPreview" )] internal static extern bool /*bool*/ GetQueryUGCAdditionalPreview( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ index , uint /*uint32*/ previewIndex , char* /*char **/ pchURLOrVideoID , uint /*uint32*/ cchURLSize , char* /*char **/ pchOriginalFileName , uint /*uint32*/ cchOriginalFileNameSize , out ItemPreviewType /*EItemPreviewType **/ pPreviewType );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCNumKeyValueTags" )] internal static extern uint /*uint32*/ GetQueryUGCNumKeyValueTags( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ index );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCKeyValueTag" )] internal static extern bool /*bool*/ GetQueryUGCKeyValueTag( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ index , uint /*uint32*/ keyValueTagIndex , char* /*char **/ pchKey , uint /*uint32*/ cchKeySize , char* /*char **/ pchValue , uint /*uint32*/ cchValueSize );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_ReleaseQueryUGCRequest" )] internal static extern bool /*bool*/ ReleaseQueryUGCRequest( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_AddRequiredTag" )] internal static extern bool /*bool*/ AddRequiredTag( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, string /*const char **/ pTagName );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_AddExcludedTag" )] internal static extern bool /*bool*/ AddExcludedTag( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, string /*const char **/ pTagName );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetReturnKeyValueTags" )] internal static extern bool /*bool*/ SetReturnKeyValueTags( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, bool /*bool*/ bReturnKeyValueTags );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetReturnLongDescription" )] internal static extern bool /*bool*/ SetReturnLongDescription( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, bool /*bool*/ bReturnLongDescription );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetReturnMetadata" )] internal static extern bool /*bool*/ SetReturnMetadata( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, bool /*bool*/ bReturnMetadata );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetReturnChildren" )] internal static extern bool /*bool*/ SetReturnChildren( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, bool /*bool*/ bReturnChildren );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetReturnAdditionalPreviews" )] internal static extern bool /*bool*/ SetReturnAdditionalPreviews( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, bool /*bool*/ bReturnAdditionalPreviews );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetReturnTotalOnly" )] internal static extern bool /*bool*/ SetReturnTotalOnly( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, bool /*bool*/ bReturnTotalOnly );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetLanguage" )] internal static extern bool /*bool*/ SetLanguage( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, string /*const char **/ pchLanguage );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetAllowCachedResponse" )] internal static extern bool /*bool*/ SetAllowCachedResponse( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ unMaxAgeSeconds );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetCloudFileNameFilter" )] internal static extern bool /*bool*/ SetCloudFileNameFilter( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, string /*const char **/ pMatchCloudFileName );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetMatchAnyTag" )] internal static extern bool /*bool*/ SetMatchAnyTag( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, bool /*bool*/ bMatchAnyTag );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetSearchText" )] internal static extern bool /*bool*/ SetSearchText( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, string /*const char **/ pSearchText );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetRankedByTrendDays" )] internal static extern bool /*bool*/ SetRankedByTrendDays( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, uint /*uint32*/ unDays );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_AddRequiredKeyValueTag" )] internal static extern bool /*bool*/ AddRequiredKeyValueTag( IntPtr ISteamUGC, UGCQueryHandle_t /*UGCQueryHandle_t*/ handle, string /*const char **/ pKey , string /*const char **/ pValue );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_RequestUGCDetails" )] internal static extern ulong /*SteamAPICall_t*/ RequestUGCDetails( IntPtr ISteamUGC, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID, uint /*uint32*/ unMaxAgeSeconds );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_CreateItem" )] internal static extern ulong /*SteamAPICall_t*/ CreateItem( IntPtr ISteamUGC, AppId_t /*AppId_t*/ nConsumerAppId, WorkshopFileType /*EWorkshopFileType*/ eFileType );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_StartItemUpdate" )] internal static extern ulong /*UGCUpdateHandle_t*/ StartItemUpdate( IntPtr ISteamUGC, AppId_t /*AppId_t*/ nConsumerAppId, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetItemTitle" )] internal static extern bool /*bool*/ SetItemTitle( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pchTitle );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetItemDescription" )] internal static extern bool /*bool*/ SetItemDescription( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pchDescription );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetItemUpdateLanguage" )] internal static extern bool /*bool*/ SetItemUpdateLanguage( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pchLanguage );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetItemMetadata" )] internal static extern bool /*bool*/ SetItemMetadata( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pchMetaData );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetItemVisibility" )] internal static extern bool /*bool*/ SetItemVisibility( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, RemoteStoragePublishedFileVisibility /*ERemoteStoragePublishedFileVisibility*/ eVisibility );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetItemTags" )] internal static extern bool /*bool*/ SetItemTags( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ updateHandle, IntPtr /*const struct SteamParamStringArray_t **/ pTags );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetItemContent" )] internal static extern bool /*bool*/ SetItemContent( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pszContentFolder );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetItemPreview" )] internal static extern bool /*bool*/ SetItemPreview( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pszPreviewFile );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_RemoveItemKeyValueTags" )] internal static extern bool /*bool*/ RemoveItemKeyValueTags( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pchKey );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_AddItemKeyValueTag" )] internal static extern bool /*bool*/ AddItemKeyValueTag( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pchKey , string /*const char **/ pchValue );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_AddItemPreviewFile" )] internal static extern bool /*bool*/ AddItemPreviewFile( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pszPreviewFile , ItemPreviewType /*EItemPreviewType*/ type );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_AddItemPreviewVideo" )] internal static extern bool /*bool*/ AddItemPreviewVideo( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pszVideoID );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_UpdateItemPreviewFile" )] internal static extern bool /*bool*/ UpdateItemPreviewFile( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, uint /*uint32*/ index , string /*const char **/ pszPreviewFile );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_UpdateItemPreviewVideo" )] internal static extern bool /*bool*/ UpdateItemPreviewVideo( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, uint /*uint32*/ index , string /*const char **/ pszVideoID );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_RemoveItemPreview" )] internal static extern bool /*bool*/ RemoveItemPreview( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, uint /*uint32*/ index );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SubmitItemUpdate" )] internal static extern ulong /*SteamAPICall_t*/ SubmitItemUpdate( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, string /*const char **/ pchChangeNote );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_GetItemUpdateProgress" )] internal static extern ItemUpdateStatus /*EItemUpdateStatus*/ GetItemUpdateProgress( IntPtr ISteamUGC, UGCUpdateHandle_t /*UGCUpdateHandle_t*/ handle, out ulong /*uint64 **/ punBytesProcessed, out ulong /*uint64 **/ punBytesTotal );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SetUserItemVote" )] internal static extern ulong /*SteamAPICall_t*/ SetUserItemVote( IntPtr ISteamUGC, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID, bool /*bool*/ bVoteUp );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_GetUserItemVote" )] internal static extern ulong /*SteamAPICall_t*/ GetUserItemVote( IntPtr ISteamUGC, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_AddItemToFavorites" )] internal static extern ulong /*SteamAPICall_t*/ AddItemToFavorites( IntPtr ISteamUGC, AppId_t /*AppId_t*/ nAppId, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_RemoveItemFromFavorites" )] internal static extern ulong /*SteamAPICall_t*/ RemoveItemFromFavorites( IntPtr ISteamUGC, AppId_t /*AppId_t*/ nAppId, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SubscribeItem" )] internal static extern ulong /*SteamAPICall_t*/ SubscribeItem( IntPtr ISteamUGC, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_UnsubscribeItem" )] internal static extern ulong /*SteamAPICall_t*/ UnsubscribeItem( IntPtr ISteamUGC, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_GetNumSubscribedItems" )] internal static extern uint /*uint32*/ GetNumSubscribedItems( IntPtr ISteamUGC );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_GetSubscribedItems" )] internal static extern uint /*uint32*/ GetSubscribedItems( IntPtr ISteamUGC, IntPtr /*PublishedFileId_t **/ pvecPublishedFileID, uint /*uint32*/ cMaxEntries );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_GetItemState" )] internal static extern uint /*uint32*/ GetItemState( IntPtr ISteamUGC, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_GetItemInstallInfo" )] internal static extern bool /*bool*/ GetItemInstallInfo( IntPtr ISteamUGC, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID, out ulong /*uint64 **/ punSizeOnDisk, char* /*char **/ pchFolder , uint /*uint32*/ cchFolderSize , out uint /*uint32 **/ punTimeStamp );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_GetItemDownloadInfo" )] internal static extern bool /*bool*/ GetItemDownloadInfo( IntPtr ISteamUGC, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID, out ulong /*uint64 **/ punBytesDownloaded, out ulong /*uint64 **/ punBytesTotal );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_DownloadItem" )] internal static extern bool /*bool*/ DownloadItem( IntPtr ISteamUGC, PublishedFileId_t /*PublishedFileId_t*/ nPublishedFileID, bool /*bool*/ bHighPriority );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_BInitWorkshopForGameServer" )] internal static extern bool /*bool*/ BInitWorkshopForGameServer( IntPtr ISteamUGC, DepotId_t /*DepotId_t*/ unWorkshopDepotID, string /*const char **/ pszFolder );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamUGC_SuspendDownloads" )] internal static extern void /*void*/ SuspendDownloads( IntPtr ISteamUGC, bool /*bool*/ bSuspend );
}
public static unsafe class ISteamAppList
{
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamAppList_GetNumInstalledApps" )] internal static extern uint /*uint32*/ GetNumInstalledApps( IntPtr ISteamAppList );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamAppList_GetInstalledApps" )] internal static extern uint /*uint32*/ GetInstalledApps( IntPtr ISteamAppList, IntPtr /*AppId_t **/ pvecAppID, uint /*uint32*/ unMaxAppIDs );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamAppList_GetAppName" )] internal static extern int /*int*/ GetAppName( IntPtr ISteamAppList, AppId_t /*AppId_t*/ nAppID, char* /*char **/ pchName , int /*int*/ cchNameMax );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamAppList_GetAppInstallDir" )] internal static extern int /*int*/ GetAppInstallDir( IntPtr ISteamAppList, AppId_t /*AppId_t*/ nAppID, char* /*char **/ pchDirectory , int /*int*/ cchNameMax );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamAppList_GetAppBuildId" )] internal static extern int /*int*/ GetAppBuildId( IntPtr ISteamAppList, AppId_t /*AppId_t*/ nAppID );
}
public static unsafe class ISteamHTMLSurface
{
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_DestructISteamHTMLSurface" )] internal static extern void /*void*/ DestructISteamHTMLSurface( IntPtr ISteamHTMLSurface );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_Init" )] internal static extern bool /*bool*/ Init( IntPtr ISteamHTMLSurface );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_Shutdown" )] internal static extern bool /*bool*/ Shutdown( IntPtr ISteamHTMLSurface );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_CreateBrowser" )] internal static extern ulong /*SteamAPICall_t*/ CreateBrowser( IntPtr ISteamHTMLSurface, string /*const char **/ pchUserAgent , string /*const char **/ pchUserCSS );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_RemoveBrowser" )] internal static extern void /*void*/ RemoveBrowser( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_LoadURL" )] internal static extern void /*void*/ LoadURL( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, string /*const char **/ pchURL , string /*const char **/ pchPostData );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetSize" )] internal static extern void /*void*/ SetSize( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, uint /*uint32*/ unWidth , uint /*uint32*/ unHeight );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_StopLoad" )] internal static extern void /*void*/ StopLoad( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_Reload" )] internal static extern void /*void*/ Reload( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_GoBack" )] internal static extern void /*void*/ GoBack( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_GoForward" )] internal static extern void /*void*/ GoForward( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_AddHeader" )] internal static extern void /*void*/ AddHeader( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, string /*const char **/ pchKey , string /*const char **/ pchValue );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_ExecuteJavascript" )] internal static extern void /*void*/ ExecuteJavascript( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, string /*const char **/ pchScript );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseUp" )] internal static extern void /*void*/ MouseUp( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseDown" )] internal static extern void /*void*/ MouseDown( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseDoubleClick" )] internal static extern void /*void*/ MouseDoubleClick( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, HTMLMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ eMouseButton );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseMove" )] internal static extern void /*void*/ MouseMove( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, int /*int*/ x , int /*int*/ y );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_MouseWheel" )] internal static extern void /*void*/ MouseWheel( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, int /*int32*/ nDelta );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_KeyDown" )] internal static extern void /*void*/ KeyDown( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, uint /*uint32*/ nNativeKeyCode , HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_KeyUp" )] internal static extern void /*void*/ KeyUp( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, uint /*uint32*/ nNativeKeyCode , HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_KeyChar" )] internal static extern void /*void*/ KeyChar( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, uint /*uint32*/ cUnicodeChar , HTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ eHTMLKeyModifiers );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetHorizontalScroll" )] internal static extern void /*void*/ SetHorizontalScroll( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetVerticalScroll" )] internal static extern void /*void*/ SetVerticalScroll( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, uint /*uint32*/ nAbsolutePixelScroll );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetKeyFocus" )] internal static extern void /*void*/ SetKeyFocus( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, bool /*bool*/ bHasKeyFocus );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_ViewSource" )] internal static extern void /*void*/ ViewSource( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_CopyToClipboard" )] internal static extern void /*void*/ CopyToClipboard( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_PasteFromClipboard" )] internal static extern void /*void*/ PasteFromClipboard( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_Find" )] internal static extern void /*void*/ Find( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, string /*const char **/ pchSearchStr , bool /*bool*/ bCurrentlyInFind , bool /*bool*/ bReverse );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_StopFind" )] internal static extern void /*void*/ StopFind( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_GetLinkAtPosition" )] internal static extern void /*void*/ GetLinkAtPosition( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, int /*int*/ x , int /*int*/ y );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetCookie" )] internal static extern void /*void*/ SetCookie( IntPtr ISteamHTMLSurface, string /*const char **/ pchHostname , string /*const char **/ pchKey , string /*const char **/ pchValue , string /*const char **/ pchPath , RTime32 /*RTime32*/ nExpires, bool /*bool*/ bSecure , bool /*bool*/ bHTTPOnly );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetPageScaleFactor" )] internal static extern void /*void*/ SetPageScaleFactor( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, float /*float*/ flZoom , int /*int*/ nPointX , int /*int*/ nPointY );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_SetBackgroundMode" )] internal static extern void /*void*/ SetBackgroundMode( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, bool /*bool*/ bBackgroundMode );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_AllowStartRequest" )] internal static extern void /*void*/ AllowStartRequest( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, bool /*bool*/ bAllowed );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamHTMLSurface_JSDialogResponse" )] internal static extern void /*void*/ JSDialogResponse( IntPtr ISteamHTMLSurface, HHTMLBrowser /*HHTMLBrowser*/ unBrowserHandle, bool /*bool*/ bResult );
}
public static unsafe class ISteamInventory
{
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_GetResultStatus" )] internal static extern Result /*EResult*/ GetResultStatus( IntPtr ISteamInventory, SteamInventoryResult_t /*SteamInventoryResult_t*/ resultHandle );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_GetResultItems" )] internal static extern bool /*bool*/ GetResultItems( IntPtr ISteamInventory, SteamInventoryResult_t /*SteamInventoryResult_t*/ resultHandle, IntPtr /*struct SteamItemDetails_t **/ pOutItemsArray, out uint /*uint32 **/ punOutItemsArraySize );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_GetResultTimestamp" )] internal static extern uint /*uint32*/ GetResultTimestamp( IntPtr ISteamInventory, SteamInventoryResult_t /*SteamInventoryResult_t*/ resultHandle );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_CheckResultSteamID" )] internal static extern bool /*bool*/ CheckResultSteamID( IntPtr ISteamInventory, SteamInventoryResult_t /*SteamInventoryResult_t*/ resultHandle, CSteamID /*class CSteamID*/ steamIDExpected );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_DestroyResult" )] internal static extern void /*void*/ DestroyResult( IntPtr ISteamInventory, SteamInventoryResult_t /*SteamInventoryResult_t*/ resultHandle );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_GetAllItems" )] internal static extern bool /*bool*/ GetAllItems( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_GetItemsByID" )] internal static extern bool /*bool*/ GetItemsByID( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle, IntPtr /*const SteamItemInstanceID_t **/ pInstanceIDs, uint /*uint32*/ unCountInstanceIDs );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_SerializeResult" )] internal static extern bool /*bool*/ SerializeResult( IntPtr ISteamInventory, SteamInventoryResult_t /*SteamInventoryResult_t*/ resultHandle, IntPtr /*void **/ pOutBuffer , out uint /*uint32 **/ punOutBufferSize );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_DeserializeResult" )] internal static extern bool /*bool*/ DeserializeResult( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pOutResultHandle, IntPtr /*const void **/ pBuffer , uint /*uint32*/ unBufferSize , bool /*bool*/ bRESERVED_MUST_BE_FALSE );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_GenerateItems" )] internal static extern bool /*bool*/ GenerateItems( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, out uint /*const uint32 **/ punArrayQuantity, uint /*uint32*/ unArrayLength );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_GrantPromoItems" )] internal static extern bool /*bool*/ GrantPromoItems( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_AddPromoItem" )] internal static extern bool /*bool*/ AddPromoItem( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle, SteamItemDef_t /*SteamItemDef_t*/ itemDef );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_AddPromoItems" )] internal static extern bool /*bool*/ AddPromoItems( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle, IntPtr /*const SteamItemDef_t **/ pArrayItemDefs, uint /*uint32*/ unArrayLength );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_ConsumeItem" )] internal static extern bool /*bool*/ ConsumeItem( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle, SteamItemInstanceID_t /*SteamItemInstanceID_t*/ itemConsume, uint /*uint32*/ unQuantity );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_ExchangeItems" )] internal static extern bool /*bool*/ ExchangeItems( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle, ref SteamItemDef_t /*const SteamItemDef_t **/ pArrayGenerate, out uint /*const uint32 **/ punArrayGenerateQuantity, uint /*uint32*/ unArrayGenerateLength , IntPtr /*const SteamItemInstanceID_t **/ pArrayDestroy, IntPtr /*const uint32 **/ punArrayDestroyQuantity, uint /*uint32*/ unArrayDestroyLength );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_TransferItemQuantity" )] internal static extern bool /*bool*/ TransferItemQuantity( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle, SteamItemInstanceID_t /*SteamItemInstanceID_t*/ itemIdSource, uint /*uint32*/ unQuantity , SteamItemInstanceID_t /*SteamItemInstanceID_t*/ itemIdDest );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_SendItemDropHeartbeat" )] internal static extern void /*void*/ SendItemDropHeartbeat( IntPtr ISteamInventory );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_TriggerItemDrop" )] internal static extern bool /*bool*/ TriggerItemDrop( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle, SteamItemDef_t /*SteamItemDef_t*/ dropListDefinition );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_TradeItems" )] internal static extern bool /*bool*/ TradeItems( IntPtr ISteamInventory, ref SteamInventoryResult_t /*SteamInventoryResult_t **/ pResultHandle, CSteamID /*class CSteamID*/ steamIDTradePartner, ref SteamItemInstanceID_t /*const SteamItemInstanceID_t **/ pArrayGive, out uint /*const uint32 **/ pArrayGiveQuantity, uint /*uint32*/ nArrayGiveLength , ref SteamItemInstanceID_t /*const SteamItemInstanceID_t **/ pArrayGet, out uint /*const uint32 **/ pArrayGetQuantity, uint /*uint32*/ nArrayGetLength );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_LoadItemDefinitions" )] internal static extern bool /*bool*/ LoadItemDefinitions( IntPtr ISteamInventory );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_GetItemDefinitionIDs" )] internal static extern bool /*bool*/ GetItemDefinitionIDs( IntPtr ISteamInventory, IntPtr /*SteamItemDef_t **/ pItemDefIDs, out uint /*uint32 **/ punItemDefIDsArraySize );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamInventory_GetItemDefinitionProperty" )] internal static extern bool /*bool*/ GetItemDefinitionProperty( IntPtr ISteamInventory, SteamItemDef_t /*SteamItemDef_t*/ iDefinition, string /*const char **/ pchPropertyName , char* /*char **/ pchValueBuffer , out uint /*uint32 **/ punValueBufferSize );
}
public static unsafe class ISteamVideo
{
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamVideo_GetVideoURL" )] internal static extern void /*void*/ GetVideoURL( IntPtr ISteamVideo, AppId_t /*AppId_t*/ unVideoAppID );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamVideo_IsBroadcasting" )] internal static extern bool /*bool*/ IsBroadcasting( IntPtr ISteamVideo, IntPtr /*int **/ pnNumViewers );
}
public static unsafe class ISteamGameServer
{
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_InitGameServer" )] internal static extern bool /*bool*/ InitGameServer( IntPtr ISteamGameServer, uint /*uint32*/ unIP , ushort /*uint16*/ usGamePort , ushort /*uint16*/ usQueryPort , uint /*uint32*/ unFlags , AppId_t /*AppId_t*/ nGameAppId, string /*const char **/ pchVersionString );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetProduct" )] internal static extern void /*void*/ SetProduct( IntPtr ISteamGameServer, string /*const char **/ pszProduct );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetGameDescription" )] internal static extern void /*void*/ SetGameDescription( IntPtr ISteamGameServer, string /*const char **/ pszGameDescription );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetModDir" )] internal static extern void /*void*/ SetModDir( IntPtr ISteamGameServer, string /*const char **/ pszModDir );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetDedicatedServer" )] internal static extern void /*void*/ SetDedicatedServer( IntPtr ISteamGameServer, bool /*bool*/ bDedicated );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_LogOn" )] internal static extern void /*void*/ LogOn( IntPtr ISteamGameServer, string /*const char **/ pszToken );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_LogOnAnonymous" )] internal static extern void /*void*/ LogOnAnonymous( IntPtr ISteamGameServer );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_LogOff" )] internal static extern void /*void*/ LogOff( IntPtr ISteamGameServer );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_BLoggedOn" )] internal static extern bool /*bool*/ BLoggedOn( IntPtr ISteamGameServer );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_BSecure" )] internal static extern bool /*bool*/ BSecure( IntPtr ISteamGameServer );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_GetSteamID" )] internal static extern ulong /*class CSteamID*/ GetSteamID( IntPtr ISteamGameServer );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_WasRestartRequested" )] internal static extern bool /*bool*/ WasRestartRequested( IntPtr ISteamGameServer );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetMaxPlayerCount" )] internal static extern void /*void*/ SetMaxPlayerCount( IntPtr ISteamGameServer, int /*int*/ cPlayersMax );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetBotPlayerCount" )] internal static extern void /*void*/ SetBotPlayerCount( IntPtr ISteamGameServer, int /*int*/ cBotplayers );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetServerName" )] internal static extern void /*void*/ SetServerName( IntPtr ISteamGameServer, string /*const char **/ pszServerName );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetMapName" )] internal static extern void /*void*/ SetMapName( IntPtr ISteamGameServer, string /*const char **/ pszMapName );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetPasswordProtected" )] internal static extern void /*void*/ SetPasswordProtected( IntPtr ISteamGameServer, bool /*bool*/ bPasswordProtected );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetSpectatorPort" )] internal static extern void /*void*/ SetSpectatorPort( IntPtr ISteamGameServer, ushort /*uint16*/ unSpectatorPort );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetSpectatorServerName" )] internal static extern void /*void*/ SetSpectatorServerName( IntPtr ISteamGameServer, string /*const char **/ pszSpectatorServerName );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_ClearAllKeyValues" )] internal static extern void /*void*/ ClearAllKeyValues( IntPtr ISteamGameServer );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetKeyValue" )] internal static extern void /*void*/ SetKeyValue( IntPtr ISteamGameServer, string /*const char **/ pKey , string /*const char **/ pValue );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetGameTags" )] internal static extern void /*void*/ SetGameTags( IntPtr ISteamGameServer, string /*const char **/ pchGameTags );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetGameData" )] internal static extern void /*void*/ SetGameData( IntPtr ISteamGameServer, string /*const char **/ pchGameData );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetRegion" )] internal static extern void /*void*/ SetRegion( IntPtr ISteamGameServer, string /*const char **/ pszRegion );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_SendUserConnectAndAuthenticate" )] internal static extern bool /*bool*/ SendUserConnectAndAuthenticate( IntPtr ISteamGameServer, uint /*uint32*/ unIPClient , IntPtr /*const void **/ pvAuthBlob , uint /*uint32*/ cubAuthBlobSize , out CSteamID /*class CSteamID **/ pSteamIDUser );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_CreateUnauthenticatedUserConnection" )] internal static extern ulong /*class CSteamID*/ CreateUnauthenticatedUserConnection( IntPtr ISteamGameServer );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_SendUserDisconnect" )] internal static extern void /*void*/ SendUserDisconnect( IntPtr ISteamGameServer, CSteamID /*class CSteamID*/ steamIDUser );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_BUpdateUserData" )] internal static extern bool /*bool*/ BUpdateUserData( IntPtr ISteamGameServer, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchPlayerName , uint /*uint32*/ uScore );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_GetAuthSessionTicket" )] internal static extern uint /*HAuthTicket*/ GetAuthSessionTicket( IntPtr ISteamGameServer, IntPtr /*void **/ pTicket , int /*int*/ cbMaxTicket , out uint /*uint32 **/ pcbTicket );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_BeginAuthSession" )] internal static extern BeginAuthSessionResult /*EBeginAuthSessionResult*/ BeginAuthSession( IntPtr ISteamGameServer, IntPtr /*const void **/ pAuthTicket , int /*int*/ cbAuthTicket , CSteamID /*class CSteamID*/ steamID );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_EndAuthSession" )] internal static extern void /*void*/ EndAuthSession( IntPtr ISteamGameServer, CSteamID /*class CSteamID*/ steamID );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_CancelAuthTicket" )] internal static extern void /*void*/ CancelAuthTicket( IntPtr ISteamGameServer, HAuthTicket /*HAuthTicket*/ hAuthTicket );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_UserHasLicenseForApp" )] internal static extern UserHasLicenseForAppResult /*EUserHasLicenseForAppResult*/ UserHasLicenseForApp( IntPtr ISteamGameServer, CSteamID /*class CSteamID*/ steamID, AppId_t /*AppId_t*/ appID );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_RequestUserGroupStatus" )] internal static extern bool /*bool*/ RequestUserGroupStatus( IntPtr ISteamGameServer, CSteamID /*class CSteamID*/ steamIDUser, CSteamID /*class CSteamID*/ steamIDGroup );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_GetGameplayStats" )] internal static extern void /*void*/ GetGameplayStats( IntPtr ISteamGameServer );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_GetServerReputation" )] internal static extern ulong /*SteamAPICall_t*/ GetServerReputation( IntPtr ISteamGameServer );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_GetPublicIP" )] internal static extern uint /*uint32*/ GetPublicIP( IntPtr ISteamGameServer );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_HandleIncomingPacket" )] internal static extern bool /*bool*/ HandleIncomingPacket( IntPtr ISteamGameServer, IntPtr /*const void **/ pData , int /*int*/ cbData , uint /*uint32*/ srcIP , ushort /*uint16*/ srcPort );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_GetNextOutgoingPacket" )] internal static extern int /*int*/ GetNextOutgoingPacket( IntPtr ISteamGameServer, IntPtr /*void **/ pOut , int /*int*/ cbMaxOut , out uint /*uint32 **/ pNetAdr, out ushort /*uint16 **/ pPort );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_EnableHeartbeats" )] internal static extern void /*void*/ EnableHeartbeats( IntPtr ISteamGameServer, bool /*bool*/ bActive );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_SetHeartbeatInterval" )] internal static extern void /*void*/ SetHeartbeatInterval( IntPtr ISteamGameServer, int /*int*/ iHeartbeatInterval );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_ForceHeartbeat" )] internal static extern void /*void*/ ForceHeartbeat( IntPtr ISteamGameServer );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_AssociateWithClan" )] internal static extern ulong /*SteamAPICall_t*/ AssociateWithClan( IntPtr ISteamGameServer, CSteamID /*class CSteamID*/ steamIDClan );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServer_ComputeNewPlayerCompatibility" )] internal static extern ulong /*SteamAPICall_t*/ ComputeNewPlayerCompatibility( IntPtr ISteamGameServer, CSteamID /*class CSteamID*/ steamIDNewPlayer );
}
public static unsafe class ISteamGameServerStats
{
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_RequestUserStats" )] internal static extern ulong /*SteamAPICall_t*/ RequestUserStats( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_GetUserStat" )] internal static extern bool /*bool*/ GetUserStat( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , out int /*int32 **/ pData );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_GetUserStat0" )] internal static extern bool /*bool*/ GetUserStat0( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , out float /*float **/ pData );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_GetUserAchievement" )] internal static extern bool /*bool*/ GetUserAchievement( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , out bool /*bool **/ pbAchieved );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_SetUserStat" )] internal static extern bool /*bool*/ SetUserStat( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , int /*int32*/ nData );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_SetUserStat0" )] internal static extern bool /*bool*/ SetUserStat0( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , float /*float*/ fData );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_UpdateUserAvgRateStat" )] internal static extern bool /*bool*/ UpdateUserAvgRateStat( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName , float /*float*/ flCountThisSession , double /*double*/ dSessionLength );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_SetUserAchievement" )] internal static extern bool /*bool*/ SetUserAchievement( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_ClearUserAchievement" )] internal static extern bool /*bool*/ ClearUserAchievement( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser, string /*const char **/ pchName );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_ISteamGameServerStats_StoreUserStats" )] internal static extern ulong /*SteamAPICall_t*/ StoreUserStats( IntPtr ISteamGameServerStats, CSteamID /*class CSteamID*/ steamIDUser );
}
public static unsafe class Global
{
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_Init" )] internal static extern void /*void*/ SteamAPI_Init( );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_RunCallbacks" )] internal static extern void /*void*/ SteamAPI_RunCallbacks( );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamGameServer_RunCallbacks" )] internal static extern void /*void*/ SteamGameServer_RunCallbacks( );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_RegisterCallback" )] internal static extern void /*void*/ SteamAPI_RegisterCallback( IntPtr /*void **/ pCallback , int /*int*/ callback );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_UnregisterCallback" )] internal static extern void /*void*/ SteamAPI_UnregisterCallback( IntPtr /*void **/ pCallback );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamInternal_GameServer_Init" )] internal static extern bool /*bool*/ SteamInternal_GameServer_Init( uint /*uint32*/ unIP , ushort /*uint16*/ usPort , ushort /*uint16*/ usGamePort , ushort /*uint16*/ usQueryPort , int /*int*/ eServerMode , string /*const char **/ pchVersionString );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_Shutdown" )] internal static extern void /*void*/ SteamAPI_Shutdown( );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_GetHSteamUser" )] internal static extern int /*HSteamUser*/ SteamAPI_GetHSteamUser( );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamAPI_GetHSteamPipe" )] internal static extern int /*HSteamPipe*/ SteamAPI_GetHSteamPipe( );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamGameServer_GetHSteamUser" )] internal static extern int /*HSteamUser*/ SteamGameServer_GetHSteamUser( );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamGameServer_GetHSteamPipe" )] internal static extern int /*HSteamPipe*/ SteamGameServer_GetHSteamPipe( );
[DllImportAttribute( "steam_api64.dll", EntryPoint = "SteamInternal_CreateInterface" )] internal static extern IntPtr /*void **/ SteamInternal_CreateInterface( string /*const char **/ version );
}
}
}
}

View File

@ -0,0 +1,87 @@
using System;
using System.Runtime.InteropServices;
namespace SteamNative
{
internal static partial class Platform
{
internal enum OperatingSystem
{
Unset,
Windows,
Linux,
Osx,
}
internal enum Architecture
{
Unset,
x86,
x64
}
private static OperatingSystem _os;
private static Architecture _arch;
internal static OperatingSystem Os
{
get
{
//
// Work out our platform
//
if ( _os == OperatingSystem.Unset )
{
_os = OperatingSystem.Windows;
//
// These checks aren't so accurate on older versions of mono
//
if ( Environment.OSVersion.Platform == PlatformID.MacOSX ) _os = OperatingSystem.Osx;
if ( Environment.OSVersion.Platform == PlatformID.Unix ) _os = OperatingSystem.Linux;
//
// Edging our bets
//
if ( Environment.OSVersion.VersionString.ToLower().Contains( "unix" ) ) _os = OperatingSystem.Linux;
if ( Environment.OSVersion.VersionString.ToLower().Contains( "osx" ) ) _os = OperatingSystem.Osx;
}
return _os;
}
}
internal static Architecture Arch
{
get
{
//
// Work out whether we're 64bit or 32bit
//
if ( _arch == Architecture.Unset )
{
if ( IntPtr.Size == 8 )
_arch = Architecture.x64;
else if ( IntPtr.Size == 4 )
_arch = Architecture.x86;
else
throw new System.Exception( "Unsupported Architecture!" );
}
return _arch;
}
}
public static bool IsWindows64 { get { return Arch == Architecture.x64 && Os == OperatingSystem.Windows; } }
public static bool IsWindows32 { get { return Arch == Architecture.x86 && Os == OperatingSystem.Windows; } }
public static bool IsLinux64 { get { return Arch == Architecture.x64 && Os == OperatingSystem.Linux; } }
public static bool IsLinux32 { get { return Arch == Architecture.x86 && Os == OperatingSystem.Linux; } }
public static bool IsOsx { get { return Os == OperatingSystem.Osx; } }
/// <summary>
/// We're only Pack = 8 on Windows
/// </summary>
public static bool PackSmall { get { return Os != OperatingSystem.Windows; } }
}
}

View File

@ -0,0 +1,75 @@
using System;
using System.Runtime.InteropServices;
namespace SteamNative
{
public unsafe class SteamAppList
{
internal IntPtr _ptr;
public SteamAppList( IntPtr pointer )
{
_ptr = pointer;
}
// int
public int GetAppBuildId( AppId_t nAppID /*AppId_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamAppList.GetAppBuildId( _ptr, nAppID );
else return Platform.Win64.ISteamAppList.GetAppBuildId( _ptr, nAppID );
}
// int
// with: Detect_StringFetch True
public string GetAppInstallDir( AppId_t nAppID /*AppId_t*/ )
{
int bSuccess = default( int );
var pchDirectory_buffer = new char[4096];
fixed ( void* pchDirectory_ptr = pchDirectory_buffer )
{
int cchNameMax = 4096;
if ( Platform.IsWindows32 ) bSuccess = Platform.Win32.ISteamAppList.GetAppInstallDir( _ptr, nAppID, (char*)pchDirectory_ptr, cchNameMax );
else bSuccess = Platform.Win64.ISteamAppList.GetAppInstallDir( _ptr, nAppID, (char*)pchDirectory_ptr, cchNameMax );
if ( bSuccess <= 0 ) return null;
return Marshal.PtrToStringAuto( (IntPtr)pchDirectory_ptr );
}
}
// int
// with: Detect_StringFetch True
public string GetAppName( AppId_t nAppID /*AppId_t*/ )
{
int bSuccess = default( int );
var pchName_buffer = new char[4096];
fixed ( void* pchName_ptr = pchName_buffer )
{
int cchNameMax = 4096;
if ( Platform.IsWindows32 ) bSuccess = Platform.Win32.ISteamAppList.GetAppName( _ptr, nAppID, (char*)pchName_ptr, cchNameMax );
else bSuccess = Platform.Win64.ISteamAppList.GetAppName( _ptr, nAppID, (char*)pchName_ptr, cchNameMax );
if ( bSuccess <= 0 ) return null;
return Marshal.PtrToStringAuto( (IntPtr)pchName_ptr );
}
}
// with: Detect_VectorReturn
// uint
public uint GetInstalledApps( AppId_t[] pvecAppID /*AppId_t **/ )
{
var unMaxAppIDs = (uint) pvecAppID.Length;
fixed ( AppId_t* pvecAppID_ptr = pvecAppID )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamAppList.GetInstalledApps( _ptr, (IntPtr) pvecAppID_ptr, unMaxAppIDs );
else return Platform.Win64.ISteamAppList.GetInstalledApps( _ptr, (IntPtr) pvecAppID_ptr, unMaxAppIDs );
}
}
// uint
public uint GetNumInstalledApps()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamAppList.GetNumInstalledApps( _ptr );
else return Platform.Win64.ISteamAppList.GetNumInstalledApps( _ptr );
}
}
}

View File

@ -0,0 +1,230 @@
using System;
using System.Runtime.InteropServices;
namespace SteamNative
{
public unsafe class SteamApps
{
internal IntPtr _ptr;
public SteamApps( IntPtr pointer )
{
_ptr = pointer;
}
// bool
// with: Detect_StringFetch False
public bool BGetDLCDataByIndex( int iDLC /*int*/, ref AppId_t pAppID /*AppId_t **/, out bool pbAvailable /*bool **/, out string pchName /*char **/ )
{
bool bSuccess = default( bool );
pchName = string.Empty;
var pchName_buffer = new char[4096];
fixed ( void* pchName_ptr = pchName_buffer )
{
int cchNameBufferSize = 4096;
if ( Platform.IsWindows32 ) bSuccess = Platform.Win32.ISteamApps.BGetDLCDataByIndex( _ptr, iDLC, ref pAppID, out pbAvailable, (char*)pchName_ptr, cchNameBufferSize );
else bSuccess = Platform.Win64.ISteamApps.BGetDLCDataByIndex( _ptr, iDLC, ref pAppID, out pbAvailable, (char*)pchName_ptr, cchNameBufferSize );
if ( !bSuccess ) return bSuccess;
pchName = Marshal.PtrToStringAuto( (IntPtr)pchName_ptr );
}
return bSuccess;
}
// bool
public bool BIsAppInstalled( AppId_t appID /*AppId_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamApps.BIsAppInstalled( _ptr, appID );
else return Platform.Win64.ISteamApps.BIsAppInstalled( _ptr, appID );
}
// bool
public bool BIsCybercafe()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamApps.BIsCybercafe( _ptr );
else return Platform.Win64.ISteamApps.BIsCybercafe( _ptr );
}
// bool
public bool BIsDlcInstalled( AppId_t appID /*AppId_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamApps.BIsDlcInstalled( _ptr, appID );
else return Platform.Win64.ISteamApps.BIsDlcInstalled( _ptr, appID );
}
// bool
public bool BIsLowViolence()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamApps.BIsLowViolence( _ptr );
else return Platform.Win64.ISteamApps.BIsLowViolence( _ptr );
}
// bool
public bool BIsSubscribed()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamApps.BIsSubscribed( _ptr );
else return Platform.Win64.ISteamApps.BIsSubscribed( _ptr );
}
// bool
public bool BIsSubscribedApp( AppId_t appID /*AppId_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamApps.BIsSubscribedApp( _ptr, appID );
else return Platform.Win64.ISteamApps.BIsSubscribedApp( _ptr, appID );
}
// bool
public bool BIsSubscribedFromFreeWeekend()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamApps.BIsSubscribedFromFreeWeekend( _ptr );
else return Platform.Win64.ISteamApps.BIsSubscribedFromFreeWeekend( _ptr );
}
// bool
public bool BIsVACBanned()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamApps.BIsVACBanned( _ptr );
else return Platform.Win64.ISteamApps.BIsVACBanned( _ptr );
}
// int
public int GetAppBuildId()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamApps.GetAppBuildId( _ptr );
else return Platform.Win64.ISteamApps.GetAppBuildId( _ptr );
}
// uint
// with: Detect_StringFetch True
public string GetAppInstallDir( AppId_t appID /*AppId_t*/ )
{
uint bSuccess = default( uint );
var pchFolder_buffer = new char[4096];
fixed ( void* pchFolder_ptr = pchFolder_buffer )
{
uint cchFolderBufferSize = 4096;
if ( Platform.IsWindows32 ) bSuccess = Platform.Win32.ISteamApps.GetAppInstallDir( _ptr, appID, (char*)pchFolder_ptr, cchFolderBufferSize );
else bSuccess = Platform.Win64.ISteamApps.GetAppInstallDir( _ptr, appID, (char*)pchFolder_ptr, cchFolderBufferSize );
if ( bSuccess <= 0 ) return null;
return Marshal.PtrToStringAuto( (IntPtr)pchFolder_ptr );
}
}
// ulong
public ulong GetAppOwner()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamApps.GetAppOwner( _ptr );
else return Platform.Win64.ISteamApps.GetAppOwner( _ptr );
}
// string
// with: Detect_StringReturn
public string GetAvailableGameLanguages()
{
IntPtr string_pointer;
if ( Platform.IsWindows32 ) string_pointer = Platform.Win32.ISteamApps.GetAvailableGameLanguages( _ptr );
else string_pointer = Platform.Win64.ISteamApps.GetAvailableGameLanguages( _ptr );
return Marshal.PtrToStringAnsi( string_pointer );
}
// bool
// with: Detect_StringFetch True
public string GetCurrentBetaName()
{
bool bSuccess = default( bool );
var pchName_buffer = new char[4096];
fixed ( void* pchName_ptr = pchName_buffer )
{
int cchNameBufferSize = 4096;
if ( Platform.IsWindows32 ) bSuccess = Platform.Win32.ISteamApps.GetCurrentBetaName( _ptr, (char*)pchName_ptr, cchNameBufferSize );
else bSuccess = Platform.Win64.ISteamApps.GetCurrentBetaName( _ptr, (char*)pchName_ptr, cchNameBufferSize );
if ( !bSuccess ) return null;
return Marshal.PtrToStringAuto( (IntPtr)pchName_ptr );
}
}
// string
// with: Detect_StringReturn
public string GetCurrentGameLanguage()
{
IntPtr string_pointer;
if ( Platform.IsWindows32 ) string_pointer = Platform.Win32.ISteamApps.GetCurrentGameLanguage( _ptr );
else string_pointer = Platform.Win64.ISteamApps.GetCurrentGameLanguage( _ptr );
return Marshal.PtrToStringAnsi( string_pointer );
}
// int
public int GetDLCCount()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamApps.GetDLCCount( _ptr );
else return Platform.Win64.ISteamApps.GetDLCCount( _ptr );
}
// bool
public bool GetDlcDownloadProgress( AppId_t nAppID /*AppId_t*/, out ulong punBytesDownloaded /*uint64 **/, out ulong punBytesTotal /*uint64 **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamApps.GetDlcDownloadProgress( _ptr, nAppID, out punBytesDownloaded, out punBytesTotal );
else return Platform.Win64.ISteamApps.GetDlcDownloadProgress( _ptr, nAppID, out punBytesDownloaded, out punBytesTotal );
}
// uint
public uint GetEarliestPurchaseUnixTime( AppId_t nAppID /*AppId_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamApps.GetEarliestPurchaseUnixTime( _ptr, nAppID );
else return Platform.Win64.ISteamApps.GetEarliestPurchaseUnixTime( _ptr, nAppID );
}
// uint
public uint GetInstalledDepots( AppId_t appID /*AppId_t*/, IntPtr pvecDepots /*DepotId_t **/, uint cMaxDepots /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamApps.GetInstalledDepots( _ptr, appID, (IntPtr) pvecDepots, cMaxDepots );
else return Platform.Win64.ISteamApps.GetInstalledDepots( _ptr, appID, (IntPtr) pvecDepots, cMaxDepots );
}
// string
// with: Detect_StringReturn
public string GetLaunchQueryParam( string pchKey /*const char **/ )
{
IntPtr string_pointer;
if ( Platform.IsWindows32 ) string_pointer = Platform.Win32.ISteamApps.GetLaunchQueryParam( _ptr, pchKey );
else string_pointer = Platform.Win64.ISteamApps.GetLaunchQueryParam( _ptr, pchKey );
return Marshal.PtrToStringAnsi( string_pointer );
}
// void
public void InstallDLC( AppId_t nAppID /*AppId_t*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamApps.InstallDLC( _ptr, nAppID );
else Platform.Win64.ISteamApps.InstallDLC( _ptr, nAppID );
}
// bool
public bool MarkContentCorrupt( bool bMissingFilesOnly /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamApps.MarkContentCorrupt( _ptr, bMissingFilesOnly );
else return Platform.Win64.ISteamApps.MarkContentCorrupt( _ptr, bMissingFilesOnly );
}
// void
public void RequestAllProofOfPurchaseKeys()
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamApps.RequestAllProofOfPurchaseKeys( _ptr );
else Platform.Win64.ISteamApps.RequestAllProofOfPurchaseKeys( _ptr );
}
// void
public void RequestAppProofOfPurchaseKey( AppId_t nAppID /*AppId_t*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamApps.RequestAppProofOfPurchaseKey( _ptr, nAppID );
else Platform.Win64.ISteamApps.RequestAppProofOfPurchaseKey( _ptr, nAppID );
}
// void
public void UninstallDLC( AppId_t nAppID /*AppId_t*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamApps.UninstallDLC( _ptr, nAppID );
else Platform.Win64.ISteamApps.UninstallDLC( _ptr, nAppID );
}
}
}

View File

@ -0,0 +1,285 @@
using System;
using System.Runtime.InteropServices;
namespace SteamNative
{
public unsafe class SteamClient
{
internal IntPtr _ptr;
public SteamClient( IntPtr pointer )
{
_ptr = pointer;
}
// bool
public bool BReleaseSteamPipe( HSteamPipe hSteamPipe /*HSteamPipe*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamClient.BReleaseSteamPipe( _ptr, hSteamPipe );
else return Platform.Win64.ISteamClient.BReleaseSteamPipe( _ptr, hSteamPipe );
}
// bool
public bool BShutdownIfAllPipesClosed()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamClient.BShutdownIfAllPipesClosed( _ptr );
else return Platform.Win64.ISteamClient.BShutdownIfAllPipesClosed( _ptr );
}
// HSteamUser
public HSteamUser ConnectToGlobalUser( HSteamPipe hSteamPipe /*HSteamPipe*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamClient.ConnectToGlobalUser( _ptr, hSteamPipe );
else return Platform.Win64.ISteamClient.ConnectToGlobalUser( _ptr, hSteamPipe );
}
// HSteamUser
public HSteamUser CreateLocalUser( out HSteamPipe phSteamPipe /*HSteamPipe **/, AccountType eAccountType /*EAccountType*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamClient.CreateLocalUser( _ptr, out phSteamPipe, eAccountType );
else return Platform.Win64.ISteamClient.CreateLocalUser( _ptr, out phSteamPipe, eAccountType );
}
// HSteamPipe
public HSteamPipe CreateSteamPipe()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamClient.CreateSteamPipe( _ptr );
else return Platform.Win64.ISteamClient.CreateSteamPipe( _ptr );
}
// uint
public uint GetIPCCallCount()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamClient.GetIPCCallCount( _ptr );
else return Platform.Win64.ISteamClient.GetIPCCallCount( _ptr );
}
// ISteamAppList *
public SteamAppList GetISteamAppList( HSteamUser hSteamUser /*HSteamUser*/, HSteamPipe hSteamPipe /*HSteamPipe*/, string pchVersion /*const char **/ )
{
IntPtr interface_pointer;
if ( Platform.IsWindows32 ) interface_pointer = Platform.Win32.ISteamClient.GetISteamAppList( _ptr, hSteamUser, hSteamPipe, pchVersion );
else interface_pointer = Platform.Win64.ISteamClient.GetISteamAppList( _ptr, hSteamUser, hSteamPipe, pchVersion );
return new SteamAppList( interface_pointer );
}
// ISteamApps *
public SteamApps GetISteamApps( HSteamUser hSteamUser /*HSteamUser*/, HSteamPipe hSteamPipe /*HSteamPipe*/, string pchVersion /*const char **/ )
{
IntPtr interface_pointer;
if ( Platform.IsWindows32 ) interface_pointer = Platform.Win32.ISteamClient.GetISteamApps( _ptr, hSteamUser, hSteamPipe, pchVersion );
else interface_pointer = Platform.Win64.ISteamClient.GetISteamApps( _ptr, hSteamUser, hSteamPipe, pchVersion );
return new SteamApps( interface_pointer );
}
// ISteamController *
public SteamController GetISteamController( HSteamUser hSteamUser /*HSteamUser*/, HSteamPipe hSteamPipe /*HSteamPipe*/, string pchVersion /*const char **/ )
{
IntPtr interface_pointer;
if ( Platform.IsWindows32 ) interface_pointer = Platform.Win32.ISteamClient.GetISteamController( _ptr, hSteamUser, hSteamPipe, pchVersion );
else interface_pointer = Platform.Win64.ISteamClient.GetISteamController( _ptr, hSteamUser, hSteamPipe, pchVersion );
return new SteamController( interface_pointer );
}
// ISteamFriends *
public SteamFriends GetISteamFriends( HSteamUser hSteamUser /*HSteamUser*/, HSteamPipe hSteamPipe /*HSteamPipe*/, string pchVersion /*const char **/ )
{
IntPtr interface_pointer;
if ( Platform.IsWindows32 ) interface_pointer = Platform.Win32.ISteamClient.GetISteamFriends( _ptr, hSteamUser, hSteamPipe, pchVersion );
else interface_pointer = Platform.Win64.ISteamClient.GetISteamFriends( _ptr, hSteamUser, hSteamPipe, pchVersion );
return new SteamFriends( interface_pointer );
}
// ISteamGameServer *
public SteamGameServer GetISteamGameServer( HSteamUser hSteamUser /*HSteamUser*/, HSteamPipe hSteamPipe /*HSteamPipe*/, string pchVersion /*const char **/ )
{
IntPtr interface_pointer;
if ( Platform.IsWindows32 ) interface_pointer = Platform.Win32.ISteamClient.GetISteamGameServer( _ptr, hSteamUser, hSteamPipe, pchVersion );
else interface_pointer = Platform.Win64.ISteamClient.GetISteamGameServer( _ptr, hSteamUser, hSteamPipe, pchVersion );
return new SteamGameServer( interface_pointer );
}
// ISteamGameServerStats *
public SteamGameServerStats GetISteamGameServerStats( HSteamUser hSteamuser /*HSteamUser*/, HSteamPipe hSteamPipe /*HSteamPipe*/, string pchVersion /*const char **/ )
{
IntPtr interface_pointer;
if ( Platform.IsWindows32 ) interface_pointer = Platform.Win32.ISteamClient.GetISteamGameServerStats( _ptr, hSteamuser, hSteamPipe, pchVersion );
else interface_pointer = Platform.Win64.ISteamClient.GetISteamGameServerStats( _ptr, hSteamuser, hSteamPipe, pchVersion );
return new SteamGameServerStats( interface_pointer );
}
// IntPtr
public IntPtr GetISteamGenericInterface( HSteamUser hSteamUser /*HSteamUser*/, HSteamPipe hSteamPipe /*HSteamPipe*/, string pchVersion /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamClient.GetISteamGenericInterface( _ptr, hSteamUser, hSteamPipe, pchVersion );
else return Platform.Win64.ISteamClient.GetISteamGenericInterface( _ptr, hSteamUser, hSteamPipe, pchVersion );
}
// ISteamHTMLSurface *
public SteamHTMLSurface GetISteamHTMLSurface( HSteamUser hSteamuser /*HSteamUser*/, HSteamPipe hSteamPipe /*HSteamPipe*/, string pchVersion /*const char **/ )
{
IntPtr interface_pointer;
if ( Platform.IsWindows32 ) interface_pointer = Platform.Win32.ISteamClient.GetISteamHTMLSurface( _ptr, hSteamuser, hSteamPipe, pchVersion );
else interface_pointer = Platform.Win64.ISteamClient.GetISteamHTMLSurface( _ptr, hSteamuser, hSteamPipe, pchVersion );
return new SteamHTMLSurface( interface_pointer );
}
// ISteamHTTP *
public SteamHTTP GetISteamHTTP( HSteamUser hSteamuser /*HSteamUser*/, HSteamPipe hSteamPipe /*HSteamPipe*/, string pchVersion /*const char **/ )
{
IntPtr interface_pointer;
if ( Platform.IsWindows32 ) interface_pointer = Platform.Win32.ISteamClient.GetISteamHTTP( _ptr, hSteamuser, hSteamPipe, pchVersion );
else interface_pointer = Platform.Win64.ISteamClient.GetISteamHTTP( _ptr, hSteamuser, hSteamPipe, pchVersion );
return new SteamHTTP( interface_pointer );
}
// ISteamInventory *
public SteamInventory GetISteamInventory( HSteamUser hSteamuser /*HSteamUser*/, HSteamPipe hSteamPipe /*HSteamPipe*/, string pchVersion /*const char **/ )
{
IntPtr interface_pointer;
if ( Platform.IsWindows32 ) interface_pointer = Platform.Win32.ISteamClient.GetISteamInventory( _ptr, hSteamuser, hSteamPipe, pchVersion );
else interface_pointer = Platform.Win64.ISteamClient.GetISteamInventory( _ptr, hSteamuser, hSteamPipe, pchVersion );
return new SteamInventory( interface_pointer );
}
// ISteamMatchmaking *
public SteamMatchmaking GetISteamMatchmaking( HSteamUser hSteamUser /*HSteamUser*/, HSteamPipe hSteamPipe /*HSteamPipe*/, string pchVersion /*const char **/ )
{
IntPtr interface_pointer;
if ( Platform.IsWindows32 ) interface_pointer = Platform.Win32.ISteamClient.GetISteamMatchmaking( _ptr, hSteamUser, hSteamPipe, pchVersion );
else interface_pointer = Platform.Win64.ISteamClient.GetISteamMatchmaking( _ptr, hSteamUser, hSteamPipe, pchVersion );
return new SteamMatchmaking( interface_pointer );
}
// ISteamMatchmakingServers *
public SteamMatchmakingServers GetISteamMatchmakingServers( HSteamUser hSteamUser /*HSteamUser*/, HSteamPipe hSteamPipe /*HSteamPipe*/, string pchVersion /*const char **/ )
{
IntPtr interface_pointer;
if ( Platform.IsWindows32 ) interface_pointer = Platform.Win32.ISteamClient.GetISteamMatchmakingServers( _ptr, hSteamUser, hSteamPipe, pchVersion );
else interface_pointer = Platform.Win64.ISteamClient.GetISteamMatchmakingServers( _ptr, hSteamUser, hSteamPipe, pchVersion );
return new SteamMatchmakingServers( interface_pointer );
}
// ISteamMusic *
public SteamMusic GetISteamMusic( HSteamUser hSteamuser /*HSteamUser*/, HSteamPipe hSteamPipe /*HSteamPipe*/, string pchVersion /*const char **/ )
{
IntPtr interface_pointer;
if ( Platform.IsWindows32 ) interface_pointer = Platform.Win32.ISteamClient.GetISteamMusic( _ptr, hSteamuser, hSteamPipe, pchVersion );
else interface_pointer = Platform.Win64.ISteamClient.GetISteamMusic( _ptr, hSteamuser, hSteamPipe, pchVersion );
return new SteamMusic( interface_pointer );
}
// ISteamMusicRemote *
public SteamMusicRemote GetISteamMusicRemote( HSteamUser hSteamuser /*HSteamUser*/, HSteamPipe hSteamPipe /*HSteamPipe*/, string pchVersion /*const char **/ )
{
IntPtr interface_pointer;
if ( Platform.IsWindows32 ) interface_pointer = Platform.Win32.ISteamClient.GetISteamMusicRemote( _ptr, hSteamuser, hSteamPipe, pchVersion );
else interface_pointer = Platform.Win64.ISteamClient.GetISteamMusicRemote( _ptr, hSteamuser, hSteamPipe, pchVersion );
return new SteamMusicRemote( interface_pointer );
}
// ISteamNetworking *
public SteamNetworking GetISteamNetworking( HSteamUser hSteamUser /*HSteamUser*/, HSteamPipe hSteamPipe /*HSteamPipe*/, string pchVersion /*const char **/ )
{
IntPtr interface_pointer;
if ( Platform.IsWindows32 ) interface_pointer = Platform.Win32.ISteamClient.GetISteamNetworking( _ptr, hSteamUser, hSteamPipe, pchVersion );
else interface_pointer = Platform.Win64.ISteamClient.GetISteamNetworking( _ptr, hSteamUser, hSteamPipe, pchVersion );
return new SteamNetworking( interface_pointer );
}
// ISteamRemoteStorage *
public SteamRemoteStorage GetISteamRemoteStorage( HSteamUser hSteamuser /*HSteamUser*/, HSteamPipe hSteamPipe /*HSteamPipe*/, string pchVersion /*const char **/ )
{
IntPtr interface_pointer;
if ( Platform.IsWindows32 ) interface_pointer = Platform.Win32.ISteamClient.GetISteamRemoteStorage( _ptr, hSteamuser, hSteamPipe, pchVersion );
else interface_pointer = Platform.Win64.ISteamClient.GetISteamRemoteStorage( _ptr, hSteamuser, hSteamPipe, pchVersion );
return new SteamRemoteStorage( interface_pointer );
}
// ISteamScreenshots *
public SteamScreenshots GetISteamScreenshots( HSteamUser hSteamuser /*HSteamUser*/, HSteamPipe hSteamPipe /*HSteamPipe*/, string pchVersion /*const char **/ )
{
IntPtr interface_pointer;
if ( Platform.IsWindows32 ) interface_pointer = Platform.Win32.ISteamClient.GetISteamScreenshots( _ptr, hSteamuser, hSteamPipe, pchVersion );
else interface_pointer = Platform.Win64.ISteamClient.GetISteamScreenshots( _ptr, hSteamuser, hSteamPipe, pchVersion );
return new SteamScreenshots( interface_pointer );
}
// ISteamUGC *
public SteamUGC GetISteamUGC( HSteamUser hSteamUser /*HSteamUser*/, HSteamPipe hSteamPipe /*HSteamPipe*/, string pchVersion /*const char **/ )
{
IntPtr interface_pointer;
if ( Platform.IsWindows32 ) interface_pointer = Platform.Win32.ISteamClient.GetISteamUGC( _ptr, hSteamUser, hSteamPipe, pchVersion );
else interface_pointer = Platform.Win64.ISteamClient.GetISteamUGC( _ptr, hSteamUser, hSteamPipe, pchVersion );
return new SteamUGC( interface_pointer );
}
// ISteamUnifiedMessages *
public SteamUnifiedMessages GetISteamUnifiedMessages( HSteamUser hSteamuser /*HSteamUser*/, HSteamPipe hSteamPipe /*HSteamPipe*/, string pchVersion /*const char **/ )
{
IntPtr interface_pointer;
if ( Platform.IsWindows32 ) interface_pointer = Platform.Win32.ISteamClient.GetISteamUnifiedMessages( _ptr, hSteamuser, hSteamPipe, pchVersion );
else interface_pointer = Platform.Win64.ISteamClient.GetISteamUnifiedMessages( _ptr, hSteamuser, hSteamPipe, pchVersion );
return new SteamUnifiedMessages( interface_pointer );
}
// ISteamUser *
public SteamUser GetISteamUser( HSteamUser hSteamUser /*HSteamUser*/, HSteamPipe hSteamPipe /*HSteamPipe*/, string pchVersion /*const char **/ )
{
IntPtr interface_pointer;
if ( Platform.IsWindows32 ) interface_pointer = Platform.Win32.ISteamClient.GetISteamUser( _ptr, hSteamUser, hSteamPipe, pchVersion );
else interface_pointer = Platform.Win64.ISteamClient.GetISteamUser( _ptr, hSteamUser, hSteamPipe, pchVersion );
return new SteamUser( interface_pointer );
}
// ISteamUserStats *
public SteamUserStats GetISteamUserStats( HSteamUser hSteamUser /*HSteamUser*/, HSteamPipe hSteamPipe /*HSteamPipe*/, string pchVersion /*const char **/ )
{
IntPtr interface_pointer;
if ( Platform.IsWindows32 ) interface_pointer = Platform.Win32.ISteamClient.GetISteamUserStats( _ptr, hSteamUser, hSteamPipe, pchVersion );
else interface_pointer = Platform.Win64.ISteamClient.GetISteamUserStats( _ptr, hSteamUser, hSteamPipe, pchVersion );
return new SteamUserStats( interface_pointer );
}
// ISteamUtils *
public SteamUtils GetISteamUtils( HSteamPipe hSteamPipe /*HSteamPipe*/, string pchVersion /*const char **/ )
{
IntPtr interface_pointer;
if ( Platform.IsWindows32 ) interface_pointer = Platform.Win32.ISteamClient.GetISteamUtils( _ptr, hSteamPipe, pchVersion );
else interface_pointer = Platform.Win64.ISteamClient.GetISteamUtils( _ptr, hSteamPipe, pchVersion );
return new SteamUtils( interface_pointer );
}
// ISteamVideo *
public SteamVideo GetISteamVideo( HSteamUser hSteamuser /*HSteamUser*/, HSteamPipe hSteamPipe /*HSteamPipe*/, string pchVersion /*const char **/ )
{
IntPtr interface_pointer;
if ( Platform.IsWindows32 ) interface_pointer = Platform.Win32.ISteamClient.GetISteamVideo( _ptr, hSteamuser, hSteamPipe, pchVersion );
else interface_pointer = Platform.Win64.ISteamClient.GetISteamVideo( _ptr, hSteamuser, hSteamPipe, pchVersion );
return new SteamVideo( interface_pointer );
}
// void
public void ReleaseUser( HSteamPipe hSteamPipe /*HSteamPipe*/, HSteamUser hUser /*HSteamUser*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamClient.ReleaseUser( _ptr, hSteamPipe, hUser );
else Platform.Win64.ISteamClient.ReleaseUser( _ptr, hSteamPipe, hUser );
}
// void
public void SetLocalIPBinding( uint unIP /*uint32*/, ushort usPort /*uint16*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamClient.SetLocalIPBinding( _ptr, unIP, usPort );
else Platform.Win64.ISteamClient.SetLocalIPBinding( _ptr, unIP, usPort );
}
// void
public void SetWarningMessageHook( IntPtr pFunction /*SteamAPIWarningMessageHook_t*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamClient.SetWarningMessageHook( _ptr, (IntPtr) pFunction );
else Platform.Win64.ISteamClient.SetWarningMessageHook( _ptr, (IntPtr) pFunction );
}
}
}

View File

@ -0,0 +1,136 @@
using System;
using System.Runtime.InteropServices;
namespace SteamNative
{
public unsafe class SteamController
{
internal IntPtr _ptr;
public SteamController( IntPtr pointer )
{
_ptr = pointer;
}
// void
public void ActivateActionSet( ControllerHandle_t controllerHandle /*ControllerHandle_t*/, ControllerActionSetHandle_t actionSetHandle /*ControllerActionSetHandle_t*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamController.ActivateActionSet( _ptr, controllerHandle, actionSetHandle );
else Platform.Win64.ISteamController.ActivateActionSet( _ptr, controllerHandle, actionSetHandle );
}
// ControllerActionSetHandle_t
public ControllerActionSetHandle_t GetActionSetHandle( string pszActionSetName /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamController.GetActionSetHandle( _ptr, pszActionSetName );
else return Platform.Win64.ISteamController.GetActionSetHandle( _ptr, pszActionSetName );
}
// ControllerAnalogActionData_t
public ControllerAnalogActionData_t GetAnalogActionData( ControllerHandle_t controllerHandle /*ControllerHandle_t*/, ControllerAnalogActionHandle_t analogActionHandle /*ControllerAnalogActionHandle_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamController.GetAnalogActionData( _ptr, controllerHandle, analogActionHandle );
else return Platform.Win64.ISteamController.GetAnalogActionData( _ptr, controllerHandle, analogActionHandle );
}
// ControllerAnalogActionHandle_t
public ControllerAnalogActionHandle_t GetAnalogActionHandle( string pszActionName /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamController.GetAnalogActionHandle( _ptr, pszActionName );
else return Platform.Win64.ISteamController.GetAnalogActionHandle( _ptr, pszActionName );
}
// int
public int GetAnalogActionOrigins( ControllerHandle_t controllerHandle /*ControllerHandle_t*/, ControllerActionSetHandle_t actionSetHandle /*ControllerActionSetHandle_t*/, ControllerAnalogActionHandle_t analogActionHandle /*ControllerAnalogActionHandle_t*/, out ControllerActionOrigin originsOut /*EControllerActionOrigin **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamController.GetAnalogActionOrigins( _ptr, controllerHandle, actionSetHandle, analogActionHandle, out originsOut );
else return Platform.Win64.ISteamController.GetAnalogActionOrigins( _ptr, controllerHandle, actionSetHandle, analogActionHandle, out originsOut );
}
// int
public int GetConnectedControllers( ControllerHandle_t* handlesOut /*ControllerHandle_t **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamController.GetConnectedControllers( _ptr, (IntPtr) handlesOut );
else return Platform.Win64.ISteamController.GetConnectedControllers( _ptr, (IntPtr) handlesOut );
}
// ControllerActionSetHandle_t
public ControllerActionSetHandle_t GetCurrentActionSet( ControllerHandle_t controllerHandle /*ControllerHandle_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamController.GetCurrentActionSet( _ptr, controllerHandle );
else return Platform.Win64.ISteamController.GetCurrentActionSet( _ptr, controllerHandle );
}
// ControllerDigitalActionData_t
public ControllerDigitalActionData_t GetDigitalActionData( ControllerHandle_t controllerHandle /*ControllerHandle_t*/, ControllerDigitalActionHandle_t digitalActionHandle /*ControllerDigitalActionHandle_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamController.GetDigitalActionData( _ptr, controllerHandle, digitalActionHandle );
else return Platform.Win64.ISteamController.GetDigitalActionData( _ptr, controllerHandle, digitalActionHandle );
}
// ControllerDigitalActionHandle_t
public ControllerDigitalActionHandle_t GetDigitalActionHandle( string pszActionName /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamController.GetDigitalActionHandle( _ptr, pszActionName );
else return Platform.Win64.ISteamController.GetDigitalActionHandle( _ptr, pszActionName );
}
// int
public int GetDigitalActionOrigins( ControllerHandle_t controllerHandle /*ControllerHandle_t*/, ControllerActionSetHandle_t actionSetHandle /*ControllerActionSetHandle_t*/, ControllerDigitalActionHandle_t digitalActionHandle /*ControllerDigitalActionHandle_t*/, out ControllerActionOrigin originsOut /*EControllerActionOrigin **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamController.GetDigitalActionOrigins( _ptr, controllerHandle, actionSetHandle, digitalActionHandle, out originsOut );
else return Platform.Win64.ISteamController.GetDigitalActionOrigins( _ptr, controllerHandle, actionSetHandle, digitalActionHandle, out originsOut );
}
// bool
public bool Init()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamController.Init( _ptr );
else return Platform.Win64.ISteamController.Init( _ptr );
}
// void
public void RunFrame()
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamController.RunFrame( _ptr );
else Platform.Win64.ISteamController.RunFrame( _ptr );
}
// bool
public bool ShowBindingPanel( ControllerHandle_t controllerHandle /*ControllerHandle_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamController.ShowBindingPanel( _ptr, controllerHandle );
else return Platform.Win64.ISteamController.ShowBindingPanel( _ptr, controllerHandle );
}
// bool
public bool Shutdown()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamController.Shutdown( _ptr );
else return Platform.Win64.ISteamController.Shutdown( _ptr );
}
// void
public void StopAnalogActionMomentum( ControllerHandle_t controllerHandle /*ControllerHandle_t*/, ControllerAnalogActionHandle_t eAction /*ControllerAnalogActionHandle_t*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamController.StopAnalogActionMomentum( _ptr, controllerHandle, eAction );
else Platform.Win64.ISteamController.StopAnalogActionMomentum( _ptr, controllerHandle, eAction );
}
// void
public void TriggerHapticPulse( ControllerHandle_t controllerHandle /*ControllerHandle_t*/, SteamControllerPad eTargetPad /*ESteamControllerPad*/, ushort usDurationMicroSec /*unsigned short*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamController.TriggerHapticPulse( _ptr, controllerHandle, eTargetPad, usDurationMicroSec );
else Platform.Win64.ISteamController.TriggerHapticPulse( _ptr, controllerHandle, eTargetPad, usDurationMicroSec );
}
// void
public void TriggerRepeatedHapticPulse( ControllerHandle_t controllerHandle /*ControllerHandle_t*/, SteamControllerPad eTargetPad /*ESteamControllerPad*/, ushort usDurationMicroSec /*unsigned short*/, ushort usOffMicroSec /*unsigned short*/, ushort unRepeat /*unsigned short*/, uint nFlags /*unsigned int*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamController.TriggerRepeatedHapticPulse( _ptr, controllerHandle, eTargetPad, usDurationMicroSec, usOffMicroSec, unRepeat, nFlags );
else Platform.Win64.ISteamController.TriggerRepeatedHapticPulse( _ptr, controllerHandle, eTargetPad, usDurationMicroSec, usOffMicroSec, unRepeat, nFlags );
}
}
}

View File

@ -0,0 +1,534 @@
using System;
using System.Runtime.InteropServices;
namespace SteamNative
{
public unsafe class SteamFriends
{
internal IntPtr _ptr;
public SteamFriends( IntPtr pointer )
{
_ptr = pointer;
}
// void
public void ActivateGameOverlay( string pchDialog /*const char **/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamFriends.ActivateGameOverlay( _ptr, pchDialog );
else Platform.Win64.ISteamFriends.ActivateGameOverlay( _ptr, pchDialog );
}
// void
public void ActivateGameOverlayInviteDialog( CSteamID steamIDLobby /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamFriends.ActivateGameOverlayInviteDialog( _ptr, steamIDLobby );
else Platform.Win64.ISteamFriends.ActivateGameOverlayInviteDialog( _ptr, steamIDLobby );
}
// void
public void ActivateGameOverlayToStore( AppId_t nAppID /*AppId_t*/, OverlayToStoreFlag eFlag /*EOverlayToStoreFlag*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamFriends.ActivateGameOverlayToStore( _ptr, nAppID, eFlag );
else Platform.Win64.ISteamFriends.ActivateGameOverlayToStore( _ptr, nAppID, eFlag );
}
// void
public void ActivateGameOverlayToUser( string pchDialog /*const char **/, CSteamID steamID /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamFriends.ActivateGameOverlayToUser( _ptr, pchDialog, steamID );
else Platform.Win64.ISteamFriends.ActivateGameOverlayToUser( _ptr, pchDialog, steamID );
}
// void
public void ActivateGameOverlayToWebPage( string pchURL /*const char **/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamFriends.ActivateGameOverlayToWebPage( _ptr, pchURL );
else Platform.Win64.ISteamFriends.ActivateGameOverlayToWebPage( _ptr, pchURL );
}
// void
public void ClearRichPresence()
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamFriends.ClearRichPresence( _ptr );
else Platform.Win64.ISteamFriends.ClearRichPresence( _ptr );
}
// bool
public bool CloseClanChatWindowInSteam( CSteamID steamIDClanChat /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.CloseClanChatWindowInSteam( _ptr, steamIDClanChat );
else return Platform.Win64.ISteamFriends.CloseClanChatWindowInSteam( _ptr, steamIDClanChat );
}
// SteamAPICall_t
public SteamAPICall_t DownloadClanActivityCounts( IntPtr psteamIDClans /*class CSteamID **/, int cClansToRequest /*int*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.DownloadClanActivityCounts( _ptr, (IntPtr) psteamIDClans, cClansToRequest );
else return Platform.Win64.ISteamFriends.DownloadClanActivityCounts( _ptr, (IntPtr) psteamIDClans, cClansToRequest );
}
// SteamAPICall_t
public SteamAPICall_t EnumerateFollowingList( uint unStartIndex /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.EnumerateFollowingList( _ptr, unStartIndex );
else return Platform.Win64.ISteamFriends.EnumerateFollowingList( _ptr, unStartIndex );
}
// ulong
public ulong GetChatMemberByIndex( CSteamID steamIDClan /*class CSteamID*/, int iUser /*int*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.GetChatMemberByIndex( _ptr, steamIDClan, iUser );
else return Platform.Win64.ISteamFriends.GetChatMemberByIndex( _ptr, steamIDClan, iUser );
}
// bool
public bool GetClanActivityCounts( CSteamID steamIDClan /*class CSteamID*/, out int pnOnline /*int **/, out int pnInGame /*int **/, out int pnChatting /*int **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.GetClanActivityCounts( _ptr, steamIDClan, out pnOnline, out pnInGame, out pnChatting );
else return Platform.Win64.ISteamFriends.GetClanActivityCounts( _ptr, steamIDClan, out pnOnline, out pnInGame, out pnChatting );
}
// ulong
public ulong GetClanByIndex( int iClan /*int*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.GetClanByIndex( _ptr, iClan );
else return Platform.Win64.ISteamFriends.GetClanByIndex( _ptr, iClan );
}
// int
public int GetClanChatMemberCount( CSteamID steamIDClan /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.GetClanChatMemberCount( _ptr, steamIDClan );
else return Platform.Win64.ISteamFriends.GetClanChatMemberCount( _ptr, steamIDClan );
}
// int
public int GetClanChatMessage( CSteamID steamIDClanChat /*class CSteamID*/, int iMessage /*int*/, IntPtr prgchText /*void **/, int cchTextMax /*int*/, out ChatEntryType peChatEntryType /*EChatEntryType **/, out CSteamID psteamidChatter /*class CSteamID **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.GetClanChatMessage( _ptr, steamIDClanChat, iMessage, (IntPtr) prgchText, cchTextMax, out peChatEntryType, out psteamidChatter );
else return Platform.Win64.ISteamFriends.GetClanChatMessage( _ptr, steamIDClanChat, iMessage, (IntPtr) prgchText, cchTextMax, out peChatEntryType, out psteamidChatter );
}
// int
public int GetClanCount()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.GetClanCount( _ptr );
else return Platform.Win64.ISteamFriends.GetClanCount( _ptr );
}
// string
// with: Detect_StringReturn
public string GetClanName( CSteamID steamIDClan /*class CSteamID*/ )
{
IntPtr string_pointer;
if ( Platform.IsWindows32 ) string_pointer = Platform.Win32.ISteamFriends.GetClanName( _ptr, steamIDClan );
else string_pointer = Platform.Win64.ISteamFriends.GetClanName( _ptr, steamIDClan );
return Marshal.PtrToStringAnsi( string_pointer );
}
// ulong
public ulong GetClanOfficerByIndex( CSteamID steamIDClan /*class CSteamID*/, int iOfficer /*int*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.GetClanOfficerByIndex( _ptr, steamIDClan, iOfficer );
else return Platform.Win64.ISteamFriends.GetClanOfficerByIndex( _ptr, steamIDClan, iOfficer );
}
// int
public int GetClanOfficerCount( CSteamID steamIDClan /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.GetClanOfficerCount( _ptr, steamIDClan );
else return Platform.Win64.ISteamFriends.GetClanOfficerCount( _ptr, steamIDClan );
}
// ulong
public ulong GetClanOwner( CSteamID steamIDClan /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.GetClanOwner( _ptr, steamIDClan );
else return Platform.Win64.ISteamFriends.GetClanOwner( _ptr, steamIDClan );
}
// string
// with: Detect_StringReturn
public string GetClanTag( CSteamID steamIDClan /*class CSteamID*/ )
{
IntPtr string_pointer;
if ( Platform.IsWindows32 ) string_pointer = Platform.Win32.ISteamFriends.GetClanTag( _ptr, steamIDClan );
else string_pointer = Platform.Win64.ISteamFriends.GetClanTag( _ptr, steamIDClan );
return Marshal.PtrToStringAnsi( string_pointer );
}
// ulong
public ulong GetCoplayFriend( int iCoplayFriend /*int*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.GetCoplayFriend( _ptr, iCoplayFriend );
else return Platform.Win64.ISteamFriends.GetCoplayFriend( _ptr, iCoplayFriend );
}
// int
public int GetCoplayFriendCount()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.GetCoplayFriendCount( _ptr );
else return Platform.Win64.ISteamFriends.GetCoplayFriendCount( _ptr );
}
// SteamAPICall_t
public SteamAPICall_t GetFollowerCount( CSteamID steamID /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.GetFollowerCount( _ptr, steamID );
else return Platform.Win64.ISteamFriends.GetFollowerCount( _ptr, steamID );
}
// ulong
public ulong GetFriendByIndex( int iFriend /*int*/, int iFriendFlags /*int*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.GetFriendByIndex( _ptr, iFriend, iFriendFlags );
else return Platform.Win64.ISteamFriends.GetFriendByIndex( _ptr, iFriend, iFriendFlags );
}
// AppId_t
public AppId_t GetFriendCoplayGame( CSteamID steamIDFriend /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.GetFriendCoplayGame( _ptr, steamIDFriend );
else return Platform.Win64.ISteamFriends.GetFriendCoplayGame( _ptr, steamIDFriend );
}
// int
public int GetFriendCoplayTime( CSteamID steamIDFriend /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.GetFriendCoplayTime( _ptr, steamIDFriend );
else return Platform.Win64.ISteamFriends.GetFriendCoplayTime( _ptr, steamIDFriend );
}
// int
public int GetFriendCount( int iFriendFlags /*int*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.GetFriendCount( _ptr, iFriendFlags );
else return Platform.Win64.ISteamFriends.GetFriendCount( _ptr, iFriendFlags );
}
// int
public int GetFriendCountFromSource( CSteamID steamIDSource /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.GetFriendCountFromSource( _ptr, steamIDSource );
else return Platform.Win64.ISteamFriends.GetFriendCountFromSource( _ptr, steamIDSource );
}
// ulong
public ulong GetFriendFromSourceByIndex( CSteamID steamIDSource /*class CSteamID*/, int iFriend /*int*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.GetFriendFromSourceByIndex( _ptr, steamIDSource, iFriend );
else return Platform.Win64.ISteamFriends.GetFriendFromSourceByIndex( _ptr, steamIDSource, iFriend );
}
// bool
public bool GetFriendGamePlayed( CSteamID steamIDFriend /*class CSteamID*/, ref FriendGameInfo_t pFriendGameInfo /*struct FriendGameInfo_t **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.GetFriendGamePlayed( _ptr, steamIDFriend, ref pFriendGameInfo );
else return Platform.Win64.ISteamFriends.GetFriendGamePlayed( _ptr, steamIDFriend, ref pFriendGameInfo );
}
// int
public int GetFriendMessage( CSteamID steamIDFriend /*class CSteamID*/, int iMessageID /*int*/, IntPtr pvData /*void **/, int cubData /*int*/, out ChatEntryType peChatEntryType /*EChatEntryType **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.GetFriendMessage( _ptr, steamIDFriend, iMessageID, (IntPtr) pvData, cubData, out peChatEntryType );
else return Platform.Win64.ISteamFriends.GetFriendMessage( _ptr, steamIDFriend, iMessageID, (IntPtr) pvData, cubData, out peChatEntryType );
}
// string
// with: Detect_StringReturn
public string GetFriendPersonaName( CSteamID steamIDFriend /*class CSteamID*/ )
{
IntPtr string_pointer;
if ( Platform.IsWindows32 ) string_pointer = Platform.Win32.ISteamFriends.GetFriendPersonaName( _ptr, steamIDFriend );
else string_pointer = Platform.Win64.ISteamFriends.GetFriendPersonaName( _ptr, steamIDFriend );
return Marshal.PtrToStringAnsi( string_pointer );
}
// string
// with: Detect_StringReturn
public string GetFriendPersonaNameHistory( CSteamID steamIDFriend /*class CSteamID*/, int iPersonaName /*int*/ )
{
IntPtr string_pointer;
if ( Platform.IsWindows32 ) string_pointer = Platform.Win32.ISteamFriends.GetFriendPersonaNameHistory( _ptr, steamIDFriend, iPersonaName );
else string_pointer = Platform.Win64.ISteamFriends.GetFriendPersonaNameHistory( _ptr, steamIDFriend, iPersonaName );
return Marshal.PtrToStringAnsi( string_pointer );
}
// PersonaState
public PersonaState GetFriendPersonaState( CSteamID steamIDFriend /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.GetFriendPersonaState( _ptr, steamIDFriend );
else return Platform.Win64.ISteamFriends.GetFriendPersonaState( _ptr, steamIDFriend );
}
// FriendRelationship
public FriendRelationship GetFriendRelationship( CSteamID steamIDFriend /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.GetFriendRelationship( _ptr, steamIDFriend );
else return Platform.Win64.ISteamFriends.GetFriendRelationship( _ptr, steamIDFriend );
}
// string
// with: Detect_StringReturn
public string GetFriendRichPresence( CSteamID steamIDFriend /*class CSteamID*/, string pchKey /*const char **/ )
{
IntPtr string_pointer;
if ( Platform.IsWindows32 ) string_pointer = Platform.Win32.ISteamFriends.GetFriendRichPresence( _ptr, steamIDFriend, pchKey );
else string_pointer = Platform.Win64.ISteamFriends.GetFriendRichPresence( _ptr, steamIDFriend, pchKey );
return Marshal.PtrToStringAnsi( string_pointer );
}
// string
// with: Detect_StringReturn
public string GetFriendRichPresenceKeyByIndex( CSteamID steamIDFriend /*class CSteamID*/, int iKey /*int*/ )
{
IntPtr string_pointer;
if ( Platform.IsWindows32 ) string_pointer = Platform.Win32.ISteamFriends.GetFriendRichPresenceKeyByIndex( _ptr, steamIDFriend, iKey );
else string_pointer = Platform.Win64.ISteamFriends.GetFriendRichPresenceKeyByIndex( _ptr, steamIDFriend, iKey );
return Marshal.PtrToStringAnsi( string_pointer );
}
// int
public int GetFriendRichPresenceKeyCount( CSteamID steamIDFriend /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.GetFriendRichPresenceKeyCount( _ptr, steamIDFriend );
else return Platform.Win64.ISteamFriends.GetFriendRichPresenceKeyCount( _ptr, steamIDFriend );
}
// int
public int GetFriendsGroupCount()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.GetFriendsGroupCount( _ptr );
else return Platform.Win64.ISteamFriends.GetFriendsGroupCount( _ptr );
}
// FriendsGroupID_t
public FriendsGroupID_t GetFriendsGroupIDByIndex( int iFG /*int*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.GetFriendsGroupIDByIndex( _ptr, iFG );
else return Platform.Win64.ISteamFriends.GetFriendsGroupIDByIndex( _ptr, iFG );
}
// int
public int GetFriendsGroupMembersCount( FriendsGroupID_t friendsGroupID /*FriendsGroupID_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.GetFriendsGroupMembersCount( _ptr, friendsGroupID );
else return Platform.Win64.ISteamFriends.GetFriendsGroupMembersCount( _ptr, friendsGroupID );
}
// void
public void GetFriendsGroupMembersList( FriendsGroupID_t friendsGroupID /*FriendsGroupID_t*/, IntPtr pOutSteamIDMembers /*class CSteamID **/, int nMembersCount /*int*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamFriends.GetFriendsGroupMembersList( _ptr, friendsGroupID, (IntPtr) pOutSteamIDMembers, nMembersCount );
else Platform.Win64.ISteamFriends.GetFriendsGroupMembersList( _ptr, friendsGroupID, (IntPtr) pOutSteamIDMembers, nMembersCount );
}
// string
// with: Detect_StringReturn
public string GetFriendsGroupName( FriendsGroupID_t friendsGroupID /*FriendsGroupID_t*/ )
{
IntPtr string_pointer;
if ( Platform.IsWindows32 ) string_pointer = Platform.Win32.ISteamFriends.GetFriendsGroupName( _ptr, friendsGroupID );
else string_pointer = Platform.Win64.ISteamFriends.GetFriendsGroupName( _ptr, friendsGroupID );
return Marshal.PtrToStringAnsi( string_pointer );
}
// int
public int GetFriendSteamLevel( CSteamID steamIDFriend /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.GetFriendSteamLevel( _ptr, steamIDFriend );
else return Platform.Win64.ISteamFriends.GetFriendSteamLevel( _ptr, steamIDFriend );
}
// int
public int GetLargeFriendAvatar( CSteamID steamIDFriend /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.GetLargeFriendAvatar( _ptr, steamIDFriend );
else return Platform.Win64.ISteamFriends.GetLargeFriendAvatar( _ptr, steamIDFriend );
}
// int
public int GetMediumFriendAvatar( CSteamID steamIDFriend /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.GetMediumFriendAvatar( _ptr, steamIDFriend );
else return Platform.Win64.ISteamFriends.GetMediumFriendAvatar( _ptr, steamIDFriend );
}
// string
// with: Detect_StringReturn
public string GetPersonaName()
{
IntPtr string_pointer;
if ( Platform.IsWindows32 ) string_pointer = Platform.Win32.ISteamFriends.GetPersonaName( _ptr );
else string_pointer = Platform.Win64.ISteamFriends.GetPersonaName( _ptr );
return Marshal.PtrToStringAnsi( string_pointer );
}
// PersonaState
public PersonaState GetPersonaState()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.GetPersonaState( _ptr );
else return Platform.Win64.ISteamFriends.GetPersonaState( _ptr );
}
// string
// with: Detect_StringReturn
public string GetPlayerNickname( CSteamID steamIDPlayer /*class CSteamID*/ )
{
IntPtr string_pointer;
if ( Platform.IsWindows32 ) string_pointer = Platform.Win32.ISteamFriends.GetPlayerNickname( _ptr, steamIDPlayer );
else string_pointer = Platform.Win64.ISteamFriends.GetPlayerNickname( _ptr, steamIDPlayer );
return Marshal.PtrToStringAnsi( string_pointer );
}
// int
public int GetSmallFriendAvatar( CSteamID steamIDFriend /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.GetSmallFriendAvatar( _ptr, steamIDFriend );
else return Platform.Win64.ISteamFriends.GetSmallFriendAvatar( _ptr, steamIDFriend );
}
// uint
public uint GetUserRestrictions()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.GetUserRestrictions( _ptr );
else return Platform.Win64.ISteamFriends.GetUserRestrictions( _ptr );
}
// bool
public bool HasFriend( CSteamID steamIDFriend /*class CSteamID*/, int iFriendFlags /*int*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.HasFriend( _ptr, steamIDFriend, iFriendFlags );
else return Platform.Win64.ISteamFriends.HasFriend( _ptr, steamIDFriend, iFriendFlags );
}
// bool
public bool InviteUserToGame( CSteamID steamIDFriend /*class CSteamID*/, string pchConnectString /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.InviteUserToGame( _ptr, steamIDFriend, pchConnectString );
else return Platform.Win64.ISteamFriends.InviteUserToGame( _ptr, steamIDFriend, pchConnectString );
}
// bool
public bool IsClanChatAdmin( CSteamID steamIDClanChat /*class CSteamID*/, CSteamID steamIDUser /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.IsClanChatAdmin( _ptr, steamIDClanChat, steamIDUser );
else return Platform.Win64.ISteamFriends.IsClanChatAdmin( _ptr, steamIDClanChat, steamIDUser );
}
// bool
public bool IsClanChatWindowOpenInSteam( CSteamID steamIDClanChat /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.IsClanChatWindowOpenInSteam( _ptr, steamIDClanChat );
else return Platform.Win64.ISteamFriends.IsClanChatWindowOpenInSteam( _ptr, steamIDClanChat );
}
// SteamAPICall_t
public SteamAPICall_t IsFollowing( CSteamID steamID /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.IsFollowing( _ptr, steamID );
else return Platform.Win64.ISteamFriends.IsFollowing( _ptr, steamID );
}
// bool
public bool IsUserInSource( CSteamID steamIDUser /*class CSteamID*/, CSteamID steamIDSource /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.IsUserInSource( _ptr, steamIDUser, steamIDSource );
else return Platform.Win64.ISteamFriends.IsUserInSource( _ptr, steamIDUser, steamIDSource );
}
// SteamAPICall_t
public SteamAPICall_t JoinClanChatRoom( CSteamID steamIDClan /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.JoinClanChatRoom( _ptr, steamIDClan );
else return Platform.Win64.ISteamFriends.JoinClanChatRoom( _ptr, steamIDClan );
}
// bool
public bool LeaveClanChatRoom( CSteamID steamIDClan /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.LeaveClanChatRoom( _ptr, steamIDClan );
else return Platform.Win64.ISteamFriends.LeaveClanChatRoom( _ptr, steamIDClan );
}
// bool
public bool OpenClanChatWindowInSteam( CSteamID steamIDClanChat /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.OpenClanChatWindowInSteam( _ptr, steamIDClanChat );
else return Platform.Win64.ISteamFriends.OpenClanChatWindowInSteam( _ptr, steamIDClanChat );
}
// bool
public bool ReplyToFriendMessage( CSteamID steamIDFriend /*class CSteamID*/, string pchMsgToSend /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.ReplyToFriendMessage( _ptr, steamIDFriend, pchMsgToSend );
else return Platform.Win64.ISteamFriends.ReplyToFriendMessage( _ptr, steamIDFriend, pchMsgToSend );
}
// SteamAPICall_t
public SteamAPICall_t RequestClanOfficerList( CSteamID steamIDClan /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.RequestClanOfficerList( _ptr, steamIDClan );
else return Platform.Win64.ISteamFriends.RequestClanOfficerList( _ptr, steamIDClan );
}
// void
public void RequestFriendRichPresence( CSteamID steamIDFriend /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamFriends.RequestFriendRichPresence( _ptr, steamIDFriend );
else Platform.Win64.ISteamFriends.RequestFriendRichPresence( _ptr, steamIDFriend );
}
// bool
public bool RequestUserInformation( CSteamID steamIDUser /*class CSteamID*/, bool bRequireNameOnly /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.RequestUserInformation( _ptr, steamIDUser, bRequireNameOnly );
else return Platform.Win64.ISteamFriends.RequestUserInformation( _ptr, steamIDUser, bRequireNameOnly );
}
// bool
public bool SendClanChatMessage( CSteamID steamIDClanChat /*class CSteamID*/, string pchText /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.SendClanChatMessage( _ptr, steamIDClanChat, pchText );
else return Platform.Win64.ISteamFriends.SendClanChatMessage( _ptr, steamIDClanChat, pchText );
}
// void
public void SetInGameVoiceSpeaking( CSteamID steamIDUser /*class CSteamID*/, bool bSpeaking /*bool*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamFriends.SetInGameVoiceSpeaking( _ptr, steamIDUser, bSpeaking );
else Platform.Win64.ISteamFriends.SetInGameVoiceSpeaking( _ptr, steamIDUser, bSpeaking );
}
// bool
public bool SetListenForFriendsMessages( bool bInterceptEnabled /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.SetListenForFriendsMessages( _ptr, bInterceptEnabled );
else return Platform.Win64.ISteamFriends.SetListenForFriendsMessages( _ptr, bInterceptEnabled );
}
// SteamAPICall_t
public SteamAPICall_t SetPersonaName( string pchPersonaName /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.SetPersonaName( _ptr, pchPersonaName );
else return Platform.Win64.ISteamFriends.SetPersonaName( _ptr, pchPersonaName );
}
// void
public void SetPlayedWith( CSteamID steamIDUserPlayedWith /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamFriends.SetPlayedWith( _ptr, steamIDUserPlayedWith );
else Platform.Win64.ISteamFriends.SetPlayedWith( _ptr, steamIDUserPlayedWith );
}
// bool
public bool SetRichPresence( string pchKey /*const char **/, string pchValue /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamFriends.SetRichPresence( _ptr, pchKey, pchValue );
else return Platform.Win64.ISteamFriends.SetRichPresence( _ptr, pchKey, pchValue );
}
}
}

View File

@ -0,0 +1,325 @@
using System;
using System.Runtime.InteropServices;
namespace SteamNative
{
public unsafe class SteamGameServer
{
internal IntPtr _ptr;
public SteamGameServer( IntPtr pointer )
{
_ptr = pointer;
}
// SteamAPICall_t
public SteamAPICall_t AssociateWithClan( CSteamID steamIDClan /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamGameServer.AssociateWithClan( _ptr, steamIDClan );
else return Platform.Win64.ISteamGameServer.AssociateWithClan( _ptr, steamIDClan );
}
// BeginAuthSessionResult
public BeginAuthSessionResult BeginAuthSession( IntPtr pAuthTicket /*const void **/, int cbAuthTicket /*int*/, CSteamID steamID /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamGameServer.BeginAuthSession( _ptr, (IntPtr) pAuthTicket, cbAuthTicket, steamID );
else return Platform.Win64.ISteamGameServer.BeginAuthSession( _ptr, (IntPtr) pAuthTicket, cbAuthTicket, steamID );
}
// bool
public bool BLoggedOn()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamGameServer.BLoggedOn( _ptr );
else return Platform.Win64.ISteamGameServer.BLoggedOn( _ptr );
}
// bool
public bool BSecure()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamGameServer.BSecure( _ptr );
else return Platform.Win64.ISteamGameServer.BSecure( _ptr );
}
// bool
public bool BUpdateUserData( CSteamID steamIDUser /*class CSteamID*/, string pchPlayerName /*const char **/, uint uScore /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamGameServer.BUpdateUserData( _ptr, steamIDUser, pchPlayerName, uScore );
else return Platform.Win64.ISteamGameServer.BUpdateUserData( _ptr, steamIDUser, pchPlayerName, uScore );
}
// void
public void CancelAuthTicket( HAuthTicket hAuthTicket /*HAuthTicket*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamGameServer.CancelAuthTicket( _ptr, hAuthTicket );
else Platform.Win64.ISteamGameServer.CancelAuthTicket( _ptr, hAuthTicket );
}
// void
public void ClearAllKeyValues()
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamGameServer.ClearAllKeyValues( _ptr );
else Platform.Win64.ISteamGameServer.ClearAllKeyValues( _ptr );
}
// SteamAPICall_t
public SteamAPICall_t ComputeNewPlayerCompatibility( CSteamID steamIDNewPlayer /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamGameServer.ComputeNewPlayerCompatibility( _ptr, steamIDNewPlayer );
else return Platform.Win64.ISteamGameServer.ComputeNewPlayerCompatibility( _ptr, steamIDNewPlayer );
}
// ulong
public ulong CreateUnauthenticatedUserConnection()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamGameServer.CreateUnauthenticatedUserConnection( _ptr );
else return Platform.Win64.ISteamGameServer.CreateUnauthenticatedUserConnection( _ptr );
}
// void
public void EnableHeartbeats( bool bActive /*bool*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamGameServer.EnableHeartbeats( _ptr, bActive );
else Platform.Win64.ISteamGameServer.EnableHeartbeats( _ptr, bActive );
}
// void
public void EndAuthSession( CSteamID steamID /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamGameServer.EndAuthSession( _ptr, steamID );
else Platform.Win64.ISteamGameServer.EndAuthSession( _ptr, steamID );
}
// void
public void ForceHeartbeat()
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamGameServer.ForceHeartbeat( _ptr );
else Platform.Win64.ISteamGameServer.ForceHeartbeat( _ptr );
}
// HAuthTicket
public HAuthTicket GetAuthSessionTicket( IntPtr pTicket /*void **/, int cbMaxTicket /*int*/, out uint pcbTicket /*uint32 **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamGameServer.GetAuthSessionTicket( _ptr, (IntPtr) pTicket, cbMaxTicket, out pcbTicket );
else return Platform.Win64.ISteamGameServer.GetAuthSessionTicket( _ptr, (IntPtr) pTicket, cbMaxTicket, out pcbTicket );
}
// void
public void GetGameplayStats()
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamGameServer.GetGameplayStats( _ptr );
else Platform.Win64.ISteamGameServer.GetGameplayStats( _ptr );
}
// int
public int GetNextOutgoingPacket( IntPtr pOut /*void **/, int cbMaxOut /*int*/, out uint pNetAdr /*uint32 **/, out ushort pPort /*uint16 **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamGameServer.GetNextOutgoingPacket( _ptr, (IntPtr) pOut, cbMaxOut, out pNetAdr, out pPort );
else return Platform.Win64.ISteamGameServer.GetNextOutgoingPacket( _ptr, (IntPtr) pOut, cbMaxOut, out pNetAdr, out pPort );
}
// uint
public uint GetPublicIP()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamGameServer.GetPublicIP( _ptr );
else return Platform.Win64.ISteamGameServer.GetPublicIP( _ptr );
}
// SteamAPICall_t
public SteamAPICall_t GetServerReputation()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamGameServer.GetServerReputation( _ptr );
else return Platform.Win64.ISteamGameServer.GetServerReputation( _ptr );
}
// ulong
public ulong GetSteamID()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamGameServer.GetSteamID( _ptr );
else return Platform.Win64.ISteamGameServer.GetSteamID( _ptr );
}
// bool
public bool HandleIncomingPacket( IntPtr pData /*const void **/, int cbData /*int*/, uint srcIP /*uint32*/, ushort srcPort /*uint16*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamGameServer.HandleIncomingPacket( _ptr, (IntPtr) pData, cbData, srcIP, srcPort );
else return Platform.Win64.ISteamGameServer.HandleIncomingPacket( _ptr, (IntPtr) pData, cbData, srcIP, srcPort );
}
// bool
public bool InitGameServer( uint unIP /*uint32*/, ushort usGamePort /*uint16*/, ushort usQueryPort /*uint16*/, uint unFlags /*uint32*/, AppId_t nGameAppId /*AppId_t*/, string pchVersionString /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamGameServer.InitGameServer( _ptr, unIP, usGamePort, usQueryPort, unFlags, nGameAppId, pchVersionString );
else return Platform.Win64.ISteamGameServer.InitGameServer( _ptr, unIP, usGamePort, usQueryPort, unFlags, nGameAppId, pchVersionString );
}
// void
public void LogOff()
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamGameServer.LogOff( _ptr );
else Platform.Win64.ISteamGameServer.LogOff( _ptr );
}
// void
public void LogOn( string pszToken /*const char **/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamGameServer.LogOn( _ptr, pszToken );
else Platform.Win64.ISteamGameServer.LogOn( _ptr, pszToken );
}
// void
public void LogOnAnonymous()
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamGameServer.LogOnAnonymous( _ptr );
else Platform.Win64.ISteamGameServer.LogOnAnonymous( _ptr );
}
// bool
public bool RequestUserGroupStatus( CSteamID steamIDUser /*class CSteamID*/, CSteamID steamIDGroup /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamGameServer.RequestUserGroupStatus( _ptr, steamIDUser, steamIDGroup );
else return Platform.Win64.ISteamGameServer.RequestUserGroupStatus( _ptr, steamIDUser, steamIDGroup );
}
// bool
public bool SendUserConnectAndAuthenticate( uint unIPClient /*uint32*/, IntPtr pvAuthBlob /*const void **/, uint cubAuthBlobSize /*uint32*/, out CSteamID pSteamIDUser /*class CSteamID **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamGameServer.SendUserConnectAndAuthenticate( _ptr, unIPClient, (IntPtr) pvAuthBlob, cubAuthBlobSize, out pSteamIDUser );
else return Platform.Win64.ISteamGameServer.SendUserConnectAndAuthenticate( _ptr, unIPClient, (IntPtr) pvAuthBlob, cubAuthBlobSize, out pSteamIDUser );
}
// void
public void SendUserDisconnect( CSteamID steamIDUser /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamGameServer.SendUserDisconnect( _ptr, steamIDUser );
else Platform.Win64.ISteamGameServer.SendUserDisconnect( _ptr, steamIDUser );
}
// void
public void SetBotPlayerCount( int cBotplayers /*int*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamGameServer.SetBotPlayerCount( _ptr, cBotplayers );
else Platform.Win64.ISteamGameServer.SetBotPlayerCount( _ptr, cBotplayers );
}
// void
public void SetDedicatedServer( bool bDedicated /*bool*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamGameServer.SetDedicatedServer( _ptr, bDedicated );
else Platform.Win64.ISteamGameServer.SetDedicatedServer( _ptr, bDedicated );
}
// void
public void SetGameData( string pchGameData /*const char **/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamGameServer.SetGameData( _ptr, pchGameData );
else Platform.Win64.ISteamGameServer.SetGameData( _ptr, pchGameData );
}
// void
public void SetGameDescription( string pszGameDescription /*const char **/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamGameServer.SetGameDescription( _ptr, pszGameDescription );
else Platform.Win64.ISteamGameServer.SetGameDescription( _ptr, pszGameDescription );
}
// void
public void SetGameTags( string pchGameTags /*const char **/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamGameServer.SetGameTags( _ptr, pchGameTags );
else Platform.Win64.ISteamGameServer.SetGameTags( _ptr, pchGameTags );
}
// void
public void SetHeartbeatInterval( int iHeartbeatInterval /*int*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamGameServer.SetHeartbeatInterval( _ptr, iHeartbeatInterval );
else Platform.Win64.ISteamGameServer.SetHeartbeatInterval( _ptr, iHeartbeatInterval );
}
// void
public void SetKeyValue( string pKey /*const char **/, string pValue /*const char **/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamGameServer.SetKeyValue( _ptr, pKey, pValue );
else Platform.Win64.ISteamGameServer.SetKeyValue( _ptr, pKey, pValue );
}
// void
public void SetMapName( string pszMapName /*const char **/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamGameServer.SetMapName( _ptr, pszMapName );
else Platform.Win64.ISteamGameServer.SetMapName( _ptr, pszMapName );
}
// void
public void SetMaxPlayerCount( int cPlayersMax /*int*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamGameServer.SetMaxPlayerCount( _ptr, cPlayersMax );
else Platform.Win64.ISteamGameServer.SetMaxPlayerCount( _ptr, cPlayersMax );
}
// void
public void SetModDir( string pszModDir /*const char **/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamGameServer.SetModDir( _ptr, pszModDir );
else Platform.Win64.ISteamGameServer.SetModDir( _ptr, pszModDir );
}
// void
public void SetPasswordProtected( bool bPasswordProtected /*bool*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamGameServer.SetPasswordProtected( _ptr, bPasswordProtected );
else Platform.Win64.ISteamGameServer.SetPasswordProtected( _ptr, bPasswordProtected );
}
// void
public void SetProduct( string pszProduct /*const char **/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamGameServer.SetProduct( _ptr, pszProduct );
else Platform.Win64.ISteamGameServer.SetProduct( _ptr, pszProduct );
}
// void
public void SetRegion( string pszRegion /*const char **/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamGameServer.SetRegion( _ptr, pszRegion );
else Platform.Win64.ISteamGameServer.SetRegion( _ptr, pszRegion );
}
// void
public void SetServerName( string pszServerName /*const char **/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamGameServer.SetServerName( _ptr, pszServerName );
else Platform.Win64.ISteamGameServer.SetServerName( _ptr, pszServerName );
}
// void
public void SetSpectatorPort( ushort unSpectatorPort /*uint16*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamGameServer.SetSpectatorPort( _ptr, unSpectatorPort );
else Platform.Win64.ISteamGameServer.SetSpectatorPort( _ptr, unSpectatorPort );
}
// void
public void SetSpectatorServerName( string pszSpectatorServerName /*const char **/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamGameServer.SetSpectatorServerName( _ptr, pszSpectatorServerName );
else Platform.Win64.ISteamGameServer.SetSpectatorServerName( _ptr, pszSpectatorServerName );
}
// UserHasLicenseForAppResult
public UserHasLicenseForAppResult UserHasLicenseForApp( CSteamID steamID /*class CSteamID*/, AppId_t appID /*AppId_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamGameServer.UserHasLicenseForApp( _ptr, steamID, appID );
else return Platform.Win64.ISteamGameServer.UserHasLicenseForApp( _ptr, steamID, appID );
}
// bool
public bool WasRestartRequested()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamGameServer.WasRestartRequested( _ptr );
else return Platform.Win64.ISteamGameServer.WasRestartRequested( _ptr );
}
}
}

View File

@ -0,0 +1,87 @@
using System;
using System.Runtime.InteropServices;
namespace SteamNative
{
public unsafe class SteamGameServerStats
{
internal IntPtr _ptr;
public SteamGameServerStats( IntPtr pointer )
{
_ptr = pointer;
}
// bool
public bool ClearUserAchievement( CSteamID steamIDUser /*class CSteamID*/, string pchName /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamGameServerStats.ClearUserAchievement( _ptr, steamIDUser, pchName );
else return Platform.Win64.ISteamGameServerStats.ClearUserAchievement( _ptr, steamIDUser, pchName );
}
// bool
public bool GetUserAchievement( CSteamID steamIDUser /*class CSteamID*/, string pchName /*const char **/, out bool pbAchieved /*bool **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamGameServerStats.GetUserAchievement( _ptr, steamIDUser, pchName, out pbAchieved );
else return Platform.Win64.ISteamGameServerStats.GetUserAchievement( _ptr, steamIDUser, pchName, out pbAchieved );
}
// bool
public bool GetUserStat( CSteamID steamIDUser /*class CSteamID*/, string pchName /*const char **/, out int pData /*int32 **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamGameServerStats.GetUserStat( _ptr, steamIDUser, pchName, out pData );
else return Platform.Win64.ISteamGameServerStats.GetUserStat( _ptr, steamIDUser, pchName, out pData );
}
// bool
public bool GetUserStat0( CSteamID steamIDUser /*class CSteamID*/, string pchName /*const char **/, out float pData /*float **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamGameServerStats.GetUserStat0( _ptr, steamIDUser, pchName, out pData );
else return Platform.Win64.ISteamGameServerStats.GetUserStat0( _ptr, steamIDUser, pchName, out pData );
}
// SteamAPICall_t
public SteamAPICall_t RequestUserStats( CSteamID steamIDUser /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamGameServerStats.RequestUserStats( _ptr, steamIDUser );
else return Platform.Win64.ISteamGameServerStats.RequestUserStats( _ptr, steamIDUser );
}
// bool
public bool SetUserAchievement( CSteamID steamIDUser /*class CSteamID*/, string pchName /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamGameServerStats.SetUserAchievement( _ptr, steamIDUser, pchName );
else return Platform.Win64.ISteamGameServerStats.SetUserAchievement( _ptr, steamIDUser, pchName );
}
// bool
public bool SetUserStat( CSteamID steamIDUser /*class CSteamID*/, string pchName /*const char **/, int nData /*int32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamGameServerStats.SetUserStat( _ptr, steamIDUser, pchName, nData );
else return Platform.Win64.ISteamGameServerStats.SetUserStat( _ptr, steamIDUser, pchName, nData );
}
// bool
public bool SetUserStat0( CSteamID steamIDUser /*class CSteamID*/, string pchName /*const char **/, float fData /*float*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamGameServerStats.SetUserStat0( _ptr, steamIDUser, pchName, fData );
else return Platform.Win64.ISteamGameServerStats.SetUserStat0( _ptr, steamIDUser, pchName, fData );
}
// SteamAPICall_t
public SteamAPICall_t StoreUserStats( CSteamID steamIDUser /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamGameServerStats.StoreUserStats( _ptr, steamIDUser );
else return Platform.Win64.ISteamGameServerStats.StoreUserStats( _ptr, steamIDUser );
}
// bool
public bool UpdateUserAvgRateStat( CSteamID steamIDUser /*class CSteamID*/, string pchName /*const char **/, float flCountThisSession /*float*/, double dSessionLength /*double*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamGameServerStats.UpdateUserAvgRateStat( _ptr, steamIDUser, pchName, flCountThisSession, dSessionLength );
else return Platform.Win64.ISteamGameServerStats.UpdateUserAvgRateStat( _ptr, steamIDUser, pchName, flCountThisSession, dSessionLength );
}
}
}

View File

@ -0,0 +1,262 @@
using System;
using System.Runtime.InteropServices;
namespace SteamNative
{
public unsafe class SteamHTMLSurface
{
internal IntPtr _ptr;
public SteamHTMLSurface( IntPtr pointer )
{
_ptr = pointer;
}
// void
public void AddHeader( HHTMLBrowser unBrowserHandle /*HHTMLBrowser*/, string pchKey /*const char **/, string pchValue /*const char **/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamHTMLSurface.AddHeader( _ptr, unBrowserHandle, pchKey, pchValue );
else Platform.Win64.ISteamHTMLSurface.AddHeader( _ptr, unBrowserHandle, pchKey, pchValue );
}
// void
public void AllowStartRequest( HHTMLBrowser unBrowserHandle /*HHTMLBrowser*/, bool bAllowed /*bool*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamHTMLSurface.AllowStartRequest( _ptr, unBrowserHandle, bAllowed );
else Platform.Win64.ISteamHTMLSurface.AllowStartRequest( _ptr, unBrowserHandle, bAllowed );
}
// void
public void CopyToClipboard( HHTMLBrowser unBrowserHandle /*HHTMLBrowser*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamHTMLSurface.CopyToClipboard( _ptr, unBrowserHandle );
else Platform.Win64.ISteamHTMLSurface.CopyToClipboard( _ptr, unBrowserHandle );
}
// SteamAPICall_t
public SteamAPICall_t CreateBrowser( string pchUserAgent /*const char **/, string pchUserCSS /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamHTMLSurface.CreateBrowser( _ptr, pchUserAgent, pchUserCSS );
else return Platform.Win64.ISteamHTMLSurface.CreateBrowser( _ptr, pchUserAgent, pchUserCSS );
}
// void
public void DestructISteamHTMLSurface()
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamHTMLSurface.DestructISteamHTMLSurface( _ptr );
else Platform.Win64.ISteamHTMLSurface.DestructISteamHTMLSurface( _ptr );
}
// void
public void ExecuteJavascript( HHTMLBrowser unBrowserHandle /*HHTMLBrowser*/, string pchScript /*const char **/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamHTMLSurface.ExecuteJavascript( _ptr, unBrowserHandle, pchScript );
else Platform.Win64.ISteamHTMLSurface.ExecuteJavascript( _ptr, unBrowserHandle, pchScript );
}
// void
public void Find( HHTMLBrowser unBrowserHandle /*HHTMLBrowser*/, string pchSearchStr /*const char **/, bool bCurrentlyInFind /*bool*/, bool bReverse /*bool*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamHTMLSurface.Find( _ptr, unBrowserHandle, pchSearchStr, bCurrentlyInFind, bReverse );
else Platform.Win64.ISteamHTMLSurface.Find( _ptr, unBrowserHandle, pchSearchStr, bCurrentlyInFind, bReverse );
}
// void
public void GetLinkAtPosition( HHTMLBrowser unBrowserHandle /*HHTMLBrowser*/, int x /*int*/, int y /*int*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamHTMLSurface.GetLinkAtPosition( _ptr, unBrowserHandle, x, y );
else Platform.Win64.ISteamHTMLSurface.GetLinkAtPosition( _ptr, unBrowserHandle, x, y );
}
// void
public void GoBack( HHTMLBrowser unBrowserHandle /*HHTMLBrowser*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamHTMLSurface.GoBack( _ptr, unBrowserHandle );
else Platform.Win64.ISteamHTMLSurface.GoBack( _ptr, unBrowserHandle );
}
// void
public void GoForward( HHTMLBrowser unBrowserHandle /*HHTMLBrowser*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamHTMLSurface.GoForward( _ptr, unBrowserHandle );
else Platform.Win64.ISteamHTMLSurface.GoForward( _ptr, unBrowserHandle );
}
// bool
public bool Init()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamHTMLSurface.Init( _ptr );
else return Platform.Win64.ISteamHTMLSurface.Init( _ptr );
}
// void
public void JSDialogResponse( HHTMLBrowser unBrowserHandle /*HHTMLBrowser*/, bool bResult /*bool*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamHTMLSurface.JSDialogResponse( _ptr, unBrowserHandle, bResult );
else Platform.Win64.ISteamHTMLSurface.JSDialogResponse( _ptr, unBrowserHandle, bResult );
}
// void
public void KeyChar( HHTMLBrowser unBrowserHandle /*HHTMLBrowser*/, uint cUnicodeChar /*uint32*/, HTMLKeyModifiers eHTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamHTMLSurface.KeyChar( _ptr, unBrowserHandle, cUnicodeChar, eHTMLKeyModifiers );
else Platform.Win64.ISteamHTMLSurface.KeyChar( _ptr, unBrowserHandle, cUnicodeChar, eHTMLKeyModifiers );
}
// void
public void KeyDown( HHTMLBrowser unBrowserHandle /*HHTMLBrowser*/, uint nNativeKeyCode /*uint32*/, HTMLKeyModifiers eHTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamHTMLSurface.KeyDown( _ptr, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers );
else Platform.Win64.ISteamHTMLSurface.KeyDown( _ptr, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers );
}
// void
public void KeyUp( HHTMLBrowser unBrowserHandle /*HHTMLBrowser*/, uint nNativeKeyCode /*uint32*/, HTMLKeyModifiers eHTMLKeyModifiers /*ISteamHTMLSurface::EHTMLKeyModifiers*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamHTMLSurface.KeyUp( _ptr, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers );
else Platform.Win64.ISteamHTMLSurface.KeyUp( _ptr, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers );
}
// void
public void LoadURL( HHTMLBrowser unBrowserHandle /*HHTMLBrowser*/, string pchURL /*const char **/, string pchPostData /*const char **/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamHTMLSurface.LoadURL( _ptr, unBrowserHandle, pchURL, pchPostData );
else Platform.Win64.ISteamHTMLSurface.LoadURL( _ptr, unBrowserHandle, pchURL, pchPostData );
}
// void
public void MouseDoubleClick( HHTMLBrowser unBrowserHandle /*HHTMLBrowser*/, HTMLMouseButton eMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamHTMLSurface.MouseDoubleClick( _ptr, unBrowserHandle, eMouseButton );
else Platform.Win64.ISteamHTMLSurface.MouseDoubleClick( _ptr, unBrowserHandle, eMouseButton );
}
// void
public void MouseDown( HHTMLBrowser unBrowserHandle /*HHTMLBrowser*/, HTMLMouseButton eMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamHTMLSurface.MouseDown( _ptr, unBrowserHandle, eMouseButton );
else Platform.Win64.ISteamHTMLSurface.MouseDown( _ptr, unBrowserHandle, eMouseButton );
}
// void
public void MouseMove( HHTMLBrowser unBrowserHandle /*HHTMLBrowser*/, int x /*int*/, int y /*int*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamHTMLSurface.MouseMove( _ptr, unBrowserHandle, x, y );
else Platform.Win64.ISteamHTMLSurface.MouseMove( _ptr, unBrowserHandle, x, y );
}
// void
public void MouseUp( HHTMLBrowser unBrowserHandle /*HHTMLBrowser*/, HTMLMouseButton eMouseButton /*ISteamHTMLSurface::EHTMLMouseButton*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamHTMLSurface.MouseUp( _ptr, unBrowserHandle, eMouseButton );
else Platform.Win64.ISteamHTMLSurface.MouseUp( _ptr, unBrowserHandle, eMouseButton );
}
// void
public void MouseWheel( HHTMLBrowser unBrowserHandle /*HHTMLBrowser*/, int nDelta /*int32*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamHTMLSurface.MouseWheel( _ptr, unBrowserHandle, nDelta );
else Platform.Win64.ISteamHTMLSurface.MouseWheel( _ptr, unBrowserHandle, nDelta );
}
// void
public void PasteFromClipboard( HHTMLBrowser unBrowserHandle /*HHTMLBrowser*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamHTMLSurface.PasteFromClipboard( _ptr, unBrowserHandle );
else Platform.Win64.ISteamHTMLSurface.PasteFromClipboard( _ptr, unBrowserHandle );
}
// void
public void Reload( HHTMLBrowser unBrowserHandle /*HHTMLBrowser*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamHTMLSurface.Reload( _ptr, unBrowserHandle );
else Platform.Win64.ISteamHTMLSurface.Reload( _ptr, unBrowserHandle );
}
// void
public void RemoveBrowser( HHTMLBrowser unBrowserHandle /*HHTMLBrowser*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamHTMLSurface.RemoveBrowser( _ptr, unBrowserHandle );
else Platform.Win64.ISteamHTMLSurface.RemoveBrowser( _ptr, unBrowserHandle );
}
// void
public void SetBackgroundMode( HHTMLBrowser unBrowserHandle /*HHTMLBrowser*/, bool bBackgroundMode /*bool*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamHTMLSurface.SetBackgroundMode( _ptr, unBrowserHandle, bBackgroundMode );
else Platform.Win64.ISteamHTMLSurface.SetBackgroundMode( _ptr, unBrowserHandle, bBackgroundMode );
}
// void
public void SetCookie( string pchHostname /*const char **/, string pchKey /*const char **/, string pchValue /*const char **/, string pchPath /*const char **/, RTime32 nExpires /*RTime32*/, bool bSecure /*bool*/, bool bHTTPOnly /*bool*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamHTMLSurface.SetCookie( _ptr, pchHostname, pchKey, pchValue, pchPath, nExpires, bSecure, bHTTPOnly );
else Platform.Win64.ISteamHTMLSurface.SetCookie( _ptr, pchHostname, pchKey, pchValue, pchPath, nExpires, bSecure, bHTTPOnly );
}
// void
public void SetHorizontalScroll( HHTMLBrowser unBrowserHandle /*HHTMLBrowser*/, uint nAbsolutePixelScroll /*uint32*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamHTMLSurface.SetHorizontalScroll( _ptr, unBrowserHandle, nAbsolutePixelScroll );
else Platform.Win64.ISteamHTMLSurface.SetHorizontalScroll( _ptr, unBrowserHandle, nAbsolutePixelScroll );
}
// void
public void SetKeyFocus( HHTMLBrowser unBrowserHandle /*HHTMLBrowser*/, bool bHasKeyFocus /*bool*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamHTMLSurface.SetKeyFocus( _ptr, unBrowserHandle, bHasKeyFocus );
else Platform.Win64.ISteamHTMLSurface.SetKeyFocus( _ptr, unBrowserHandle, bHasKeyFocus );
}
// void
public void SetPageScaleFactor( HHTMLBrowser unBrowserHandle /*HHTMLBrowser*/, float flZoom /*float*/, int nPointX /*int*/, int nPointY /*int*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamHTMLSurface.SetPageScaleFactor( _ptr, unBrowserHandle, flZoom, nPointX, nPointY );
else Platform.Win64.ISteamHTMLSurface.SetPageScaleFactor( _ptr, unBrowserHandle, flZoom, nPointX, nPointY );
}
// void
public void SetSize( HHTMLBrowser unBrowserHandle /*HHTMLBrowser*/, uint unWidth /*uint32*/, uint unHeight /*uint32*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamHTMLSurface.SetSize( _ptr, unBrowserHandle, unWidth, unHeight );
else Platform.Win64.ISteamHTMLSurface.SetSize( _ptr, unBrowserHandle, unWidth, unHeight );
}
// void
public void SetVerticalScroll( HHTMLBrowser unBrowserHandle /*HHTMLBrowser*/, uint nAbsolutePixelScroll /*uint32*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamHTMLSurface.SetVerticalScroll( _ptr, unBrowserHandle, nAbsolutePixelScroll );
else Platform.Win64.ISteamHTMLSurface.SetVerticalScroll( _ptr, unBrowserHandle, nAbsolutePixelScroll );
}
// bool
public bool Shutdown()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamHTMLSurface.Shutdown( _ptr );
else return Platform.Win64.ISteamHTMLSurface.Shutdown( _ptr );
}
// void
public void StopFind( HHTMLBrowser unBrowserHandle /*HHTMLBrowser*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamHTMLSurface.StopFind( _ptr, unBrowserHandle );
else Platform.Win64.ISteamHTMLSurface.StopFind( _ptr, unBrowserHandle );
}
// void
public void StopLoad( HHTMLBrowser unBrowserHandle /*HHTMLBrowser*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamHTMLSurface.StopLoad( _ptr, unBrowserHandle );
else Platform.Win64.ISteamHTMLSurface.StopLoad( _ptr, unBrowserHandle );
}
// void
public void ViewSource( HHTMLBrowser unBrowserHandle /*HHTMLBrowser*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamHTMLSurface.ViewSource( _ptr, unBrowserHandle );
else Platform.Win64.ISteamHTMLSurface.ViewSource( _ptr, unBrowserHandle );
}
}
}

View File

@ -0,0 +1,192 @@
using System;
using System.Runtime.InteropServices;
namespace SteamNative
{
public unsafe class SteamHTTP
{
internal IntPtr _ptr;
public SteamHTTP( IntPtr pointer )
{
_ptr = pointer;
}
// HTTPCookieContainerHandle
public HTTPCookieContainerHandle CreateCookieContainer( bool bAllowResponsesToModify /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamHTTP.CreateCookieContainer( _ptr, bAllowResponsesToModify );
else return Platform.Win64.ISteamHTTP.CreateCookieContainer( _ptr, bAllowResponsesToModify );
}
// HTTPRequestHandle
public HTTPRequestHandle CreateHTTPRequest( HTTPMethod eHTTPRequestMethod /*EHTTPMethod*/, string pchAbsoluteURL /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamHTTP.CreateHTTPRequest( _ptr, eHTTPRequestMethod, pchAbsoluteURL );
else return Platform.Win64.ISteamHTTP.CreateHTTPRequest( _ptr, eHTTPRequestMethod, pchAbsoluteURL );
}
// bool
public bool DeferHTTPRequest( HTTPRequestHandle hRequest /*HTTPRequestHandle*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamHTTP.DeferHTTPRequest( _ptr, hRequest );
else return Platform.Win64.ISteamHTTP.DeferHTTPRequest( _ptr, hRequest );
}
// bool
public bool GetHTTPDownloadProgressPct( HTTPRequestHandle hRequest /*HTTPRequestHandle*/, out float pflPercentOut /*float **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamHTTP.GetHTTPDownloadProgressPct( _ptr, hRequest, out pflPercentOut );
else return Platform.Win64.ISteamHTTP.GetHTTPDownloadProgressPct( _ptr, hRequest, out pflPercentOut );
}
// bool
public bool GetHTTPRequestWasTimedOut( HTTPRequestHandle hRequest /*HTTPRequestHandle*/, out bool pbWasTimedOut /*bool **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamHTTP.GetHTTPRequestWasTimedOut( _ptr, hRequest, out pbWasTimedOut );
else return Platform.Win64.ISteamHTTP.GetHTTPRequestWasTimedOut( _ptr, hRequest, out pbWasTimedOut );
}
// bool
public bool GetHTTPResponseBodyData( HTTPRequestHandle hRequest /*HTTPRequestHandle*/, out byte pBodyDataBuffer /*uint8 **/, uint unBufferSize /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamHTTP.GetHTTPResponseBodyData( _ptr, hRequest, out pBodyDataBuffer, unBufferSize );
else return Platform.Win64.ISteamHTTP.GetHTTPResponseBodyData( _ptr, hRequest, out pBodyDataBuffer, unBufferSize );
}
// bool
public bool GetHTTPResponseBodySize( HTTPRequestHandle hRequest /*HTTPRequestHandle*/, out uint unBodySize /*uint32 **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamHTTP.GetHTTPResponseBodySize( _ptr, hRequest, out unBodySize );
else return Platform.Win64.ISteamHTTP.GetHTTPResponseBodySize( _ptr, hRequest, out unBodySize );
}
// bool
public bool GetHTTPResponseHeaderSize( HTTPRequestHandle hRequest /*HTTPRequestHandle*/, string pchHeaderName /*const char **/, out uint unResponseHeaderSize /*uint32 **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamHTTP.GetHTTPResponseHeaderSize( _ptr, hRequest, pchHeaderName, out unResponseHeaderSize );
else return Platform.Win64.ISteamHTTP.GetHTTPResponseHeaderSize( _ptr, hRequest, pchHeaderName, out unResponseHeaderSize );
}
// bool
public bool GetHTTPResponseHeaderValue( HTTPRequestHandle hRequest /*HTTPRequestHandle*/, string pchHeaderName /*const char **/, out byte pHeaderValueBuffer /*uint8 **/, uint unBufferSize /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamHTTP.GetHTTPResponseHeaderValue( _ptr, hRequest, pchHeaderName, out pHeaderValueBuffer, unBufferSize );
else return Platform.Win64.ISteamHTTP.GetHTTPResponseHeaderValue( _ptr, hRequest, pchHeaderName, out pHeaderValueBuffer, unBufferSize );
}
// bool
public bool GetHTTPStreamingResponseBodyData( HTTPRequestHandle hRequest /*HTTPRequestHandle*/, uint cOffset /*uint32*/, out byte pBodyDataBuffer /*uint8 **/, uint unBufferSize /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamHTTP.GetHTTPStreamingResponseBodyData( _ptr, hRequest, cOffset, out pBodyDataBuffer, unBufferSize );
else return Platform.Win64.ISteamHTTP.GetHTTPStreamingResponseBodyData( _ptr, hRequest, cOffset, out pBodyDataBuffer, unBufferSize );
}
// bool
public bool PrioritizeHTTPRequest( HTTPRequestHandle hRequest /*HTTPRequestHandle*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamHTTP.PrioritizeHTTPRequest( _ptr, hRequest );
else return Platform.Win64.ISteamHTTP.PrioritizeHTTPRequest( _ptr, hRequest );
}
// bool
public bool ReleaseCookieContainer( HTTPCookieContainerHandle hCookieContainer /*HTTPCookieContainerHandle*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamHTTP.ReleaseCookieContainer( _ptr, hCookieContainer );
else return Platform.Win64.ISteamHTTP.ReleaseCookieContainer( _ptr, hCookieContainer );
}
// bool
public bool ReleaseHTTPRequest( HTTPRequestHandle hRequest /*HTTPRequestHandle*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamHTTP.ReleaseHTTPRequest( _ptr, hRequest );
else return Platform.Win64.ISteamHTTP.ReleaseHTTPRequest( _ptr, hRequest );
}
// bool
public bool SendHTTPRequest( HTTPRequestHandle hRequest /*HTTPRequestHandle*/, ref SteamAPICall_t pCallHandle /*SteamAPICall_t **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamHTTP.SendHTTPRequest( _ptr, hRequest, ref pCallHandle );
else return Platform.Win64.ISteamHTTP.SendHTTPRequest( _ptr, hRequest, ref pCallHandle );
}
// bool
public bool SendHTTPRequestAndStreamResponse( HTTPRequestHandle hRequest /*HTTPRequestHandle*/, ref SteamAPICall_t pCallHandle /*SteamAPICall_t **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamHTTP.SendHTTPRequestAndStreamResponse( _ptr, hRequest, ref pCallHandle );
else return Platform.Win64.ISteamHTTP.SendHTTPRequestAndStreamResponse( _ptr, hRequest, ref pCallHandle );
}
// bool
public bool SetCookie( HTTPCookieContainerHandle hCookieContainer /*HTTPCookieContainerHandle*/, string pchHost /*const char **/, string pchUrl /*const char **/, string pchCookie /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamHTTP.SetCookie( _ptr, hCookieContainer, pchHost, pchUrl, pchCookie );
else return Platform.Win64.ISteamHTTP.SetCookie( _ptr, hCookieContainer, pchHost, pchUrl, pchCookie );
}
// bool
public bool SetHTTPRequestAbsoluteTimeoutMS( HTTPRequestHandle hRequest /*HTTPRequestHandle*/, uint unMilliseconds /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamHTTP.SetHTTPRequestAbsoluteTimeoutMS( _ptr, hRequest, unMilliseconds );
else return Platform.Win64.ISteamHTTP.SetHTTPRequestAbsoluteTimeoutMS( _ptr, hRequest, unMilliseconds );
}
// bool
public bool SetHTTPRequestContextValue( HTTPRequestHandle hRequest /*HTTPRequestHandle*/, ulong ulContextValue /*uint64*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamHTTP.SetHTTPRequestContextValue( _ptr, hRequest, ulContextValue );
else return Platform.Win64.ISteamHTTP.SetHTTPRequestContextValue( _ptr, hRequest, ulContextValue );
}
// bool
public bool SetHTTPRequestCookieContainer( HTTPRequestHandle hRequest /*HTTPRequestHandle*/, HTTPCookieContainerHandle hCookieContainer /*HTTPCookieContainerHandle*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamHTTP.SetHTTPRequestCookieContainer( _ptr, hRequest, hCookieContainer );
else return Platform.Win64.ISteamHTTP.SetHTTPRequestCookieContainer( _ptr, hRequest, hCookieContainer );
}
// bool
public bool SetHTTPRequestGetOrPostParameter( HTTPRequestHandle hRequest /*HTTPRequestHandle*/, string pchParamName /*const char **/, string pchParamValue /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamHTTP.SetHTTPRequestGetOrPostParameter( _ptr, hRequest, pchParamName, pchParamValue );
else return Platform.Win64.ISteamHTTP.SetHTTPRequestGetOrPostParameter( _ptr, hRequest, pchParamName, pchParamValue );
}
// bool
public bool SetHTTPRequestHeaderValue( HTTPRequestHandle hRequest /*HTTPRequestHandle*/, string pchHeaderName /*const char **/, string pchHeaderValue /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamHTTP.SetHTTPRequestHeaderValue( _ptr, hRequest, pchHeaderName, pchHeaderValue );
else return Platform.Win64.ISteamHTTP.SetHTTPRequestHeaderValue( _ptr, hRequest, pchHeaderName, pchHeaderValue );
}
// bool
public bool SetHTTPRequestNetworkActivityTimeout( HTTPRequestHandle hRequest /*HTTPRequestHandle*/, uint unTimeoutSeconds /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamHTTP.SetHTTPRequestNetworkActivityTimeout( _ptr, hRequest, unTimeoutSeconds );
else return Platform.Win64.ISteamHTTP.SetHTTPRequestNetworkActivityTimeout( _ptr, hRequest, unTimeoutSeconds );
}
// bool
public bool SetHTTPRequestRawPostBody( HTTPRequestHandle hRequest /*HTTPRequestHandle*/, string pchContentType /*const char **/, out byte pubBody /*uint8 **/, uint unBodyLen /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamHTTP.SetHTTPRequestRawPostBody( _ptr, hRequest, pchContentType, out pubBody, unBodyLen );
else return Platform.Win64.ISteamHTTP.SetHTTPRequestRawPostBody( _ptr, hRequest, pchContentType, out pubBody, unBodyLen );
}
// bool
public bool SetHTTPRequestRequiresVerifiedCertificate( HTTPRequestHandle hRequest /*HTTPRequestHandle*/, bool bRequireVerifiedCertificate /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamHTTP.SetHTTPRequestRequiresVerifiedCertificate( _ptr, hRequest, bRequireVerifiedCertificate );
else return Platform.Win64.ISteamHTTP.SetHTTPRequestRequiresVerifiedCertificate( _ptr, hRequest, bRequireVerifiedCertificate );
}
// bool
public bool SetHTTPRequestUserAgentInfo( HTTPRequestHandle hRequest /*HTTPRequestHandle*/, string pchUserAgentInfo /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamHTTP.SetHTTPRequestUserAgentInfo( _ptr, hRequest, pchUserAgentInfo );
else return Platform.Win64.ISteamHTTP.SetHTTPRequestUserAgentInfo( _ptr, hRequest, pchUserAgentInfo );
}
}
}

View File

@ -0,0 +1,210 @@
using System;
using System.Runtime.InteropServices;
namespace SteamNative
{
public unsafe class SteamInventory
{
internal IntPtr _ptr;
public SteamInventory( IntPtr pointer )
{
_ptr = pointer;
}
// bool
public bool AddPromoItem( ref SteamInventoryResult_t pResultHandle /*SteamInventoryResult_t **/, SteamItemDef_t itemDef /*SteamItemDef_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamInventory.AddPromoItem( _ptr, ref pResultHandle, itemDef );
else return Platform.Win64.ISteamInventory.AddPromoItem( _ptr, ref pResultHandle, itemDef );
}
// bool
public bool AddPromoItems( ref SteamInventoryResult_t pResultHandle /*SteamInventoryResult_t **/, IntPtr pArrayItemDefs /*const SteamItemDef_t **/, uint unArrayLength /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamInventory.AddPromoItems( _ptr, ref pResultHandle, (IntPtr) pArrayItemDefs, unArrayLength );
else return Platform.Win64.ISteamInventory.AddPromoItems( _ptr, ref pResultHandle, (IntPtr) pArrayItemDefs, unArrayLength );
}
// bool
public bool CheckResultSteamID( SteamInventoryResult_t resultHandle /*SteamInventoryResult_t*/, CSteamID steamIDExpected /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamInventory.CheckResultSteamID( _ptr, resultHandle, steamIDExpected );
else return Platform.Win64.ISteamInventory.CheckResultSteamID( _ptr, resultHandle, steamIDExpected );
}
// bool
public bool ConsumeItem( ref SteamInventoryResult_t pResultHandle /*SteamInventoryResult_t **/, SteamItemInstanceID_t itemConsume /*SteamItemInstanceID_t*/, uint unQuantity /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamInventory.ConsumeItem( _ptr, ref pResultHandle, itemConsume, unQuantity );
else return Platform.Win64.ISteamInventory.ConsumeItem( _ptr, ref pResultHandle, itemConsume, unQuantity );
}
// bool
public bool DeserializeResult( ref SteamInventoryResult_t pOutResultHandle /*SteamInventoryResult_t **/, IntPtr pBuffer /*const void **/, uint unBufferSize /*uint32*/, bool bRESERVED_MUST_BE_FALSE /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamInventory.DeserializeResult( _ptr, ref pOutResultHandle, (IntPtr) pBuffer, unBufferSize, bRESERVED_MUST_BE_FALSE );
else return Platform.Win64.ISteamInventory.DeserializeResult( _ptr, ref pOutResultHandle, (IntPtr) pBuffer, unBufferSize, bRESERVED_MUST_BE_FALSE );
}
// void
public void DestroyResult( SteamInventoryResult_t resultHandle /*SteamInventoryResult_t*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamInventory.DestroyResult( _ptr, resultHandle );
else Platform.Win64.ISteamInventory.DestroyResult( _ptr, resultHandle );
}
// bool
public bool ExchangeItems( ref SteamInventoryResult_t pResultHandle /*SteamInventoryResult_t **/, ref SteamItemDef_t pArrayGenerate /*const SteamItemDef_t **/, out uint punArrayGenerateQuantity /*const uint32 **/, uint unArrayGenerateLength /*uint32*/, IntPtr pArrayDestroy /*const SteamItemInstanceID_t **/, IntPtr punArrayDestroyQuantity /*const uint32 **/, uint unArrayDestroyLength /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamInventory.ExchangeItems( _ptr, ref pResultHandle, ref pArrayGenerate, out punArrayGenerateQuantity, unArrayGenerateLength, (IntPtr) pArrayDestroy, (IntPtr) punArrayDestroyQuantity, unArrayDestroyLength );
else return Platform.Win64.ISteamInventory.ExchangeItems( _ptr, ref pResultHandle, ref pArrayGenerate, out punArrayGenerateQuantity, unArrayGenerateLength, (IntPtr) pArrayDestroy, (IntPtr) punArrayDestroyQuantity, unArrayDestroyLength );
}
// bool
public bool GenerateItems( ref SteamInventoryResult_t pResultHandle /*SteamInventoryResult_t **/, IntPtr pArrayItemDefs /*const SteamItemDef_t **/, out uint punArrayQuantity /*const uint32 **/, uint unArrayLength /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamInventory.GenerateItems( _ptr, ref pResultHandle, (IntPtr) pArrayItemDefs, out punArrayQuantity, unArrayLength );
else return Platform.Win64.ISteamInventory.GenerateItems( _ptr, ref pResultHandle, (IntPtr) pArrayItemDefs, out punArrayQuantity, unArrayLength );
}
// bool
public bool GetAllItems( ref SteamInventoryResult_t pResultHandle /*SteamInventoryResult_t **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamInventory.GetAllItems( _ptr, ref pResultHandle );
else return Platform.Win64.ISteamInventory.GetAllItems( _ptr, ref pResultHandle );
}
// bool
// using: Detect_MultiSizeArrayReturn
public SteamItemDef_t[] GetItemDefinitionIDs()
{
uint punItemDefIDsArraySize = 0;
bool success = false;
if ( Platform.IsWindows32 ) success = Platform.Win32.ISteamInventory.GetItemDefinitionIDs( _ptr, IntPtr.Zero, out punItemDefIDsArraySize );
else success = Platform.Win64.ISteamInventory.GetItemDefinitionIDs( _ptr, IntPtr.Zero, out punItemDefIDsArraySize );
if ( !success || punItemDefIDsArraySize == 0) return null;
var pItemDefIDs = new SteamItemDef_t[punItemDefIDsArraySize];
fixed ( void* pItemDefIDs_ptr = pItemDefIDs )
{
if ( Platform.IsWindows32 ) success = Platform.Win32.ISteamInventory.GetItemDefinitionIDs( _ptr, (IntPtr) pItemDefIDs_ptr, out punItemDefIDsArraySize );
else success = Platform.Win64.ISteamInventory.GetItemDefinitionIDs( _ptr, (IntPtr) pItemDefIDs_ptr, out punItemDefIDsArraySize );
if ( !success ) return null;
return pItemDefIDs;
}
}
// bool
// with: Detect_StringFetch False
public bool GetItemDefinitionProperty( SteamItemDef_t iDefinition /*SteamItemDef_t*/, string pchPropertyName /*const char **/, out string pchValueBuffer /*char **/ )
{
bool bSuccess = default( bool );
pchValueBuffer = string.Empty;
var pchValueBuffer_buffer = new char[4096];
fixed ( void* pchValueBuffer_ptr = pchValueBuffer_buffer )
{
uint punValueBufferSize = 4096;
if ( Platform.IsWindows32 ) bSuccess = Platform.Win32.ISteamInventory.GetItemDefinitionProperty( _ptr, iDefinition, pchPropertyName, (char*)pchValueBuffer_ptr, out punValueBufferSize );
else bSuccess = Platform.Win64.ISteamInventory.GetItemDefinitionProperty( _ptr, iDefinition, pchPropertyName, (char*)pchValueBuffer_ptr, out punValueBufferSize );
if ( !bSuccess ) return bSuccess;
pchValueBuffer = Marshal.PtrToStringAuto( (IntPtr)pchValueBuffer_ptr );
}
return bSuccess;
}
// bool
public bool GetItemsByID( ref SteamInventoryResult_t pResultHandle /*SteamInventoryResult_t **/, IntPtr pInstanceIDs /*const SteamItemInstanceID_t **/, uint unCountInstanceIDs /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamInventory.GetItemsByID( _ptr, ref pResultHandle, (IntPtr) pInstanceIDs, unCountInstanceIDs );
else return Platform.Win64.ISteamInventory.GetItemsByID( _ptr, ref pResultHandle, (IntPtr) pInstanceIDs, unCountInstanceIDs );
}
// bool
// using: Detect_MultiSizeArrayReturn
public SteamItemDetails_t[] GetResultItems( SteamInventoryResult_t resultHandle /*SteamInventoryResult_t*/ )
{
uint punOutItemsArraySize = 0;
bool success = false;
if ( Platform.IsWindows32 ) success = Platform.Win32.ISteamInventory.GetResultItems( _ptr, resultHandle, IntPtr.Zero, out punOutItemsArraySize );
else success = Platform.Win64.ISteamInventory.GetResultItems( _ptr, resultHandle, IntPtr.Zero, out punOutItemsArraySize );
if ( !success || punOutItemsArraySize == 0) return null;
var pOutItemsArray = new SteamItemDetails_t[punOutItemsArraySize];
fixed ( void* pOutItemsArray_ptr = pOutItemsArray )
{
if ( Platform.IsWindows32 ) success = Platform.Win32.ISteamInventory.GetResultItems( _ptr, resultHandle, (IntPtr) pOutItemsArray_ptr, out punOutItemsArraySize );
else success = Platform.Win64.ISteamInventory.GetResultItems( _ptr, resultHandle, (IntPtr) pOutItemsArray_ptr, out punOutItemsArraySize );
if ( !success ) return null;
return pOutItemsArray;
}
}
// Result
public Result GetResultStatus( SteamInventoryResult_t resultHandle /*SteamInventoryResult_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamInventory.GetResultStatus( _ptr, resultHandle );
else return Platform.Win64.ISteamInventory.GetResultStatus( _ptr, resultHandle );
}
// uint
public uint GetResultTimestamp( SteamInventoryResult_t resultHandle /*SteamInventoryResult_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamInventory.GetResultTimestamp( _ptr, resultHandle );
else return Platform.Win64.ISteamInventory.GetResultTimestamp( _ptr, resultHandle );
}
// bool
public bool GrantPromoItems( ref SteamInventoryResult_t pResultHandle /*SteamInventoryResult_t **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamInventory.GrantPromoItems( _ptr, ref pResultHandle );
else return Platform.Win64.ISteamInventory.GrantPromoItems( _ptr, ref pResultHandle );
}
// bool
public bool LoadItemDefinitions()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamInventory.LoadItemDefinitions( _ptr );
else return Platform.Win64.ISteamInventory.LoadItemDefinitions( _ptr );
}
// void
public void SendItemDropHeartbeat()
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamInventory.SendItemDropHeartbeat( _ptr );
else Platform.Win64.ISteamInventory.SendItemDropHeartbeat( _ptr );
}
// bool
public bool SerializeResult( SteamInventoryResult_t resultHandle /*SteamInventoryResult_t*/, IntPtr pOutBuffer /*void **/, out uint punOutBufferSize /*uint32 **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamInventory.SerializeResult( _ptr, resultHandle, (IntPtr) pOutBuffer, out punOutBufferSize );
else return Platform.Win64.ISteamInventory.SerializeResult( _ptr, resultHandle, (IntPtr) pOutBuffer, out punOutBufferSize );
}
// bool
public bool TradeItems( ref SteamInventoryResult_t pResultHandle /*SteamInventoryResult_t **/, CSteamID steamIDTradePartner /*class CSteamID*/, ref SteamItemInstanceID_t pArrayGive /*const SteamItemInstanceID_t **/, out uint pArrayGiveQuantity /*const uint32 **/, uint nArrayGiveLength /*uint32*/, ref SteamItemInstanceID_t pArrayGet /*const SteamItemInstanceID_t **/, out uint pArrayGetQuantity /*const uint32 **/, uint nArrayGetLength /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamInventory.TradeItems( _ptr, ref pResultHandle, steamIDTradePartner, ref pArrayGive, out pArrayGiveQuantity, nArrayGiveLength, ref pArrayGet, out pArrayGetQuantity, nArrayGetLength );
else return Platform.Win64.ISteamInventory.TradeItems( _ptr, ref pResultHandle, steamIDTradePartner, ref pArrayGive, out pArrayGiveQuantity, nArrayGiveLength, ref pArrayGet, out pArrayGetQuantity, nArrayGetLength );
}
// bool
public bool TransferItemQuantity( ref SteamInventoryResult_t pResultHandle /*SteamInventoryResult_t **/, SteamItemInstanceID_t itemIdSource /*SteamItemInstanceID_t*/, uint unQuantity /*uint32*/, SteamItemInstanceID_t itemIdDest /*SteamItemInstanceID_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamInventory.TransferItemQuantity( _ptr, ref pResultHandle, itemIdSource, unQuantity, itemIdDest );
else return Platform.Win64.ISteamInventory.TransferItemQuantity( _ptr, ref pResultHandle, itemIdSource, unQuantity, itemIdDest );
}
// bool
public bool TriggerItemDrop( ref SteamInventoryResult_t pResultHandle /*SteamInventoryResult_t **/, SteamItemDef_t dropListDefinition /*SteamItemDef_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamInventory.TriggerItemDrop( _ptr, ref pResultHandle, dropListDefinition );
else return Platform.Win64.ISteamInventory.TriggerItemDrop( _ptr, ref pResultHandle, dropListDefinition );
}
}
}

View File

@ -0,0 +1,309 @@
using System;
using System.Runtime.InteropServices;
namespace SteamNative
{
public unsafe class SteamMatchmaking
{
internal IntPtr _ptr;
public SteamMatchmaking( IntPtr pointer )
{
_ptr = pointer;
}
// int
public int AddFavoriteGame( AppId_t nAppID /*AppId_t*/, uint nIP /*uint32*/, ushort nConnPort /*uint16*/, ushort nQueryPort /*uint16*/, uint unFlags /*uint32*/, uint rTime32LastPlayedOnServer /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMatchmaking.AddFavoriteGame( _ptr, nAppID, nIP, nConnPort, nQueryPort, unFlags, rTime32LastPlayedOnServer );
else return Platform.Win64.ISteamMatchmaking.AddFavoriteGame( _ptr, nAppID, nIP, nConnPort, nQueryPort, unFlags, rTime32LastPlayedOnServer );
}
// void
public void AddRequestLobbyListCompatibleMembersFilter( CSteamID steamIDLobby /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamMatchmaking.AddRequestLobbyListCompatibleMembersFilter( _ptr, steamIDLobby );
else Platform.Win64.ISteamMatchmaking.AddRequestLobbyListCompatibleMembersFilter( _ptr, steamIDLobby );
}
// void
public void AddRequestLobbyListDistanceFilter( LobbyDistanceFilter eLobbyDistanceFilter /*ELobbyDistanceFilter*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamMatchmaking.AddRequestLobbyListDistanceFilter( _ptr, eLobbyDistanceFilter );
else Platform.Win64.ISteamMatchmaking.AddRequestLobbyListDistanceFilter( _ptr, eLobbyDistanceFilter );
}
// void
public void AddRequestLobbyListFilterSlotsAvailable( int nSlotsAvailable /*int*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamMatchmaking.AddRequestLobbyListFilterSlotsAvailable( _ptr, nSlotsAvailable );
else Platform.Win64.ISteamMatchmaking.AddRequestLobbyListFilterSlotsAvailable( _ptr, nSlotsAvailable );
}
// void
public void AddRequestLobbyListNearValueFilter( string pchKeyToMatch /*const char **/, int nValueToBeCloseTo /*int*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamMatchmaking.AddRequestLobbyListNearValueFilter( _ptr, pchKeyToMatch, nValueToBeCloseTo );
else Platform.Win64.ISteamMatchmaking.AddRequestLobbyListNearValueFilter( _ptr, pchKeyToMatch, nValueToBeCloseTo );
}
// void
public void AddRequestLobbyListNumericalFilter( string pchKeyToMatch /*const char **/, int nValueToMatch /*int*/, LobbyComparison eComparisonType /*ELobbyComparison*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamMatchmaking.AddRequestLobbyListNumericalFilter( _ptr, pchKeyToMatch, nValueToMatch, eComparisonType );
else Platform.Win64.ISteamMatchmaking.AddRequestLobbyListNumericalFilter( _ptr, pchKeyToMatch, nValueToMatch, eComparisonType );
}
// void
public void AddRequestLobbyListResultCountFilter( int cMaxResults /*int*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamMatchmaking.AddRequestLobbyListResultCountFilter( _ptr, cMaxResults );
else Platform.Win64.ISteamMatchmaking.AddRequestLobbyListResultCountFilter( _ptr, cMaxResults );
}
// void
public void AddRequestLobbyListStringFilter( string pchKeyToMatch /*const char **/, string pchValueToMatch /*const char **/, LobbyComparison eComparisonType /*ELobbyComparison*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamMatchmaking.AddRequestLobbyListStringFilter( _ptr, pchKeyToMatch, pchValueToMatch, eComparisonType );
else Platform.Win64.ISteamMatchmaking.AddRequestLobbyListStringFilter( _ptr, pchKeyToMatch, pchValueToMatch, eComparisonType );
}
// SteamAPICall_t
public SteamAPICall_t CreateLobby( LobbyType eLobbyType /*ELobbyType*/, int cMaxMembers /*int*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMatchmaking.CreateLobby( _ptr, eLobbyType, cMaxMembers );
else return Platform.Win64.ISteamMatchmaking.CreateLobby( _ptr, eLobbyType, cMaxMembers );
}
// bool
public bool DeleteLobbyData( CSteamID steamIDLobby /*class CSteamID*/, string pchKey /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMatchmaking.DeleteLobbyData( _ptr, steamIDLobby, pchKey );
else return Platform.Win64.ISteamMatchmaking.DeleteLobbyData( _ptr, steamIDLobby, pchKey );
}
// bool
public bool GetFavoriteGame( int iGame /*int*/, ref AppId_t pnAppID /*AppId_t **/, out uint pnIP /*uint32 **/, out ushort pnConnPort /*uint16 **/, out ushort pnQueryPort /*uint16 **/, IntPtr punFlags /*uint32 **/, out uint pRTime32LastPlayedOnServer /*uint32 **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMatchmaking.GetFavoriteGame( _ptr, iGame, ref pnAppID, out pnIP, out pnConnPort, out pnQueryPort, (IntPtr) punFlags, out pRTime32LastPlayedOnServer );
else return Platform.Win64.ISteamMatchmaking.GetFavoriteGame( _ptr, iGame, ref pnAppID, out pnIP, out pnConnPort, out pnQueryPort, (IntPtr) punFlags, out pRTime32LastPlayedOnServer );
}
// int
public int GetFavoriteGameCount()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMatchmaking.GetFavoriteGameCount( _ptr );
else return Platform.Win64.ISteamMatchmaking.GetFavoriteGameCount( _ptr );
}
// ulong
public ulong GetLobbyByIndex( int iLobby /*int*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMatchmaking.GetLobbyByIndex( _ptr, iLobby );
else return Platform.Win64.ISteamMatchmaking.GetLobbyByIndex( _ptr, iLobby );
}
// int
public int GetLobbyChatEntry( CSteamID steamIDLobby /*class CSteamID*/, int iChatID /*int*/, out CSteamID pSteamIDUser /*class CSteamID **/, IntPtr pvData /*void **/, int cubData /*int*/, out ChatEntryType peChatEntryType /*EChatEntryType **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMatchmaking.GetLobbyChatEntry( _ptr, steamIDLobby, iChatID, out pSteamIDUser, (IntPtr) pvData, cubData, out peChatEntryType );
else return Platform.Win64.ISteamMatchmaking.GetLobbyChatEntry( _ptr, steamIDLobby, iChatID, out pSteamIDUser, (IntPtr) pvData, cubData, out peChatEntryType );
}
// string
// with: Detect_StringReturn
public string GetLobbyData( CSteamID steamIDLobby /*class CSteamID*/, string pchKey /*const char **/ )
{
IntPtr string_pointer;
if ( Platform.IsWindows32 ) string_pointer = Platform.Win32.ISteamMatchmaking.GetLobbyData( _ptr, steamIDLobby, pchKey );
else string_pointer = Platform.Win64.ISteamMatchmaking.GetLobbyData( _ptr, steamIDLobby, pchKey );
return Marshal.PtrToStringAnsi( string_pointer );
}
// bool
// with: Detect_StringFetch False
// with: Detect_StringFetch False
public bool GetLobbyDataByIndex( CSteamID steamIDLobby /*class CSteamID*/, int iLobbyData /*int*/, out string pchKey /*char **/, out string pchValue /*char **/ )
{
bool bSuccess = default( bool );
pchKey = string.Empty;
var pchKey_buffer = new char[4096];
fixed ( void* pchKey_ptr = pchKey_buffer )
{
int cchKeyBufferSize = 4096;
pchValue = string.Empty;
var pchValue_buffer = new char[4096];
fixed ( void* pchValue_ptr = pchValue_buffer )
{
int cchValueBufferSize = 4096;
if ( Platform.IsWindows32 ) bSuccess = Platform.Win32.ISteamMatchmaking.GetLobbyDataByIndex( _ptr, steamIDLobby, iLobbyData, (char*)pchKey_ptr, cchKeyBufferSize, (char*)pchValue_ptr, cchValueBufferSize );
else bSuccess = Platform.Win64.ISteamMatchmaking.GetLobbyDataByIndex( _ptr, steamIDLobby, iLobbyData, (char*)pchKey_ptr, cchKeyBufferSize, (char*)pchValue_ptr, cchValueBufferSize );
if ( !bSuccess ) return bSuccess;
pchValue = Marshal.PtrToStringAuto( (IntPtr)pchValue_ptr );
}
if ( !bSuccess ) return bSuccess;
pchKey = Marshal.PtrToStringAuto( (IntPtr)pchKey_ptr );
}
return bSuccess;
}
// int
public int GetLobbyDataCount( CSteamID steamIDLobby /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMatchmaking.GetLobbyDataCount( _ptr, steamIDLobby );
else return Platform.Win64.ISteamMatchmaking.GetLobbyDataCount( _ptr, steamIDLobby );
}
// bool
public bool GetLobbyGameServer( CSteamID steamIDLobby /*class CSteamID*/, out uint punGameServerIP /*uint32 **/, out ushort punGameServerPort /*uint16 **/, out CSteamID psteamIDGameServer /*class CSteamID **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMatchmaking.GetLobbyGameServer( _ptr, steamIDLobby, out punGameServerIP, out punGameServerPort, out psteamIDGameServer );
else return Platform.Win64.ISteamMatchmaking.GetLobbyGameServer( _ptr, steamIDLobby, out punGameServerIP, out punGameServerPort, out psteamIDGameServer );
}
// ulong
public ulong GetLobbyMemberByIndex( CSteamID steamIDLobby /*class CSteamID*/, int iMember /*int*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMatchmaking.GetLobbyMemberByIndex( _ptr, steamIDLobby, iMember );
else return Platform.Win64.ISteamMatchmaking.GetLobbyMemberByIndex( _ptr, steamIDLobby, iMember );
}
// string
// with: Detect_StringReturn
public string GetLobbyMemberData( CSteamID steamIDLobby /*class CSteamID*/, CSteamID steamIDUser /*class CSteamID*/, string pchKey /*const char **/ )
{
IntPtr string_pointer;
if ( Platform.IsWindows32 ) string_pointer = Platform.Win32.ISteamMatchmaking.GetLobbyMemberData( _ptr, steamIDLobby, steamIDUser, pchKey );
else string_pointer = Platform.Win64.ISteamMatchmaking.GetLobbyMemberData( _ptr, steamIDLobby, steamIDUser, pchKey );
return Marshal.PtrToStringAnsi( string_pointer );
}
// int
public int GetLobbyMemberLimit( CSteamID steamIDLobby /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMatchmaking.GetLobbyMemberLimit( _ptr, steamIDLobby );
else return Platform.Win64.ISteamMatchmaking.GetLobbyMemberLimit( _ptr, steamIDLobby );
}
// ulong
public ulong GetLobbyOwner( CSteamID steamIDLobby /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMatchmaking.GetLobbyOwner( _ptr, steamIDLobby );
else return Platform.Win64.ISteamMatchmaking.GetLobbyOwner( _ptr, steamIDLobby );
}
// int
public int GetNumLobbyMembers( CSteamID steamIDLobby /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMatchmaking.GetNumLobbyMembers( _ptr, steamIDLobby );
else return Platform.Win64.ISteamMatchmaking.GetNumLobbyMembers( _ptr, steamIDLobby );
}
// bool
public bool InviteUserToLobby( CSteamID steamIDLobby /*class CSteamID*/, CSteamID steamIDInvitee /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMatchmaking.InviteUserToLobby( _ptr, steamIDLobby, steamIDInvitee );
else return Platform.Win64.ISteamMatchmaking.InviteUserToLobby( _ptr, steamIDLobby, steamIDInvitee );
}
// SteamAPICall_t
public SteamAPICall_t JoinLobby( CSteamID steamIDLobby /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMatchmaking.JoinLobby( _ptr, steamIDLobby );
else return Platform.Win64.ISteamMatchmaking.JoinLobby( _ptr, steamIDLobby );
}
// void
public void LeaveLobby( CSteamID steamIDLobby /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamMatchmaking.LeaveLobby( _ptr, steamIDLobby );
else Platform.Win64.ISteamMatchmaking.LeaveLobby( _ptr, steamIDLobby );
}
// bool
public bool RemoveFavoriteGame( AppId_t nAppID /*AppId_t*/, uint nIP /*uint32*/, ushort nConnPort /*uint16*/, ushort nQueryPort /*uint16*/, uint unFlags /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMatchmaking.RemoveFavoriteGame( _ptr, nAppID, nIP, nConnPort, nQueryPort, unFlags );
else return Platform.Win64.ISteamMatchmaking.RemoveFavoriteGame( _ptr, nAppID, nIP, nConnPort, nQueryPort, unFlags );
}
// bool
public bool RequestLobbyData( CSteamID steamIDLobby /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMatchmaking.RequestLobbyData( _ptr, steamIDLobby );
else return Platform.Win64.ISteamMatchmaking.RequestLobbyData( _ptr, steamIDLobby );
}
// SteamAPICall_t
public SteamAPICall_t RequestLobbyList()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMatchmaking.RequestLobbyList( _ptr );
else return Platform.Win64.ISteamMatchmaking.RequestLobbyList( _ptr );
}
// bool
public bool SendLobbyChatMsg( CSteamID steamIDLobby /*class CSteamID*/, IntPtr pvMsgBody /*const void **/, int cubMsgBody /*int*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMatchmaking.SendLobbyChatMsg( _ptr, steamIDLobby, (IntPtr) pvMsgBody, cubMsgBody );
else return Platform.Win64.ISteamMatchmaking.SendLobbyChatMsg( _ptr, steamIDLobby, (IntPtr) pvMsgBody, cubMsgBody );
}
// bool
public bool SetLinkedLobby( CSteamID steamIDLobby /*class CSteamID*/, CSteamID steamIDLobbyDependent /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMatchmaking.SetLinkedLobby( _ptr, steamIDLobby, steamIDLobbyDependent );
else return Platform.Win64.ISteamMatchmaking.SetLinkedLobby( _ptr, steamIDLobby, steamIDLobbyDependent );
}
// bool
public bool SetLobbyData( CSteamID steamIDLobby /*class CSteamID*/, string pchKey /*const char **/, string pchValue /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMatchmaking.SetLobbyData( _ptr, steamIDLobby, pchKey, pchValue );
else return Platform.Win64.ISteamMatchmaking.SetLobbyData( _ptr, steamIDLobby, pchKey, pchValue );
}
// void
public void SetLobbyGameServer( CSteamID steamIDLobby /*class CSteamID*/, uint unGameServerIP /*uint32*/, ushort unGameServerPort /*uint16*/, CSteamID steamIDGameServer /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamMatchmaking.SetLobbyGameServer( _ptr, steamIDLobby, unGameServerIP, unGameServerPort, steamIDGameServer );
else Platform.Win64.ISteamMatchmaking.SetLobbyGameServer( _ptr, steamIDLobby, unGameServerIP, unGameServerPort, steamIDGameServer );
}
// bool
public bool SetLobbyJoinable( CSteamID steamIDLobby /*class CSteamID*/, bool bLobbyJoinable /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMatchmaking.SetLobbyJoinable( _ptr, steamIDLobby, bLobbyJoinable );
else return Platform.Win64.ISteamMatchmaking.SetLobbyJoinable( _ptr, steamIDLobby, bLobbyJoinable );
}
// void
public void SetLobbyMemberData( CSteamID steamIDLobby /*class CSteamID*/, string pchKey /*const char **/, string pchValue /*const char **/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamMatchmaking.SetLobbyMemberData( _ptr, steamIDLobby, pchKey, pchValue );
else Platform.Win64.ISteamMatchmaking.SetLobbyMemberData( _ptr, steamIDLobby, pchKey, pchValue );
}
// bool
public bool SetLobbyMemberLimit( CSteamID steamIDLobby /*class CSteamID*/, int cMaxMembers /*int*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMatchmaking.SetLobbyMemberLimit( _ptr, steamIDLobby, cMaxMembers );
else return Platform.Win64.ISteamMatchmaking.SetLobbyMemberLimit( _ptr, steamIDLobby, cMaxMembers );
}
// bool
public bool SetLobbyOwner( CSteamID steamIDLobby /*class CSteamID*/, CSteamID steamIDNewOwner /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMatchmaking.SetLobbyOwner( _ptr, steamIDLobby, steamIDNewOwner );
else return Platform.Win64.ISteamMatchmaking.SetLobbyOwner( _ptr, steamIDLobby, steamIDNewOwner );
}
// bool
public bool SetLobbyType( CSteamID steamIDLobby /*class CSteamID*/, LobbyType eLobbyType /*ELobbyType*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMatchmaking.SetLobbyType( _ptr, steamIDLobby, eLobbyType );
else return Platform.Win64.ISteamMatchmaking.SetLobbyType( _ptr, steamIDLobby, eLobbyType );
}
}
}

View File

@ -0,0 +1,145 @@
using System;
using System.Runtime.InteropServices;
namespace SteamNative
{
public unsafe class SteamMatchmakingServers
{
internal IntPtr _ptr;
public SteamMatchmakingServers( IntPtr pointer )
{
_ptr = pointer;
}
// void
public void CancelQuery( HServerListRequest hRequest /*HServerListRequest*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamMatchmakingServers.CancelQuery( _ptr, hRequest );
else Platform.Win64.ISteamMatchmakingServers.CancelQuery( _ptr, hRequest );
}
// void
public void CancelServerQuery( HServerQuery hServerQuery /*HServerQuery*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamMatchmakingServers.CancelServerQuery( _ptr, hServerQuery );
else Platform.Win64.ISteamMatchmakingServers.CancelServerQuery( _ptr, hServerQuery );
}
// int
public int GetServerCount( HServerListRequest hRequest /*HServerListRequest*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMatchmakingServers.GetServerCount( _ptr, hRequest );
else return Platform.Win64.ISteamMatchmakingServers.GetServerCount( _ptr, hRequest );
}
// gameserveritem_t *
// with: Detect_ReturningStruct
public gameserveritem_t GetServerDetails( HServerListRequest hRequest /*HServerListRequest*/, int iServer /*int*/ )
{
IntPtr struct_pointer;
if ( Platform.IsWindows32 ) struct_pointer = Platform.Win32.ISteamMatchmakingServers.GetServerDetails( _ptr, hRequest, iServer );
else struct_pointer = Platform.Win64.ISteamMatchmakingServers.GetServerDetails( _ptr, hRequest, iServer );
if ( struct_pointer == IntPtr.Zero ) return default(gameserveritem_t);
return gameserveritem_t.FromPointer( struct_pointer );
}
// bool
public bool IsRefreshing( HServerListRequest hRequest /*HServerListRequest*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMatchmakingServers.IsRefreshing( _ptr, hRequest );
else return Platform.Win64.ISteamMatchmakingServers.IsRefreshing( _ptr, hRequest );
}
// HServerQuery
public HServerQuery PingServer( uint unIP /*uint32*/, ushort usPort /*uint16*/, IntPtr pRequestServersResponse /*class ISteamMatchmakingPingResponse **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMatchmakingServers.PingServer( _ptr, unIP, usPort, (IntPtr) pRequestServersResponse );
else return Platform.Win64.ISteamMatchmakingServers.PingServer( _ptr, unIP, usPort, (IntPtr) pRequestServersResponse );
}
// HServerQuery
public HServerQuery PlayerDetails( uint unIP /*uint32*/, ushort usPort /*uint16*/, IntPtr pRequestServersResponse /*class ISteamMatchmakingPlayersResponse **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMatchmakingServers.PlayerDetails( _ptr, unIP, usPort, (IntPtr) pRequestServersResponse );
else return Platform.Win64.ISteamMatchmakingServers.PlayerDetails( _ptr, unIP, usPort, (IntPtr) pRequestServersResponse );
}
// void
public void RefreshQuery( HServerListRequest hRequest /*HServerListRequest*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamMatchmakingServers.RefreshQuery( _ptr, hRequest );
else Platform.Win64.ISteamMatchmakingServers.RefreshQuery( _ptr, hRequest );
}
// void
public void RefreshServer( HServerListRequest hRequest /*HServerListRequest*/, int iServer /*int*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamMatchmakingServers.RefreshServer( _ptr, hRequest, iServer );
else Platform.Win64.ISteamMatchmakingServers.RefreshServer( _ptr, hRequest, iServer );
}
// void
public void ReleaseRequest( HServerListRequest hServerListRequest /*HServerListRequest*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamMatchmakingServers.ReleaseRequest( _ptr, hServerListRequest );
else Platform.Win64.ISteamMatchmakingServers.ReleaseRequest( _ptr, hServerListRequest );
}
// HServerListRequest
// with: Detect_MatchmakingFilters
public HServerListRequest RequestFavoritesServerList( AppId_t iApp /*AppId_t*/, IntPtr ppchFilters /*struct MatchMakingKeyValuePair_t ***/, uint nFilters /*uint32*/, IntPtr pRequestServersResponse /*class ISteamMatchmakingServerListResponse **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMatchmakingServers.RequestFavoritesServerList( _ptr, iApp, (IntPtr) ppchFilters, nFilters, (IntPtr) pRequestServersResponse );
else return Platform.Win64.ISteamMatchmakingServers.RequestFavoritesServerList( _ptr, iApp, (IntPtr) ppchFilters, nFilters, (IntPtr) pRequestServersResponse );
}
// HServerListRequest
// with: Detect_MatchmakingFilters
public HServerListRequest RequestFriendsServerList( AppId_t iApp /*AppId_t*/, IntPtr ppchFilters /*struct MatchMakingKeyValuePair_t ***/, uint nFilters /*uint32*/, IntPtr pRequestServersResponse /*class ISteamMatchmakingServerListResponse **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMatchmakingServers.RequestFriendsServerList( _ptr, iApp, (IntPtr) ppchFilters, nFilters, (IntPtr) pRequestServersResponse );
else return Platform.Win64.ISteamMatchmakingServers.RequestFriendsServerList( _ptr, iApp, (IntPtr) ppchFilters, nFilters, (IntPtr) pRequestServersResponse );
}
// HServerListRequest
// with: Detect_MatchmakingFilters
public HServerListRequest RequestHistoryServerList( AppId_t iApp /*AppId_t*/, IntPtr ppchFilters /*struct MatchMakingKeyValuePair_t ***/, uint nFilters /*uint32*/, IntPtr pRequestServersResponse /*class ISteamMatchmakingServerListResponse **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMatchmakingServers.RequestHistoryServerList( _ptr, iApp, (IntPtr) ppchFilters, nFilters, (IntPtr) pRequestServersResponse );
else return Platform.Win64.ISteamMatchmakingServers.RequestHistoryServerList( _ptr, iApp, (IntPtr) ppchFilters, nFilters, (IntPtr) pRequestServersResponse );
}
// HServerListRequest
// with: Detect_MatchmakingFilters
public HServerListRequest RequestInternetServerList( AppId_t iApp /*AppId_t*/, IntPtr ppchFilters /*struct MatchMakingKeyValuePair_t ***/, uint nFilters /*uint32*/, IntPtr pRequestServersResponse /*class ISteamMatchmakingServerListResponse **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMatchmakingServers.RequestInternetServerList( _ptr, iApp, (IntPtr) ppchFilters, nFilters, (IntPtr) pRequestServersResponse );
else return Platform.Win64.ISteamMatchmakingServers.RequestInternetServerList( _ptr, iApp, (IntPtr) ppchFilters, nFilters, (IntPtr) pRequestServersResponse );
}
// HServerListRequest
public HServerListRequest RequestLANServerList( AppId_t iApp /*AppId_t*/, IntPtr pRequestServersResponse /*class ISteamMatchmakingServerListResponse **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMatchmakingServers.RequestLANServerList( _ptr, iApp, (IntPtr) pRequestServersResponse );
else return Platform.Win64.ISteamMatchmakingServers.RequestLANServerList( _ptr, iApp, (IntPtr) pRequestServersResponse );
}
// HServerListRequest
// with: Detect_MatchmakingFilters
public HServerListRequest RequestSpectatorServerList( AppId_t iApp /*AppId_t*/, IntPtr ppchFilters /*struct MatchMakingKeyValuePair_t ***/, uint nFilters /*uint32*/, IntPtr pRequestServersResponse /*class ISteamMatchmakingServerListResponse **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMatchmakingServers.RequestSpectatorServerList( _ptr, iApp, (IntPtr) ppchFilters, nFilters, (IntPtr) pRequestServersResponse );
else return Platform.Win64.ISteamMatchmakingServers.RequestSpectatorServerList( _ptr, iApp, (IntPtr) ppchFilters, nFilters, (IntPtr) pRequestServersResponse );
}
// HServerQuery
public HServerQuery ServerRules( uint unIP /*uint32*/, ushort usPort /*uint16*/, IntPtr pRequestServersResponse /*class ISteamMatchmakingRulesResponse **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMatchmakingServers.ServerRules( _ptr, unIP, usPort, (IntPtr) pRequestServersResponse );
else return Platform.Win64.ISteamMatchmakingServers.ServerRules( _ptr, unIP, usPort, (IntPtr) pRequestServersResponse );
}
}
}

View File

@ -0,0 +1,80 @@
using System;
using System.Runtime.InteropServices;
namespace SteamNative
{
public unsafe class SteamMusic
{
internal IntPtr _ptr;
public SteamMusic( IntPtr pointer )
{
_ptr = pointer;
}
// bool
public bool BIsEnabled()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMusic.BIsEnabled( _ptr );
else return Platform.Win64.ISteamMusic.BIsEnabled( _ptr );
}
// bool
public bool BIsPlaying()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMusic.BIsPlaying( _ptr );
else return Platform.Win64.ISteamMusic.BIsPlaying( _ptr );
}
// AudioPlayback_Status
public AudioPlayback_Status GetPlaybackStatus()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMusic.GetPlaybackStatus( _ptr );
else return Platform.Win64.ISteamMusic.GetPlaybackStatus( _ptr );
}
// float
public float GetVolume()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMusic.GetVolume( _ptr );
else return Platform.Win64.ISteamMusic.GetVolume( _ptr );
}
// void
public void Pause()
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamMusic.Pause( _ptr );
else Platform.Win64.ISteamMusic.Pause( _ptr );
}
// void
public void Play()
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamMusic.Play( _ptr );
else Platform.Win64.ISteamMusic.Play( _ptr );
}
// void
public void PlayNext()
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamMusic.PlayNext( _ptr );
else Platform.Win64.ISteamMusic.PlayNext( _ptr );
}
// void
public void PlayPrevious()
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamMusic.PlayPrevious( _ptr );
else Platform.Win64.ISteamMusic.PlayPrevious( _ptr );
}
// void
public void SetVolume( float flVolume /*float*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamMusic.SetVolume( _ptr, flVolume );
else Platform.Win64.ISteamMusic.SetVolume( _ptr, flVolume );
}
}
}

View File

@ -0,0 +1,241 @@
using System;
using System.Runtime.InteropServices;
namespace SteamNative
{
public unsafe class SteamMusicRemote
{
internal IntPtr _ptr;
public SteamMusicRemote( IntPtr pointer )
{
_ptr = pointer;
}
// bool
public bool BActivationSuccess( bool bValue /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMusicRemote.BActivationSuccess( _ptr, bValue );
else return Platform.Win64.ISteamMusicRemote.BActivationSuccess( _ptr, bValue );
}
// bool
public bool BIsCurrentMusicRemote()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMusicRemote.BIsCurrentMusicRemote( _ptr );
else return Platform.Win64.ISteamMusicRemote.BIsCurrentMusicRemote( _ptr );
}
// bool
public bool CurrentEntryDidChange()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMusicRemote.CurrentEntryDidChange( _ptr );
else return Platform.Win64.ISteamMusicRemote.CurrentEntryDidChange( _ptr );
}
// bool
public bool CurrentEntryIsAvailable( bool bAvailable /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMusicRemote.CurrentEntryIsAvailable( _ptr, bAvailable );
else return Platform.Win64.ISteamMusicRemote.CurrentEntryIsAvailable( _ptr, bAvailable );
}
// bool
public bool CurrentEntryWillChange()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMusicRemote.CurrentEntryWillChange( _ptr );
else return Platform.Win64.ISteamMusicRemote.CurrentEntryWillChange( _ptr );
}
// bool
public bool DeregisterSteamMusicRemote()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMusicRemote.DeregisterSteamMusicRemote( _ptr );
else return Platform.Win64.ISteamMusicRemote.DeregisterSteamMusicRemote( _ptr );
}
// bool
public bool EnableLooped( bool bValue /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMusicRemote.EnableLooped( _ptr, bValue );
else return Platform.Win64.ISteamMusicRemote.EnableLooped( _ptr, bValue );
}
// bool
public bool EnablePlaylists( bool bValue /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMusicRemote.EnablePlaylists( _ptr, bValue );
else return Platform.Win64.ISteamMusicRemote.EnablePlaylists( _ptr, bValue );
}
// bool
public bool EnablePlayNext( bool bValue /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMusicRemote.EnablePlayNext( _ptr, bValue );
else return Platform.Win64.ISteamMusicRemote.EnablePlayNext( _ptr, bValue );
}
// bool
public bool EnablePlayPrevious( bool bValue /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMusicRemote.EnablePlayPrevious( _ptr, bValue );
else return Platform.Win64.ISteamMusicRemote.EnablePlayPrevious( _ptr, bValue );
}
// bool
public bool EnableQueue( bool bValue /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMusicRemote.EnableQueue( _ptr, bValue );
else return Platform.Win64.ISteamMusicRemote.EnableQueue( _ptr, bValue );
}
// bool
public bool EnableShuffled( bool bValue /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMusicRemote.EnableShuffled( _ptr, bValue );
else return Platform.Win64.ISteamMusicRemote.EnableShuffled( _ptr, bValue );
}
// bool
public bool PlaylistDidChange()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMusicRemote.PlaylistDidChange( _ptr );
else return Platform.Win64.ISteamMusicRemote.PlaylistDidChange( _ptr );
}
// bool
public bool PlaylistWillChange()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMusicRemote.PlaylistWillChange( _ptr );
else return Platform.Win64.ISteamMusicRemote.PlaylistWillChange( _ptr );
}
// bool
public bool QueueDidChange()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMusicRemote.QueueDidChange( _ptr );
else return Platform.Win64.ISteamMusicRemote.QueueDidChange( _ptr );
}
// bool
public bool QueueWillChange()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMusicRemote.QueueWillChange( _ptr );
else return Platform.Win64.ISteamMusicRemote.QueueWillChange( _ptr );
}
// bool
public bool RegisterSteamMusicRemote( string pchName /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMusicRemote.RegisterSteamMusicRemote( _ptr, pchName );
else return Platform.Win64.ISteamMusicRemote.RegisterSteamMusicRemote( _ptr, pchName );
}
// bool
public bool ResetPlaylistEntries()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMusicRemote.ResetPlaylistEntries( _ptr );
else return Platform.Win64.ISteamMusicRemote.ResetPlaylistEntries( _ptr );
}
// bool
public bool ResetQueueEntries()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMusicRemote.ResetQueueEntries( _ptr );
else return Platform.Win64.ISteamMusicRemote.ResetQueueEntries( _ptr );
}
// bool
public bool SetCurrentPlaylistEntry( int nID /*int*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMusicRemote.SetCurrentPlaylistEntry( _ptr, nID );
else return Platform.Win64.ISteamMusicRemote.SetCurrentPlaylistEntry( _ptr, nID );
}
// bool
public bool SetCurrentQueueEntry( int nID /*int*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMusicRemote.SetCurrentQueueEntry( _ptr, nID );
else return Platform.Win64.ISteamMusicRemote.SetCurrentQueueEntry( _ptr, nID );
}
// bool
public bool SetDisplayName( string pchDisplayName /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMusicRemote.SetDisplayName( _ptr, pchDisplayName );
else return Platform.Win64.ISteamMusicRemote.SetDisplayName( _ptr, pchDisplayName );
}
// bool
public bool SetPlaylistEntry( int nID /*int*/, int nPosition /*int*/, string pchEntryText /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMusicRemote.SetPlaylistEntry( _ptr, nID, nPosition, pchEntryText );
else return Platform.Win64.ISteamMusicRemote.SetPlaylistEntry( _ptr, nID, nPosition, pchEntryText );
}
// bool
public bool SetPNGIcon_64x64( IntPtr pvBuffer /*void **/, uint cbBufferLength /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMusicRemote.SetPNGIcon_64x64( _ptr, (IntPtr) pvBuffer, cbBufferLength );
else return Platform.Win64.ISteamMusicRemote.SetPNGIcon_64x64( _ptr, (IntPtr) pvBuffer, cbBufferLength );
}
// bool
public bool SetQueueEntry( int nID /*int*/, int nPosition /*int*/, string pchEntryText /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMusicRemote.SetQueueEntry( _ptr, nID, nPosition, pchEntryText );
else return Platform.Win64.ISteamMusicRemote.SetQueueEntry( _ptr, nID, nPosition, pchEntryText );
}
// bool
public bool UpdateCurrentEntryCoverArt( IntPtr pvBuffer /*void **/, uint cbBufferLength /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMusicRemote.UpdateCurrentEntryCoverArt( _ptr, (IntPtr) pvBuffer, cbBufferLength );
else return Platform.Win64.ISteamMusicRemote.UpdateCurrentEntryCoverArt( _ptr, (IntPtr) pvBuffer, cbBufferLength );
}
// bool
public bool UpdateCurrentEntryElapsedSeconds( int nValue /*int*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMusicRemote.UpdateCurrentEntryElapsedSeconds( _ptr, nValue );
else return Platform.Win64.ISteamMusicRemote.UpdateCurrentEntryElapsedSeconds( _ptr, nValue );
}
// bool
public bool UpdateCurrentEntryText( string pchText /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMusicRemote.UpdateCurrentEntryText( _ptr, pchText );
else return Platform.Win64.ISteamMusicRemote.UpdateCurrentEntryText( _ptr, pchText );
}
// bool
public bool UpdateLooped( bool bValue /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMusicRemote.UpdateLooped( _ptr, bValue );
else return Platform.Win64.ISteamMusicRemote.UpdateLooped( _ptr, bValue );
}
// bool
public bool UpdatePlaybackStatus( AudioPlayback_Status nStatus /*AudioPlayback_Status*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMusicRemote.UpdatePlaybackStatus( _ptr, nStatus );
else return Platform.Win64.ISteamMusicRemote.UpdatePlaybackStatus( _ptr, nStatus );
}
// bool
public bool UpdateShuffled( bool bValue /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMusicRemote.UpdateShuffled( _ptr, bValue );
else return Platform.Win64.ISteamMusicRemote.UpdateShuffled( _ptr, bValue );
}
// bool
public bool UpdateVolume( float flValue /*float*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamMusicRemote.UpdateVolume( _ptr, flValue );
else return Platform.Win64.ISteamMusicRemote.UpdateVolume( _ptr, flValue );
}
}
}

View File

@ -0,0 +1,171 @@
using System;
using System.Runtime.InteropServices;
namespace SteamNative
{
public unsafe class SteamNetworking
{
internal IntPtr _ptr;
public SteamNetworking( IntPtr pointer )
{
_ptr = pointer;
}
// bool
public bool AcceptP2PSessionWithUser( CSteamID steamIDRemote /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamNetworking.AcceptP2PSessionWithUser( _ptr, steamIDRemote );
else return Platform.Win64.ISteamNetworking.AcceptP2PSessionWithUser( _ptr, steamIDRemote );
}
// bool
public bool AllowP2PPacketRelay( bool bAllow /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamNetworking.AllowP2PPacketRelay( _ptr, bAllow );
else return Platform.Win64.ISteamNetworking.AllowP2PPacketRelay( _ptr, bAllow );
}
// bool
public bool CloseP2PChannelWithUser( CSteamID steamIDRemote /*class CSteamID*/, int nChannel /*int*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamNetworking.CloseP2PChannelWithUser( _ptr, steamIDRemote, nChannel );
else return Platform.Win64.ISteamNetworking.CloseP2PChannelWithUser( _ptr, steamIDRemote, nChannel );
}
// bool
public bool CloseP2PSessionWithUser( CSteamID steamIDRemote /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamNetworking.CloseP2PSessionWithUser( _ptr, steamIDRemote );
else return Platform.Win64.ISteamNetworking.CloseP2PSessionWithUser( _ptr, steamIDRemote );
}
// SNetSocket_t
public SNetSocket_t CreateConnectionSocket( uint nIP /*uint32*/, ushort nPort /*uint16*/, int nTimeoutSec /*int*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamNetworking.CreateConnectionSocket( _ptr, nIP, nPort, nTimeoutSec );
else return Platform.Win64.ISteamNetworking.CreateConnectionSocket( _ptr, nIP, nPort, nTimeoutSec );
}
// SNetListenSocket_t
public SNetListenSocket_t CreateListenSocket( int nVirtualP2PPort /*int*/, uint nIP /*uint32*/, ushort nPort /*uint16*/, bool bAllowUseOfPacketRelay /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamNetworking.CreateListenSocket( _ptr, nVirtualP2PPort, nIP, nPort, bAllowUseOfPacketRelay );
else return Platform.Win64.ISteamNetworking.CreateListenSocket( _ptr, nVirtualP2PPort, nIP, nPort, bAllowUseOfPacketRelay );
}
// SNetSocket_t
public SNetSocket_t CreateP2PConnectionSocket( CSteamID steamIDTarget /*class CSteamID*/, int nVirtualPort /*int*/, int nTimeoutSec /*int*/, bool bAllowUseOfPacketRelay /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamNetworking.CreateP2PConnectionSocket( _ptr, steamIDTarget, nVirtualPort, nTimeoutSec, bAllowUseOfPacketRelay );
else return Platform.Win64.ISteamNetworking.CreateP2PConnectionSocket( _ptr, steamIDTarget, nVirtualPort, nTimeoutSec, bAllowUseOfPacketRelay );
}
// bool
public bool DestroyListenSocket( SNetListenSocket_t hSocket /*SNetListenSocket_t*/, bool bNotifyRemoteEnd /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamNetworking.DestroyListenSocket( _ptr, hSocket, bNotifyRemoteEnd );
else return Platform.Win64.ISteamNetworking.DestroyListenSocket( _ptr, hSocket, bNotifyRemoteEnd );
}
// bool
public bool DestroySocket( SNetSocket_t hSocket /*SNetSocket_t*/, bool bNotifyRemoteEnd /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamNetworking.DestroySocket( _ptr, hSocket, bNotifyRemoteEnd );
else return Platform.Win64.ISteamNetworking.DestroySocket( _ptr, hSocket, bNotifyRemoteEnd );
}
// bool
public bool GetListenSocketInfo( SNetListenSocket_t hListenSocket /*SNetListenSocket_t*/, out uint pnIP /*uint32 **/, out ushort pnPort /*uint16 **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamNetworking.GetListenSocketInfo( _ptr, hListenSocket, out pnIP, out pnPort );
else return Platform.Win64.ISteamNetworking.GetListenSocketInfo( _ptr, hListenSocket, out pnIP, out pnPort );
}
// int
public int GetMaxPacketSize( SNetSocket_t hSocket /*SNetSocket_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamNetworking.GetMaxPacketSize( _ptr, hSocket );
else return Platform.Win64.ISteamNetworking.GetMaxPacketSize( _ptr, hSocket );
}
// bool
public bool GetP2PSessionState( CSteamID steamIDRemote /*class CSteamID*/, ref P2PSessionState_t pConnectionState /*struct P2PSessionState_t **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamNetworking.GetP2PSessionState( _ptr, steamIDRemote, ref pConnectionState );
else return Platform.Win64.ISteamNetworking.GetP2PSessionState( _ptr, steamIDRemote, ref pConnectionState );
}
// SNetSocketConnectionType
public SNetSocketConnectionType GetSocketConnectionType( SNetSocket_t hSocket /*SNetSocket_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamNetworking.GetSocketConnectionType( _ptr, hSocket );
else return Platform.Win64.ISteamNetworking.GetSocketConnectionType( _ptr, hSocket );
}
// bool
public bool GetSocketInfo( SNetSocket_t hSocket /*SNetSocket_t*/, out CSteamID pSteamIDRemote /*class CSteamID **/, IntPtr peSocketStatus /*int **/, out uint punIPRemote /*uint32 **/, out ushort punPortRemote /*uint16 **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamNetworking.GetSocketInfo( _ptr, hSocket, out pSteamIDRemote, (IntPtr) peSocketStatus, out punIPRemote, out punPortRemote );
else return Platform.Win64.ISteamNetworking.GetSocketInfo( _ptr, hSocket, out pSteamIDRemote, (IntPtr) peSocketStatus, out punIPRemote, out punPortRemote );
}
// bool
public bool IsDataAvailable( SNetListenSocket_t hListenSocket /*SNetListenSocket_t*/, out uint pcubMsgSize /*uint32 **/, ref SNetSocket_t phSocket /*SNetSocket_t **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamNetworking.IsDataAvailable( _ptr, hListenSocket, out pcubMsgSize, ref phSocket );
else return Platform.Win64.ISteamNetworking.IsDataAvailable( _ptr, hListenSocket, out pcubMsgSize, ref phSocket );
}
// bool
public bool IsDataAvailableOnSocket( SNetSocket_t hSocket /*SNetSocket_t*/, out uint pcubMsgSize /*uint32 **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamNetworking.IsDataAvailableOnSocket( _ptr, hSocket, out pcubMsgSize );
else return Platform.Win64.ISteamNetworking.IsDataAvailableOnSocket( _ptr, hSocket, out pcubMsgSize );
}
// bool
public bool IsP2PPacketAvailable( out uint pcubMsgSize /*uint32 **/, int nChannel /*int*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamNetworking.IsP2PPacketAvailable( _ptr, out pcubMsgSize, nChannel );
else return Platform.Win64.ISteamNetworking.IsP2PPacketAvailable( _ptr, out pcubMsgSize, nChannel );
}
// bool
public bool ReadP2PPacket( IntPtr pubDest /*void **/, uint cubDest /*uint32*/, out uint pcubMsgSize /*uint32 **/, out CSteamID psteamIDRemote /*class CSteamID **/, int nChannel /*int*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamNetworking.ReadP2PPacket( _ptr, (IntPtr) pubDest, cubDest, out pcubMsgSize, out psteamIDRemote, nChannel );
else return Platform.Win64.ISteamNetworking.ReadP2PPacket( _ptr, (IntPtr) pubDest, cubDest, out pcubMsgSize, out psteamIDRemote, nChannel );
}
// bool
public bool RetrieveData( SNetListenSocket_t hListenSocket /*SNetListenSocket_t*/, IntPtr pubDest /*void **/, uint cubDest /*uint32*/, out uint pcubMsgSize /*uint32 **/, ref SNetSocket_t phSocket /*SNetSocket_t **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamNetworking.RetrieveData( _ptr, hListenSocket, (IntPtr) pubDest, cubDest, out pcubMsgSize, ref phSocket );
else return Platform.Win64.ISteamNetworking.RetrieveData( _ptr, hListenSocket, (IntPtr) pubDest, cubDest, out pcubMsgSize, ref phSocket );
}
// bool
public bool RetrieveDataFromSocket( SNetSocket_t hSocket /*SNetSocket_t*/, IntPtr pubDest /*void **/, uint cubDest /*uint32*/, out uint pcubMsgSize /*uint32 **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamNetworking.RetrieveDataFromSocket( _ptr, hSocket, (IntPtr) pubDest, cubDest, out pcubMsgSize );
else return Platform.Win64.ISteamNetworking.RetrieveDataFromSocket( _ptr, hSocket, (IntPtr) pubDest, cubDest, out pcubMsgSize );
}
// bool
public bool SendDataOnSocket( SNetSocket_t hSocket /*SNetSocket_t*/, IntPtr pubData /*void **/, uint cubData /*uint32*/, bool bReliable /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamNetworking.SendDataOnSocket( _ptr, hSocket, (IntPtr) pubData, cubData, bReliable );
else return Platform.Win64.ISteamNetworking.SendDataOnSocket( _ptr, hSocket, (IntPtr) pubData, cubData, bReliable );
}
// bool
public bool SendP2PPacket( CSteamID steamIDRemote /*class CSteamID*/, IntPtr pubData /*const void **/, uint cubData /*uint32*/, P2PSend eP2PSendType /*EP2PSend*/, int nChannel /*int*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamNetworking.SendP2PPacket( _ptr, steamIDRemote, (IntPtr) pubData, cubData, eP2PSendType, nChannel );
else return Platform.Win64.ISteamNetworking.SendP2PPacket( _ptr, steamIDRemote, (IntPtr) pubData, cubData, eP2PSendType, nChannel );
}
}
}

View File

@ -0,0 +1,416 @@
using System;
using System.Runtime.InteropServices;
namespace SteamNative
{
public unsafe class SteamRemoteStorage
{
internal IntPtr _ptr;
public SteamRemoteStorage( IntPtr pointer )
{
_ptr = pointer;
}
// SteamAPICall_t
public SteamAPICall_t CommitPublishedFileUpdate( PublishedFileUpdateHandle_t updateHandle /*PublishedFileUpdateHandle_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.CommitPublishedFileUpdate( _ptr, updateHandle );
else return Platform.Win64.ISteamRemoteStorage.CommitPublishedFileUpdate( _ptr, updateHandle );
}
// PublishedFileUpdateHandle_t
public PublishedFileUpdateHandle_t CreatePublishedFileUpdateRequest( PublishedFileId_t unPublishedFileId /*PublishedFileId_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.CreatePublishedFileUpdateRequest( _ptr, unPublishedFileId );
else return Platform.Win64.ISteamRemoteStorage.CreatePublishedFileUpdateRequest( _ptr, unPublishedFileId );
}
// SteamAPICall_t
public SteamAPICall_t DeletePublishedFile( PublishedFileId_t unPublishedFileId /*PublishedFileId_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.DeletePublishedFile( _ptr, unPublishedFileId );
else return Platform.Win64.ISteamRemoteStorage.DeletePublishedFile( _ptr, unPublishedFileId );
}
// SteamAPICall_t
public SteamAPICall_t EnumeratePublishedFilesByUserAction( WorkshopFileAction eAction /*EWorkshopFileAction*/, uint unStartIndex /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.EnumeratePublishedFilesByUserAction( _ptr, eAction, unStartIndex );
else return Platform.Win64.ISteamRemoteStorage.EnumeratePublishedFilesByUserAction( _ptr, eAction, unStartIndex );
}
// SteamAPICall_t
public SteamAPICall_t EnumeratePublishedWorkshopFiles( WorkshopEnumerationType eEnumerationType /*EWorkshopEnumerationType*/, uint unStartIndex /*uint32*/, uint unCount /*uint32*/, uint unDays /*uint32*/, IntPtr pTags /*struct SteamParamStringArray_t **/, IntPtr pUserTags /*struct SteamParamStringArray_t **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.EnumeratePublishedWorkshopFiles( _ptr, eEnumerationType, unStartIndex, unCount, unDays, (IntPtr) pTags, (IntPtr) pUserTags );
else return Platform.Win64.ISteamRemoteStorage.EnumeratePublishedWorkshopFiles( _ptr, eEnumerationType, unStartIndex, unCount, unDays, (IntPtr) pTags, (IntPtr) pUserTags );
}
// SteamAPICall_t
public SteamAPICall_t EnumerateUserPublishedFiles( uint unStartIndex /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.EnumerateUserPublishedFiles( _ptr, unStartIndex );
else return Platform.Win64.ISteamRemoteStorage.EnumerateUserPublishedFiles( _ptr, unStartIndex );
}
// SteamAPICall_t
public SteamAPICall_t EnumerateUserSharedWorkshopFiles( CSteamID steamId /*class CSteamID*/, uint unStartIndex /*uint32*/, IntPtr pRequiredTags /*struct SteamParamStringArray_t **/, IntPtr pExcludedTags /*struct SteamParamStringArray_t **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.EnumerateUserSharedWorkshopFiles( _ptr, steamId, unStartIndex, (IntPtr) pRequiredTags, (IntPtr) pExcludedTags );
else return Platform.Win64.ISteamRemoteStorage.EnumerateUserSharedWorkshopFiles( _ptr, steamId, unStartIndex, (IntPtr) pRequiredTags, (IntPtr) pExcludedTags );
}
// SteamAPICall_t
public SteamAPICall_t EnumerateUserSubscribedFiles( uint unStartIndex /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.EnumerateUserSubscribedFiles( _ptr, unStartIndex );
else return Platform.Win64.ISteamRemoteStorage.EnumerateUserSubscribedFiles( _ptr, unStartIndex );
}
// bool
public bool FileDelete( string pchFile /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.FileDelete( _ptr, pchFile );
else return Platform.Win64.ISteamRemoteStorage.FileDelete( _ptr, pchFile );
}
// bool
public bool FileExists( string pchFile /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.FileExists( _ptr, pchFile );
else return Platform.Win64.ISteamRemoteStorage.FileExists( _ptr, pchFile );
}
// bool
public bool FileForget( string pchFile /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.FileForget( _ptr, pchFile );
else return Platform.Win64.ISteamRemoteStorage.FileForget( _ptr, pchFile );
}
// bool
public bool FilePersisted( string pchFile /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.FilePersisted( _ptr, pchFile );
else return Platform.Win64.ISteamRemoteStorage.FilePersisted( _ptr, pchFile );
}
// int
public int FileRead( string pchFile /*const char **/, IntPtr pvData /*void **/, int cubDataToRead /*int32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.FileRead( _ptr, pchFile, (IntPtr) pvData, cubDataToRead );
else return Platform.Win64.ISteamRemoteStorage.FileRead( _ptr, pchFile, (IntPtr) pvData, cubDataToRead );
}
// SteamAPICall_t
public SteamAPICall_t FileReadAsync( string pchFile /*const char **/, uint nOffset /*uint32*/, uint cubToRead /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.FileReadAsync( _ptr, pchFile, nOffset, cubToRead );
else return Platform.Win64.ISteamRemoteStorage.FileReadAsync( _ptr, pchFile, nOffset, cubToRead );
}
// bool
public bool FileReadAsyncComplete( SteamAPICall_t hReadCall /*SteamAPICall_t*/, IntPtr pvBuffer /*void **/, uint cubToRead /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.FileReadAsyncComplete( _ptr, hReadCall, (IntPtr) pvBuffer, cubToRead );
else return Platform.Win64.ISteamRemoteStorage.FileReadAsyncComplete( _ptr, hReadCall, (IntPtr) pvBuffer, cubToRead );
}
// SteamAPICall_t
public SteamAPICall_t FileShare( string pchFile /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.FileShare( _ptr, pchFile );
else return Platform.Win64.ISteamRemoteStorage.FileShare( _ptr, pchFile );
}
// bool
public bool FileWrite( string pchFile /*const char **/, IntPtr pvData /*const void **/, int cubData /*int32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.FileWrite( _ptr, pchFile, (IntPtr) pvData, cubData );
else return Platform.Win64.ISteamRemoteStorage.FileWrite( _ptr, pchFile, (IntPtr) pvData, cubData );
}
// SteamAPICall_t
public SteamAPICall_t FileWriteAsync( string pchFile /*const char **/, IntPtr pvData /*const void **/, uint cubData /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.FileWriteAsync( _ptr, pchFile, (IntPtr) pvData, cubData );
else return Platform.Win64.ISteamRemoteStorage.FileWriteAsync( _ptr, pchFile, (IntPtr) pvData, cubData );
}
// bool
public bool FileWriteStreamCancel( UGCFileWriteStreamHandle_t writeHandle /*UGCFileWriteStreamHandle_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.FileWriteStreamCancel( _ptr, writeHandle );
else return Platform.Win64.ISteamRemoteStorage.FileWriteStreamCancel( _ptr, writeHandle );
}
// bool
public bool FileWriteStreamClose( UGCFileWriteStreamHandle_t writeHandle /*UGCFileWriteStreamHandle_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.FileWriteStreamClose( _ptr, writeHandle );
else return Platform.Win64.ISteamRemoteStorage.FileWriteStreamClose( _ptr, writeHandle );
}
// UGCFileWriteStreamHandle_t
public UGCFileWriteStreamHandle_t FileWriteStreamOpen( string pchFile /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.FileWriteStreamOpen( _ptr, pchFile );
else return Platform.Win64.ISteamRemoteStorage.FileWriteStreamOpen( _ptr, pchFile );
}
// bool
public bool FileWriteStreamWriteChunk( UGCFileWriteStreamHandle_t writeHandle /*UGCFileWriteStreamHandle_t*/, IntPtr pvData /*const void **/, int cubData /*int32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.FileWriteStreamWriteChunk( _ptr, writeHandle, (IntPtr) pvData, cubData );
else return Platform.Win64.ISteamRemoteStorage.FileWriteStreamWriteChunk( _ptr, writeHandle, (IntPtr) pvData, cubData );
}
// int
public int GetCachedUGCCount()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.GetCachedUGCCount( _ptr );
else return Platform.Win64.ISteamRemoteStorage.GetCachedUGCCount( _ptr );
}
// UGCHandle_t
public UGCHandle_t GetCachedUGCHandle( int iCachedContent /*int32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.GetCachedUGCHandle( _ptr, iCachedContent );
else return Platform.Win64.ISteamRemoteStorage.GetCachedUGCHandle( _ptr, iCachedContent );
}
// int
public int GetFileCount()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.GetFileCount( _ptr );
else return Platform.Win64.ISteamRemoteStorage.GetFileCount( _ptr );
}
// string
// with: Detect_StringReturn
public string GetFileNameAndSize( int iFile /*int*/, IntPtr pnFileSizeInBytes /*int32 **/ )
{
IntPtr string_pointer;
if ( Platform.IsWindows32 ) string_pointer = Platform.Win32.ISteamRemoteStorage.GetFileNameAndSize( _ptr, iFile, (IntPtr) pnFileSizeInBytes );
else string_pointer = Platform.Win64.ISteamRemoteStorage.GetFileNameAndSize( _ptr, iFile, (IntPtr) pnFileSizeInBytes );
return Marshal.PtrToStringAnsi( string_pointer );
}
// int
public int GetFileSize( string pchFile /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.GetFileSize( _ptr, pchFile );
else return Platform.Win64.ISteamRemoteStorage.GetFileSize( _ptr, pchFile );
}
// long
public long GetFileTimestamp( string pchFile /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.GetFileTimestamp( _ptr, pchFile );
else return Platform.Win64.ISteamRemoteStorage.GetFileTimestamp( _ptr, pchFile );
}
// SteamAPICall_t
public SteamAPICall_t GetPublishedFileDetails( PublishedFileId_t unPublishedFileId /*PublishedFileId_t*/, uint unMaxSecondsOld /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.GetPublishedFileDetails( _ptr, unPublishedFileId, unMaxSecondsOld );
else return Platform.Win64.ISteamRemoteStorage.GetPublishedFileDetails( _ptr, unPublishedFileId, unMaxSecondsOld );
}
// SteamAPICall_t
public SteamAPICall_t GetPublishedItemVoteDetails( PublishedFileId_t unPublishedFileId /*PublishedFileId_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.GetPublishedItemVoteDetails( _ptr, unPublishedFileId );
else return Platform.Win64.ISteamRemoteStorage.GetPublishedItemVoteDetails( _ptr, unPublishedFileId );
}
// bool
public bool GetQuota( IntPtr pnTotalBytes /*int32 **/, IntPtr puAvailableBytes /*int32 **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.GetQuota( _ptr, (IntPtr) pnTotalBytes, (IntPtr) puAvailableBytes );
else return Platform.Win64.ISteamRemoteStorage.GetQuota( _ptr, (IntPtr) pnTotalBytes, (IntPtr) puAvailableBytes );
}
// RemoteStoragePlatform
public RemoteStoragePlatform GetSyncPlatforms( string pchFile /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.GetSyncPlatforms( _ptr, pchFile );
else return Platform.Win64.ISteamRemoteStorage.GetSyncPlatforms( _ptr, pchFile );
}
// bool
// with: Detect_StringFetch False
public bool GetUGCDetails( UGCHandle_t hContent /*UGCHandle_t*/, ref AppId_t pnAppID /*AppId_t **/, out string ppchName /*char ***/, out CSteamID pSteamIDOwner /*class CSteamID **/ )
{
bool bSuccess = default( bool );
ppchName = string.Empty;
var ppchName_buffer = new char[4096];
fixed ( void* ppchName_ptr = ppchName_buffer )
{
int pnFileSizeInBytes = 4096;
if ( Platform.IsWindows32 ) bSuccess = Platform.Win32.ISteamRemoteStorage.GetUGCDetails( _ptr, hContent, ref pnAppID, (char*)ppchName_ptr, (IntPtr) pnFileSizeInBytes, out pSteamIDOwner );
else bSuccess = Platform.Win64.ISteamRemoteStorage.GetUGCDetails( _ptr, hContent, ref pnAppID, (char*)ppchName_ptr, (IntPtr) pnFileSizeInBytes, out pSteamIDOwner );
if ( !bSuccess ) return bSuccess;
ppchName = Marshal.PtrToStringAuto( (IntPtr)ppchName_ptr );
}
return bSuccess;
}
// bool
public bool GetUGCDownloadProgress( UGCHandle_t hContent /*UGCHandle_t*/, out int pnBytesDownloaded /*int32 **/, out int pnBytesExpected /*int32 **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.GetUGCDownloadProgress( _ptr, hContent, out pnBytesDownloaded, out pnBytesExpected );
else return Platform.Win64.ISteamRemoteStorage.GetUGCDownloadProgress( _ptr, hContent, out pnBytesDownloaded, out pnBytesExpected );
}
// SteamAPICall_t
public SteamAPICall_t GetUserPublishedItemVoteDetails( PublishedFileId_t unPublishedFileId /*PublishedFileId_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.GetUserPublishedItemVoteDetails( _ptr, unPublishedFileId );
else return Platform.Win64.ISteamRemoteStorage.GetUserPublishedItemVoteDetails( _ptr, unPublishedFileId );
}
// bool
public bool IsCloudEnabledForAccount()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.IsCloudEnabledForAccount( _ptr );
else return Platform.Win64.ISteamRemoteStorage.IsCloudEnabledForAccount( _ptr );
}
// bool
public bool IsCloudEnabledForApp()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.IsCloudEnabledForApp( _ptr );
else return Platform.Win64.ISteamRemoteStorage.IsCloudEnabledForApp( _ptr );
}
// SteamAPICall_t
public SteamAPICall_t PublishVideo( WorkshopVideoProvider eVideoProvider /*EWorkshopVideoProvider*/, string pchVideoAccount /*const char **/, string pchVideoIdentifier /*const char **/, string pchPreviewFile /*const char **/, AppId_t nConsumerAppId /*AppId_t*/, string pchTitle /*const char **/, string pchDescription /*const char **/, RemoteStoragePublishedFileVisibility eVisibility /*ERemoteStoragePublishedFileVisibility*/, IntPtr pTags /*struct SteamParamStringArray_t **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.PublishVideo( _ptr, eVideoProvider, pchVideoAccount, pchVideoIdentifier, pchPreviewFile, nConsumerAppId, pchTitle, pchDescription, eVisibility, (IntPtr) pTags );
else return Platform.Win64.ISteamRemoteStorage.PublishVideo( _ptr, eVideoProvider, pchVideoAccount, pchVideoIdentifier, pchPreviewFile, nConsumerAppId, pchTitle, pchDescription, eVisibility, (IntPtr) pTags );
}
// SteamAPICall_t
public SteamAPICall_t PublishWorkshopFile( string pchFile /*const char **/, string pchPreviewFile /*const char **/, AppId_t nConsumerAppId /*AppId_t*/, string pchTitle /*const char **/, string pchDescription /*const char **/, RemoteStoragePublishedFileVisibility eVisibility /*ERemoteStoragePublishedFileVisibility*/, IntPtr pTags /*struct SteamParamStringArray_t **/, WorkshopFileType eWorkshopFileType /*EWorkshopFileType*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.PublishWorkshopFile( _ptr, pchFile, pchPreviewFile, nConsumerAppId, pchTitle, pchDescription, eVisibility, (IntPtr) pTags, eWorkshopFileType );
else return Platform.Win64.ISteamRemoteStorage.PublishWorkshopFile( _ptr, pchFile, pchPreviewFile, nConsumerAppId, pchTitle, pchDescription, eVisibility, (IntPtr) pTags, eWorkshopFileType );
}
// void
public void SetCloudEnabledForApp( bool bEnabled /*bool*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamRemoteStorage.SetCloudEnabledForApp( _ptr, bEnabled );
else Platform.Win64.ISteamRemoteStorage.SetCloudEnabledForApp( _ptr, bEnabled );
}
// bool
public bool SetSyncPlatforms( string pchFile /*const char **/, RemoteStoragePlatform eRemoteStoragePlatform /*ERemoteStoragePlatform*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.SetSyncPlatforms( _ptr, pchFile, eRemoteStoragePlatform );
else return Platform.Win64.ISteamRemoteStorage.SetSyncPlatforms( _ptr, pchFile, eRemoteStoragePlatform );
}
// SteamAPICall_t
public SteamAPICall_t SetUserPublishedFileAction( PublishedFileId_t unPublishedFileId /*PublishedFileId_t*/, WorkshopFileAction eAction /*EWorkshopFileAction*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.SetUserPublishedFileAction( _ptr, unPublishedFileId, eAction );
else return Platform.Win64.ISteamRemoteStorage.SetUserPublishedFileAction( _ptr, unPublishedFileId, eAction );
}
// SteamAPICall_t
public SteamAPICall_t SubscribePublishedFile( PublishedFileId_t unPublishedFileId /*PublishedFileId_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.SubscribePublishedFile( _ptr, unPublishedFileId );
else return Platform.Win64.ISteamRemoteStorage.SubscribePublishedFile( _ptr, unPublishedFileId );
}
// SteamAPICall_t
public SteamAPICall_t UGCDownload( UGCHandle_t hContent /*UGCHandle_t*/, uint unPriority /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.UGCDownload( _ptr, hContent, unPriority );
else return Platform.Win64.ISteamRemoteStorage.UGCDownload( _ptr, hContent, unPriority );
}
// SteamAPICall_t
public SteamAPICall_t UGCDownloadToLocation( UGCHandle_t hContent /*UGCHandle_t*/, string pchLocation /*const char **/, uint unPriority /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.UGCDownloadToLocation( _ptr, hContent, pchLocation, unPriority );
else return Platform.Win64.ISteamRemoteStorage.UGCDownloadToLocation( _ptr, hContent, pchLocation, unPriority );
}
// int
public int UGCRead( UGCHandle_t hContent /*UGCHandle_t*/, IntPtr pvData /*void **/, int cubDataToRead /*int32*/, uint cOffset /*uint32*/, UGCReadAction eAction /*EUGCReadAction*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.UGCRead( _ptr, hContent, (IntPtr) pvData, cubDataToRead, cOffset, eAction );
else return Platform.Win64.ISteamRemoteStorage.UGCRead( _ptr, hContent, (IntPtr) pvData, cubDataToRead, cOffset, eAction );
}
// SteamAPICall_t
public SteamAPICall_t UnsubscribePublishedFile( PublishedFileId_t unPublishedFileId /*PublishedFileId_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.UnsubscribePublishedFile( _ptr, unPublishedFileId );
else return Platform.Win64.ISteamRemoteStorage.UnsubscribePublishedFile( _ptr, unPublishedFileId );
}
// bool
public bool UpdatePublishedFileDescription( PublishedFileUpdateHandle_t updateHandle /*PublishedFileUpdateHandle_t*/, string pchDescription /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.UpdatePublishedFileDescription( _ptr, updateHandle, pchDescription );
else return Platform.Win64.ISteamRemoteStorage.UpdatePublishedFileDescription( _ptr, updateHandle, pchDescription );
}
// bool
public bool UpdatePublishedFileFile( PublishedFileUpdateHandle_t updateHandle /*PublishedFileUpdateHandle_t*/, string pchFile /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.UpdatePublishedFileFile( _ptr, updateHandle, pchFile );
else return Platform.Win64.ISteamRemoteStorage.UpdatePublishedFileFile( _ptr, updateHandle, pchFile );
}
// bool
public bool UpdatePublishedFilePreviewFile( PublishedFileUpdateHandle_t updateHandle /*PublishedFileUpdateHandle_t*/, string pchPreviewFile /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.UpdatePublishedFilePreviewFile( _ptr, updateHandle, pchPreviewFile );
else return Platform.Win64.ISteamRemoteStorage.UpdatePublishedFilePreviewFile( _ptr, updateHandle, pchPreviewFile );
}
// bool
public bool UpdatePublishedFileSetChangeDescription( PublishedFileUpdateHandle_t updateHandle /*PublishedFileUpdateHandle_t*/, string pchChangeDescription /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.UpdatePublishedFileSetChangeDescription( _ptr, updateHandle, pchChangeDescription );
else return Platform.Win64.ISteamRemoteStorage.UpdatePublishedFileSetChangeDescription( _ptr, updateHandle, pchChangeDescription );
}
// bool
public bool UpdatePublishedFileTags( PublishedFileUpdateHandle_t updateHandle /*PublishedFileUpdateHandle_t*/, IntPtr pTags /*struct SteamParamStringArray_t **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.UpdatePublishedFileTags( _ptr, updateHandle, (IntPtr) pTags );
else return Platform.Win64.ISteamRemoteStorage.UpdatePublishedFileTags( _ptr, updateHandle, (IntPtr) pTags );
}
// bool
public bool UpdatePublishedFileTitle( PublishedFileUpdateHandle_t updateHandle /*PublishedFileUpdateHandle_t*/, string pchTitle /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.UpdatePublishedFileTitle( _ptr, updateHandle, pchTitle );
else return Platform.Win64.ISteamRemoteStorage.UpdatePublishedFileTitle( _ptr, updateHandle, pchTitle );
}
// bool
public bool UpdatePublishedFileVisibility( PublishedFileUpdateHandle_t updateHandle /*PublishedFileUpdateHandle_t*/, RemoteStoragePublishedFileVisibility eVisibility /*ERemoteStoragePublishedFileVisibility*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.UpdatePublishedFileVisibility( _ptr, updateHandle, eVisibility );
else return Platform.Win64.ISteamRemoteStorage.UpdatePublishedFileVisibility( _ptr, updateHandle, eVisibility );
}
// SteamAPICall_t
public SteamAPICall_t UpdateUserPublishedItemVote( PublishedFileId_t unPublishedFileId /*PublishedFileId_t*/, bool bVoteUp /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamRemoteStorage.UpdateUserPublishedItemVote( _ptr, unPublishedFileId, bVoteUp );
else return Platform.Win64.ISteamRemoteStorage.UpdateUserPublishedItemVote( _ptr, unPublishedFileId, bVoteUp );
}
}
}

View File

@ -0,0 +1,66 @@
using System;
using System.Runtime.InteropServices;
namespace SteamNative
{
public unsafe class SteamScreenshots
{
internal IntPtr _ptr;
public SteamScreenshots( IntPtr pointer )
{
_ptr = pointer;
}
// ScreenshotHandle
public ScreenshotHandle AddScreenshotToLibrary( string pchFilename /*const char **/, string pchThumbnailFilename /*const char **/, int nWidth /*int*/, int nHeight /*int*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamScreenshots.AddScreenshotToLibrary( _ptr, pchFilename, pchThumbnailFilename, nWidth, nHeight );
else return Platform.Win64.ISteamScreenshots.AddScreenshotToLibrary( _ptr, pchFilename, pchThumbnailFilename, nWidth, nHeight );
}
// void
public void HookScreenshots( bool bHook /*bool*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamScreenshots.HookScreenshots( _ptr, bHook );
else Platform.Win64.ISteamScreenshots.HookScreenshots( _ptr, bHook );
}
// bool
public bool SetLocation( ScreenshotHandle hScreenshot /*ScreenshotHandle*/, string pchLocation /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamScreenshots.SetLocation( _ptr, hScreenshot, pchLocation );
else return Platform.Win64.ISteamScreenshots.SetLocation( _ptr, hScreenshot, pchLocation );
}
// bool
public bool TagPublishedFile( ScreenshotHandle hScreenshot /*ScreenshotHandle*/, PublishedFileId_t unPublishedFileID /*PublishedFileId_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamScreenshots.TagPublishedFile( _ptr, hScreenshot, unPublishedFileID );
else return Platform.Win64.ISteamScreenshots.TagPublishedFile( _ptr, hScreenshot, unPublishedFileID );
}
// bool
public bool TagUser( ScreenshotHandle hScreenshot /*ScreenshotHandle*/, CSteamID steamID /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamScreenshots.TagUser( _ptr, hScreenshot, steamID );
else return Platform.Win64.ISteamScreenshots.TagUser( _ptr, hScreenshot, steamID );
}
// void
public void TriggerScreenshot()
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamScreenshots.TriggerScreenshot( _ptr );
else Platform.Win64.ISteamScreenshots.TriggerScreenshot( _ptr );
}
// ScreenshotHandle
public ScreenshotHandle WriteScreenshot( IntPtr pubRGB /*void **/, uint cubRGB /*uint32*/, int nWidth /*int*/, int nHeight /*int*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamScreenshots.WriteScreenshot( _ptr, (IntPtr) pubRGB, cubRGB, nWidth, nHeight );
else return Platform.Win64.ISteamScreenshots.WriteScreenshot( _ptr, (IntPtr) pubRGB, cubRGB, nWidth, nHeight );
}
}
}

View File

@ -0,0 +1,536 @@
using System;
using System.Runtime.InteropServices;
namespace SteamNative
{
public unsafe class SteamUGC
{
internal IntPtr _ptr;
public SteamUGC( IntPtr pointer )
{
_ptr = pointer;
}
// bool
public bool AddExcludedTag( UGCQueryHandle_t handle /*UGCQueryHandle_t*/, string pTagName /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.AddExcludedTag( _ptr, handle, pTagName );
else return Platform.Win64.ISteamUGC.AddExcludedTag( _ptr, handle, pTagName );
}
// bool
public bool AddItemKeyValueTag( UGCUpdateHandle_t handle /*UGCUpdateHandle_t*/, string pchKey /*const char **/, string pchValue /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.AddItemKeyValueTag( _ptr, handle, pchKey, pchValue );
else return Platform.Win64.ISteamUGC.AddItemKeyValueTag( _ptr, handle, pchKey, pchValue );
}
// bool
public bool AddItemPreviewFile( UGCUpdateHandle_t handle /*UGCUpdateHandle_t*/, string pszPreviewFile /*const char **/, ItemPreviewType type /*EItemPreviewType*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.AddItemPreviewFile( _ptr, handle, pszPreviewFile, type );
else return Platform.Win64.ISteamUGC.AddItemPreviewFile( _ptr, handle, pszPreviewFile, type );
}
// bool
public bool AddItemPreviewVideo( UGCUpdateHandle_t handle /*UGCUpdateHandle_t*/, string pszVideoID /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.AddItemPreviewVideo( _ptr, handle, pszVideoID );
else return Platform.Win64.ISteamUGC.AddItemPreviewVideo( _ptr, handle, pszVideoID );
}
// SteamAPICall_t
public SteamAPICall_t AddItemToFavorites( AppId_t nAppId /*AppId_t*/, PublishedFileId_t nPublishedFileID /*PublishedFileId_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.AddItemToFavorites( _ptr, nAppId, nPublishedFileID );
else return Platform.Win64.ISteamUGC.AddItemToFavorites( _ptr, nAppId, nPublishedFileID );
}
// bool
public bool AddRequiredKeyValueTag( UGCQueryHandle_t handle /*UGCQueryHandle_t*/, string pKey /*const char **/, string pValue /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.AddRequiredKeyValueTag( _ptr, handle, pKey, pValue );
else return Platform.Win64.ISteamUGC.AddRequiredKeyValueTag( _ptr, handle, pKey, pValue );
}
// bool
public bool AddRequiredTag( UGCQueryHandle_t handle /*UGCQueryHandle_t*/, string pTagName /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.AddRequiredTag( _ptr, handle, pTagName );
else return Platform.Win64.ISteamUGC.AddRequiredTag( _ptr, handle, pTagName );
}
// bool
public bool BInitWorkshopForGameServer( DepotId_t unWorkshopDepotID /*DepotId_t*/, string pszFolder /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.BInitWorkshopForGameServer( _ptr, unWorkshopDepotID, pszFolder );
else return Platform.Win64.ISteamUGC.BInitWorkshopForGameServer( _ptr, unWorkshopDepotID, pszFolder );
}
// SteamAPICall_t
public SteamAPICall_t CreateItem( AppId_t nConsumerAppId /*AppId_t*/, WorkshopFileType eFileType /*EWorkshopFileType*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.CreateItem( _ptr, nConsumerAppId, eFileType );
else return Platform.Win64.ISteamUGC.CreateItem( _ptr, nConsumerAppId, eFileType );
}
// UGCQueryHandle_t
public UGCQueryHandle_t CreateQueryAllUGCRequest( UGCQuery eQueryType /*EUGCQuery*/, UGCMatchingUGCType eMatchingeMatchingUGCTypeFileType /*EUGCMatchingUGCType*/, AppId_t nCreatorAppID /*AppId_t*/, AppId_t nConsumerAppID /*AppId_t*/, uint unPage /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.CreateQueryAllUGCRequest( _ptr, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage );
else return Platform.Win64.ISteamUGC.CreateQueryAllUGCRequest( _ptr, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage );
}
// with: Detect_VectorReturn
// UGCQueryHandle_t
public UGCQueryHandle_t CreateQueryUGCDetailsRequest( PublishedFileId_t[] pvecPublishedFileID /*PublishedFileId_t **/ )
{
var unNumPublishedFileIDs = (uint) pvecPublishedFileID.Length;
fixed ( PublishedFileId_t* pvecPublishedFileID_ptr = pvecPublishedFileID )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.CreateQueryUGCDetailsRequest( _ptr, (IntPtr) pvecPublishedFileID_ptr, unNumPublishedFileIDs );
else return Platform.Win64.ISteamUGC.CreateQueryUGCDetailsRequest( _ptr, (IntPtr) pvecPublishedFileID_ptr, unNumPublishedFileIDs );
}
}
// UGCQueryHandle_t
public UGCQueryHandle_t CreateQueryUserUGCRequest( AccountID_t unAccountID /*AccountID_t*/, UserUGCList eListType /*EUserUGCList*/, UGCMatchingUGCType eMatchingUGCType /*EUGCMatchingUGCType*/, UserUGCListSortOrder eSortOrder /*EUserUGCListSortOrder*/, AppId_t nCreatorAppID /*AppId_t*/, AppId_t nConsumerAppID /*AppId_t*/, uint unPage /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.CreateQueryUserUGCRequest( _ptr, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage );
else return Platform.Win64.ISteamUGC.CreateQueryUserUGCRequest( _ptr, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage );
}
// bool
public bool DownloadItem( PublishedFileId_t nPublishedFileID /*PublishedFileId_t*/, bool bHighPriority /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.DownloadItem( _ptr, nPublishedFileID, bHighPriority );
else return Platform.Win64.ISteamUGC.DownloadItem( _ptr, nPublishedFileID, bHighPriority );
}
// bool
public bool GetItemDownloadInfo( PublishedFileId_t nPublishedFileID /*PublishedFileId_t*/, out ulong punBytesDownloaded /*uint64 **/, out ulong punBytesTotal /*uint64 **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.GetItemDownloadInfo( _ptr, nPublishedFileID, out punBytesDownloaded, out punBytesTotal );
else return Platform.Win64.ISteamUGC.GetItemDownloadInfo( _ptr, nPublishedFileID, out punBytesDownloaded, out punBytesTotal );
}
// bool
// with: Detect_StringFetch False
public bool GetItemInstallInfo( PublishedFileId_t nPublishedFileID /*PublishedFileId_t*/, out ulong punSizeOnDisk /*uint64 **/, out string pchFolder /*char **/, out uint punTimeStamp /*uint32 **/ )
{
bool bSuccess = default( bool );
pchFolder = string.Empty;
var pchFolder_buffer = new char[4096];
fixed ( void* pchFolder_ptr = pchFolder_buffer )
{
uint cchFolderSize = 4096;
if ( Platform.IsWindows32 ) bSuccess = Platform.Win32.ISteamUGC.GetItemInstallInfo( _ptr, nPublishedFileID, out punSizeOnDisk, (char*)pchFolder_ptr, cchFolderSize, out punTimeStamp );
else bSuccess = Platform.Win64.ISteamUGC.GetItemInstallInfo( _ptr, nPublishedFileID, out punSizeOnDisk, (char*)pchFolder_ptr, cchFolderSize, out punTimeStamp );
if ( !bSuccess ) return bSuccess;
pchFolder = Marshal.PtrToStringAuto( (IntPtr)pchFolder_ptr );
}
return bSuccess;
}
// uint
public uint GetItemState( PublishedFileId_t nPublishedFileID /*PublishedFileId_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.GetItemState( _ptr, nPublishedFileID );
else return Platform.Win64.ISteamUGC.GetItemState( _ptr, nPublishedFileID );
}
// ItemUpdateStatus
public ItemUpdateStatus GetItemUpdateProgress( UGCUpdateHandle_t handle /*UGCUpdateHandle_t*/, out ulong punBytesProcessed /*uint64 **/, out ulong punBytesTotal /*uint64 **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.GetItemUpdateProgress( _ptr, handle, out punBytesProcessed, out punBytesTotal );
else return Platform.Win64.ISteamUGC.GetItemUpdateProgress( _ptr, handle, out punBytesProcessed, out punBytesTotal );
}
// uint
public uint GetNumSubscribedItems()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.GetNumSubscribedItems( _ptr );
else return Platform.Win64.ISteamUGC.GetNumSubscribedItems( _ptr );
}
// bool
// with: Detect_StringFetch False
// with: Detect_StringFetch False
public bool GetQueryUGCAdditionalPreview( UGCQueryHandle_t handle /*UGCQueryHandle_t*/, uint index /*uint32*/, uint previewIndex /*uint32*/, out string pchURLOrVideoID /*char **/, out string pchOriginalFileName /*char **/, out ItemPreviewType pPreviewType /*EItemPreviewType **/ )
{
bool bSuccess = default( bool );
pchURLOrVideoID = string.Empty;
var pchURLOrVideoID_buffer = new char[4096];
fixed ( void* pchURLOrVideoID_ptr = pchURLOrVideoID_buffer )
{
uint cchURLSize = 4096;
pchOriginalFileName = string.Empty;
var pchOriginalFileName_buffer = new char[4096];
fixed ( void* pchOriginalFileName_ptr = pchOriginalFileName_buffer )
{
uint cchOriginalFileNameSize = 4096;
if ( Platform.IsWindows32 ) bSuccess = Platform.Win32.ISteamUGC.GetQueryUGCAdditionalPreview( _ptr, handle, index, previewIndex, (char*)pchURLOrVideoID_ptr, cchURLSize, (char*)pchOriginalFileName_ptr, cchOriginalFileNameSize, out pPreviewType );
else bSuccess = Platform.Win64.ISteamUGC.GetQueryUGCAdditionalPreview( _ptr, handle, index, previewIndex, (char*)pchURLOrVideoID_ptr, cchURLSize, (char*)pchOriginalFileName_ptr, cchOriginalFileNameSize, out pPreviewType );
if ( !bSuccess ) return bSuccess;
pchOriginalFileName = Marshal.PtrToStringAuto( (IntPtr)pchOriginalFileName_ptr );
}
if ( !bSuccess ) return bSuccess;
pchURLOrVideoID = Marshal.PtrToStringAuto( (IntPtr)pchURLOrVideoID_ptr );
}
return bSuccess;
}
// bool
public bool GetQueryUGCChildren( UGCQueryHandle_t handle /*UGCQueryHandle_t*/, uint index /*uint32*/, PublishedFileId_t* pvecPublishedFileID /*PublishedFileId_t **/, uint cMaxEntries /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.GetQueryUGCChildren( _ptr, handle, index, (IntPtr) pvecPublishedFileID, cMaxEntries );
else return Platform.Win64.ISteamUGC.GetQueryUGCChildren( _ptr, handle, index, (IntPtr) pvecPublishedFileID, cMaxEntries );
}
// bool
// with: Detect_StringFetch False
// with: Detect_StringFetch False
public bool GetQueryUGCKeyValueTag( UGCQueryHandle_t handle /*UGCQueryHandle_t*/, uint index /*uint32*/, uint keyValueTagIndex /*uint32*/, out string pchKey /*char **/, out string pchValue /*char **/ )
{
bool bSuccess = default( bool );
pchKey = string.Empty;
var pchKey_buffer = new char[4096];
fixed ( void* pchKey_ptr = pchKey_buffer )
{
uint cchKeySize = 4096;
pchValue = string.Empty;
var pchValue_buffer = new char[4096];
fixed ( void* pchValue_ptr = pchValue_buffer )
{
uint cchValueSize = 4096;
if ( Platform.IsWindows32 ) bSuccess = Platform.Win32.ISteamUGC.GetQueryUGCKeyValueTag( _ptr, handle, index, keyValueTagIndex, (char*)pchKey_ptr, cchKeySize, (char*)pchValue_ptr, cchValueSize );
else bSuccess = Platform.Win64.ISteamUGC.GetQueryUGCKeyValueTag( _ptr, handle, index, keyValueTagIndex, (char*)pchKey_ptr, cchKeySize, (char*)pchValue_ptr, cchValueSize );
if ( !bSuccess ) return bSuccess;
pchValue = Marshal.PtrToStringAuto( (IntPtr)pchValue_ptr );
}
if ( !bSuccess ) return bSuccess;
pchKey = Marshal.PtrToStringAuto( (IntPtr)pchKey_ptr );
}
return bSuccess;
}
// bool
// with: Detect_StringFetch False
public bool GetQueryUGCMetadata( UGCQueryHandle_t handle /*UGCQueryHandle_t*/, uint index /*uint32*/, out string pchMetadata /*char **/ )
{
bool bSuccess = default( bool );
pchMetadata = string.Empty;
var pchMetadata_buffer = new char[4096];
fixed ( void* pchMetadata_ptr = pchMetadata_buffer )
{
uint cchMetadatasize = 4096;
if ( Platform.IsWindows32 ) bSuccess = Platform.Win32.ISteamUGC.GetQueryUGCMetadata( _ptr, handle, index, (char*)pchMetadata_ptr, cchMetadatasize );
else bSuccess = Platform.Win64.ISteamUGC.GetQueryUGCMetadata( _ptr, handle, index, (char*)pchMetadata_ptr, cchMetadatasize );
if ( !bSuccess ) return bSuccess;
pchMetadata = Marshal.PtrToStringAuto( (IntPtr)pchMetadata_ptr );
}
return bSuccess;
}
// uint
public uint GetQueryUGCNumAdditionalPreviews( UGCQueryHandle_t handle /*UGCQueryHandle_t*/, uint index /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.GetQueryUGCNumAdditionalPreviews( _ptr, handle, index );
else return Platform.Win64.ISteamUGC.GetQueryUGCNumAdditionalPreviews( _ptr, handle, index );
}
// uint
public uint GetQueryUGCNumKeyValueTags( UGCQueryHandle_t handle /*UGCQueryHandle_t*/, uint index /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.GetQueryUGCNumKeyValueTags( _ptr, handle, index );
else return Platform.Win64.ISteamUGC.GetQueryUGCNumKeyValueTags( _ptr, handle, index );
}
// bool
// with: Detect_StringFetch False
public bool GetQueryUGCPreviewURL( UGCQueryHandle_t handle /*UGCQueryHandle_t*/, uint index /*uint32*/, out string pchURL /*char **/ )
{
bool bSuccess = default( bool );
pchURL = string.Empty;
var pchURL_buffer = new char[4096];
fixed ( void* pchURL_ptr = pchURL_buffer )
{
uint cchURLSize = 4096;
if ( Platform.IsWindows32 ) bSuccess = Platform.Win32.ISteamUGC.GetQueryUGCPreviewURL( _ptr, handle, index, (char*)pchURL_ptr, cchURLSize );
else bSuccess = Platform.Win64.ISteamUGC.GetQueryUGCPreviewURL( _ptr, handle, index, (char*)pchURL_ptr, cchURLSize );
if ( !bSuccess ) return bSuccess;
pchURL = Marshal.PtrToStringAuto( (IntPtr)pchURL_ptr );
}
return bSuccess;
}
// bool
public bool GetQueryUGCResult( UGCQueryHandle_t handle /*UGCQueryHandle_t*/, uint index /*uint32*/, IntPtr pDetails /*struct SteamUGCDetails_t **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.GetQueryUGCResult( _ptr, handle, index, (IntPtr) pDetails );
else return Platform.Win64.ISteamUGC.GetQueryUGCResult( _ptr, handle, index, (IntPtr) pDetails );
}
// bool
public bool GetQueryUGCStatistic( UGCQueryHandle_t handle /*UGCQueryHandle_t*/, uint index /*uint32*/, ItemStatistic eStatType /*EItemStatistic*/, out uint pStatValue /*uint32 **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.GetQueryUGCStatistic( _ptr, handle, index, eStatType, out pStatValue );
else return Platform.Win64.ISteamUGC.GetQueryUGCStatistic( _ptr, handle, index, eStatType, out pStatValue );
}
// uint
public uint GetSubscribedItems( PublishedFileId_t* pvecPublishedFileID /*PublishedFileId_t **/, uint cMaxEntries /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.GetSubscribedItems( _ptr, (IntPtr) pvecPublishedFileID, cMaxEntries );
else return Platform.Win64.ISteamUGC.GetSubscribedItems( _ptr, (IntPtr) pvecPublishedFileID, cMaxEntries );
}
// SteamAPICall_t
public SteamAPICall_t GetUserItemVote( PublishedFileId_t nPublishedFileID /*PublishedFileId_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.GetUserItemVote( _ptr, nPublishedFileID );
else return Platform.Win64.ISteamUGC.GetUserItemVote( _ptr, nPublishedFileID );
}
// bool
public bool ReleaseQueryUGCRequest( UGCQueryHandle_t handle /*UGCQueryHandle_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.ReleaseQueryUGCRequest( _ptr, handle );
else return Platform.Win64.ISteamUGC.ReleaseQueryUGCRequest( _ptr, handle );
}
// SteamAPICall_t
public SteamAPICall_t RemoveItemFromFavorites( AppId_t nAppId /*AppId_t*/, PublishedFileId_t nPublishedFileID /*PublishedFileId_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.RemoveItemFromFavorites( _ptr, nAppId, nPublishedFileID );
else return Platform.Win64.ISteamUGC.RemoveItemFromFavorites( _ptr, nAppId, nPublishedFileID );
}
// bool
public bool RemoveItemKeyValueTags( UGCUpdateHandle_t handle /*UGCUpdateHandle_t*/, string pchKey /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.RemoveItemKeyValueTags( _ptr, handle, pchKey );
else return Platform.Win64.ISteamUGC.RemoveItemKeyValueTags( _ptr, handle, pchKey );
}
// bool
public bool RemoveItemPreview( UGCUpdateHandle_t handle /*UGCUpdateHandle_t*/, uint index /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.RemoveItemPreview( _ptr, handle, index );
else return Platform.Win64.ISteamUGC.RemoveItemPreview( _ptr, handle, index );
}
// SteamAPICall_t
public SteamAPICall_t RequestUGCDetails( PublishedFileId_t nPublishedFileID /*PublishedFileId_t*/, uint unMaxAgeSeconds /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.RequestUGCDetails( _ptr, nPublishedFileID, unMaxAgeSeconds );
else return Platform.Win64.ISteamUGC.RequestUGCDetails( _ptr, nPublishedFileID, unMaxAgeSeconds );
}
// SteamAPICall_t
public SteamAPICall_t SendQueryUGCRequest( UGCQueryHandle_t handle /*UGCQueryHandle_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.SendQueryUGCRequest( _ptr, handle );
else return Platform.Win64.ISteamUGC.SendQueryUGCRequest( _ptr, handle );
}
// bool
public bool SetAllowCachedResponse( UGCQueryHandle_t handle /*UGCQueryHandle_t*/, uint unMaxAgeSeconds /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.SetAllowCachedResponse( _ptr, handle, unMaxAgeSeconds );
else return Platform.Win64.ISteamUGC.SetAllowCachedResponse( _ptr, handle, unMaxAgeSeconds );
}
// bool
public bool SetCloudFileNameFilter( UGCQueryHandle_t handle /*UGCQueryHandle_t*/, string pMatchCloudFileName /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.SetCloudFileNameFilter( _ptr, handle, pMatchCloudFileName );
else return Platform.Win64.ISteamUGC.SetCloudFileNameFilter( _ptr, handle, pMatchCloudFileName );
}
// bool
public bool SetItemContent( UGCUpdateHandle_t handle /*UGCUpdateHandle_t*/, string pszContentFolder /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.SetItemContent( _ptr, handle, pszContentFolder );
else return Platform.Win64.ISteamUGC.SetItemContent( _ptr, handle, pszContentFolder );
}
// bool
public bool SetItemDescription( UGCUpdateHandle_t handle /*UGCUpdateHandle_t*/, string pchDescription /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.SetItemDescription( _ptr, handle, pchDescription );
else return Platform.Win64.ISteamUGC.SetItemDescription( _ptr, handle, pchDescription );
}
// bool
public bool SetItemMetadata( UGCUpdateHandle_t handle /*UGCUpdateHandle_t*/, string pchMetaData /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.SetItemMetadata( _ptr, handle, pchMetaData );
else return Platform.Win64.ISteamUGC.SetItemMetadata( _ptr, handle, pchMetaData );
}
// bool
public bool SetItemPreview( UGCUpdateHandle_t handle /*UGCUpdateHandle_t*/, string pszPreviewFile /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.SetItemPreview( _ptr, handle, pszPreviewFile );
else return Platform.Win64.ISteamUGC.SetItemPreview( _ptr, handle, pszPreviewFile );
}
// bool
public bool SetItemTags( UGCUpdateHandle_t updateHandle /*UGCUpdateHandle_t*/, IntPtr pTags /*const struct SteamParamStringArray_t **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.SetItemTags( _ptr, updateHandle, (IntPtr) pTags );
else return Platform.Win64.ISteamUGC.SetItemTags( _ptr, updateHandle, (IntPtr) pTags );
}
// bool
public bool SetItemTitle( UGCUpdateHandle_t handle /*UGCUpdateHandle_t*/, string pchTitle /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.SetItemTitle( _ptr, handle, pchTitle );
else return Platform.Win64.ISteamUGC.SetItemTitle( _ptr, handle, pchTitle );
}
// bool
public bool SetItemUpdateLanguage( UGCUpdateHandle_t handle /*UGCUpdateHandle_t*/, string pchLanguage /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.SetItemUpdateLanguage( _ptr, handle, pchLanguage );
else return Platform.Win64.ISteamUGC.SetItemUpdateLanguage( _ptr, handle, pchLanguage );
}
// bool
public bool SetItemVisibility( UGCUpdateHandle_t handle /*UGCUpdateHandle_t*/, RemoteStoragePublishedFileVisibility eVisibility /*ERemoteStoragePublishedFileVisibility*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.SetItemVisibility( _ptr, handle, eVisibility );
else return Platform.Win64.ISteamUGC.SetItemVisibility( _ptr, handle, eVisibility );
}
// bool
public bool SetLanguage( UGCQueryHandle_t handle /*UGCQueryHandle_t*/, string pchLanguage /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.SetLanguage( _ptr, handle, pchLanguage );
else return Platform.Win64.ISteamUGC.SetLanguage( _ptr, handle, pchLanguage );
}
// bool
public bool SetMatchAnyTag( UGCQueryHandle_t handle /*UGCQueryHandle_t*/, bool bMatchAnyTag /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.SetMatchAnyTag( _ptr, handle, bMatchAnyTag );
else return Platform.Win64.ISteamUGC.SetMatchAnyTag( _ptr, handle, bMatchAnyTag );
}
// bool
public bool SetRankedByTrendDays( UGCQueryHandle_t handle /*UGCQueryHandle_t*/, uint unDays /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.SetRankedByTrendDays( _ptr, handle, unDays );
else return Platform.Win64.ISteamUGC.SetRankedByTrendDays( _ptr, handle, unDays );
}
// bool
public bool SetReturnAdditionalPreviews( UGCQueryHandle_t handle /*UGCQueryHandle_t*/, bool bReturnAdditionalPreviews /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.SetReturnAdditionalPreviews( _ptr, handle, bReturnAdditionalPreviews );
else return Platform.Win64.ISteamUGC.SetReturnAdditionalPreviews( _ptr, handle, bReturnAdditionalPreviews );
}
// bool
public bool SetReturnChildren( UGCQueryHandle_t handle /*UGCQueryHandle_t*/, bool bReturnChildren /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.SetReturnChildren( _ptr, handle, bReturnChildren );
else return Platform.Win64.ISteamUGC.SetReturnChildren( _ptr, handle, bReturnChildren );
}
// bool
public bool SetReturnKeyValueTags( UGCQueryHandle_t handle /*UGCQueryHandle_t*/, bool bReturnKeyValueTags /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.SetReturnKeyValueTags( _ptr, handle, bReturnKeyValueTags );
else return Platform.Win64.ISteamUGC.SetReturnKeyValueTags( _ptr, handle, bReturnKeyValueTags );
}
// bool
public bool SetReturnLongDescription( UGCQueryHandle_t handle /*UGCQueryHandle_t*/, bool bReturnLongDescription /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.SetReturnLongDescription( _ptr, handle, bReturnLongDescription );
else return Platform.Win64.ISteamUGC.SetReturnLongDescription( _ptr, handle, bReturnLongDescription );
}
// bool
public bool SetReturnMetadata( UGCQueryHandle_t handle /*UGCQueryHandle_t*/, bool bReturnMetadata /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.SetReturnMetadata( _ptr, handle, bReturnMetadata );
else return Platform.Win64.ISteamUGC.SetReturnMetadata( _ptr, handle, bReturnMetadata );
}
// bool
public bool SetReturnTotalOnly( UGCQueryHandle_t handle /*UGCQueryHandle_t*/, bool bReturnTotalOnly /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.SetReturnTotalOnly( _ptr, handle, bReturnTotalOnly );
else return Platform.Win64.ISteamUGC.SetReturnTotalOnly( _ptr, handle, bReturnTotalOnly );
}
// bool
public bool SetSearchText( UGCQueryHandle_t handle /*UGCQueryHandle_t*/, string pSearchText /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.SetSearchText( _ptr, handle, pSearchText );
else return Platform.Win64.ISteamUGC.SetSearchText( _ptr, handle, pSearchText );
}
// SteamAPICall_t
public SteamAPICall_t SetUserItemVote( PublishedFileId_t nPublishedFileID /*PublishedFileId_t*/, bool bVoteUp /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.SetUserItemVote( _ptr, nPublishedFileID, bVoteUp );
else return Platform.Win64.ISteamUGC.SetUserItemVote( _ptr, nPublishedFileID, bVoteUp );
}
// UGCUpdateHandle_t
public UGCUpdateHandle_t StartItemUpdate( AppId_t nConsumerAppId /*AppId_t*/, PublishedFileId_t nPublishedFileID /*PublishedFileId_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.StartItemUpdate( _ptr, nConsumerAppId, nPublishedFileID );
else return Platform.Win64.ISteamUGC.StartItemUpdate( _ptr, nConsumerAppId, nPublishedFileID );
}
// SteamAPICall_t
public SteamAPICall_t SubmitItemUpdate( UGCUpdateHandle_t handle /*UGCUpdateHandle_t*/, string pchChangeNote /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.SubmitItemUpdate( _ptr, handle, pchChangeNote );
else return Platform.Win64.ISteamUGC.SubmitItemUpdate( _ptr, handle, pchChangeNote );
}
// SteamAPICall_t
public SteamAPICall_t SubscribeItem( PublishedFileId_t nPublishedFileID /*PublishedFileId_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.SubscribeItem( _ptr, nPublishedFileID );
else return Platform.Win64.ISteamUGC.SubscribeItem( _ptr, nPublishedFileID );
}
// void
public void SuspendDownloads( bool bSuspend /*bool*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamUGC.SuspendDownloads( _ptr, bSuspend );
else Platform.Win64.ISteamUGC.SuspendDownloads( _ptr, bSuspend );
}
// SteamAPICall_t
public SteamAPICall_t UnsubscribeItem( PublishedFileId_t nPublishedFileID /*PublishedFileId_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.UnsubscribeItem( _ptr, nPublishedFileID );
else return Platform.Win64.ISteamUGC.UnsubscribeItem( _ptr, nPublishedFileID );
}
// bool
public bool UpdateItemPreviewFile( UGCUpdateHandle_t handle /*UGCUpdateHandle_t*/, uint index /*uint32*/, string pszPreviewFile /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.UpdateItemPreviewFile( _ptr, handle, index, pszPreviewFile );
else return Platform.Win64.ISteamUGC.UpdateItemPreviewFile( _ptr, handle, index, pszPreviewFile );
}
// bool
public bool UpdateItemPreviewVideo( UGCUpdateHandle_t handle /*UGCUpdateHandle_t*/, uint index /*uint32*/, string pszVideoID /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUGC.UpdateItemPreviewVideo( _ptr, handle, index, pszVideoID );
else return Platform.Win64.ISteamUGC.UpdateItemPreviewVideo( _ptr, handle, index, pszVideoID );
}
}
}

View File

@ -0,0 +1,52 @@
using System;
using System.Runtime.InteropServices;
namespace SteamNative
{
public unsafe class SteamUnifiedMessages
{
internal IntPtr _ptr;
public SteamUnifiedMessages( IntPtr pointer )
{
_ptr = pointer;
}
// bool
public bool GetMethodResponseData( ClientUnifiedMessageHandle hHandle /*ClientUnifiedMessageHandle*/, IntPtr pResponseBuffer /*void **/, uint unResponseBufferSize /*uint32*/, bool bAutoRelease /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUnifiedMessages.GetMethodResponseData( _ptr, hHandle, (IntPtr) pResponseBuffer, unResponseBufferSize, bAutoRelease );
else return Platform.Win64.ISteamUnifiedMessages.GetMethodResponseData( _ptr, hHandle, (IntPtr) pResponseBuffer, unResponseBufferSize, bAutoRelease );
}
// bool
public bool GetMethodResponseInfo( ClientUnifiedMessageHandle hHandle /*ClientUnifiedMessageHandle*/, out uint punResponseSize /*uint32 **/, out Result peResult /*EResult **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUnifiedMessages.GetMethodResponseInfo( _ptr, hHandle, out punResponseSize, out peResult );
else return Platform.Win64.ISteamUnifiedMessages.GetMethodResponseInfo( _ptr, hHandle, out punResponseSize, out peResult );
}
// bool
public bool ReleaseMethod( ClientUnifiedMessageHandle hHandle /*ClientUnifiedMessageHandle*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUnifiedMessages.ReleaseMethod( _ptr, hHandle );
else return Platform.Win64.ISteamUnifiedMessages.ReleaseMethod( _ptr, hHandle );
}
// ClientUnifiedMessageHandle
public ClientUnifiedMessageHandle SendMethod( string pchServiceMethod /*const char **/, IntPtr pRequestBuffer /*const void **/, uint unRequestBufferSize /*uint32*/, ulong unContext /*uint64*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUnifiedMessages.SendMethod( _ptr, pchServiceMethod, (IntPtr) pRequestBuffer, unRequestBufferSize, unContext );
else return Platform.Win64.ISteamUnifiedMessages.SendMethod( _ptr, pchServiceMethod, (IntPtr) pRequestBuffer, unRequestBufferSize, unContext );
}
// bool
public bool SendNotification( string pchServiceNotification /*const char **/, IntPtr pNotificationBuffer /*const void **/, uint unNotificationBufferSize /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUnifiedMessages.SendNotification( _ptr, pchServiceNotification, (IntPtr) pNotificationBuffer, unNotificationBufferSize );
else return Platform.Win64.ISteamUnifiedMessages.SendNotification( _ptr, pchServiceNotification, (IntPtr) pNotificationBuffer, unNotificationBufferSize );
}
}
}

View File

@ -0,0 +1,215 @@
using System;
using System.Runtime.InteropServices;
namespace SteamNative
{
public unsafe class SteamUser
{
internal IntPtr _ptr;
public SteamUser( IntPtr pointer )
{
_ptr = pointer;
}
// void
public void AdvertiseGame( CSteamID steamIDGameServer /*class CSteamID*/, uint unIPServer /*uint32*/, ushort usPortServer /*uint16*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamUser.AdvertiseGame( _ptr, steamIDGameServer, unIPServer, usPortServer );
else Platform.Win64.ISteamUser.AdvertiseGame( _ptr, steamIDGameServer, unIPServer, usPortServer );
}
// BeginAuthSessionResult
public BeginAuthSessionResult BeginAuthSession( IntPtr pAuthTicket /*const void **/, int cbAuthTicket /*int*/, CSteamID steamID /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUser.BeginAuthSession( _ptr, (IntPtr) pAuthTicket, cbAuthTicket, steamID );
else return Platform.Win64.ISteamUser.BeginAuthSession( _ptr, (IntPtr) pAuthTicket, cbAuthTicket, steamID );
}
// bool
public bool BIsBehindNAT()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUser.BIsBehindNAT( _ptr );
else return Platform.Win64.ISteamUser.BIsBehindNAT( _ptr );
}
// bool
public bool BIsPhoneVerified()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUser.BIsPhoneVerified( _ptr );
else return Platform.Win64.ISteamUser.BIsPhoneVerified( _ptr );
}
// bool
public bool BIsTwoFactorEnabled()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUser.BIsTwoFactorEnabled( _ptr );
else return Platform.Win64.ISteamUser.BIsTwoFactorEnabled( _ptr );
}
// bool
public bool BLoggedOn()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUser.BLoggedOn( _ptr );
else return Platform.Win64.ISteamUser.BLoggedOn( _ptr );
}
// void
public void CancelAuthTicket( HAuthTicket hAuthTicket /*HAuthTicket*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamUser.CancelAuthTicket( _ptr, hAuthTicket );
else Platform.Win64.ISteamUser.CancelAuthTicket( _ptr, hAuthTicket );
}
// VoiceResult
public VoiceResult DecompressVoice( IntPtr pCompressed /*const void **/, uint cbCompressed /*uint32*/, IntPtr pDestBuffer /*void **/, uint cbDestBufferSize /*uint32*/, out uint nBytesWritten /*uint32 **/, uint nDesiredSampleRate /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUser.DecompressVoice( _ptr, (IntPtr) pCompressed, cbCompressed, (IntPtr) pDestBuffer, cbDestBufferSize, out nBytesWritten, nDesiredSampleRate );
else return Platform.Win64.ISteamUser.DecompressVoice( _ptr, (IntPtr) pCompressed, cbCompressed, (IntPtr) pDestBuffer, cbDestBufferSize, out nBytesWritten, nDesiredSampleRate );
}
// void
public void EndAuthSession( CSteamID steamID /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamUser.EndAuthSession( _ptr, steamID );
else Platform.Win64.ISteamUser.EndAuthSession( _ptr, steamID );
}
// HAuthTicket
public HAuthTicket GetAuthSessionTicket( IntPtr pTicket /*void **/, int cbMaxTicket /*int*/, out uint pcbTicket /*uint32 **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUser.GetAuthSessionTicket( _ptr, (IntPtr) pTicket, cbMaxTicket, out pcbTicket );
else return Platform.Win64.ISteamUser.GetAuthSessionTicket( _ptr, (IntPtr) pTicket, cbMaxTicket, out pcbTicket );
}
// VoiceResult
public VoiceResult GetAvailableVoice( out uint pcbCompressed /*uint32 **/, out uint pcbUncompressed /*uint32 **/, uint nUncompressedVoiceDesiredSampleRate /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUser.GetAvailableVoice( _ptr, out pcbCompressed, out pcbUncompressed, nUncompressedVoiceDesiredSampleRate );
else return Platform.Win64.ISteamUser.GetAvailableVoice( _ptr, out pcbCompressed, out pcbUncompressed, nUncompressedVoiceDesiredSampleRate );
}
// bool
public bool GetEncryptedAppTicket( IntPtr pTicket /*void **/, int cbMaxTicket /*int*/, out uint pcbTicket /*uint32 **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUser.GetEncryptedAppTicket( _ptr, (IntPtr) pTicket, cbMaxTicket, out pcbTicket );
else return Platform.Win64.ISteamUser.GetEncryptedAppTicket( _ptr, (IntPtr) pTicket, cbMaxTicket, out pcbTicket );
}
// int
public int GetGameBadgeLevel( int nSeries /*int*/, bool bFoil /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUser.GetGameBadgeLevel( _ptr, nSeries, bFoil );
else return Platform.Win64.ISteamUser.GetGameBadgeLevel( _ptr, nSeries, bFoil );
}
// HSteamUser
public HSteamUser GetHSteamUser()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUser.GetHSteamUser( _ptr );
else return Platform.Win64.ISteamUser.GetHSteamUser( _ptr );
}
// int
public int GetPlayerSteamLevel()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUser.GetPlayerSteamLevel( _ptr );
else return Platform.Win64.ISteamUser.GetPlayerSteamLevel( _ptr );
}
// ulong
public ulong GetSteamID()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUser.GetSteamID( _ptr );
else return Platform.Win64.ISteamUser.GetSteamID( _ptr );
}
// bool
// with: Detect_StringFetch True
public string GetUserDataFolder()
{
bool bSuccess = default( bool );
var pchBuffer_buffer = new char[4096];
fixed ( void* pchBuffer_ptr = pchBuffer_buffer )
{
int cubBuffer = 4096;
if ( Platform.IsWindows32 ) bSuccess = Platform.Win32.ISteamUser.GetUserDataFolder( _ptr, (char*)pchBuffer_ptr, cubBuffer );
else bSuccess = Platform.Win64.ISteamUser.GetUserDataFolder( _ptr, (char*)pchBuffer_ptr, cubBuffer );
if ( !bSuccess ) return null;
return Marshal.PtrToStringAuto( (IntPtr)pchBuffer_ptr );
}
}
// VoiceResult
public VoiceResult GetVoice( bool bWantCompressed /*bool*/, IntPtr pDestBuffer /*void **/, uint cbDestBufferSize /*uint32*/, out uint nBytesWritten /*uint32 **/, bool bWantUncompressed /*bool*/, IntPtr pUncompressedDestBuffer /*void **/, uint cbUncompressedDestBufferSize /*uint32*/, out uint nUncompressBytesWritten /*uint32 **/, uint nUncompressedVoiceDesiredSampleRate /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUser.GetVoice( _ptr, bWantCompressed, (IntPtr) pDestBuffer, cbDestBufferSize, out nBytesWritten, bWantUncompressed, (IntPtr) pUncompressedDestBuffer, cbUncompressedDestBufferSize, out nUncompressBytesWritten, nUncompressedVoiceDesiredSampleRate );
else return Platform.Win64.ISteamUser.GetVoice( _ptr, bWantCompressed, (IntPtr) pDestBuffer, cbDestBufferSize, out nBytesWritten, bWantUncompressed, (IntPtr) pUncompressedDestBuffer, cbUncompressedDestBufferSize, out nUncompressBytesWritten, nUncompressedVoiceDesiredSampleRate );
}
// uint
public uint GetVoiceOptimalSampleRate()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUser.GetVoiceOptimalSampleRate( _ptr );
else return Platform.Win64.ISteamUser.GetVoiceOptimalSampleRate( _ptr );
}
// int
public int InitiateGameConnection( IntPtr pAuthBlob /*void **/, int cbMaxAuthBlob /*int*/, CSteamID steamIDGameServer /*class CSteamID*/, uint unIPServer /*uint32*/, ushort usPortServer /*uint16*/, bool bSecure /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUser.InitiateGameConnection( _ptr, (IntPtr) pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure );
else return Platform.Win64.ISteamUser.InitiateGameConnection( _ptr, (IntPtr) pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure );
}
// SteamAPICall_t
public SteamAPICall_t RequestEncryptedAppTicket( IntPtr pDataToInclude /*void **/, int cbDataToInclude /*int*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUser.RequestEncryptedAppTicket( _ptr, (IntPtr) pDataToInclude, cbDataToInclude );
else return Platform.Win64.ISteamUser.RequestEncryptedAppTicket( _ptr, (IntPtr) pDataToInclude, cbDataToInclude );
}
// SteamAPICall_t
public SteamAPICall_t RequestStoreAuthURL( string pchRedirectURL /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUser.RequestStoreAuthURL( _ptr, pchRedirectURL );
else return Platform.Win64.ISteamUser.RequestStoreAuthURL( _ptr, pchRedirectURL );
}
// void
public void StartVoiceRecording()
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamUser.StartVoiceRecording( _ptr );
else Platform.Win64.ISteamUser.StartVoiceRecording( _ptr );
}
// void
public void StopVoiceRecording()
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamUser.StopVoiceRecording( _ptr );
else Platform.Win64.ISteamUser.StopVoiceRecording( _ptr );
}
// void
public void TerminateGameConnection( uint unIPServer /*uint32*/, ushort usPortServer /*uint16*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamUser.TerminateGameConnection( _ptr, unIPServer, usPortServer );
else Platform.Win64.ISteamUser.TerminateGameConnection( _ptr, unIPServer, usPortServer );
}
// void
public void TrackAppUsageEvent( CGameID gameID /*class CGameID*/, int eAppUsageEvent /*int*/, string pchExtraInfo /*const char **/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamUser.TrackAppUsageEvent( _ptr, gameID, eAppUsageEvent, pchExtraInfo );
else Platform.Win64.ISteamUser.TrackAppUsageEvent( _ptr, gameID, eAppUsageEvent, pchExtraInfo );
}
// UserHasLicenseForAppResult
public UserHasLicenseForAppResult UserHasLicenseForApp( CSteamID steamID /*class CSteamID*/, AppId_t appID /*AppId_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUser.UserHasLicenseForApp( _ptr, steamID, appID );
else return Platform.Win64.ISteamUser.UserHasLicenseForApp( _ptr, steamID, appID );
}
}
}

View File

@ -0,0 +1,349 @@
using System;
using System.Runtime.InteropServices;
namespace SteamNative
{
public unsafe class SteamUserStats
{
internal IntPtr _ptr;
public SteamUserStats( IntPtr pointer )
{
_ptr = pointer;
}
// SteamAPICall_t
public SteamAPICall_t AttachLeaderboardUGC( SteamLeaderboard_t hSteamLeaderboard /*SteamLeaderboard_t*/, UGCHandle_t hUGC /*UGCHandle_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.AttachLeaderboardUGC( _ptr, hSteamLeaderboard, hUGC );
else return Platform.Win64.ISteamUserStats.AttachLeaderboardUGC( _ptr, hSteamLeaderboard, hUGC );
}
// bool
public bool ClearAchievement( string pchName /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.ClearAchievement( _ptr, pchName );
else return Platform.Win64.ISteamUserStats.ClearAchievement( _ptr, pchName );
}
// SteamAPICall_t
public SteamAPICall_t DownloadLeaderboardEntries( SteamLeaderboard_t hSteamLeaderboard /*SteamLeaderboard_t*/, LeaderboardDataRequest eLeaderboardDataRequest /*ELeaderboardDataRequest*/, int nRangeStart /*int*/, int nRangeEnd /*int*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.DownloadLeaderboardEntries( _ptr, hSteamLeaderboard, eLeaderboardDataRequest, nRangeStart, nRangeEnd );
else return Platform.Win64.ISteamUserStats.DownloadLeaderboardEntries( _ptr, hSteamLeaderboard, eLeaderboardDataRequest, nRangeStart, nRangeEnd );
}
// SteamAPICall_t
public SteamAPICall_t DownloadLeaderboardEntriesForUsers( SteamLeaderboard_t hSteamLeaderboard /*SteamLeaderboard_t*/, IntPtr prgUsers /*class CSteamID **/, int cUsers /*int*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.DownloadLeaderboardEntriesForUsers( _ptr, hSteamLeaderboard, (IntPtr) prgUsers, cUsers );
else return Platform.Win64.ISteamUserStats.DownloadLeaderboardEntriesForUsers( _ptr, hSteamLeaderboard, (IntPtr) prgUsers, cUsers );
}
// SteamAPICall_t
public SteamAPICall_t FindLeaderboard( string pchLeaderboardName /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.FindLeaderboard( _ptr, pchLeaderboardName );
else return Platform.Win64.ISteamUserStats.FindLeaderboard( _ptr, pchLeaderboardName );
}
// SteamAPICall_t
public SteamAPICall_t FindOrCreateLeaderboard( string pchLeaderboardName /*const char **/, LeaderboardSortMethod eLeaderboardSortMethod /*ELeaderboardSortMethod*/, LeaderboardDisplayType eLeaderboardDisplayType /*ELeaderboardDisplayType*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.FindOrCreateLeaderboard( _ptr, pchLeaderboardName, eLeaderboardSortMethod, eLeaderboardDisplayType );
else return Platform.Win64.ISteamUserStats.FindOrCreateLeaderboard( _ptr, pchLeaderboardName, eLeaderboardSortMethod, eLeaderboardDisplayType );
}
// bool
public bool GetAchievement( string pchName /*const char **/, out bool pbAchieved /*bool **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.GetAchievement( _ptr, pchName, out pbAchieved );
else return Platform.Win64.ISteamUserStats.GetAchievement( _ptr, pchName, out pbAchieved );
}
// bool
public bool GetAchievementAchievedPercent( string pchName /*const char **/, out float pflPercent /*float **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.GetAchievementAchievedPercent( _ptr, pchName, out pflPercent );
else return Platform.Win64.ISteamUserStats.GetAchievementAchievedPercent( _ptr, pchName, out pflPercent );
}
// bool
public bool GetAchievementAndUnlockTime( string pchName /*const char **/, out bool pbAchieved /*bool **/, out uint punUnlockTime /*uint32 **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.GetAchievementAndUnlockTime( _ptr, pchName, out pbAchieved, out punUnlockTime );
else return Platform.Win64.ISteamUserStats.GetAchievementAndUnlockTime( _ptr, pchName, out pbAchieved, out punUnlockTime );
}
// string
// with: Detect_StringReturn
public string GetAchievementDisplayAttribute( string pchName /*const char **/, string pchKey /*const char **/ )
{
IntPtr string_pointer;
if ( Platform.IsWindows32 ) string_pointer = Platform.Win32.ISteamUserStats.GetAchievementDisplayAttribute( _ptr, pchName, pchKey );
else string_pointer = Platform.Win64.ISteamUserStats.GetAchievementDisplayAttribute( _ptr, pchName, pchKey );
return Marshal.PtrToStringAnsi( string_pointer );
}
// int
public int GetAchievementIcon( string pchName /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.GetAchievementIcon( _ptr, pchName );
else return Platform.Win64.ISteamUserStats.GetAchievementIcon( _ptr, pchName );
}
// string
// with: Detect_StringReturn
public string GetAchievementName( uint iAchievement /*uint32*/ )
{
IntPtr string_pointer;
if ( Platform.IsWindows32 ) string_pointer = Platform.Win32.ISteamUserStats.GetAchievementName( _ptr, iAchievement );
else string_pointer = Platform.Win64.ISteamUserStats.GetAchievementName( _ptr, iAchievement );
return Marshal.PtrToStringAnsi( string_pointer );
}
// bool
public bool GetDownloadedLeaderboardEntry( SteamLeaderboardEntries_t hSteamLeaderboardEntries /*SteamLeaderboardEntries_t*/, int index /*int*/, ref LeaderboardEntry_t pLeaderboardEntry /*struct LeaderboardEntry_t **/, IntPtr pDetails /*int32 **/, int cDetailsMax /*int*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.GetDownloadedLeaderboardEntry( _ptr, hSteamLeaderboardEntries, index, ref pLeaderboardEntry, (IntPtr) pDetails, cDetailsMax );
else return Platform.Win64.ISteamUserStats.GetDownloadedLeaderboardEntry( _ptr, hSteamLeaderboardEntries, index, ref pLeaderboardEntry, (IntPtr) pDetails, cDetailsMax );
}
// bool
public bool GetGlobalStat( string pchStatName /*const char **/, out long pData /*int64 **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.GetGlobalStat( _ptr, pchStatName, out pData );
else return Platform.Win64.ISteamUserStats.GetGlobalStat( _ptr, pchStatName, out pData );
}
// bool
public bool GetGlobalStat0( string pchStatName /*const char **/, out double pData /*double **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.GetGlobalStat0( _ptr, pchStatName, out pData );
else return Platform.Win64.ISteamUserStats.GetGlobalStat0( _ptr, pchStatName, out pData );
}
// int
public int GetGlobalStatHistory( string pchStatName /*const char **/, out long pData /*int64 **/, uint cubData /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.GetGlobalStatHistory( _ptr, pchStatName, out pData, cubData );
else return Platform.Win64.ISteamUserStats.GetGlobalStatHistory( _ptr, pchStatName, out pData, cubData );
}
// int
public int GetGlobalStatHistory0( string pchStatName /*const char **/, out double pData /*double **/, uint cubData /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.GetGlobalStatHistory0( _ptr, pchStatName, out pData, cubData );
else return Platform.Win64.ISteamUserStats.GetGlobalStatHistory0( _ptr, pchStatName, out pData, cubData );
}
// LeaderboardDisplayType
public LeaderboardDisplayType GetLeaderboardDisplayType( SteamLeaderboard_t hSteamLeaderboard /*SteamLeaderboard_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.GetLeaderboardDisplayType( _ptr, hSteamLeaderboard );
else return Platform.Win64.ISteamUserStats.GetLeaderboardDisplayType( _ptr, hSteamLeaderboard );
}
// int
public int GetLeaderboardEntryCount( SteamLeaderboard_t hSteamLeaderboard /*SteamLeaderboard_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.GetLeaderboardEntryCount( _ptr, hSteamLeaderboard );
else return Platform.Win64.ISteamUserStats.GetLeaderboardEntryCount( _ptr, hSteamLeaderboard );
}
// string
// with: Detect_StringReturn
public string GetLeaderboardName( SteamLeaderboard_t hSteamLeaderboard /*SteamLeaderboard_t*/ )
{
IntPtr string_pointer;
if ( Platform.IsWindows32 ) string_pointer = Platform.Win32.ISteamUserStats.GetLeaderboardName( _ptr, hSteamLeaderboard );
else string_pointer = Platform.Win64.ISteamUserStats.GetLeaderboardName( _ptr, hSteamLeaderboard );
return Marshal.PtrToStringAnsi( string_pointer );
}
// LeaderboardSortMethod
public LeaderboardSortMethod GetLeaderboardSortMethod( SteamLeaderboard_t hSteamLeaderboard /*SteamLeaderboard_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.GetLeaderboardSortMethod( _ptr, hSteamLeaderboard );
else return Platform.Win64.ISteamUserStats.GetLeaderboardSortMethod( _ptr, hSteamLeaderboard );
}
// int
// with: Detect_StringFetch False
public int GetMostAchievedAchievementInfo( out string pchName /*char **/, out float pflPercent /*float **/, out bool pbAchieved /*bool **/ )
{
int bSuccess = default( int );
pchName = string.Empty;
var pchName_buffer = new char[4096];
fixed ( void* pchName_ptr = pchName_buffer )
{
uint unNameBufLen = 4096;
if ( Platform.IsWindows32 ) bSuccess = Platform.Win32.ISteamUserStats.GetMostAchievedAchievementInfo( _ptr, (char*)pchName_ptr, unNameBufLen, out pflPercent, out pbAchieved );
else bSuccess = Platform.Win64.ISteamUserStats.GetMostAchievedAchievementInfo( _ptr, (char*)pchName_ptr, unNameBufLen, out pflPercent, out pbAchieved );
if ( bSuccess <= 0 ) return bSuccess;
pchName = Marshal.PtrToStringAuto( (IntPtr)pchName_ptr );
}
return bSuccess;
}
// int
// with: Detect_StringFetch False
public int GetNextMostAchievedAchievementInfo( int iIteratorPrevious /*int*/, out string pchName /*char **/, out float pflPercent /*float **/, out bool pbAchieved /*bool **/ )
{
int bSuccess = default( int );
pchName = string.Empty;
var pchName_buffer = new char[4096];
fixed ( void* pchName_ptr = pchName_buffer )
{
uint unNameBufLen = 4096;
if ( Platform.IsWindows32 ) bSuccess = Platform.Win32.ISteamUserStats.GetNextMostAchievedAchievementInfo( _ptr, iIteratorPrevious, (char*)pchName_ptr, unNameBufLen, out pflPercent, out pbAchieved );
else bSuccess = Platform.Win64.ISteamUserStats.GetNextMostAchievedAchievementInfo( _ptr, iIteratorPrevious, (char*)pchName_ptr, unNameBufLen, out pflPercent, out pbAchieved );
if ( bSuccess <= 0 ) return bSuccess;
pchName = Marshal.PtrToStringAuto( (IntPtr)pchName_ptr );
}
return bSuccess;
}
// uint
public uint GetNumAchievements()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.GetNumAchievements( _ptr );
else return Platform.Win64.ISteamUserStats.GetNumAchievements( _ptr );
}
// SteamAPICall_t
public SteamAPICall_t GetNumberOfCurrentPlayers()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.GetNumberOfCurrentPlayers( _ptr );
else return Platform.Win64.ISteamUserStats.GetNumberOfCurrentPlayers( _ptr );
}
// bool
public bool GetStat( string pchName /*const char **/, out int pData /*int32 **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.GetStat( _ptr, pchName, out pData );
else return Platform.Win64.ISteamUserStats.GetStat( _ptr, pchName, out pData );
}
// bool
public bool GetStat0( string pchName /*const char **/, out float pData /*float **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.GetStat0( _ptr, pchName, out pData );
else return Platform.Win64.ISteamUserStats.GetStat0( _ptr, pchName, out pData );
}
// bool
public bool GetUserAchievement( CSteamID steamIDUser /*class CSteamID*/, string pchName /*const char **/, out bool pbAchieved /*bool **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.GetUserAchievement( _ptr, steamIDUser, pchName, out pbAchieved );
else return Platform.Win64.ISteamUserStats.GetUserAchievement( _ptr, steamIDUser, pchName, out pbAchieved );
}
// bool
public bool GetUserAchievementAndUnlockTime( CSteamID steamIDUser /*class CSteamID*/, string pchName /*const char **/, out bool pbAchieved /*bool **/, out uint punUnlockTime /*uint32 **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.GetUserAchievementAndUnlockTime( _ptr, steamIDUser, pchName, out pbAchieved, out punUnlockTime );
else return Platform.Win64.ISteamUserStats.GetUserAchievementAndUnlockTime( _ptr, steamIDUser, pchName, out pbAchieved, out punUnlockTime );
}
// bool
public bool GetUserStat( CSteamID steamIDUser /*class CSteamID*/, string pchName /*const char **/, out int pData /*int32 **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.GetUserStat( _ptr, steamIDUser, pchName, out pData );
else return Platform.Win64.ISteamUserStats.GetUserStat( _ptr, steamIDUser, pchName, out pData );
}
// bool
public bool GetUserStat0( CSteamID steamIDUser /*class CSteamID*/, string pchName /*const char **/, out float pData /*float **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.GetUserStat0( _ptr, steamIDUser, pchName, out pData );
else return Platform.Win64.ISteamUserStats.GetUserStat0( _ptr, steamIDUser, pchName, out pData );
}
// bool
public bool IndicateAchievementProgress( string pchName /*const char **/, uint nCurProgress /*uint32*/, uint nMaxProgress /*uint32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.IndicateAchievementProgress( _ptr, pchName, nCurProgress, nMaxProgress );
else return Platform.Win64.ISteamUserStats.IndicateAchievementProgress( _ptr, pchName, nCurProgress, nMaxProgress );
}
// bool
public bool RequestCurrentStats()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.RequestCurrentStats( _ptr );
else return Platform.Win64.ISteamUserStats.RequestCurrentStats( _ptr );
}
// SteamAPICall_t
public SteamAPICall_t RequestGlobalAchievementPercentages()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.RequestGlobalAchievementPercentages( _ptr );
else return Platform.Win64.ISteamUserStats.RequestGlobalAchievementPercentages( _ptr );
}
// SteamAPICall_t
public SteamAPICall_t RequestGlobalStats( int nHistoryDays /*int*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.RequestGlobalStats( _ptr, nHistoryDays );
else return Platform.Win64.ISteamUserStats.RequestGlobalStats( _ptr, nHistoryDays );
}
// SteamAPICall_t
public SteamAPICall_t RequestUserStats( CSteamID steamIDUser /*class CSteamID*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.RequestUserStats( _ptr, steamIDUser );
else return Platform.Win64.ISteamUserStats.RequestUserStats( _ptr, steamIDUser );
}
// bool
public bool ResetAllStats( bool bAchievementsToo /*bool*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.ResetAllStats( _ptr, bAchievementsToo );
else return Platform.Win64.ISteamUserStats.ResetAllStats( _ptr, bAchievementsToo );
}
// bool
public bool SetAchievement( string pchName /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.SetAchievement( _ptr, pchName );
else return Platform.Win64.ISteamUserStats.SetAchievement( _ptr, pchName );
}
// bool
public bool SetStat( string pchName /*const char **/, int nData /*int32*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.SetStat( _ptr, pchName, nData );
else return Platform.Win64.ISteamUserStats.SetStat( _ptr, pchName, nData );
}
// bool
public bool SetStat0( string pchName /*const char **/, float fData /*float*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.SetStat0( _ptr, pchName, fData );
else return Platform.Win64.ISteamUserStats.SetStat0( _ptr, pchName, fData );
}
// bool
public bool StoreStats()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.StoreStats( _ptr );
else return Platform.Win64.ISteamUserStats.StoreStats( _ptr );
}
// bool
public bool UpdateAvgRateStat( string pchName /*const char **/, float flCountThisSession /*float*/, double dSessionLength /*double*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.UpdateAvgRateStat( _ptr, pchName, flCountThisSession, dSessionLength );
else return Platform.Win64.ISteamUserStats.UpdateAvgRateStat( _ptr, pchName, flCountThisSession, dSessionLength );
}
// SteamAPICall_t
public SteamAPICall_t UploadLeaderboardScore( SteamLeaderboard_t hSteamLeaderboard /*SteamLeaderboard_t*/, LeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod /*ELeaderboardUploadScoreMethod*/, int nScore /*int32*/, IntPtr pScoreDetails /*const int32 **/, int cScoreDetailsCount /*int*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUserStats.UploadLeaderboardScore( _ptr, hSteamLeaderboard, eLeaderboardUploadScoreMethod, nScore, (IntPtr) pScoreDetails, cScoreDetailsCount );
else return Platform.Win64.ISteamUserStats.UploadLeaderboardScore( _ptr, hSteamLeaderboard, eLeaderboardUploadScoreMethod, nScore, (IntPtr) pScoreDetails, cScoreDetailsCount );
}
}
}

View File

@ -0,0 +1,221 @@
using System;
using System.Runtime.InteropServices;
namespace SteamNative
{
public unsafe class SteamUtils
{
internal IntPtr _ptr;
public SteamUtils( IntPtr pointer )
{
_ptr = pointer;
}
// bool
public bool BOverlayNeedsPresent()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUtils.BOverlayNeedsPresent( _ptr );
else return Platform.Win64.ISteamUtils.BOverlayNeedsPresent( _ptr );
}
// SteamAPICall_t
public SteamAPICall_t CheckFileSignature( string szFileName /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUtils.CheckFileSignature( _ptr, szFileName );
else return Platform.Win64.ISteamUtils.CheckFileSignature( _ptr, szFileName );
}
// SteamAPICallFailure
public SteamAPICallFailure GetAPICallFailureReason( SteamAPICall_t hSteamAPICall /*SteamAPICall_t*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUtils.GetAPICallFailureReason( _ptr, hSteamAPICall );
else return Platform.Win64.ISteamUtils.GetAPICallFailureReason( _ptr, hSteamAPICall );
}
// bool
public bool GetAPICallResult( SteamAPICall_t hSteamAPICall /*SteamAPICall_t*/, IntPtr pCallback /*void **/, int cubCallback /*int*/, int iCallbackExpected /*int*/, out bool pbFailed /*bool **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUtils.GetAPICallResult( _ptr, hSteamAPICall, (IntPtr) pCallback, cubCallback, iCallbackExpected, out pbFailed );
else return Platform.Win64.ISteamUtils.GetAPICallResult( _ptr, hSteamAPICall, (IntPtr) pCallback, cubCallback, iCallbackExpected, out pbFailed );
}
// uint
public uint GetAppID()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUtils.GetAppID( _ptr );
else return Platform.Win64.ISteamUtils.GetAppID( _ptr );
}
// Universe
public Universe GetConnectedUniverse()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUtils.GetConnectedUniverse( _ptr );
else return Platform.Win64.ISteamUtils.GetConnectedUniverse( _ptr );
}
// bool
public bool GetCSERIPPort( out uint unIP /*uint32 **/, out ushort usPort /*uint16 **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUtils.GetCSERIPPort( _ptr, out unIP, out usPort );
else return Platform.Win64.ISteamUtils.GetCSERIPPort( _ptr, out unIP, out usPort );
}
// byte
public byte GetCurrentBatteryPower()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUtils.GetCurrentBatteryPower( _ptr );
else return Platform.Win64.ISteamUtils.GetCurrentBatteryPower( _ptr );
}
// bool
// with: Detect_StringFetch True
public string GetEnteredGamepadTextInput()
{
bool bSuccess = default( bool );
var pchText_buffer = new char[4096];
fixed ( void* pchText_ptr = pchText_buffer )
{
uint cchText = 4096;
if ( Platform.IsWindows32 ) bSuccess = Platform.Win32.ISteamUtils.GetEnteredGamepadTextInput( _ptr, (char*)pchText_ptr, cchText );
else bSuccess = Platform.Win64.ISteamUtils.GetEnteredGamepadTextInput( _ptr, (char*)pchText_ptr, cchText );
if ( !bSuccess ) return null;
return Marshal.PtrToStringAuto( (IntPtr)pchText_ptr );
}
}
// uint
public uint GetEnteredGamepadTextLength()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUtils.GetEnteredGamepadTextLength( _ptr );
else return Platform.Win64.ISteamUtils.GetEnteredGamepadTextLength( _ptr );
}
// bool
public bool GetImageRGBA( int iImage /*int*/, IntPtr pubDest /*uint8 **/, int nDestBufferSize /*int*/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUtils.GetImageRGBA( _ptr, iImage, (IntPtr) pubDest, nDestBufferSize );
else return Platform.Win64.ISteamUtils.GetImageRGBA( _ptr, iImage, (IntPtr) pubDest, nDestBufferSize );
}
// bool
public bool GetImageSize( int iImage /*int*/, out uint pnWidth /*uint32 **/, out uint pnHeight /*uint32 **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUtils.GetImageSize( _ptr, iImage, out pnWidth, out pnHeight );
else return Platform.Win64.ISteamUtils.GetImageSize( _ptr, iImage, out pnWidth, out pnHeight );
}
// uint
public uint GetIPCCallCount()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUtils.GetIPCCallCount( _ptr );
else return Platform.Win64.ISteamUtils.GetIPCCallCount( _ptr );
}
// string
// with: Detect_StringReturn
public string GetIPCountry()
{
IntPtr string_pointer;
if ( Platform.IsWindows32 ) string_pointer = Platform.Win32.ISteamUtils.GetIPCountry( _ptr );
else string_pointer = Platform.Win64.ISteamUtils.GetIPCountry( _ptr );
return Marshal.PtrToStringAnsi( string_pointer );
}
// uint
public uint GetSecondsSinceAppActive()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUtils.GetSecondsSinceAppActive( _ptr );
else return Platform.Win64.ISteamUtils.GetSecondsSinceAppActive( _ptr );
}
// uint
public uint GetSecondsSinceComputerActive()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUtils.GetSecondsSinceComputerActive( _ptr );
else return Platform.Win64.ISteamUtils.GetSecondsSinceComputerActive( _ptr );
}
// uint
public uint GetServerRealTime()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUtils.GetServerRealTime( _ptr );
else return Platform.Win64.ISteamUtils.GetServerRealTime( _ptr );
}
// string
// with: Detect_StringReturn
public string GetSteamUILanguage()
{
IntPtr string_pointer;
if ( Platform.IsWindows32 ) string_pointer = Platform.Win32.ISteamUtils.GetSteamUILanguage( _ptr );
else string_pointer = Platform.Win64.ISteamUtils.GetSteamUILanguage( _ptr );
return Marshal.PtrToStringAnsi( string_pointer );
}
// bool
public bool IsAPICallCompleted( SteamAPICall_t hSteamAPICall /*SteamAPICall_t*/, out bool pbFailed /*bool **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUtils.IsAPICallCompleted( _ptr, hSteamAPICall, out pbFailed );
else return Platform.Win64.ISteamUtils.IsAPICallCompleted( _ptr, hSteamAPICall, out pbFailed );
}
// bool
public bool IsOverlayEnabled()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUtils.IsOverlayEnabled( _ptr );
else return Platform.Win64.ISteamUtils.IsOverlayEnabled( _ptr );
}
// bool
public bool IsSteamInBigPictureMode()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUtils.IsSteamInBigPictureMode( _ptr );
else return Platform.Win64.ISteamUtils.IsSteamInBigPictureMode( _ptr );
}
// bool
public bool IsSteamRunningInVR()
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUtils.IsSteamRunningInVR( _ptr );
else return Platform.Win64.ISteamUtils.IsSteamRunningInVR( _ptr );
}
// void
public void SetOverlayNotificationInset( int nHorizontalInset /*int*/, int nVerticalInset /*int*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamUtils.SetOverlayNotificationInset( _ptr, nHorizontalInset, nVerticalInset );
else Platform.Win64.ISteamUtils.SetOverlayNotificationInset( _ptr, nHorizontalInset, nVerticalInset );
}
// void
public void SetOverlayNotificationPosition( NotificationPosition eNotificationPosition /*ENotificationPosition*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamUtils.SetOverlayNotificationPosition( _ptr, eNotificationPosition );
else Platform.Win64.ISteamUtils.SetOverlayNotificationPosition( _ptr, eNotificationPosition );
}
// void
public void SetWarningMessageHook( IntPtr pFunction /*SteamAPIWarningMessageHook_t*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamUtils.SetWarningMessageHook( _ptr, (IntPtr) pFunction );
else Platform.Win64.ISteamUtils.SetWarningMessageHook( _ptr, (IntPtr) pFunction );
}
// bool
public bool ShowGamepadTextInput( GamepadTextInputMode eInputMode /*EGamepadTextInputMode*/, GamepadTextInputLineMode eLineInputMode /*EGamepadTextInputLineMode*/, string pchDescription /*const char **/, uint unCharMax /*uint32*/, string pchExistingText /*const char **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamUtils.ShowGamepadTextInput( _ptr, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText );
else return Platform.Win64.ISteamUtils.ShowGamepadTextInput( _ptr, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText );
}
// void
public void StartVRDashboard()
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamUtils.StartVRDashboard( _ptr );
else Platform.Win64.ISteamUtils.StartVRDashboard( _ptr );
}
}
}

View File

@ -0,0 +1,31 @@
using System;
using System.Runtime.InteropServices;
namespace SteamNative
{
public unsafe class SteamVideo
{
internal IntPtr _ptr;
public SteamVideo( IntPtr pointer )
{
_ptr = pointer;
}
// void
public void GetVideoURL( AppId_t unVideoAppID /*AppId_t*/ )
{
if ( Platform.IsWindows32 ) Platform.Win32.ISteamVideo.GetVideoURL( _ptr, unVideoAppID );
else Platform.Win64.ISteamVideo.GetVideoURL( _ptr, unVideoAppID );
}
// bool
public bool IsBroadcasting( IntPtr pnNumViewers /*int **/ )
{
if ( Platform.IsWindows32 ) return Platform.Win32.ISteamVideo.IsBroadcasting( _ptr, (IntPtr) pnNumViewers );
else return Platform.Win64.ISteamVideo.IsBroadcasting( _ptr, (IntPtr) pnNumViewers );
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,650 @@
using System;
using System.Runtime.InteropServices;
namespace SteamNative
{
public struct GID_t
{
public ulong Value;
public static implicit operator GID_t( ulong value )
{
return new GID_t(){ Value = value };
}
public static implicit operator ulong( GID_t value )
{
return value.Value;
}
}
public struct JobID_t
{
public ulong Value;
public static implicit operator JobID_t( ulong value )
{
return new JobID_t(){ Value = value };
}
public static implicit operator ulong( JobID_t value )
{
return value.Value;
}
}
public struct TxnID_t
{
public GID_t Value;
public static implicit operator TxnID_t( GID_t value )
{
return new TxnID_t(){ Value = value };
}
public static implicit operator GID_t( TxnID_t value )
{
return value.Value;
}
}
public struct PackageId_t
{
public uint Value;
public static implicit operator PackageId_t( uint value )
{
return new PackageId_t(){ Value = value };
}
public static implicit operator uint( PackageId_t value )
{
return value.Value;
}
}
public struct BundleId_t
{
public uint Value;
public static implicit operator BundleId_t( uint value )
{
return new BundleId_t(){ Value = value };
}
public static implicit operator uint( BundleId_t value )
{
return value.Value;
}
}
public struct AppId_t
{
public uint Value;
public static implicit operator AppId_t( uint value )
{
return new AppId_t(){ Value = value };
}
public static implicit operator uint( AppId_t value )
{
return value.Value;
}
}
public struct AssetClassId_t
{
public ulong Value;
public static implicit operator AssetClassId_t( ulong value )
{
return new AssetClassId_t(){ Value = value };
}
public static implicit operator ulong( AssetClassId_t value )
{
return value.Value;
}
}
public struct PhysicalItemId_t
{
public uint Value;
public static implicit operator PhysicalItemId_t( uint value )
{
return new PhysicalItemId_t(){ Value = value };
}
public static implicit operator uint( PhysicalItemId_t value )
{
return value.Value;
}
}
public struct DepotId_t
{
public uint Value;
public static implicit operator DepotId_t( uint value )
{
return new DepotId_t(){ Value = value };
}
public static implicit operator uint( DepotId_t value )
{
return value.Value;
}
}
public struct RTime32
{
public uint Value;
public static implicit operator RTime32( uint value )
{
return new RTime32(){ Value = value };
}
public static implicit operator uint( RTime32 value )
{
return value.Value;
}
}
public struct CellID_t
{
public uint Value;
public static implicit operator CellID_t( uint value )
{
return new CellID_t(){ Value = value };
}
public static implicit operator uint( CellID_t value )
{
return value.Value;
}
}
public struct SteamAPICall_t
{
public ulong Value;
public static implicit operator SteamAPICall_t( ulong value )
{
return new SteamAPICall_t(){ Value = value };
}
public static implicit operator ulong( SteamAPICall_t value )
{
return value.Value;
}
}
public struct AccountID_t
{
public uint Value;
public static implicit operator AccountID_t( uint value )
{
return new AccountID_t(){ Value = value };
}
public static implicit operator uint( AccountID_t value )
{
return value.Value;
}
}
public struct PartnerId_t
{
public uint Value;
public static implicit operator PartnerId_t( uint value )
{
return new PartnerId_t(){ Value = value };
}
public static implicit operator uint( PartnerId_t value )
{
return value.Value;
}
}
public struct ManifestId_t
{
public ulong Value;
public static implicit operator ManifestId_t( ulong value )
{
return new ManifestId_t(){ Value = value };
}
public static implicit operator ulong( ManifestId_t value )
{
return value.Value;
}
}
public struct HAuthTicket
{
public uint Value;
public static implicit operator HAuthTicket( uint value )
{
return new HAuthTicket(){ Value = value };
}
public static implicit operator uint( HAuthTicket value )
{
return value.Value;
}
}
public struct BREAKPAD_HANDLE
{
public IntPtr Value;
public static implicit operator BREAKPAD_HANDLE( IntPtr value )
{
return new BREAKPAD_HANDLE(){ Value = value };
}
public static implicit operator IntPtr( BREAKPAD_HANDLE value )
{
return value.Value;
}
}
public struct HSteamPipe
{
public int Value;
public static implicit operator HSteamPipe( int value )
{
return new HSteamPipe(){ Value = value };
}
public static implicit operator int( HSteamPipe value )
{
return value.Value;
}
}
public struct HSteamUser
{
public int Value;
public static implicit operator HSteamUser( int value )
{
return new HSteamUser(){ Value = value };
}
public static implicit operator int( HSteamUser value )
{
return value.Value;
}
}
public struct FriendsGroupID_t
{
public short Value;
public static implicit operator FriendsGroupID_t( short value )
{
return new FriendsGroupID_t(){ Value = value };
}
public static implicit operator short( FriendsGroupID_t value )
{
return value.Value;
}
}
public struct HServerListRequest
{
public IntPtr Value;
public static implicit operator HServerListRequest( IntPtr value )
{
return new HServerListRequest(){ Value = value };
}
public static implicit operator IntPtr( HServerListRequest value )
{
return value.Value;
}
}
public struct HServerQuery
{
public int Value;
public static implicit operator HServerQuery( int value )
{
return new HServerQuery(){ Value = value };
}
public static implicit operator int( HServerQuery value )
{
return value.Value;
}
}
public struct UGCHandle_t
{
public ulong Value;
public static implicit operator UGCHandle_t( ulong value )
{
return new UGCHandle_t(){ Value = value };
}
public static implicit operator ulong( UGCHandle_t value )
{
return value.Value;
}
}
public struct PublishedFileUpdateHandle_t
{
public ulong Value;
public static implicit operator PublishedFileUpdateHandle_t( ulong value )
{
return new PublishedFileUpdateHandle_t(){ Value = value };
}
public static implicit operator ulong( PublishedFileUpdateHandle_t value )
{
return value.Value;
}
}
public struct PublishedFileId_t
{
public ulong Value;
public static implicit operator PublishedFileId_t( ulong value )
{
return new PublishedFileId_t(){ Value = value };
}
public static implicit operator ulong( PublishedFileId_t value )
{
return value.Value;
}
}
public struct UGCFileWriteStreamHandle_t
{
public ulong Value;
public static implicit operator UGCFileWriteStreamHandle_t( ulong value )
{
return new UGCFileWriteStreamHandle_t(){ Value = value };
}
public static implicit operator ulong( UGCFileWriteStreamHandle_t value )
{
return value.Value;
}
}
public struct SteamLeaderboard_t
{
public ulong Value;
public static implicit operator SteamLeaderboard_t( ulong value )
{
return new SteamLeaderboard_t(){ Value = value };
}
public static implicit operator ulong( SteamLeaderboard_t value )
{
return value.Value;
}
}
public struct SteamLeaderboardEntries_t
{
public ulong Value;
public static implicit operator SteamLeaderboardEntries_t( ulong value )
{
return new SteamLeaderboardEntries_t(){ Value = value };
}
public static implicit operator ulong( SteamLeaderboardEntries_t value )
{
return value.Value;
}
}
public struct SNetSocket_t
{
public uint Value;
public static implicit operator SNetSocket_t( uint value )
{
return new SNetSocket_t(){ Value = value };
}
public static implicit operator uint( SNetSocket_t value )
{
return value.Value;
}
}
public struct SNetListenSocket_t
{
public uint Value;
public static implicit operator SNetListenSocket_t( uint value )
{
return new SNetListenSocket_t(){ Value = value };
}
public static implicit operator uint( SNetListenSocket_t value )
{
return value.Value;
}
}
public struct ScreenshotHandle
{
public uint Value;
public static implicit operator ScreenshotHandle( uint value )
{
return new ScreenshotHandle(){ Value = value };
}
public static implicit operator uint( ScreenshotHandle value )
{
return value.Value;
}
}
public struct HTTPRequestHandle
{
public uint Value;
public static implicit operator HTTPRequestHandle( uint value )
{
return new HTTPRequestHandle(){ Value = value };
}
public static implicit operator uint( HTTPRequestHandle value )
{
return value.Value;
}
}
public struct HTTPCookieContainerHandle
{
public uint Value;
public static implicit operator HTTPCookieContainerHandle( uint value )
{
return new HTTPCookieContainerHandle(){ Value = value };
}
public static implicit operator uint( HTTPCookieContainerHandle value )
{
return value.Value;
}
}
public struct ClientUnifiedMessageHandle
{
public ulong Value;
public static implicit operator ClientUnifiedMessageHandle( ulong value )
{
return new ClientUnifiedMessageHandle(){ Value = value };
}
public static implicit operator ulong( ClientUnifiedMessageHandle value )
{
return value.Value;
}
}
public struct ControllerHandle_t
{
public ulong Value;
public static implicit operator ControllerHandle_t( ulong value )
{
return new ControllerHandle_t(){ Value = value };
}
public static implicit operator ulong( ControllerHandle_t value )
{
return value.Value;
}
}
public struct ControllerActionSetHandle_t
{
public ulong Value;
public static implicit operator ControllerActionSetHandle_t( ulong value )
{
return new ControllerActionSetHandle_t(){ Value = value };
}
public static implicit operator ulong( ControllerActionSetHandle_t value )
{
return value.Value;
}
}
public struct ControllerDigitalActionHandle_t
{
public ulong Value;
public static implicit operator ControllerDigitalActionHandle_t( ulong value )
{
return new ControllerDigitalActionHandle_t(){ Value = value };
}
public static implicit operator ulong( ControllerDigitalActionHandle_t value )
{
return value.Value;
}
}
public struct ControllerAnalogActionHandle_t
{
public ulong Value;
public static implicit operator ControllerAnalogActionHandle_t( ulong value )
{
return new ControllerAnalogActionHandle_t(){ Value = value };
}
public static implicit operator ulong( ControllerAnalogActionHandle_t value )
{
return value.Value;
}
}
public struct UGCQueryHandle_t
{
public ulong Value;
public static implicit operator UGCQueryHandle_t( ulong value )
{
return new UGCQueryHandle_t(){ Value = value };
}
public static implicit operator ulong( UGCQueryHandle_t value )
{
return value.Value;
}
}
public struct UGCUpdateHandle_t
{
public ulong Value;
public static implicit operator UGCUpdateHandle_t( ulong value )
{
return new UGCUpdateHandle_t(){ Value = value };
}
public static implicit operator ulong( UGCUpdateHandle_t value )
{
return value.Value;
}
}
public struct HHTMLBrowser
{
public uint Value;
public static implicit operator HHTMLBrowser( uint value )
{
return new HHTMLBrowser(){ Value = value };
}
public static implicit operator uint( HHTMLBrowser value )
{
return value.Value;
}
}
public struct SteamItemInstanceID_t
{
public ulong Value;
public static implicit operator SteamItemInstanceID_t( ulong value )
{
return new SteamItemInstanceID_t(){ Value = value };
}
public static implicit operator ulong( SteamItemInstanceID_t value )
{
return value.Value;
}
}
public struct SteamItemDef_t
{
public int Value;
public static implicit operator SteamItemDef_t( int value )
{
return new SteamItemDef_t(){ Value = value };
}
public static implicit operator int( SteamItemDef_t value )
{
return value.Value;
}
}
public struct SteamInventoryResult_t
{
public int Value;
public static implicit operator SteamInventoryResult_t( int value )
{
return new SteamInventoryResult_t(){ Value = value };
}
public static implicit operator int( SteamInventoryResult_t value )
{
return value.Value;
}
}
public struct CGameID
{
public ulong Value;
public static implicit operator CGameID( ulong value )
{
return new CGameID(){ Value = value };
}
public static implicit operator ulong( CGameID value )
{
return value.Value;
}
}
public struct CSteamID
{
public ulong Value;
public static implicit operator CSteamID( ulong value )
{
return new CSteamID(){ Value = value };
}
public static implicit operator ulong( CSteamID value )
{
return value.Value;
}
}
}

191
Generator/Argument.cs Normal file
View File

@ -0,0 +1,191 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Generator
{
class Argument
{
public string Name;
public string NativeType;
public string ManagedType;
public bool IsRef;
public TypeDef TypeDef;
internal void Build( SteamApiDefinition.MethodDef.ParamType[] ps, Dictionary<string, TypeDef> typeDefs )
{
var cleanNative = NativeType.Trim( '*', ' ' ).Replace( "class ", "" ).Replace( "const ", "" );
if ( typeDefs.ContainsKey( cleanNative ) )
{
TypeDef = typeDefs[cleanNative];
}
ManagedType = ToManagedType( NativeType );
if ( ManagedType.EndsWith( "*" ) )
{
ManagedType = ToManagedType( ManagedType.Trim( '*', ' ' ) ) + "*";
}
}
bool IsStructShouldBePassedAsRef
{
get
{
return ManagedType.EndsWith( "*" ) && ManagedType.Contains( "_t" ) && Name.StartsWith( "p" ) && !Name.StartsWith( "pvec" );
}
}
bool ShouldBePassedAsOut
{
get
{
return ManagedType.EndsWith( "*" ) && !ManagedType.Contains( "_t" ) && !ManagedType.Contains( "char" );
}
}
bool ShouldBeIntPtr
{
get
{
if ( Name == "pOutItemsArray" )
return true;
if ( Name.Contains( "Dest" ) && ManagedType.EndsWith( "*" ) )
return true;
if ( Name.EndsWith( "s" ) && ManagedType.EndsWith( "*" ) )
return true;
return false;
}
}
private static string ToManagedType( string type )
{
type = type.Replace( "ISteamHTMLSurface::", "" );
type = type.Replace( "class ", "" );
type = type.Replace( "struct ", "" );
type = type.Replace( "const void", "void" );
switch ( type )
{
case "uint64": return "ulong";
case "uint32": return "uint";
case "int32": return "int";
case "int64": return "long";
case "void *": return "IntPtr";
case "int16": return "short";
case "uint8": return "byte";
case "int8": return "char";
case "unsigned short": return "ushort";
case "unsigned int": return "uint";
case "uint16": return "ushort";
case "const char *": return "string";
case "SteamAPIWarningMessageHook_t": return "IntPtr";
}
//type = type.Trim( '*', ' ' );
// Enums - skip the 'E'
if ( type[0] == 'E' )
{
return type.Substring( 1 );
}
if ( type.StartsWith( "const " ) )
return ToManagedType( type.Replace( "const ", "" ) );
if ( type.StartsWith( "ISteamMatchmak" ) )
return "IntPtr";
return type;
}
internal string ManagedParameter()
{
if ( ShouldBeIntPtr )
return $"IntPtr {Name} /*{NativeType}*/";
if ( IsStructShouldBePassedAsRef )
return $"ref {ManagedType.Trim( '*', ' ' )} {Name} /*{NativeType}*/";
if ( ShouldBePassedAsOut )
return $"out {ManagedType.Trim( '*', ' ' )} {Name} /*{NativeType}*/";
var refv = IsRef ? "ref " : "";
return $"{refv}{ManagedType} {Name} /*{NativeType}*/";
}
internal string InteropVariable()
{
if ( ShouldBeIntPtr )
return $"{Name}";
if ( IsStructShouldBePassedAsRef )
return $"ref {Name}";
if ( ShouldBePassedAsOut )
return $"out {Name}";
return $"{Name}";
}
internal string InteropParameter()
{
if ( ShouldBeIntPtr )
return $"IntPtr /*{NativeType}*/ {Name}";
if ( IsStructShouldBePassedAsRef )
return $"ref {ManagedType.Trim( '*', ' ' )} /*{NativeType}*/ {Name}";
if ( ShouldBePassedAsOut )
return $"out {ManagedType.Trim( '*', ' ' )} /*{NativeType}*/ {Name}";
if ( TypeDef != null )
{
if ( NativeType.EndsWith( "*" ) )
{
return $"IntPtr /*{NativeType}*/ {Name}";
}
else
{
return $"{TypeDef.Name} /*{NativeType}*/ {Name}";
}
}
if ( NativeType.EndsWith( "*" ) && ManagedType.Contains( "_t" ) )
{
return $"IntPtr /*{NativeType}*/ {Name} ";
}
return $"{ManagedType} /*{NativeType}*/ {Name} ";
}
internal object Return()
{
if ( ManagedType.EndsWith( "*" ) )
{
return $"IntPtr /*{NativeType}*/";
}
if ( TypeDef != null )
{
return $"{TypeDef.ManagedType} /*{NativeType}*/";
}
if ( ManagedType == "string" )
return "IntPtr";
return $"{ManagedType} /*{NativeType}*/";
}
}
}

View File

@ -0,0 +1,395 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Generator
{
public partial class CSharpGenerator
{
void Classes( string targetName )
{
foreach ( var g in def.methods.GroupBy( x => x.ClassName ) )
{
if ( g.Key == "ISteamMatchmakingPingResponse" ) continue;
if ( g.Key == "ISteamMatchmakingServerListResponse" ) continue;
if ( g.Key == "ISteamMatchmakingPlayersResponse" ) continue;
if ( g.Key == "ISteamMatchmakingRulesResponse" ) continue;
if ( g.Key == "ISteamMatchmakingPingResponse" ) continue;
if ( g.Key == "ISteamMatchmakingPingResponse" ) continue;
if ( g.Key == "Global" )
{
sb = new StringBuilder();
Header();
GlobalClass( g.ToArray() );
Footer();
System.IO.File.WriteAllText( $"{targetName}Global.cs", sb.ToString() );
return;
}
sb = new StringBuilder();
Header();
Class( g.Key, g.OrderBy( x => x.Name ).ToArray() );
Footer();
System.IO.File.WriteAllText( $"{targetName}{g.Key.Substring( 1 )}.cs", sb.ToString() );
}
}
private void Class( string classname, SteamApiDefinition.MethodDef[] methodDef )
{
var GenerateClassName = classname.Substring( 1 );
StartBlock( $"public unsafe class {GenerateClassName}" );
WriteLine( "internal IntPtr _ptr;" );
WriteLine();
//
// Constructor
//
StartBlock( $"public {GenerateClassName}( IntPtr pointer )" );
WriteLine( "_ptr = pointer;" );
EndBlock();
WriteLine();
WriteLine();
LastMethodName = "";
foreach ( var m in methodDef )
ClassMethod( classname, m );
EndBlock();
}
string LastMethodName;
private void GlobalClass( SteamApiDefinition.MethodDef[] methodDef )
{
StartBlock( $"public unsafe class Globals" );
foreach ( var m in methodDef )
ClassMethod( null, m );
EndBlock();
}
List<string> BeforeLines;
List<string> AfterLines;
string ReturnType;
string ReturnVar;
SteamApiDefinition.MethodDef MethodDef;
string ClassName;
private void ClassMethod( string classname, SteamApiDefinition.MethodDef m )
{
var argList = BuildArguments( m.Params );
var callargs = BuildArguments( m.Params );
BeforeLines = new List<string>();
AfterLines = new List<string>();
ReturnType = ToManagedType( m.ReturnType );
ReturnVar = "";
MethodDef = m;
ClassName = classname;
var statc = classname == null ? " static" : "";
Detect_VectorReturn( argList, callargs );
Detect_InterfaceReturn( argList, callargs );
Detect_StringFetch( argList, callargs );
Detect_StringReturn( argList, callargs );
Detect_MatchmakingFilters( argList, callargs );
Detect_ReturningStruct();
Detect_IntPtrArgs( argList, callargs );
Detect_MultiSizeArrayReturn( argList, callargs );
var methodName = m.Name;
if ( LastMethodName == methodName )
methodName += "0";
var argString = string.Join( ", ", argList.Select( x => x.ManagedParameter() ) );
if ( argString != "" ) argString = " " + argString + " ";
StartBlock( $"public{statc} {ReturnType} {methodName}({argString})" );
CallPlatformClass( classname, m, callargs.Select( x => x.InteropVariable() ).ToList(), ReturnVar );
WriteLines( BeforeLines );
WriteLines( AfterLines );
EndBlock();
WriteLine();
LastMethodName = m.Name;
}
private void Detect_MultiSizeArrayReturn( List<Argument> argList, List<Argument> callargs )
{
if ( ReturnType != "bool" ) return;
var argPtr = argList.FirstOrDefault( x => x.Name == "pItemDefIDs" );
var argNum = argList.FirstOrDefault( x => x.Name == "punItemDefIDsArraySize" );
if ( argPtr == null )
{
argPtr = argList.FirstOrDefault( x => x.Name == "pOutItemsArray" );
argNum = argList.FirstOrDefault( x => x.Name == "punOutItemsArraySize" );
}
if ( argPtr == null || argNum == null )
return;
WriteLine( "// using: Detect_MultiSizeArrayReturn" );
var typeName = argPtr.ManagedType.Trim( '*', ' ' );
BeforeLines.Add( $"{argNum.ManagedType.Trim( '*', ' ' )} {argNum.Name} = 0;" );
BeforeLines.Add( $"" );
BeforeLines.Add( $"bool success = false;" );
ReturnType = argPtr.ManagedType.Trim( '*', ' ' ) + "[]";
ReturnVar = "success";
CallPlatformClass( ClassName, MethodDef, callargs.Select( x => x.Name.Replace( "(IntPtr) ", "" ) == argPtr.Name ? "IntPtr.Zero" : x.InteropVariable() ).ToArray().ToList(), ReturnVar );
BeforeLines.Add( $"if ( !success || {argNum.Name} == 0) return null;" );
BeforeLines.Add( "" );
BeforeLines.Add( $"var {argPtr.Name} = new {typeName}[{argNum.Name}];" );
BeforeLines.Add( $"fixed ( void* {argPtr.Name}_ptr = {argPtr.Name} )" );
BeforeLines.Add( $"{{" );
foreach ( var arg in callargs.Where( x => x.Name.Replace( "(IntPtr) ", "" ) == argPtr.Name ) )
{
arg.Name += "_ptr";
}
AfterLines.Add( $"if ( !success ) return null;" );
AfterLines.Add( $"return {argPtr.Name};" );
AfterLines.Add( $"}}" );
argList.Remove( argPtr );
argList.Remove( argNum );
}
private void Detect_IntPtrArgs( List<Argument> argList, List<Argument> callargs )
{
foreach ( var a in callargs )
{
if ( !a.InteropParameter().StartsWith( "IntPtr" ) )
{
continue;
}
a.Name = "(IntPtr) " + a.Name;
}
}
private void Detect_ReturningStruct()
{
if ( !MethodDef.ReturnType.EndsWith( "*" ) ) return;
if ( !MethodDef.ReturnType.Contains( "_t" ) ) return;
WriteLine( "// with: Detect_ReturningStruct" );
ReturnType = ReturnType.Trim( '*', ' ' );
ReturnVar = "struct_pointer";
BeforeLines.Add( "IntPtr struct_pointer;" );
AfterLines.Add( $"if ( struct_pointer == IntPtr.Zero ) return default({ReturnType});" );
AfterLines.Add( $"return {ReturnType}.FromPointer( struct_pointer );" );
}
private void Detect_MatchmakingFilters( List<Argument> argList, List<Argument> callargs )
{
if ( !argList.Any( x => x.Name == "ppchFilters" ) ) return;
if ( !argList.Any( x => x.Name == "nFilters" ) ) return;
var filters = argList.Single( x => x.Name == "ppchFilters" );
filters.ManagedType = "IntPtr";
WriteLine( "// with: Detect_MatchmakingFilters" );
}
private void Detect_StringReturn( List<Argument> argList, List<Argument> callargs )
{
if ( ReturnType != "string" ) return;
if ( MethodDef.ReturnType != "const char *" ) return;
WriteLine( "// with: Detect_StringReturn" );
BeforeLines.Add( "IntPtr string_pointer;" );
ReturnVar = "string_pointer";
AfterLines.Add( "return Marshal.PtrToStringAnsi( string_pointer );" );
}
private void Detect_StringFetch( List<Argument> argList, List<Argument> callargs )
{
bool ReturnString = argList.Count < 4 && (ReturnType == "bool" || ReturnType == "void" || ReturnType == "int"|| ReturnType == "uint");
bool IsFirst = true;
for ( int i=0; i< argList.Count; i++ )
{
if ( argList[i].ManagedType != "char*" ) continue;
if ( i == argList.Count ) continue;
var chr = argList[i];
var num = argList[i+1];
var IntReturn = ReturnType.Contains( "int" );
if ( num.ManagedType.Trim( '*' ) != "int" && num.ManagedType.Trim( '*' ) != "uint" ) continue;
argList.Remove( num );
if ( ReturnString )
argList.Remove( chr );
chr.ManagedType = "out string";
WriteLine( "// with: Detect_StringFetch " + ReturnString );
if ( IsFirst )
BeforeLines.Add( $"{ReturnType} bSuccess = default( {ReturnType} );" );
if ( !ReturnString )
BeforeLines.Add( $"{chr.Name} = string.Empty;" );
BeforeLines.Add( $"var {chr.Name}_buffer = new char[4096];" );
BeforeLines.Add( $"fixed ( void* {chr.Name}_ptr = {chr.Name}_buffer )" );
BeforeLines.Add( "{" );
if ( ReturnString ) ReturnType = "string";
ReturnVar = "bSuccess";
BeforeLines.Add( $"{num.ManagedType.Trim( '*' )} {num.Name} = 4096;" );
callargs.Where( x => x.Name == chr.Name ).All( x => { x.Name = $"({x.ManagedType})" + x.Name + "_ptr"; return true; } );
if ( ReturnString ) AfterLines.Insert( 0, $"return Marshal.PtrToStringAuto( (IntPtr)" + chr.Name + "_ptr );" );
else AfterLines.Insert( 0, $"{chr.Name} = Marshal.PtrToStringAuto( (IntPtr)"+ chr.Name + "_ptr );" );
AfterLines.Insert( 1, "}" );
if ( IntReturn )
{
if ( ReturnString ) AfterLines.Insert( 0, "if ( bSuccess <= 0 ) return null;" );
else AfterLines.Insert( 0, "if ( bSuccess <= 0 ) return bSuccess;" );
}
else
{
if ( ReturnString ) AfterLines.Insert( 0, "if ( !bSuccess ) return null;" );
else AfterLines.Insert( 0, "if ( !bSuccess ) return bSuccess;" );
}
IsFirst = false;
}
if ( !IsFirst )
{
if ( !ReturnString ) AfterLines.Add( "return bSuccess;" );
}
/*
argList.Clear();
ReturnType = "string";
ReturnVar = "bSuccess";
*/
}
private void Detect_InterfaceReturn( List<Argument> argList, List<Argument> callargs )
{
WriteLine( "// " + ReturnType );
if ( !ReturnType.StartsWith( "ISteam" ) )
return;
BeforeLines.Add( "IntPtr interface_pointer;" );
ReturnVar = "interface_pointer";
ReturnType = ReturnType.Substring( 1 ).Trim( '*', ' ' );
AfterLines.Add( $"return new {ReturnType}( interface_pointer );" );
}
private void Detect_VectorReturn( List<Argument> argList, List<Argument> callArgs )
{
var vec = argList.FirstOrDefault( x => x.Name.StartsWith( "pvec" ) );
var max = argList.FirstOrDefault( x => x.Name.StartsWith( "unMax" ) );
if ( max == null ) max = argList.FirstOrDefault( x => x.Name.StartsWith( "unNum" ) );
if ( vec == null || max == null )
return;
WriteLine( "// with: Detect_VectorReturn" );
//argList.Remove( vec );
argList.Remove( max );
vec.ManagedType = vec.ManagedType.Replace( "*", "[]" );
BeforeLines.Add( $"var {max.Name} = ({max.ManagedType}) {vec.Name}.Length;" );
BeforeLines.Add( $"fixed ( {vec.ManagedType.Trim( '[', ']' ) }* {vec.Name}_ptr = {vec.Name} )" );
BeforeLines.Add( $"{{" );
AfterLines.Add( $"}}" );
foreach ( var arg in callArgs.Where( x => x.Name == vec.Name ) )
{
arg.Name += "_ptr";
}
}
private void CallPlatformClass( string classname, SteamApiDefinition.MethodDef m, List<string> argList, string returnVar )
{
var firstArg = "_ptr";
if ( classname == null )
{
classname = "Global";
firstArg = "";
}
var methodName = m.Name;
if ( LastMethodName == methodName )
methodName += "0";
var args = string.Join( ", ", argList );
if ( args != "" && firstArg != "" ) args = $" {firstArg}, {args} ";
else if ( args != "" ) args = $" {args} ";
else args = $" {firstArg} ";
var r = "";
if ( ReturnType != "void" )
r = "return ";
if ( returnVar != "" )
r = returnVar + " = ";
// StartBlock( "case 1:" );
BeforeLines.Add( $"if ( Platform.IsWindows32 ) {r}Platform.Win32.{classname}.{methodName}({args});" );
BeforeLines.Add( $"else {r}Platform.Win64.{classname}.{methodName}({args});" );
// WriteLine( "break;" );
// EndBlock();
// EndBlock();
}
}
}

View File

@ -0,0 +1,74 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Generator
{
public partial class CSharpGenerator
{
private void Enums()
{
//StartBlock( "namespace Enum" );
foreach ( var o in def.enums )
{
WriteLine( $"//" );
WriteLine( $"// {o.Name}" );
WriteLine( $"//" );
var name = o.Name;
if ( name.Contains( "::" ) )
name = o.Name.Substring( o.Name.LastIndexOf( ":" ) + 1 );
// Skip the E
if ( name[0] == 'E' )
name = name.Substring( 1 );
StartBlock( $"public enum {name} : int" );
int iFinished = int.MaxValue;
for ( int i = 0; i < 4096; i++ )
{
var c = o.Values.First().Name[i];
foreach ( var entry in o.Values )
{
if ( entry.Name[i] != c )
{
iFinished = i;
break;
}
}
if ( iFinished != int.MaxValue )
break;
}
foreach ( var entry in o.Values )
{
var ename = entry.Name;
if ( iFinished != int.MaxValue )
ename = ename.Substring( iFinished );
if ( char.IsNumber( ename[0] ) )
ename = name + ename;
// while ( char.IsNumber( ename [0] ) )
// {
// ename = ename.Substring( 1 );
// }
WriteLine( $"{ename} = {entry.Value}," );
}
EndBlock();
WriteLine();
}
// EndBlock();
}
}
}

View File

@ -0,0 +1,77 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Generator
{
public partial class CSharpGenerator
{
private void PlatformClass( string type, string libraryName )
{
StartBlock( $"internal static partial class Platform" );
StartBlock( $"public static class {type}" );
foreach ( var c in def.methods.GroupBy( x => x.ClassName ) )
{
PlatformClass( libraryName, c.Key, c.ToArray() );
}
EndBlock();
EndBlock();
}
private void PlatformClass( string libraryName, string key, SteamApiDefinition.MethodDef[] methodDef )
{
if ( key == "ISteamMatchmakingPingResponse" ) return;
if ( key == "ISteamMatchmakingServerListResponse" ) return;
if ( key == "ISteamMatchmakingPlayersResponse" ) return;
if ( key == "ISteamMatchmakingRulesResponse" ) return;
if ( key == "ISteamMatchmakingPingResponse" ) return;
StartBlock( $"public static unsafe class {key}" );
LastMethodName = "";
foreach ( var m in methodDef )
{
PlatformClassMethod( libraryName, key, m );
}
EndBlock();
WriteLine();
}
private void PlatformClassMethod( string library, string classname, SteamApiDefinition.MethodDef methodDef )
{
var arguments = BuildArguments( methodDef.Params );
var ret = new Argument()
{
Name = "return",
NativeType = methodDef.ReturnType
};
ret.Build( null, TypeDefs );
var methodName = methodDef.Name;
if ( LastMethodName == methodName )
methodName = methodName + "0";
var flatName = $"SteamAPI_{classname}_{methodName}";
if ( classname == "Global" )
flatName = methodName;
var argstring = string.Join( ", ", arguments.Select( x => x.InteropParameter() ) );
if ( methodDef.NeedsSelfPointer )
{
argstring = "IntPtr " + classname + ( argstring.Length > 0 ? ", " : "" ) + argstring;
}
WriteLine( $"[DllImportAttribute( \"{library}\", EntryPoint = \"{flatName}\" )] internal static extern {ret.Return()} {methodName}( {argstring} );" );
LastMethodName = methodDef.Name;
}
}
}

View File

@ -0,0 +1,120 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Generator
{
public partial class CSharpGenerator
{
void Structs()
{
foreach ( var c in def.structs )
{
if ( c.Name == "CSteamID" ||
c.Name == "CSteamAPIContext" ||
c.Name == "CCallResult" ||
c.Name == "CCallback" )
continue;
if ( c.Name.Contains( "::" ) )
continue;
int defaultPack = 8;
if ( c.Fields.Any( x => x.Type.Contains( "class CSteamID" ) ) )
defaultPack = 1;
WriteLine( $"[StructLayout( LayoutKind.Sequential, Pack = {defaultPack} )]" );
StartBlock( $"public struct {c.Name}" );
StructFields( c.Fields );
WriteLine( $"public static {c.Name} FromPointer( IntPtr p ) {{ return new {c.Name}(); }}" );
if ( defaultPack == 8 )
defaultPack = 4;
WriteLine();
WriteLine( $"[StructLayout( LayoutKind.Sequential, Pack = {defaultPack} )]" );
StartBlock( $"public struct PackSmall" );
StructFields( c.Fields );
WriteLine();
StartBlock( $"public {c.Name} Get" );
StartBlock( "get" );
StartBlock( $"return new {c.Name}()" );
foreach ( var f in c.Fields )
{
WriteLine( $"{f.Name} = this.{f.Name}," );
}
EndBlock( ";" );
EndBlock();
EndBlock();
EndBlock();
EndBlock();
WriteLine();
}
}
private void StructFields( SteamApiDefinition.StructDef.StructFields[] fields )
{
foreach ( var m in fields )
{
var t = ToManagedType( m.Type );
if ( TypeDefs.ContainsKey( t ) )
{
t = TypeDefs[t].ManagedType;
}
if ( t.StartsWith( "char " ) && t.Contains( "[" ) )
{
var num = t.Replace( "char", "" ).Trim( '[', ']', ' ' );
t = "string";
WriteLine( $"[MarshalAs(UnmanagedType.ByValTStr, SizeConst = {num})]" );
}
if ( t.StartsWith( "CSteamID " ) && t.Contains( "[" ) )
{
var num = t.Replace( "CSteamID", "" ).Trim( '[', ']', ' ' );
t = $"ulong[]";
WriteLine( $"[MarshalAs(UnmanagedType.ByValArray, SizeConst = {num}, ArraySubType = UnmanagedType.U8)]" );
}
if ( t.StartsWith( "PublishedFileId_t " ) && t.Contains( "[" ) )
{
var num = t.Replace( "PublishedFileId_t", "" ).Trim( '[', ']', ' ' );
t = $"ulong[]";
WriteLine( $"[MarshalAs(UnmanagedType.ByValArray, SizeConst = {num}, ArraySubType = UnmanagedType.U8)]" );
}
if ( t.StartsWith( "uint32 " ) && t.Contains( "[" ) )
{
var num = t.Replace( "uint32", "" ).Trim( '[', ']', ' ' );
t = $"uint[]";
WriteLine( $"[MarshalAs(UnmanagedType.ByValArray, SizeConst = {num}, ArraySubType = UnmanagedType.U8)]" );
}
if ( t.StartsWith( "float " ) && t.Contains( "[" ) )
{
var num = t.Replace( "float", "" ).Trim( '[', ']', ' ' );
t = $"float[]";
WriteLine( $"[MarshalAs(UnmanagedType.ByValArray, SizeConst = {num}, ArraySubType = UnmanagedType.R4)]" );
}
if ( t == "const char **" )
{
t = "IntPtr";
}
WriteLine( $"public {t} {m.Name}; // {m.Type}" );
}
}
}
}

View File

@ -0,0 +1,40 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Generator
{
public partial class CSharpGenerator
{
private void Types()
{
foreach ( var o in def.typedefs.Where( x => !x.Name.Contains( "::" ) ) )
{
if ( o.Name == "ValvePackingSentinel_t" ) continue;
if ( o.Name == "SteamAPIWarningMessageHook_t" ) continue;
if ( o.Name == "Salt_t" ) continue;
if ( o.Name == "SteamAPI_CheckCallbackRegistered_t" ) continue;
if ( o.Name == "compile_time_assert_type" ) continue;
if ( o.Name.StartsWith( "uint" ) ) continue;
if ( o.Name.StartsWith( "int" ) ) continue;
if ( o.Name.StartsWith( "ulint" ) ) continue;
if ( o.Name.StartsWith( "lint" ) ) continue;
if ( o.Name.StartsWith( "PFN" ) ) continue;
StartBlock( $"public struct {o.Name}" );
WriteLine( $"public {ToManagedType( o.Type )} Value;" );
WriteLine();
StartBlock( $"public static implicit operator {o.Name}( {ToManagedType( o.Type )} value )" );
WriteLine( $"return new {o.Name}(){{ Value = value }};" );
EndBlock();
StartBlock( $"public static implicit operator {ToManagedType( o.Type )}( {o.Name} value )" );
WriteLine( $"return value.Value;" );
EndBlock();
EndBlock();
WriteLine();
}
}
}
}

403
Generator/CodeWriter.cs Normal file
View File

@ -0,0 +1,403 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Generator;
namespace Generator
{
public partial class CSharpGenerator
{
private StringBuilder sb = new StringBuilder();
private SteamApiDefinition def;
private Dictionary<string, TypeDef> TypeDefs = new Dictionary<string, TypeDef>();
public CSharpGenerator( SteamApiDefinition def )
{
this.def = def;
def.methods.Add( new SteamApiDefinition.MethodDef()
{
ClassName = "Global",
Name = "SteamAPI_Init",
ReturnType = "void",
NeedsSelfPointer = false
} );
def.methods.Add( new SteamApiDefinition.MethodDef()
{
ClassName = "Global",
Name = "SteamAPI_RunCallbacks",
ReturnType = "void",
NeedsSelfPointer = false
} );
def.methods.Add( new SteamApiDefinition.MethodDef()
{
ClassName = "Global",
Name = "SteamGameServer_RunCallbacks",
ReturnType = "void",
NeedsSelfPointer = false
} );
def.methods.Add( new SteamApiDefinition.MethodDef()
{
ClassName = "Global",
Name = "SteamAPI_RegisterCallback",
ReturnType = "void",
NeedsSelfPointer = false,
Params = new SteamApiDefinition.MethodDef.ParamType[]
{
new SteamApiDefinition.MethodDef.ParamType()
{
Name = "pCallback",
Type = "void *"
},
new SteamApiDefinition.MethodDef.ParamType()
{
Name = "callback",
Type = "int"
},
}
} );
def.methods.Add( new SteamApiDefinition.MethodDef()
{
ClassName = "Global",
Name = "SteamAPI_UnregisterCallback",
ReturnType = "void",
NeedsSelfPointer = false,
Params = new SteamApiDefinition.MethodDef.ParamType[]
{
new SteamApiDefinition.MethodDef.ParamType()
{
Name = "pCallback",
Type = "void *"
}
}
} );
def.methods.Add( new SteamApiDefinition.MethodDef()
{
ClassName = "Global",
Name = "SteamInternal_GameServer_Init",
ReturnType = "bool",
NeedsSelfPointer = false,
Params = new SteamApiDefinition.MethodDef.ParamType[]
{
new SteamApiDefinition.MethodDef.ParamType()
{
Name = "unIP",
Type = "uint32"
},
new SteamApiDefinition.MethodDef.ParamType()
{
Name = "usPort",
Type = "uint16"
},
new SteamApiDefinition.MethodDef.ParamType()
{
Name = "usGamePort",
Type = "uint16"
},
new SteamApiDefinition.MethodDef.ParamType()
{
Name = "usQueryPort",
Type = "uint16"
},
new SteamApiDefinition.MethodDef.ParamType()
{
Name = "eServerMode",
Type = "int"
},
new SteamApiDefinition.MethodDef.ParamType()
{
Name = "pchVersionString",
Type = "const char *"
}
},
} );
def.methods.Add( new SteamApiDefinition.MethodDef()
{
ClassName = "Global",
Name = "SteamAPI_Shutdown",
ReturnType = "void",
NeedsSelfPointer = false
} );
def.methods.Add( new SteamApiDefinition.MethodDef()
{
ClassName = "Global",
Name = "SteamAPI_GetHSteamUser",
ReturnType = "HSteamUser",
NeedsSelfPointer = false
} );
def.methods.Add( new SteamApiDefinition.MethodDef()
{
ClassName = "Global",
Name = "SteamAPI_GetHSteamPipe",
ReturnType = "HSteamPipe",
NeedsSelfPointer = false
} );
def.methods.Add( new SteamApiDefinition.MethodDef()
{
ClassName = "Global",
Name = "SteamGameServer_GetHSteamUser",
ReturnType = "HSteamUser",
NeedsSelfPointer = false
} );
def.methods.Add( new SteamApiDefinition.MethodDef()
{
ClassName = "Global",
Name = "SteamGameServer_GetHSteamPipe",
ReturnType = "HSteamPipe",
NeedsSelfPointer = false
} );
def.methods.Add( new SteamApiDefinition.MethodDef()
{
ClassName = "Global",
Name = "SteamInternal_CreateInterface",
ReturnType = "void *",
Params = new SteamApiDefinition.MethodDef.ParamType[]
{
new SteamApiDefinition.MethodDef.ParamType()
{
Name = "version",
Type = "const char *"
}
},
NeedsSelfPointer = false
} );
WorkoutTypes();
}
public void ToFolder( string folder )
{
{
sb = new StringBuilder();
Header();
Enums();
Footer();
System.IO.File.WriteAllText( $"{folder}SteamNative.Enums.cs", sb.ToString() );
}
{
sb = new StringBuilder();
Header();
Types();
Footer();
System.IO.File.WriteAllText( $"{folder}SteamNative.Types.cs", sb.ToString() );
}
{
sb = new StringBuilder();
Header();
Structs();
Footer();
System.IO.File.WriteAllText( $"{folder}SteamNative.Structs.cs", sb.ToString() );
}
{
sb = new StringBuilder();
Header();
PlatformClass( "Win32", "steam_api.dll" );
Footer();
System.IO.File.WriteAllText( $"{folder}SteamNative.Platform.Win32.cs", sb.ToString() );
}
{
sb = new StringBuilder();
Header();
PlatformClass( "Win64", "steam_api64.dll" );
Footer();
System.IO.File.WriteAllText( $"{folder}SteamNative.Platform.Win64.cs", sb.ToString() );
}
{
sb = new StringBuilder();
Header();
PlatformClass( "Linux", "libsteam_api.so" );
Footer();
System.IO.File.WriteAllText( $"{folder}SteamNative.Platform.Linux.cs", sb.ToString() );
}
{
sb = new StringBuilder();
Header();
PlatformClass( "Mac", "libsteam_api.dylib.so" );
Footer();
System.IO.File.WriteAllText( $"{folder}SteamNative.Platform.Mac.cs", sb.ToString() );
}
{
Classes( $"{folder}SteamNative." );
}
}
void WorkoutTypes()
{
def.typedefs.Add( new SteamApiDefinition.TypeDef() { Name = "CGameID", Type = "ulong" } );
def.typedefs.Add( new SteamApiDefinition.TypeDef() { Name = "CSteamID", Type = "ulong" } );
foreach ( var c in def.typedefs )
{
if ( c.Name.StartsWith( "uint" ) || c.Name.StartsWith( "int" ) || c.Name.StartsWith( "lint" ) || c.Name.StartsWith( "luint" ) || c.Name.StartsWith( "ulint" ) )
continue;
// Unused, messers
if ( c.Name == "Salt_t" || c.Name == "compile_time_assert_type" || c.Name == "ValvePackingSentinel_t" || c.Name.Contains( "::" ) || c.Type.Contains( "(*)" ) )
continue;
var type = c.Type;
type = ToManagedType( type );
TypeDefs.Add( c.Name, new TypeDef()
{
Name = c.Name,
NativeType = c.Type,
ManagedType = type,
} );
}
}
private string ToManagedType( string type )
{
type = type.Replace( "ISteamHTMLSurface::", "" );
type = type.Replace( "class ", "" );
type = type.Replace( "struct ", "" );
type = type.Replace( "const void", "void" );
type = type.Replace( "union ", "" );
type = type.Replace( "enum ", "" );
switch ( type )
{
case "uint64": return "ulong";
case "uint32": return "uint";
case "int32": return "int";
case "int64": return "long";
case "void *": return "IntPtr";
case "uint8 *": return "IntPtr";
case "int16": return "short";
case "uint8": return "byte";
case "int8": return "char";
case "unsigned short": return "ushort";
case "unsigned int": return "uint";
case "uint16": return "ushort";
case "const char *": return "string";
case "_Bool": return "bool";
case "CSteamID": return "ulong";
case "SteamAPIWarningMessageHook_t": return "IntPtr";
}
//type = type.Trim( '*', ' ' );
// Enums - skip the 'E'
if ( type[0] == 'E' )
{
return type.Substring( 1 );
}
if ( type.StartsWith( "ISteamMatchmak" ) && type.Contains( "Response" ) )
return "IntPtr";
return type;
}
private List<Argument> BuildArguments( SteamApiDefinition.MethodDef.ParamType[] ps )
{
var args = new List<Argument>();
if ( ps == null ) return args;
foreach ( var p in ps )
{
var a = new Argument();
a.Name = p.Name;
a.NativeType = p.Type;
a.Build( ps, TypeDefs );
args.Add( a );
}
return args;
}
private int indent = 0;
public string Indent { get { return new string( '\t', indent ); } }
private void EndBlock( string end = "" )
{
indent--;
sb.AppendLine( $"{Indent}}}{end}" );
}
private void WriteLine( string v = "" )
{
sb.AppendLine( $"{Indent}{v}" );
}
private void StartBlock( string v )
{
sb.AppendLine( $"{Indent}{v}" );
sb.AppendLine( $"{Indent}{{" );
indent++;
}
private void WriteLines( List<string> beforeLines )
{
foreach ( var line in beforeLines )
{
if ( line == "}" )
indent--;
WriteLine( line );
if ( line == "{" )
indent++;
}
}
private void Footer()
{
EndBlock();
}
private void Header()
{
WriteLine( "using System;" );
WriteLine( "using System.Runtime.InteropServices;" );
WriteLine();
StartBlock( "namespace SteamNative" );
}
}
}
class TypeDef
{
public string Name;
public string NativeType;
public string ManagedType;
}

View File

@ -47,13 +47,21 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Argument.cs" />
<Compile Include="CodeWriter.Classes.cs" />
<Compile Include="CodeWriter.cs" />
<Compile Include="CodeWriter.Enum.cs" />
<Compile Include="CodeWriter.Struct.cs" />
<Compile Include="CodeWriter.Types.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SteamApiDefinition.cs" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
<Compile Include="CodeWriter.PlatformClass.cs" />
<None Include="packages.config" />
<None Include="steam_api.json" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.

View File

@ -14,19 +14,9 @@ static void Main( string[] args )
var content = System.IO.File.ReadAllText( "steam_api.json" );
var def = Newtonsoft.Json.JsonConvert.DeserializeObject<SteamApiDefinition>( content );
Console.WriteLine( content );
var generator = new CSharpGenerator( def );
foreach ( var d in def.typedefs )
{
Console.WriteLine( "{0} = {1}", d.Name, d.Type );
}
foreach ( var d in def.enums )
{
Console.WriteLine( "{0} = {1}", d.Name, d.Values );
}
Console.ReadKey();
generator.ToFolder( "../Facepunch.Steamworks/SteamNative/" );
}
}
}

View File

@ -17,7 +17,7 @@ public class TypeDef
public string Type { get; set; }
}
public TypeDef[] typedefs { get; set; }
public List<TypeDef> typedefs { get; set; }
public class EnumDef
{
@ -73,8 +73,10 @@ public class ParamType
public string ReturnType { get; set; }
[JsonProperty( PropertyName = "params" )]
public ParamType[] Params { get; set; }
public bool NeedsSelfPointer = true;
}
public MethodDef[] methods { get; set; }
public List<MethodDef> methods { get; set; }
}
}