noisiv 1
noisiv
Manwe Work 1
Manwe Work
mavzermete 1
mavzermete
kralhakan2009 1
kralhakan2009
Bodyguardd 1
Bodyguardd
Vahsi Uzman 1
Vahsi Uzman
Hikaye Ekle
Kaynak ikonu

18.2 Catch King Event Full 1

indirmek için izniniz yok
i already added this

Kod:
PyObject * wndMgrSetSlotID(PyObject * poSelf, PyObject * poArgs)
{
    UI::CWindow * pWin;
    if (!PyTuple_GetWindow(poArgs, 0, &pWin))
        return Py_BuildException();

    int iSlotIndex;
    if (!PyTuple_GetInteger(poArgs, 1, &iSlotIndex))
        return Py_BuildException();

    int id;
    if (!PyTuple_GetInteger(poArgs, 2, &id))
        return Py_BuildException();

    if (!pWin->IsType(UI::CSlotWindow::Type()))
        return Py_BuildException();

    UI::CSlotWindow * pSlotWin = (UI::CSlotWindow *)pWin;
    pSlotWin->SetSlotID(iSlotIndex, id);

    return Py_BuildNone();
}

but it says
Kod:
 SetSlotID': is not a member of 'UI::CSlotWindow'
Ohh god you should write this into pythonslotwindow.h
void SetSlotID(DWORD dwIndex, DWORD dwID);
 

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst