1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-21 12:49:10 +00:00

Screen incoming GameMessages because we cannot trust the server (because the server trusts other clients too much)

This commit is contained in:
2011-05-07 20:25:05 -04:00
parent b10b464070
commit 656b86a685
5 changed files with 63 additions and 7 deletions

View File

@ -41,11 +41,13 @@ protected:
bool IIsLocalArmatureModKey(plKey key, const plNetGameMember* gm) const;
bool IIsSenderCCR(const plNetGameMember* gm=nil) const;
bool IAmClient() const { return true; }
bool IScreenIncoming(const plMessage* msg) const;
public:
plNetClientMsgScreener();
bool AllowMessage(const plMessage* msg) const;
bool AllowOutgoingMessage(const plMessage* msg) const;
bool AllowIncomingMessage(const plMessage* msg) const;
};