Crossfire Server, Trunk
|
Functions | |
def | _get_db () |
def | _get_sql_path (f) |
def | _init_db () |
def | _init_schema (con, version, *schema_files) |
def | record_kill (race, region, player, fraction=0.0001, limit=0.4) |
def | reputation (player, faction=None) |
Variables | |
string | _dict_name = 'CFReputationConnection' |
|
private |
Definition at line 37 of file __init__.py.
References _init_db().
Referenced by record_kill(), and reputation().
|
private |
Definition at line 22 of file __init__.py.
|
private |
Definition at line 26 of file __init__.py.
References _init_schema(), disinfect.map, and CFBank.open().
Referenced by _get_db().
|
private |
Definition at line 8 of file __init__.py.
References CFBank.open().
Referenced by _init_db().
def CFReputation.record_kill | ( | race, | |
region, | |||
player, | |||
fraction = 0.0001 , |
|||
limit = 0.4 |
|||
) |
Definition at line 65 of file __init__.py.
References _get_db().
def CFReputation.reputation | ( | player, | |
faction = None |
|||
) |
Return tuple with the name and reputation of the player with the given faction. If faction is None, return all known reputations.
Definition at line 43 of file __init__.py.
References _get_db().
Referenced by reputation_trigger_connect.check(), and reputation.show_reputation().
|
private |
Definition at line 6 of file __init__.py.