multiple intricate implementations
This commit is contained in:
1 parent
7aa4ea4425
commit
77690cbd96
109 files changed
+2045
-56
No files matched your search
@@ -56,6 +56,13 @@ public:
|
||||
void unload();
|
||||
bool isLoaded() const { return m_client != nullptr; }
|
||||
const std::string &errorMessage() const { return m_error; }
|
||||
// Uses an in-process entry point (the game's own terminal/no-terminal
|
||||
// clients) instead of one loaded from a library; nullptr clears it.
|
||||
void setClient(TClientCall client)
|
||||
{
|
||||
unload();
|
||||
m_client = client;
|
||||
}
|
||||
|
||||
// Invokes the module's Client(Command, Player, Data) entry point.
|
||||
void call(int command, int player, void *data) const;
|
||||
|
||||
Reference in new issue
Block a user