Class UM_SaveInfo
Saved game metadata.
Inheritance
System.Object
UM_SaveInfo
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SA.CrossPlatform.GameServices
Assembly: cs.temp.dll.dll
Syntax
public class UM_SaveInfo
Properties
Description
Retrieves the description of this snapshot.
Declaration
public string Description { get; }
Property Value
Type | Description |
---|---|
System.String |
PlayedTime
Retrieves the played time of this snapshot in milliseconds.
Declaration
public long PlayedTime { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
ProgressValue
Retrieves the progress value for this snapshot.
Declaration
public long ProgressValue { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Methods
LoadCoverImage(Action<Texture2D>)
Declaration
public virtual void LoadCoverImage(Action<Texture2D> callback)
Parameters
Type | Name | Description |
---|---|---|
Action<Texture2D> | callback |
SetCoverImage(Texture2D)
Cover image to set for the snapshot.
Declaration
public void SetCoverImage(Texture2D coverImage)
Parameters
Type | Name | Description |
---|---|---|
Texture2D | coverImage |
SetDescription(String)
Description to set for the snapshot. description
Declaration
public void SetDescription(string description)
Parameters
Type | Name | Description |
---|---|---|
System.String | description |
SetPlayedTimeMillis(Int64)
The new played time to set for the snapshot. Value should always be above zero. player played time in milliseconds
Declaration
public void SetPlayedTimeMillis(long playedTimeMillis)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | playedTimeMillis |
SetProgressValue(Int64)
The new progress value to set for the snapshot. Value should always be above zero. player progress value
Declaration
public void SetProgressValue(long progressValue)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | progressValue |