Table of Contents

Class CreatorRequirement

Namespace
Twikit
Assembly
Twikit.dll

参加条件 1 件。

public sealed class CreatorRequirement
Inheritance
CreatorRequirement
Inherited Members

Constructors

CreatorRequirement(string, bool, string?, double?, IReadOnlyList<int>?, IReadOnlyList<string>, IReadOnlyList<string>)

public CreatorRequirement(string text, bool isMet, string? value, double? progress, IReadOnlyList<int>? progressColumns, IReadOnlyList<string> details, IReadOnlyList<string> notes)

Parameters

text string
isMet bool
value string
progress double?
progressColumns IReadOnlyList<int>
details IReadOnlyList<string>
notes IReadOnlyList<string>

Properties

Details

行の中のその他の文。

public IReadOnlyList<string> Details { get; }

Property Value

IReadOnlyList<string>

IsMet

満たしているか(チェックマークか × か)。

public bool IsMet { get; }

Property Value

bool

Notes

行に付いた注記(「返信は含まれません」など)。

public IReadOnlyList<string> Notes { get; }

Property Value

IReadOnlyList<string>

Progress

進捗バーの割合(0~1)。X は 20 分割で丸めるので目安です。バーが無ければ null。

public double? Progress { get; }

Property Value

double?

ProgressColumns

進捗バーの各セルの幅(columns)。先頭が達成分。

public IReadOnlyList<int>? ProgressColumns { get; }

Property Value

IReadOnlyList<int>

Text

条件の文(「認証済みフォロワーが500人以上いる」など)。

public string Text { get; }

Property Value

string

Value

進捗バーに添えられた現在値の表示(「136」「26.9K」など)。無ければ null。

public string? Value { get; }

Property Value

string

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.