Table of Contents

Class GuildFeatures

Namespace
Kook
Assembly
Kook.Net.Core.dll

Represents a collection of features of a guild.

public class GuildFeatures
Inheritance
GuildFeatures
Inherited Members

Properties

IsKeyAccount

Gets whether or not the guild is a key account guild.

public bool IsKeyAccount { get; }

Property Value

bool

IsOfficial

Gets whether or not the guild is an official KOOK guild.

public bool IsOfficial { get; }

Property Value

bool

IsPartner

Gets whether or not the guild is a partner guild.

public bool IsPartner { get; }

Property Value

bool

RawValues

Gets a collection of strings representing the raw values of the features.

public IReadOnlyCollection<string> RawValues { get; }

Property Value

IReadOnlyCollection<string>

Remarks

Features that are not contained in GuildFeature can be found here.

Value

Gets the flags of recognized features for this guild.

public GuildFeature Value { get; }

Property Value

GuildFeature

Methods

HasFeature(GuildFeature)

Returns whether or not this guild has a feature.

public bool HasFeature(GuildFeature feature)

Parameters

feature GuildFeature

The feature(s) to check for.

Returns

bool

true if this guild has the provided feature(s), otherwise false.

HasFeature(string)

Returns whether or not this guild has a feature.

public bool HasFeature(string feature)

Parameters

feature string

The feature to check for.

Returns

bool

true if this guild has the provided feature, otherwise false.