Table of Contents

Class MPVars

Namespace
KSP.Networking.MP
Assembly
Assembly-CSharp.dll
public class MPVars : IMPSyncable
Inheritance
MPVars
Implements
Inherited Members
Extension Methods

Constructors

MPVars()

public MPVars()

Fields

BASEKEYORFILENAME

public const string BASEKEYORFILENAME = "MPDebug"

Field Value

string

BypassPlayerGuidString

public string BypassPlayerGuidString

Field Value

string

BypassPlayerNameString

public string BypassPlayerNameString

Field Value

string

DEFAULT_BYPASS_PLAYER_GUID_STRING

public static string DEFAULT_BYPASS_PLAYER_GUID_STRING

Field Value

string

DEFAULT_BYPASS_PLAYER_NAME_STRING

public static string DEFAULT_BYPASS_PLAYER_NAME_STRING

Field Value

string

DEFAULT_DEBUG_MPSYNC_IGGUID_WITH_DEBUG_NAME

public const bool DEFAULT_DEBUG_MPSYNC_IGGUID_WITH_DEBUG_NAME = false

Field Value

bool

DEFAULT_LOGGED_OUT_PLAYER_GUID_STRING

public static string DEFAULT_LOGGED_OUT_PLAYER_GUID_STRING

Field Value

string

DEFAULT_LOGGED_OUT_PLAYER_NAME_STRING

public static string DEFAULT_LOGGED_OUT_PLAYER_NAME_STRING

Field Value

string

DEFAULT_LOGIN_OVERLAY_ACCOUNT_NAME_STRING

public static string DEFAULT_LOGIN_OVERLAY_ACCOUNT_NAME_STRING

Field Value

string

DebugMPSyncIGGuidWithDebugName

public bool DebugMPSyncIGGuidWithDebugName

Field Value

bool

EXTENSION

public const string EXTENSION = ".json"

Field Value

string

FULLPATH_PREFIX

public const string FULLPATH_PREFIX = "PersistentDataFiles\\"

Field Value

string

LoggedOutPlayerGuidString

public string LoggedOutPlayerGuidString

Field Value

string

LoggedOutPlayerNameString

public string LoggedOutPlayerNameString

Field Value

string

LoginOverlayAccountNameString

public string LoginOverlayAccountNameString

Field Value

string

Properties

Instance

public static MPVars Instance { get; }

Property Value

MPVars

Methods

GetSaveLocation()

public SaveLocation GetSaveLocation()

Returns

SaveLocation

Init()

public void Init()

Load()

public bool Load()

Returns

bool

MPSync(IMPSerializer)

public void MPSync(IMPSerializer mpSerializer)

Parameters

mpSerializer IMPSerializer

PasswordStringToSaveString(string, out string)

public static bool PasswordStringToSaveString(string passwordString, out string saveString)

Parameters

passwordString string
saveString string

Returns

bool

PopulateDynamicDefaultValuesForNetworkProtocol()

public static void PopulateDynamicDefaultValuesForNetworkProtocol()

PopulatePlayerIdentityFieldsIfNeeded()

public bool PopulatePlayerIdentityFieldsIfNeeded()

Returns

bool

ResetAllValues()

public bool ResetAllValues()

Returns

bool

SanityChecks()

public void SanityChecks()

Save()

public bool Save()

Returns

bool

SaveStringToPasswordString(string, out string)

public static bool SaveStringToPasswordString(string saveString, out string passwordString)

Parameters

saveString string
passwordString string

Returns

bool

Uninit()

public void Uninit()