From 63611932ebae93620386b26cfa82f7c4552b22ff Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 29 May 2011 21:11:16 +0300 Subject: player passwords and privileges in world/auth.txt --HG-- extra : rebase_source : 7260636295d9068fbeeddf4143c89f2b8a91446c --- src/client.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/client.h') diff --git a/src/client.h b/src/client.h index f661838ce..1bfbe6296 100644 --- a/src/client.h +++ b/src/client.h @@ -385,6 +385,11 @@ public: return m_access_denied; } + inline std::wstring accessDeniedReason() + { + return m_access_denied_reason; + } + private: // Virtual methods from con::PeerHandler @@ -440,6 +445,7 @@ private: std::string m_password; bool m_access_denied; + std::wstring m_access_denied_reason; InventoryContext m_inventory_context; -- cgit v1.2.3 From 7773e68c2a42659b4a34af56e1fc799ffc9362ed Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sat, 18 Jun 2011 12:42:17 +0300 Subject: farmesh is now usable. --- src/client.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/client.h') diff --git a/src/client.h b/src/client.h index 1bfbe6296..a1b1c66b4 100644 --- a/src/client.h +++ b/src/client.h @@ -450,6 +450,8 @@ private: InventoryContext m_inventory_context; Queue m_client_event_queue; + + friend class FarMesh; }; #endif // !SERVER -- cgit v1.2.3