ChatFilterSettings

class ChatFilterSettings : OutgoingGameMessage

Chat filter settings packed is used to set the public and trade chat filters to the specified values.

Chat filters table:

| Id |   Type   |
|----|:--------:|
| 0 | On |
| 1 | Friends |
| 2 | Off |
| 3 | Hide |
| 4 | Autochat |

Constructors

Link copied to clipboard
constructor(publicChatFilter: Int, tradeChatFilter: Int)

Properties

Link copied to clipboard
open override val category: ServerProtCategory
Link copied to clipboard

the public chat filter value, allowed values include everything in the table above.

Link copied to clipboard

the trade chat filter value, allowed values include 'On', 'Friends' and 'Off' (see table above)

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open fun estimateSize(): Int
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String