Jump to content

Sanchez

Premium
  • Posts

    576
  • Joined

  • Days Won

    43
  • Feedback

    0%

Posts posted by Sanchez

  1. You can easily call a function from binary:

    PyCallClassMemberFunc(m_apoPhaseWnd[PHASE_WINDOW_GAME], "UpdateRK", Py_BuildValue("(i)", 15));

    UpdateRK - Name of your event
    (i)The Py_BuildValue() Function
    15 - Value what you want to push (Sure you can use variables too)
     
    Example with a variable:

    int pushThis = 15;
    PyCallClassMemberFunc(m_apoPhaseWnd[PHASE_WINDOW_GAME], "UpdateRK", Py_BuildValue("(i)", pushThis));
    • Love 1
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.