feat: add AVA2 64-bit gold protocol and client formatting
This commit is contained in:
@@ -621,7 +621,12 @@ PyObject * playerSetStatus(PyObject* poSelf, PyObject* poArgs)
|
||||
|
||||
PyObject * playerGetElk(PyObject* poSelf, PyObject* poArgs)
|
||||
{
|
||||
return Py_BuildValue("i", CPythonPlayer::Instance().GetStatus(POINT_GOLD));
|
||||
return PyLong_FromLongLong(CPythonPlayer::Instance().GetGold64());
|
||||
}
|
||||
|
||||
PyObject * playerGetGold64(PyObject* poSelf, PyObject* poArgs)
|
||||
{
|
||||
return PyLong_FromLongLong(CPythonPlayer::Instance().GetGold64());
|
||||
}
|
||||
|
||||
PyObject * playerGetGuildID(PyObject* poSelf, PyObject* poArgs)
|
||||
@@ -2410,6 +2415,7 @@ void initPlayer()
|
||||
{ "SetStatus", playerSetStatus, METH_VARARGS },
|
||||
{ "GetElk", playerGetElk, METH_VARARGS },
|
||||
{ "GetMoney", playerGetElk, METH_VARARGS },
|
||||
{ "GetGold64", playerGetGold64, METH_VARARGS },
|
||||
{ "GetGuildID", playerGetGuildID, METH_VARARGS },
|
||||
{ "GetGuildName", playerGetGuildName, METH_VARARGS },
|
||||
{ "GetAlignmentData", playerGetAlignmentData, METH_VARARGS },
|
||||
|
||||
Reference in New Issue
Block a user