Table of Contents

Class Nameplate

Namespace
Kook
Assembly
Kook.Net.Core.dll

表示一个用户的铭牌。

public class Nameplate : IEquatable<Nameplate>
Inheritance
Nameplate
Implements
Inherited Members

Properties

Icon

获取此铭牌的图标的 URL。

public string Icon { get; }

Property Value

string

Name

获取此铭牌的名称。

public string Name { get; }

Property Value

string

Tips

获取此铭牌的提示信息。

public string Tips { get; }

Property Value

string

Type

获取此铭牌的类型。

public int Type { get; }

Property Value

int

Methods

Equals(Nameplate?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(Nameplate? other)

Parameters

other Nameplate

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.