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:
@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user