// // ModerationFlags.h // libraries/shared/src // // Created by Kalila L. on Mar 11 2021. // Copyright 2021 Vircadia contributors. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #ifndef overte_ModerationFlags_h #define overte_ModerationFlags_h class ModerationFlags { public: /*@jsdoc *
A set of flags for moderation ban actions. The value is constructed by using the |
(bitwise OR) operator on the
* individual flag values.
Flag Name | Value | Description |
---|---|---|
NO_BAN | 0 | Don't ban user when kicking. This does not currently have an effect. |
BAN_BY_USERNAME | 1 | Ban the person by their username. |
BAN_BY_FINGERPRINT | 2 | Ban the person by their machine fingerprint. |
BAN_BY_IP | 4 | Ban the person by their IP address. |