mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-25 06:05:46 +03:00
BaseSteamInterface becomes SteamInterface
This commit is contained in:
parent
6e350f4d08
commit
da17648ade
@ -7,7 +7,7 @@
|
||||
|
||||
namespace Steamworks
|
||||
{
|
||||
internal class ISteamApps : BaseSteamInterface
|
||||
internal class ISteamApps : SteamInterface
|
||||
{
|
||||
public ISteamApps( bool server = false ) : base( server )
|
||||
{
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
namespace Steamworks
|
||||
{
|
||||
internal class ISteamFriends : BaseSteamInterface
|
||||
internal class ISteamFriends : SteamInterface
|
||||
{
|
||||
public ISteamFriends( bool server = false ) : base( server )
|
||||
{
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
namespace Steamworks
|
||||
{
|
||||
internal class ISteamGameServer : BaseSteamInterface
|
||||
internal class ISteamGameServer : SteamInterface
|
||||
{
|
||||
public ISteamGameServer( bool server = false ) : base( server )
|
||||
{
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
namespace Steamworks
|
||||
{
|
||||
internal class ISteamMatchmakingServers : BaseSteamInterface
|
||||
internal class ISteamMatchmakingServers : SteamInterface
|
||||
{
|
||||
public ISteamMatchmakingServers( bool server = false ) : base( server )
|
||||
{
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
namespace Steamworks
|
||||
{
|
||||
internal class ISteamMusic : BaseSteamInterface
|
||||
internal class ISteamMusic : SteamInterface
|
||||
{
|
||||
public ISteamMusic( bool server = false ) : base( server )
|
||||
{
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
namespace Steamworks
|
||||
{
|
||||
internal class ISteamParentalSettings : BaseSteamInterface
|
||||
internal class ISteamParentalSettings : SteamInterface
|
||||
{
|
||||
public ISteamParentalSettings( bool server = false ) : base( server )
|
||||
{
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
namespace Steamworks
|
||||
{
|
||||
internal class ISteamUser : BaseSteamInterface
|
||||
internal class ISteamUser : SteamInterface
|
||||
{
|
||||
public ISteamUser( bool server = false ) : base( server )
|
||||
{
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
namespace Steamworks
|
||||
{
|
||||
internal class ISteamUtils : BaseSteamInterface
|
||||
internal class ISteamUtils : SteamInterface
|
||||
{
|
||||
public ISteamUtils( bool server = false ) : base( server )
|
||||
{
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
namespace Steamworks
|
||||
{
|
||||
internal class ISteamVideo : BaseSteamInterface
|
||||
internal class ISteamVideo : SteamInterface
|
||||
{
|
||||
public ISteamVideo( bool server = false ) : base( server )
|
||||
{
|
||||
|
@ -9,14 +9,14 @@
|
||||
|
||||
namespace Steamworks
|
||||
{
|
||||
internal abstract class BaseSteamInterface
|
||||
internal abstract class SteamInterface
|
||||
{
|
||||
public IntPtr Self;
|
||||
public IntPtr VTable;
|
||||
|
||||
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,
|
@ -25,7 +25,7 @@ public void GenerateVTableClass( string className, string filename )
|
||||
|
||||
StartBlock( $"namespace Steamworks" );
|
||||
{
|
||||
StartBlock( $"internal class {clss.Name} : BaseSteamInterface" );
|
||||
StartBlock( $"internal class {clss.Name} : SteamInterface" );
|
||||
{
|
||||
StartBlock( $"public {clss.Name}( bool server = false ) : base( server )" );
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user