C# Class OfflineServer.Persona

Class containing all of the required variables and initializers to create and use a local Persona.
Inheritance: ObservableObject
显示文件 Open project: berkay2578/nfsw-server Class Usage Examples

Public Properties

Property Type Description
rating System.Int32
score System.Int32

Public Methods

Method Description
Persona ( PersonaEntity persona ) : OfflineServer.Servers

Initializes the Persona class with the given persona entity.

ToString ( ) : String

Converts the Persona to its multilined string equivalent.

getCompleteGarage ( ) : String

Reads the complete garage of the current active persona.

getCurrentPersonaList ( ) : ObservableCollection

Reads the registered personas from a fixed-string database file.

This is NOT dynamic, this only reads from the database.

Method Details

Persona() public method

Initializes the Persona class with the given persona entity.
public Persona ( PersonaEntity persona ) : OfflineServer.Servers
persona OfflineServer.Servers.Database.Entities.PersonaEntity
return OfflineServer.Servers

ToString() public method

Converts the Persona to its multilined string equivalent.
public ToString ( ) : String
return String

getCompleteGarage() public method

Reads the complete garage of the current active persona.
public getCompleteGarage ( ) : String
return String

getCurrentPersonaList() public static method

Reads the registered personas from a fixed-string database file.
This is NOT dynamic, this only reads from the database.
public static getCurrentPersonaList ( ) : ObservableCollection
return ObservableCollection

Property Details

rating public_oe property

public Int32,System rating
return System.Int32

score public_oe property

public Int32,System score
return System.Int32