Go to the documentation of this file.
84 return (PyObject *)wrapper;
88 return (left->
reg < right->
reg ? -1 : (left->
reg == right->
reg ? 0 : 1));
97 Py_INCREF(Py_NotImplemented);
98 return Py_NotImplemented;
122 return PyBool_FromLong(
result);
133 { NULL, NULL, NULL, NULL, NULL }
138 { NULL, NULL, 0, NULL }
145 PyObject_HashNotImplemented,
146 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
int cf_region_get_jail_y(region *reg)
static PyObject * Crossfire_Region_GetJailPath(Crossfire_Region *regionptr, void *closure)
static PyObject * Crossfire_Region_GetJailY(Crossfire_Region *regionptr, void *closure)
const char * cf_region_get_jail_path(region *reg)
static PyObject * Crossfire_Region_GetParent(Crossfire_Region *party, PyObject *args)
static PyObject * Crossfire_Region_GetLongname(Crossfire_Region *regionptr, void *closure)
static int Crossfire_Region_InternalCompare(Crossfire_Region *left, Crossfire_Region *right)
region * cf_region_get_next(region *reg)
static PyObject * Crossfire_Region_GetJailX(Crossfire_Region *regionptr, void *closure)
region * cf_region_get_parent(region *reg)
static PyObject * Crossfire_Region_GetName(Crossfire_Region *regionptr, void *closure)
static PyObject * Crossfire_Region_GetMessage(Crossfire_Region *regionptr, void *closure)
static PyObject * Crossfire_Region_RichCompare(Crossfire_Region *left, Crossfire_Region *right, int op)
const char * cf_region_get_longname(region *reg)
static PyGetSetDef Region_getseters[]
static PyMethodDef RegionMethods[]
PyObject * Crossfire_Region_wrap(region *what)
const char * cf_region_get_message(region *reg)
int cf_region_get_jail_x(region *reg)
const char * cf_region_get_name(region *reg)
static PyObject * Crossfire_Region_GetNext(Crossfire_Region *party, void *closure)
PyTypeObject Crossfire_RegionType
PyObject_HEAD region * reg
CF_PYTHON_OBJECT(Region, NULL, NULL, PyObject_HashNotImplemented, Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, "Crossfire regions",(richcmpfunc) Crossfire_Region_RichCompare, RegionMethods, Region_getseters, NULL, NULL)