Méthode | Description | |
---|---|---|
AccountExists ( string username ) : bool |
Does an account of this username exist?
|
|
AddCharacter ( |
Adds/updates a character to the database.
|
|
CharacterExists ( long id, bool notRaw ) : bool |
Does a character of this ID exist?
|
|
CharacterExists ( string username ) : bool |
Does a character of this username exist?
|
|
CreateAccount ( string username, string password ) : |
Creates an account with specified username and password.
|
|
DbUtils ( ) : System | ||
DeleteAccount ( |
Deletes the specified account.
|
|
DeleteCharacter ( |
Removes a character from the database, and its owner account.
|
|
Dispose ( ) : void | ||
GetAccount ( string username ) : |
Retrieves the data of account with the specified username.
|
|
GetCharacter ( long id, bool notRaw = false ) : |
Gets a character from their ID.
|
|
GetCharacter ( string name ) : |
Gets a character from their name.
|
|
UpdateAccount ( |
Updates the data of an existing account. (Maybe you want to change the password, or add/remove users, or ban/unban the account?)
|
Méthode | Description | |
---|---|---|
UpdateCharacter ( |
public AccountExists ( string username ) : bool | ||
username | string | The username of the supposed account. |
Résultat | bool |
public AddCharacter ( |
||
character | The character to add. | |
Résultat | void |
public CharacterExists ( long id, bool notRaw ) : bool | ||
id | long | The ID of the supposed character. |
notRaw | bool | Is this not raw? |
Résultat | bool |
public CharacterExists ( string username ) : bool | ||
username | string | The username of the supposed character. |
Résultat | bool |
public CreateAccount ( string username, string password ) : |
||
username | string | The username of the account. |
password | string | The password of the account. |
Résultat |
public DeleteAccount ( |
||
account | The account to delete. | |
Résultat | void |
public DeleteCharacter ( |
||
character | The character to delete. | |
Résultat | void |
public GetAccount ( string username ) : |
||
username | string | The username of the account. |
Résultat |
public GetCharacter ( long id, bool notRaw = false ) : |
||
id | long | The character ID. |
notRaw | bool | Is this not raw? |
Résultat |
public GetCharacter ( string name ) : |
||
name | string | The character's name. |
Résultat |
public UpdateAccount ( |
||
account | The account to update. | |
Résultat | void |