C# Class Terraria.IO.PlayerFileData

Inheritance: FileData
Exibir arquivo Open project: EmuDevs/EDTerraria Class Usage Examples

Public Methods

Method Description
CreateAndSave ( Player player ) : PlayerFileData
GetPlayTime ( ) : System.TimeSpan
PausePlayTimer ( ) : void
PlayerFileData ( ) : System
PlayerFileData ( string path ) : System
SetAsActive ( ) : void
SetPlayTime ( System.TimeSpan time ) : void
StartPlayTimer ( ) : void
StopPlayTimer ( ) : void
UpdatePlayTimer ( ) : void

Method Details

CreateAndSave() public static method

public static CreateAndSave ( Player player ) : PlayerFileData
player Terraria.Player
return PlayerFileData

GetPlayTime() public method

public GetPlayTime ( ) : System.TimeSpan
return System.TimeSpan

PausePlayTimer() public method

public PausePlayTimer ( ) : void
return void

PlayerFileData() public method

public PlayerFileData ( ) : System
return System

PlayerFileData() public method

public PlayerFileData ( string path ) : System
path string
return System

SetAsActive() public method

public SetAsActive ( ) : void
return void

SetPlayTime() public method

public SetPlayTime ( System.TimeSpan time ) : void
time System.TimeSpan
return void

StartPlayTimer() public method

public StartPlayTimer ( ) : void
return void

StopPlayTimer() public method

public StopPlayTimer ( ) : void
return void

UpdatePlayTimer() public method

public UpdatePlayTimer ( ) : void
return void