mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-12 22:58:01 +03:00
BaseSteamInterface becomes SteamInterface
This commit is contained in:
parent
6e350f4d08
commit
da17648ade
@ -7,7 +7,7 @@ using Steamworks.Data;
|
|||||||
|
|
||||||
namespace Steamworks
|
namespace Steamworks
|
||||||
{
|
{
|
||||||
internal class ISteamApps : BaseSteamInterface
|
internal class ISteamApps : SteamInterface
|
||||||
{
|
{
|
||||||
public ISteamApps( bool server = false ) : base( server )
|
public ISteamApps( bool server = false ) : base( server )
|
||||||
{
|
{
|
||||||
|
@ -7,7 +7,7 @@ using Steamworks.Data;
|
|||||||
|
|
||||||
namespace Steamworks
|
namespace Steamworks
|
||||||
{
|
{
|
||||||
internal class ISteamFriends : BaseSteamInterface
|
internal class ISteamFriends : SteamInterface
|
||||||
{
|
{
|
||||||
public ISteamFriends( bool server = false ) : base( server )
|
public ISteamFriends( bool server = false ) : base( server )
|
||||||
{
|
{
|
||||||
|
@ -7,7 +7,7 @@ using Steamworks.Data;
|
|||||||
|
|
||||||
namespace Steamworks
|
namespace Steamworks
|
||||||
{
|
{
|
||||||
internal class ISteamGameServer : BaseSteamInterface
|
internal class ISteamGameServer : SteamInterface
|
||||||
{
|
{
|
||||||
public ISteamGameServer( bool server = false ) : base( server )
|
public ISteamGameServer( bool server = false ) : base( server )
|
||||||
{
|
{
|
||||||
|
@ -7,7 +7,7 @@ using Steamworks.Data;
|
|||||||
|
|
||||||
namespace Steamworks
|
namespace Steamworks
|
||||||
{
|
{
|
||||||
internal class ISteamMatchmakingServers : BaseSteamInterface
|
internal class ISteamMatchmakingServers : SteamInterface
|
||||||
{
|
{
|
||||||
public ISteamMatchmakingServers( bool server = false ) : base( server )
|
public ISteamMatchmakingServers( bool server = false ) : base( server )
|
||||||
{
|
{
|
||||||
|
@ -7,7 +7,7 @@ using Steamworks.Data;
|
|||||||
|
|
||||||
namespace Steamworks
|
namespace Steamworks
|
||||||
{
|
{
|
||||||
internal class ISteamMusic : BaseSteamInterface
|
internal class ISteamMusic : SteamInterface
|
||||||
{
|
{
|
||||||
public ISteamMusic( bool server = false ) : base( server )
|
public ISteamMusic( bool server = false ) : base( server )
|
||||||
{
|
{
|
||||||
|
@ -7,7 +7,7 @@ using Steamworks.Data;
|
|||||||
|
|
||||||
namespace Steamworks
|
namespace Steamworks
|
||||||
{
|
{
|
||||||
internal class ISteamParentalSettings : BaseSteamInterface
|
internal class ISteamParentalSettings : SteamInterface
|
||||||
{
|
{
|
||||||
public ISteamParentalSettings( bool server = false ) : base( server )
|
public ISteamParentalSettings( bool server = false ) : base( server )
|
||||||
{
|
{
|
||||||
|
@ -7,7 +7,7 @@ using Steamworks.Data;
|
|||||||
|
|
||||||
namespace Steamworks
|
namespace Steamworks
|
||||||
{
|
{
|
||||||
internal class ISteamUser : BaseSteamInterface
|
internal class ISteamUser : SteamInterface
|
||||||
{
|
{
|
||||||
public ISteamUser( bool server = false ) : base( server )
|
public ISteamUser( bool server = false ) : base( server )
|
||||||
{
|
{
|
||||||
|
@ -7,7 +7,7 @@ using Steamworks.Data;
|
|||||||
|
|
||||||
namespace Steamworks
|
namespace Steamworks
|
||||||
{
|
{
|
||||||
internal class ISteamUtils : BaseSteamInterface
|
internal class ISteamUtils : SteamInterface
|
||||||
{
|
{
|
||||||
public ISteamUtils( bool server = false ) : base( server )
|
public ISteamUtils( bool server = false ) : base( server )
|
||||||
{
|
{
|
||||||
|
@ -7,7 +7,7 @@ using Steamworks.Data;
|
|||||||
|
|
||||||
namespace Steamworks
|
namespace Steamworks
|
||||||
{
|
{
|
||||||
internal class ISteamVideo : BaseSteamInterface
|
internal class ISteamVideo : SteamInterface
|
||||||
{
|
{
|
||||||
public ISteamVideo( bool server = false ) : base( server )
|
public ISteamVideo( bool server = false ) : base( server )
|
||||||
{
|
{
|
||||||
|
@ -9,14 +9,14 @@ using System.Text;
|
|||||||
|
|
||||||
namespace Steamworks
|
namespace Steamworks
|
||||||
{
|
{
|
||||||
internal abstract class BaseSteamInterface
|
internal abstract class SteamInterface
|
||||||
{
|
{
|
||||||
public IntPtr Self;
|
public IntPtr Self;
|
||||||
public IntPtr VTable;
|
public IntPtr VTable;
|
||||||
|
|
||||||
public virtual string InterfaceName => null;
|
public virtual string InterfaceName => null;
|
||||||
|
|
||||||
public BaseSteamInterface( bool server = false )
|
public SteamInterface( bool server = false )
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// If teh client isn't initialized but the server is,
|
// If teh client isn't initialized but the server is,
|
@ -25,7 +25,7 @@ namespace Generator
|
|||||||
|
|
||||||
StartBlock( $"namespace Steamworks" );
|
StartBlock( $"namespace Steamworks" );
|
||||||
{
|
{
|
||||||
StartBlock( $"internal class {clss.Name} : BaseSteamInterface" );
|
StartBlock( $"internal class {clss.Name} : SteamInterface" );
|
||||||
{
|
{
|
||||||
StartBlock( $"public {clss.Name}( bool server = false ) : base( server )" );
|
StartBlock( $"public {clss.Name}( bool server = false ) : base( server )" );
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user