[c++] serverinfo.py din sursa binary

  • Autor subiect #TrC
  • Dată creare
  • Răspunsuri: Răspunsuri 27
  • Vizualizări: Vizualizări 3K

#TrC

Fondator
Membru personal
11 Oct 2017
7.557
6.752
113
Monede Dragon
94
Cauta in PythonNetworkStreamModule.cpp
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: