BaseSteamInterface becomes SteamInterface

This commit is contained in:
Garry Newman 2019-04-16 14:54:05 +01:00
parent 6e350f4d08
commit da17648ade
11 changed files with 12 additions and 12 deletions

View File

@ -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 )
{ {

View File

@ -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 )
{ {

View File

@ -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 )
{ {

View File

@ -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 )
{ {

View File

@ -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 )
{ {

View File

@ -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 )
{ {

View File

@ -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 )
{ {

View File

@ -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 )
{ {

View File

@ -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 )
{ {

View File

@ -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,

View File

@ -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 )" );
{ {