mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-25 06:05:46 +03:00
Register callbacks before setting up interfaces
This commit is contained in:
parent
a40334551b
commit
144f401d2c
@ -84,17 +84,17 @@ public Client( uint appId ) : base( appId )
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
|
||||||
// Setup interfaces that client and server both have
|
|
||||||
//
|
|
||||||
SetupCommonInterfaces();
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Register Callbacks
|
// Register Callbacks
|
||||||
//
|
//
|
||||||
|
|
||||||
SteamNative.Callbacks.RegisterCallbacks( this );
|
SteamNative.Callbacks.RegisterCallbacks( this );
|
||||||
|
|
||||||
|
//
|
||||||
|
// Setup interfaces that client and server both have
|
||||||
|
//
|
||||||
|
SetupCommonInterfaces();
|
||||||
|
|
||||||
//
|
//
|
||||||
// Client only interfaces
|
// Client only interfaces
|
||||||
//
|
//
|
||||||
|
@ -47,17 +47,19 @@ public Server( uint appId, ServerInit init) : base( appId )
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
|
||||||
// Setup interfaces that client and server both have
|
|
||||||
//
|
|
||||||
SetupCommonInterfaces();
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Register Callbacks
|
// Register Callbacks
|
||||||
//
|
//
|
||||||
|
|
||||||
SteamNative.Callbacks.RegisterCallbacks( this );
|
SteamNative.Callbacks.RegisterCallbacks( this );
|
||||||
|
|
||||||
|
//
|
||||||
|
// Setup interfaces that client and server both have
|
||||||
|
//
|
||||||
|
SetupCommonInterfaces();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Initial settings
|
// Initial settings
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user