wavelength 1.0.0
Loading...
Searching...
No Matches
RTFilter Struct Reference

One filter of the game list of the lobby server. More...

#include <rtfilter.h>

Public Types

enum  Field { kFieldGameLevel = 4 , kFieldRulesSet = 6 , kFieldGenericField2 = 8 , kFieldGenericField3 = 9 }
 Values of mField. More...
enum  Comparison { kComparisonLessOrEqual = 1 , kComparisonEqual = 2 , kComparisonMoreOrEqual = 3 , kComparisonNotEqual = 5 }
 Values of mComparison. More...

Public Member Functions

bool operator== (const RTFilter &other) const
 Report whether two filters are the same.

Public Attributes

int mField
int mComparison
int mValue

Detailed Description

One filter of the game list of the lobby server.

The RTTI of the vector of filters identifies the type. The record is 0xc bytes.

Member Enumeration Documentation

◆ Field

Values of mField.

Enumerator
kFieldGameLevel 

The song of the game.

kFieldRulesSet 

The game mode and the skill level.

kFieldGenericField2 

The chat channel of the host.

kFieldGenericField3 

Non-zero while the host takes players.

◆ Comparison

Values of mComparison.

Enumerator
kComparisonLessOrEqual 

The field is at most mValue.

kComparisonEqual 

The field equals mValue.

kComparisonMoreOrEqual 

The field is at least mValue.

kComparisonNotEqual 

The field differs from mValue.

Member Function Documentation

◆ operator==()

bool RTFilter::operator== ( const RTFilter & other) const
inline

Report whether two filters are the same.

Inline.

Parameters
otherThe other filter.
Returns
Whether every member is equal.

Member Data Documentation

◆ mField

int RTFilter::mField

One of Field.

◆ mComparison

int RTFilter::mComparison

One of Comparison.

◆ mValue

int RTFilter::mValue

The value the field is compared with.


The documentation for this struct was generated from the following file: