Cronous Emulation Server Daemon

Database Members

Database overview

Public Static (Shared) Fields

ACCOUNT_TABLEAccount table name.
ACCOUNTS_PER_CHARACTER_TABLENumber of accounts that one character table will manage.
ACCOUNTS_PER_ITEM_TABLENumber of accounts that one item table will manage.
ACCOUNTS_PER_PLAYER_TABLENumber of accounts that one player table will manage.
CHARACTER_NAME_TABLECharacter name table name.
CHARACTER_TABLECharacter table name prefix.
CHARACTERS_PER_ACCOUNTNumber of characters an account can make.
ITEM_TABLEItem table name prefix.
PLAYER_TABLEPlayer table name prefix.

Public Static (Shared) Methods

character_id_baseGets the base character ID of an account.
character_table_ofGets the character table ID of an account.
item_table_ofGets the item table ID of an account.
player_table_ofGets the player table ID of an account.

Public Instance Constructors

Database ConstructorInitializes the database access.

Public Instance Properties

connection_stringDatabase connection string.
server_connection_stringServer connection string.

Public Instance Methods

create_character_tableCreates a character table, if it doesn't exist.
create_item_tableCreates a item table, if it doesn't exist.
create_player_tableCreates a player table, if it doesn't exist.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
format_databaseFormats database.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
prepare_actionPrepares an action for this database.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

Database Class | croemud.database Namespace