Crossfire Server, Trunk
CFBoard.CFBoard Class Reference
+ Collaboration diagram for CFBoard.CFBoard:

Public Member Functions

def __init__ (self)
 
def countmsg (self, boardname)
 
def delete (self, boardname, id)
 
def getauthor (self, boardname, id)
 
def list (self, boardname)
 
def write (self, boardname, author, message)
 

Data Fields

 boarddb
 

Static Public Attributes

dictionary boarddb = {}
 
 boarddb_file = os.path.join(Crossfire.LocalDirectory(),'crossfireboard')
 
int total = 0
 

Detailed Description

Definition at line 28 of file CFBoard.py.

Constructor & Destructor Documentation

◆ __init__()

def CFBoard.CFBoard.__init__ (   self)

Definition at line 34 of file CFBoard.py.

Member Function Documentation

◆ countmsg()

def CFBoard.CFBoard.countmsg (   self,
  boardname 
)

Definition at line 60 of file CFBoard.py.

References CFBoard.CFBoard.boarddb.

◆ delete()

def CFBoard.CFBoard.delete (   self,
  boardname,
  id 
)

Definition at line 51 of file CFBoard.py.

References CFBoard.CFBoard.boarddb.

◆ getauthor()

def CFBoard.CFBoard.getauthor (   self,
  boardname,
  id 
)

Definition at line 66 of file CFBoard.py.

References CFBoard.CFBoard.boarddb.

◆ list()

def CFBoard.CFBoard.list (   self,
  boardname 
)

Definition at line 45 of file CFBoard.py.

References CFBoard.CFBoard.boarddb.

◆ write()

def CFBoard.CFBoard.write (   self,
  boardname,
  author,
  message 
)

Definition at line 37 of file CFBoard.py.

References CFBoard.CFBoard.boarddb.

Field Documentation

◆ boarddb [1/2]

dictionary CFBoard.CFBoard.boarddb = {}
static

◆ boarddb [2/2]

CFBoard.CFBoard.boarddb

Definition at line 35 of file CFBoard.py.

◆ boarddb_file

CFBoard.CFBoard.boarddb_file = os.path.join(Crossfire.LocalDirectory(),'crossfireboard')
static

Definition at line 30 of file CFBoard.py.

◆ total

int CFBoard.CFBoard.total = 0
static

Definition at line 32 of file CFBoard.py.


The documentation for this class was generated from the following file: