Board
Board.Save.BoardSaveGameMetadataChange
BoardSaveGameMetadataChange Constructors
| Overloads | |
|---|---|
| BoardSaveGameMetadataChange() | Initializes a new instance of the BoardSaveGameMetadataChange class |
| BoardSaveGameMetadataChange(string, Texture2D, ulong, string) | Initializes a new instance of the BoardSaveGameMetadataChange class with the specified description, cover image, played time, and game version. |
BoardSaveGameMetadataChange() Constructor
Initializes a new instance of the BoardSaveGameMetadataChange class
public BoardSaveGameMetadataChange();
Remarks
All properties are required before use.
BoardSaveGameMetadataChange(string, Texture2D, ulong, string) Constructor
Initializes a new instance of the BoardSaveGameMetadataChange class with the specified description, cover image, played time, and game version.
public BoardSaveGameMetadataChange(string description, Texture2D coverImage, ulong playedTime, string gameVersion);
Parameters
description System.String
The description of the saved game. Cannot be null or empty.
coverImage UnityEngine.Texture2D
The cover image (will be converted to 432x243 PNG).
playedTime System.UInt64
How long the players have played in seconds.
gameVersion System.String
The game version string. Cannot be null or empty.
Exceptions
System.ArgumentNullException
description is null
-or-
coverImage is null.
-or-
gameVersion is null.