Class AgencyMPActionData
- Namespace
- KSP.Game
- Assembly
- Assembly-CSharp.dll
public class AgencyMPActionData
- Inheritance
-
AgencyMPActionData
- Inherited Members
-
- Extension Methods
-
Constructors
AgencyMPActionData()
public AgencyMPActionData()
AgencyMPActionData(AgencyMPActionData)
public AgencyMPActionData(AgencyMPActionData src)
Parameters
src AgencyMPActionData
AgencyMPActionData(int, AgencyMPAction, AgencyMPActionField, string, Color, Color, string, string)
public AgencyMPActionData(int agencyId, AgencyMPAction agencyMPAction, AgencyMPActionField agencyMPActionField, string agencyName, Color colorBase, Color colorAccent, string flagSpritelocation, string missionsJsonStringOrNull)
Parameters
agencyId int
agencyMPAction AgencyMPAction
agencyMPActionField AgencyMPActionField
agencyName string
colorBase Color
colorAccent Color
flagSpritelocation string
missionsJsonStringOrNull string
Fields
DEFAULT_AGENCY_ID
public const int DEFAULT_AGENCY_ID = 0
Field Value
- int
DEFAULT_AGENCY_MP_ACTION
public const AgencyMPAction DEFAULT_AGENCY_MP_ACTION = None
Field Value
- AgencyMPAction
DEFAULT_AGENCY_MP_ACTION_FIELD
public const AgencyMPActionField DEFAULT_AGENCY_MP_ACTION_FIELD = None
Field Value
- AgencyMPActionField
DEFAULT_AGENCY_NAME
public const string DEFAULT_AGENCY_NAME = ""
Field Value
- string
DEFAULT_COLOR_ACCENT
public static Color DEFAULT_COLOR_ACCENT
Field Value
- Color
DEFAULT_COLOR_BASE
public static Color DEFAULT_COLOR_BASE
Field Value
- Color
DEFAULT_FLAG_SPRITE_LOCATION
public const string DEFAULT_FLAG_SPRITE_LOCATION = ""
Field Value
- string
DEFAULT_MISSIONS_JSON_STRING_OR_NULL
public const string DEFAULT_MISSIONS_JSON_STRING_OR_NULL = null
Field Value
- string
Properties
AgencyId
public int AgencyId { get; }
Property Value
- int
AgencyMPAction
public AgencyMPAction AgencyMPAction { get; }
Property Value
- AgencyMPAction
AgencyMPActionField
public AgencyMPActionField AgencyMPActionField { get; }
Property Value
- AgencyMPActionField
AgencyName
public string AgencyName { get; }
Property Value
- string
ColorAccent
public Color ColorAccent { get; }
Property Value
- Color
ColorBase
public Color ColorBase { get; }
Property Value
- Color
FlagSpritelocation
public string FlagSpritelocation { get; }
Property Value
- string
MissionsJsonStringOrNull
public string MissionsJsonStringOrNull { get; }
Property Value
- string
Methods
GetDebugString(bool)
public string GetDebugString(bool abbrev)
Parameters
abbrev bool
Returns
- string
Init()
Init(AgencyMPActionData)
public void Init(AgencyMPActionData src)
Parameters
src AgencyMPActionData
Init(int, AgencyMPAction, AgencyMPActionField, string, Color, Color, string, string)
public void Init(int agencyId, AgencyMPAction agencyMPAction, AgencyMPActionField agencyMPActionField, string agencyName, Color colorBase, Color colorAccent, string flagSpritelocation, string missionsJsonStringOrNull)
Parameters
agencyId int
agencyMPAction AgencyMPAction
agencyMPActionField AgencyMPActionField
agencyName string
colorBase Color
colorAccent Color
flagSpritelocation string
missionsJsonStringOrNull string
ResetAllValues()
public void ResetAllValues()
Set(AgencyMPActionData)
public void Set(AgencyMPActionData src)
Parameters
src AgencyMPActionData
Set(int, AgencyMPAction, AgencyMPActionField, string, Color, Color, string, string)
public void Set(int agencyId, AgencyMPAction agencyMPAction, AgencyMPActionField agencyMPActionField, string agencyName, Color colorBase, Color colorAccent, string flagSpritelocation, string missionsJsonStringOrNull)
Parameters
agencyId int
agencyMPAction AgencyMPAction
agencyMPActionField AgencyMPActionField
agencyName string
colorBase Color
colorAccent Color
flagSpritelocation string
missionsJsonStringOrNull string
SetAgencyId(int)
public void SetAgencyId(int agencyId)
Parameters
agencyId int
SetAgencyMPAction(AgencyMPAction)
public void SetAgencyMPAction(AgencyMPAction agencyMPAction)
Parameters
agencyMPAction AgencyMPAction
SetAgencyMPActionField(AgencyMPActionField)
public void SetAgencyMPActionField(AgencyMPActionField agencyMPActionField)
Parameters
agencyMPActionField AgencyMPActionField
SetAgencyName(string)
public void SetAgencyName(string agencyName)
Parameters
agencyName string
SetColorAccent(Color)
public void SetColorAccent(Color colorAccent)
Parameters
colorAccent Color
SetColorBase(Color)
public void SetColorBase(Color colorBase)
Parameters
colorBase Color
SetFlagSpritelocation(string)
public void SetFlagSpritelocation(string flagSpritelocation)
Parameters
flagSpritelocation string
SetMissionsJsonStringOrNull(string)
public void SetMissionsJsonStringOrNull(string missionsJsonStringOrNull)
Parameters
missionsJsonStringOrNull string
ToString()
public override string ToString()
Returns
- string