Table of Contents

Class NewPlayerSetupInfo

Namespace
KSP.Game
Assembly
Assembly-CSharp.dll
public class NewPlayerSetupInfo
Inheritance
NewPlayerSetupInfo
Inherited Members
Extension Methods

Constructors

NewPlayerSetupInfo()

public NewPlayerSetupInfo()

NewPlayerSetupInfo(NewPlayerAgencyChoice, string, Color, Color, string, int, bool)

public NewPlayerSetupInfo(NewPlayerAgencyChoice agencyChoice, string newAgencyName, Color newAgencyColorBase, Color newAgencyColorAccent, string newAgencyFlagSpriteLocation, int existingAgencyId, bool isFTUEEnabled)

Parameters

agencyChoice NewPlayerAgencyChoice
newAgencyName string
newAgencyColorBase Color
newAgencyColorAccent Color
newAgencyFlagSpriteLocation string
existingAgencyId int
isFTUEEnabled bool

NewPlayerSetupInfo(NewPlayerSetupInfo)

public NewPlayerSetupInfo(NewPlayerSetupInfo src)

Parameters

src NewPlayerSetupInfo

Fields

DEFAULT_AGENCY_CHOICE

public const NewPlayerAgencyChoice DEFAULT_AGENCY_CHOICE = None

Field Value

NewPlayerAgencyChoice

DEFAULT_EXISTING_AGENCY_ID

public const int DEFAULT_EXISTING_AGENCY_ID = 0

Field Value

int

DEFAULT_IS_FTUE_ENABLED

public const bool DEFAULT_IS_FTUE_ENABLED = false

Field Value

bool

DEFAULT_NEW_AGENCY_COLOR_ACCENT

public static Color DEFAULT_NEW_AGENCY_COLOR_ACCENT

Field Value

Color

DEFAULT_NEW_AGENCY_COLOR_BASE

public static Color DEFAULT_NEW_AGENCY_COLOR_BASE

Field Value

Color

DEFAULT_NEW_AGENCY_FLAG_SPRITE_LOCATION

public static string DEFAULT_NEW_AGENCY_FLAG_SPRITE_LOCATION

Field Value

string

DEFAULT_NEW_AGENCY_NAME

public static string DEFAULT_NEW_AGENCY_NAME

Field Value

string

Properties

AgencyChoice

public NewPlayerAgencyChoice AgencyChoice { get; }

Property Value

NewPlayerAgencyChoice

ExistingAgencyId

public int ExistingAgencyId { get; }

Property Value

int

IsFTUEEnabled

public bool IsFTUEEnabled { get; }

Property Value

bool

NewAgencyColorAccent

public Color NewAgencyColorAccent { get; }

Property Value

Color

NewAgencyColorBase

public Color NewAgencyColorBase { get; }

Property Value

Color

NewAgencyFlagSpriteLocation

public string NewAgencyFlagSpriteLocation { get; }

Property Value

string

NewAgencyName

public string NewAgencyName { get; }

Property Value

string

Methods

~NewPlayerSetupInfo()

protected ~NewPlayerSetupInfo()

GetDebugString(bool)

public string GetDebugString(bool abbrev = false)

Parameters

abbrev bool

Returns

string

Init()

public void Init()

Init(NewPlayerAgencyChoice, string, Color, Color, string, int, bool)

public void Init(NewPlayerAgencyChoice agencyChoice, string newAgencyName, Color newAgencyColorBase, Color newAgencyColorAccent, string newAgencyFlagSpriteLocation, int existingAgencyId, bool isFTUEEnabled)

Parameters

agencyChoice NewPlayerAgencyChoice
newAgencyName string
newAgencyColorBase Color
newAgencyColorAccent Color
newAgencyFlagSpriteLocation string
existingAgencyId int
isFTUEEnabled bool

Init(NewPlayerSetupInfo)

public void Init(NewPlayerSetupInfo src)

Parameters

src NewPlayerSetupInfo

Matches(NewPlayerSetupInfo)

public bool Matches(NewPlayerSetupInfo other)

Parameters

other NewPlayerSetupInfo

Returns

bool

ResetAllValues()

public void ResetAllValues()

SanityChecks()

public void SanityChecks()

Set(NewPlayerAgencyChoice, string, Color, Color, string, int, bool)

public void Set(NewPlayerAgencyChoice agencyChoice, string newAgencyName, Color newAgencyColorBase, Color newAgencyColorAccent, string newAgencyFlagSpriteLocation, int existingAgencyId, bool isFTUEEnabled)

Parameters

agencyChoice NewPlayerAgencyChoice
newAgencyName string
newAgencyColorBase Color
newAgencyColorAccent Color
newAgencyFlagSpriteLocation string
existingAgencyId int
isFTUEEnabled bool

Set(NewPlayerSetupInfo)

public void Set(NewPlayerSetupInfo src)

Parameters

src NewPlayerSetupInfo

SetAgencyChoice(NewPlayerAgencyChoice)

public void SetAgencyChoice(NewPlayerAgencyChoice agencyChoice)

Parameters

agencyChoice NewPlayerAgencyChoice

SetExistingAgencyId(int)

public void SetExistingAgencyId(int existingAgencyId)

Parameters

existingAgencyId int

SetIsFTUEEnabled(bool)

public void SetIsFTUEEnabled(bool isFTUEEnabled)

Parameters

isFTUEEnabled bool

SetNewAgencyColorAccent(Color)

public void SetNewAgencyColorAccent(Color newAgencyColorAccent)

Parameters

newAgencyColorAccent Color

SetNewAgencyColorBase(Color)

public void SetNewAgencyColorBase(Color newAgencyColorBase)

Parameters

newAgencyColorBase Color

SetNewAgencyFlagSpriteLocation(string)

public void SetNewAgencyFlagSpriteLocation(string newAgencyFlagSpriteLocation)

Parameters

newAgencyFlagSpriteLocation string

SetNewAgencyName(string)

public void SetNewAgencyName(string newAgencyName)

Parameters

newAgencyName string

Uninit()

public void Uninit()