Class SerializablePlayer
Implements Player serialization. Should be attached to Player GameObject.
Inheritance
SerializablePlayer
Assembly: Assembly-CSharp.dll
Syntax
public class SerializablePlayer : MonoBehaviour, ISerializableGameObject
Properties
|
Improve this Doc
View Source
LoadID
Declaration
public ulong LoadID { get; }
Property Value
|
Improve this Doc
View Source
ShouldSave
Declaration
public bool ShouldSave { get; }
Property Value
Methods
|
Improve this Doc
View Source
GetFactionSaveData()
Declaration
public object GetFactionSaveData()
Returns
|
Improve this Doc
View Source
GetPlayerPositionData()
Declaration
public PlayerPositionData_v1 GetPlayerPositionData()
Returns
|
Improve this Doc
View Source
GetSaveData()
Declaration
public object GetSaveData()
Returns
|
Improve this Doc
View Source
RestoreFactionData(FactionData_v2)
Declaration
public void RestoreFactionData(FactionData_v2 factionData)
Parameters
|
Improve this Doc
View Source
RestorePosition(PlayerPositionData_v1)
Declaration
public void RestorePosition(PlayerPositionData_v1 positionData)
Parameters
|
Improve this Doc
View Source
RestoreSaveData(Object)
Declaration
public void RestoreSaveData(object dataIn)
Parameters
Type |
Name |
Description |
Object |
dataIn |
|
Implements
Extension Methods
MBExtensions.Invoke<T1, T2, T3, T4>(MonoBehaviour, Action<T1, T2, T3, T4>, T1, T2, T3, T4, Single)