Implemented a lot of LuprexSockets

This commit is contained in:
2023-06-26 17:28:07 -04:00
parent d5d4e0a650
commit a86eda5434
3 changed files with 559 additions and 19 deletions

View File

@@ -6,16 +6,6 @@
#include <string>
#include <string_view>
//// Main loop.
//while (!engw.get_stop_driver(&engw)) {
// handle_lua_source();
// handle_console_output();
// handle_new_outgoing_sockets();
// handle_socket_input_output();
// handle_console_input();
// handle_console_output();
// engw.play_invoke_event_update(&engw, drvutil::get_monotonic_clock());
//}
AIntegrationGameModeBase::AIntegrationGameModeBase()
{
@@ -180,7 +170,7 @@ void AIntegrationGameModeBase::BeginPlay()
}
std::string_view srcpakv = srcpak.view();
char* argv[1];
argv[0] = const_cast<char*>("lpxserver");
argv[0] = const_cast<char*>("lpxclient");
Luprex.play_initialize(&Luprex, 1, argv, srcpakv.size(), srcpakv.data(), "");
if (Luprex.error[0])
{