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) |
|
private |
Definition at line 45 of file __init__.py.
References _init_db().
Referenced by record_kill(), and reputation().
|
private |
Definition at line 29 of file __init__.py.
|
private |
Definition at line 33 of file __init__.py.
References _init_schema(), disinfect.map, and CFBank.open().
Referenced by _get_db().
|
private |
Definition at line 6 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 71 of file __init__.py.
References _get_db().
Referenced by reputation.on_kill().
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 48 of file __init__.py.
References _get_db().
Referenced by reputation_trigger_connect.check(), and reputation.show_reputation().