mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-06 09:02:17 +00:00
[Discord] Add Discord webhook callback processing to world (#3322)
This commit is contained in:
1 parent
95b306599f
commit
ecf2a369cc
3 files changed
+31
No files matched your search
@@ -17,6 +17,7 @@ public:
|
||||
void Disconnect() { if(connection && connection->Handle()) connection->Handle()->Disconnect(); }
|
||||
void SendMessage(const char *From, const char *Message);
|
||||
const std::shared_ptr<EQ::Net::ServertalkServerConnection> &GetConnection() const;
|
||||
inline bool IsConnected() const { return connection->Handle() ? connection->Handle()->IsConnected() : false; }
|
||||
|
||||
private:
|
||||
inline std::string GetIP() const { return (connection && connection->Handle()) ? connection->Handle()->RemoteIP() : 0; }
|
||||
|
||||
Reference in new issue
Block a user