Cauta in PythonNetworkStreamModule.cpp
Adauga:
cauta:
adauga:
Exemplu serverinfo.py:
Cod:
PyObject* netGetBettingGuildWarValue(PyObject* poSelf, PyObject* poArgs)
{
char* szName;
if (!PyTuple_GetString(poArgs, 0, &szName))
return Py_BuildException();
CPythonNetworkStream& rkNetStream=CPythonNetworkStream::Instance();
return Py_BuildValue("i", rkNetStream.EXPORT_GetBettingGuildWarValue(szName));
}
Adauga:
You must click 'Like' before you can see the hidden data contained here
cauta:
Cod:
{ "SendOnClickPacket", netOnClickPacket, METH_VARARGS },
adauga:
Cod:
{ "GetServer_IPNAME", netGetServer_IPNAME, METH_VARARGS },
{ "GetServer_PORT", netGetServer_PORT, METH_VARARGS
Exemplu serverinfo.py: