Reference Source Test
public class | source

Creator

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

mysql: *

Method Summary

Public Methods
public
public

formatData(data: *, type: *): *

public

getPlayerData(player: *): {"username": *, "email": *, "x": *, "y": *, "kind": *, "rights": *, "hitPoints": *, "mana": *, "poisoned": *, "experience": *, "ban": *, "mute": *, "rank": *, "membership": *, "lastLogin": *, "guild": *, "pvpKills": *, "pvpDeaths": *, "lastWarp": *, "armour": *, "weapon": *, "pendant": *, "ring": *, "boots": *}

public

save(player: *)

public

tableNotExists(tableName: *, ifNotExists: *)

Public Constructors

public constructor() source

Public Members

public mysql: * source

Public Methods

public createTables() source

public formatData(data: *, type: *): * source

Params:

NameTypeAttributeDescription
data *
type *

Return:

*

public getPlayerData(player: *): {"username": *, "email": *, "x": *, "y": *, "kind": *, "rights": *, "hitPoints": *, "mana": *, "poisoned": *, "experience": *, "ban": *, "mute": *, "rank": *, "membership": *, "lastLogin": *, "guild": *, "pvpKills": *, "pvpDeaths": *, "lastWarp": *, "armour": *, "weapon": *, "pendant": *, "ring": *, "boots": *} source

Params:

NameTypeAttributeDescription
player *

Return:

{"username": *, "email": *, "x": *, "y": *, "kind": *, "rights": *, "hitPoints": *, "mana": *, "poisoned": *, "experience": *, "ban": *, "mute": *, "rank": *, "membership": *, "lastLogin": *, "guild": *, "pvpKills": *, "pvpDeaths": *, "lastWarp": *, "armour": *, "weapon": *, "pendant": *, "ring": *, "boots": *}

public save(player: *) source

Params:

NameTypeAttributeDescription
player *

public tableNotExists(tableName: *, ifNotExists: *) source

Params:

NameTypeAttributeDescription
tableName *
ifNotExists *