Crossfire Server, Trunk  R20513
Functions | Variables
cfpython_region.c File Reference
#include <cfpython.h>
Include dependency graph for cfpython_region.c:

Go to the source code of this file.

Functions

static PyObject * Crossfire_Region_GetJailPath (Crossfire_Region *regionptr, void *closure)
 
static PyObject * Crossfire_Region_GetJailX (Crossfire_Region *regionptr, void *closure)
 
static PyObject * Crossfire_Region_GetJailY (Crossfire_Region *regionptr, void *closure)
 
static PyObject * Crossfire_Region_GetLongname (Crossfire_Region *regionptr, void *closure)
 
static PyObject * Crossfire_Region_GetMessage (Crossfire_Region *regionptr, void *closure)
 
static PyObject * Crossfire_Region_GetName (Crossfire_Region *regionptr, void *closure)
 
static PyObject * Crossfire_Region_GetNext (Crossfire_Region *party, void *closure)
 
static PyObject * Crossfire_Region_GetParent (Crossfire_Region *party, PyObject *args)
 
static int Crossfire_Region_InternalCompare (Crossfire_Region *left, Crossfire_Region *right)
 
static PyObject * Crossfire_Region_RichCompare (Crossfire_Region *left, Crossfire_Region *right, int op)
 
PyObject * Crossfire_Region_wrap (region *what)
 

Variables

PyTypeObject Crossfire_RegionType
 
static PyGetSetDef Region_getseters []
 
static PyMethodDef RegionMethods []
 

Function Documentation

static PyObject* Crossfire_Region_GetJailPath ( Crossfire_Region regionptr,
void *  closure 
)
static

Definition at line 60 of file cfpython_region.c.

References cf_region_get_jail_path(), and Crossfire_Region::reg.

Here is the call graph for this function:

static PyObject* Crossfire_Region_GetJailX ( Crossfire_Region regionptr,
void *  closure 
)
static

Definition at line 52 of file cfpython_region.c.

References cf_region_get_jail_x(), and Crossfire_Region::reg.

Here is the call graph for this function:

static PyObject* Crossfire_Region_GetJailY ( Crossfire_Region regionptr,
void *  closure 
)
static

Definition at line 56 of file cfpython_region.c.

References cf_region_get_jail_y(), and Crossfire_Region::reg.

Here is the call graph for this function:

static PyObject* Crossfire_Region_GetLongname ( Crossfire_Region regionptr,
void *  closure 
)
static

Definition at line 36 of file cfpython_region.c.

References cf_region_get_longname(), and Crossfire_Region::reg.

Here is the call graph for this function:

static PyObject* Crossfire_Region_GetMessage ( Crossfire_Region regionptr,
void *  closure 
)
static

Definition at line 40 of file cfpython_region.c.

References cf_region_get_message(), and Crossfire_Region::reg.

Here is the call graph for this function:

static PyObject* Crossfire_Region_GetName ( Crossfire_Region regionptr,
void *  closure 
)
static

Definition at line 32 of file cfpython_region.c.

References cf_region_get_name(), and Crossfire_Region::reg.

Here is the call graph for this function:

static PyObject* Crossfire_Region_GetNext ( Crossfire_Region party,
void *  closure 
)
static

Definition at line 44 of file cfpython_region.c.

References cf_region_get_next(), Crossfire_Region_wrap(), and Crossfire_Region::reg.

Here is the call graph for this function:

static PyObject* Crossfire_Region_GetParent ( Crossfire_Region party,
PyObject *  args 
)
static

Definition at line 48 of file cfpython_region.c.

References cf_region_get_parent(), Crossfire_Region_wrap(), and Crossfire_Region::reg.

Here is the call graph for this function:

static int Crossfire_Region_InternalCompare ( Crossfire_Region left,
Crossfire_Region right 
)
static

Definition at line 79 of file cfpython_region.c.

References Crossfire_Region::reg.

Referenced by Crossfire_Region_RichCompare().

Here is the caller graph for this function:

static PyObject* Crossfire_Region_RichCompare ( Crossfire_Region left,
Crossfire_Region right,
int  op 
)
static

Definition at line 83 of file cfpython_region.c.

References Crossfire_Region_InternalCompare(), and Crossfire_RegionType.

Here is the call graph for this function:

PyObject* Crossfire_Region_wrap ( region what)

Definition at line 64 of file cfpython_region.c.

References Crossfire_RegionType, and Crossfire_Region::reg.

Referenced by Crossfire_Region_GetNext(), Crossfire_Region_GetParent(), getRegions(), and Map_GetRegion().

Here is the caller graph for this function:

Variable Documentation

PyTypeObject Crossfire_RegionType
PyGetSetDef Region_getseters[]
static
Initial value:
= {
{ "Name", (getter)Crossfire_Region_GetName, NULL, NULL, NULL },
{ "Longname", (getter)Crossfire_Region_GetLongname, NULL, NULL, NULL },
{ "Message", (getter)Crossfire_Region_GetMessage, NULL, NULL, NULL },
{ "Next", (getter)Crossfire_Region_GetNext, NULL, NULL, NULL },
{ "JailX", (getter)Crossfire_Region_GetJailX, NULL, NULL, NULL },
{ "JailY", (getter)Crossfire_Region_GetJailY, NULL, NULL, NULL },
{ "JailPath", (getter)Crossfire_Region_GetJailPath, NULL, NULL, NULL },
{ NULL, NULL, NULL, NULL, NULL }
}
static PyObject * Crossfire_Region_GetJailPath(Crossfire_Region *regionptr, void *closure)
static PyObject * Crossfire_Region_GetName(Crossfire_Region *regionptr, void *closure)
static PyObject * Crossfire_Region_GetNext(Crossfire_Region *party, void *closure)
static PyObject * Crossfire_Region_GetMessage(Crossfire_Region *regionptr, void *closure)
static PyObject * Crossfire_Region_GetJailX(Crossfire_Region *regionptr, void *closure)
static PyObject * Crossfire_Region_GetLongname(Crossfire_Region *regionptr, void *closure)
static PyObject * Crossfire_Region_GetJailY(Crossfire_Region *regionptr, void *closure)

Definition at line 117 of file cfpython_region.c.

PyMethodDef RegionMethods[]
static
Initial value:
= {
{ "GetParent", (PyCFunction)Crossfire_Region_GetParent, METH_NOARGS, NULL },
{ NULL, NULL, 0, NULL }
}
static PyObject * Crossfire_Region_GetParent(Crossfire_Region *party, PyObject *args)

Definition at line 128 of file cfpython_region.c.