C# Класс BF2Statistics.ASP.StatsProcessor.AwardCriteria

The award criteria struct is used to define the query details used when determining if a player has met the requirements to earn an award. This object is used by the "BackendAward" object.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
ExpectedResult int
Field string
Table string
Where string

Открытые методы

Метод Описание
AwardCriteria ( string Table, string Field, int ExpectedResult, string Where )

Constructor.

Описание методов

AwardCriteria() публичный Метод

Constructor.
public AwardCriteria ( string Table, string Field, int ExpectedResult, string Where )
Table string The table name
Field string The field (column name)
ExpectedResult int /// The expected result. If the result matches this result, /// the criteria is considered met ///
Where string The where statement when running the query

Описание свойств

ExpectedResult публичное свойство

The expected result of the query. If the result of the query matches this, or is greater, then the criteria is considered met.
public int ExpectedResult
Результат int

Field публичное свойство

The field (or columns) to run the query on
public string Field
Результат string

Table публичное свойство

The table to run the qyery
public string Table
Результат string

Where публичное свойство

The where statement to use when running the query
public string Where
Результат string