Table of Contents

Namespace Uncreated.Warfare.Players

Classes

PlayerNitroBoostService

Allows checking if players are Server Boosting in Discord.

PlayerVoteManager

Manages a generic vote operation for all players. Displayed by VoteUIDisplay<TData>.

PlayersTranslations
UserDataService
UserDataServiceExtensions
VoteUIDisplayData
VoteUIDisplay<TData>

A UI implementation of IVoteDisplay.

WarfarePlayer
WarfarePlayerLocale

Structs

ModalHandle

Allows for multiple UI's to be open at once that require the modal active without clearing each other.

OfflinePlayer
PlayerNames
VoteSettings

Settings used to start votes for IPlayerVoteManager.

Interfaces

IPlayer

Abstraction for WarfarePlayer and offline players.

IPlayerComponent

Component auto-added to players on join and destroyed on disconnect.

IPlayerVoteManager

Handles player-wide votes for certain events. Currently used by seeding gamemode.

IUserDataService
IVoteDisplay

Implements callbacks for vote updates, allowing them to be displayed on a HUD or similar.

IVoteResult

The final results of a vote.

Enums

PlayerNameType

Name types for players.

PlayerVoteState

The state of a single player's answer to a vote from a IPlayerVoteManager.

VoteResult

The result of a vote from a IPlayerVoteManager.