naming
This commit is contained in:
21
modules/ClientModule/src/ClientModule.cpp
Normal file
21
modules/ClientModule/src/ClientModule.cpp
Normal file
@@ -0,0 +1,21 @@
|
||||
#include "ClientModule.h"
|
||||
|
||||
ClientModule::ClientModule(Archimedes::App* a, void* h) : Archimedes::Module(a, h) {
|
||||
name = "ClientModule";
|
||||
}
|
||||
|
||||
ClientModule::~ClientModule() {
|
||||
GameNetworkingSockets_Kill();
|
||||
}
|
||||
|
||||
void ClientModule::onLoad() {
|
||||
SteamDatagramErrMsg errMsg;
|
||||
if ( !GameNetworkingSockets_Init( nullptr, errMsg ) ) {
|
||||
//FatalError( "GameNetworkingSockets_Init failed. %s", errMsg );
|
||||
std::cerr << "GameNetworkingSockets_Init() Failed: " << errMsg << std::endl;
|
||||
}
|
||||
|
||||
//g_logTimeZero = SteamNetworkingUtils()->GetLocalTimestamp();
|
||||
|
||||
//SteamNetworkingUtils()->SetDebugOutputFunction( k_ESteamNetworkingSocketsDebugOutputType_Msg, DebugOutput );
|
||||
}
|
||||
Reference in New Issue
Block a user