Struct CaptureUIState
public readonly struct CaptureUIState
- Inherited Members
Constructors
CaptureUIState(float, Translation, Team?, Team?, string?, Color32, bool)
Use static factory methods if possible.
public CaptureUIState(float progress, Translation translation, Team? team, Team? prominentOtherTeam, string? location, Color32 color = default, bool useEnemyColor = false)
Parameters
progressfloattranslationTranslationteamTeamprominentOtherTeamTeamlocationstringcolorColor32useEnemyColorbool
Fields
Location
public readonly string? Location
Field Value
OverrideColor
public readonly Color32 OverrideColor
Field Value
- Color32
Progress
public readonly float Progress
Field Value
ProminentOtherTeam
public readonly Team? ProminentOtherTeam
Field Value
Team
public readonly Team? Team
Field Value
Translation
public readonly Translation Translation
Field Value
UseEnemyColor
public readonly bool UseEnemyColor
Field Value
Methods
Capturing(FlagUITranslations, float, Team, string)
public static CaptureUIState Capturing(FlagUITranslations translations, float progress, Team capturingTeam, string location)
Parameters
translationsFlagUITranslationsprogressfloatcapturingTeamTeamlocationstring
Returns
Clearing(FlagUITranslations, float, Team, string)
public static CaptureUIState Clearing(FlagUITranslations translations, float progress, Team owningTeam, string location)
Parameters
translationsFlagUITranslationsprogressfloatowningTeamTeamlocationstring
Returns
Contesting(FlagUITranslations, float, string)
public static CaptureUIState Contesting(FlagUITranslations translations, float progress, string location)
Parameters
translationsFlagUITranslationsprogressfloatlocationstring
Returns
InVehicle(FlagUITranslations, float, string)
public static CaptureUIState InVehicle(FlagUITranslations translations, float progress, string location)
Parameters
translationsFlagUITranslationsprogressfloatlocationstring
Returns
Ineffective(FlagUITranslations, string)
public static CaptureUIState Ineffective(FlagUITranslations translations, string location)
Parameters
translationsFlagUITranslationslocationstring
Returns
Locked(FlagUITranslations, float, string)
public static CaptureUIState Locked(FlagUITranslations translations, float progress, string location)
Parameters
translationsFlagUITranslationsprogressfloatlocationstring
Returns
Losing(FlagUITranslations, float, Team, string)
public static CaptureUIState Losing(FlagUITranslations translations, float progress, Team otherTeam, string location)
Parameters
translationsFlagUITranslationsprogressfloatotherTeamTeamlocationstring
Returns
Lost(FlagUITranslations, Team, string)
public static CaptureUIState Lost(FlagUITranslations translations, Team otherTeam, string location)
Parameters
translationsFlagUITranslationsotherTeamTeamlocationstring
Returns
Neutralized(FlagUITranslations, string)
public static CaptureUIState Neutralized(FlagUITranslations translations, string location)
Parameters
translationsFlagUITranslationslocationstring
Returns
Secured(FlagUITranslations, string)
public static CaptureUIState Secured(FlagUITranslations translations, string location)
Parameters
translationsFlagUITranslationslocationstring
Returns
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.