C# Class tsge.Classes.Terraria

Afficher le fichier Open project: Walkman100/TSGE

Méthodes publiques

Свойство Type Description
GameVersions List
LatestVersion int
MaxItemCount int
ProfilePath string

Méthodes publiques

Méthode Description
GetProfileName ( string fileName ) : string

Attempts to obtain the profiles name.

Initialize ( ) : bool

Initializes the Terraria class.

LoadProfile ( string fileName ) : Player

Attempts to decrypt and load a player file.

SaveProfile ( Player player, string fileName ) : bool

Attempts to encrypt and save a player object.

Terraria ( ) : System

Default Constructor

Private Methods

Méthode Description
DecryptProfile ( string fileName ) : byte[]

Decrypts the given player profile and returns the data as an array.

EncryptProfile ( string fileName ) : bool

Encrypts the given player profile.

Method Details

GetProfileName() public méthode

Attempts to obtain the profiles name.
public GetProfileName ( string fileName ) : string
fileName string
Résultat string

Initialize() public méthode

Initializes the Terraria class.
public Initialize ( ) : bool
Résultat bool

LoadProfile() public méthode

Attempts to decrypt and load a player file.
public LoadProfile ( string fileName ) : Player
fileName string
Résultat Player

SaveProfile() public méthode

Attempts to encrypt and save a player object.
public SaveProfile ( Player player, string fileName ) : bool
player Player
fileName string
Résultat bool

Terraria() public méthode

Default Constructor
public Terraria ( ) : System
Résultat System

Property Details

GameVersions public_oe static_oe property

Current supported game version.
public static List GameVersions
Résultat List

LatestVersion public_oe static_oe property

The latest supported version of Terraria.
public static int LatestVersion
Résultat int

MaxItemCount public_oe static_oe property

The latest max item used while handling profiles.
public static int MaxItemCount
Résultat int

ProfilePath public_oe static_oe property

Profile path to the Terraria save game files.
public static string ProfilePath
Résultat string