feat: integrate native AVA2 battle pass, wiki, drop finder and calendar

This commit is contained in:
shen
2026-10-18 23:36:35 -07:00
parent 62b61bafd0
commit 1359eab806
44 changed files with 7237 additions and 190 deletions
@@ -1732,10 +1732,17 @@ PyObject* netRegisterErrorLog(PyObject* poSelf, PyObject* poArgs)
return Py_BuildNone();
}
static PyObject* netSendAva2DropQuery(PyObject*,PyObject* args) {
int sub,vnum;
if (!PyTuple_GetInteger(args,0,&sub) || !PyTuple_GetInteger(args,1,&vnum))return Py_BadArgument();
return PyInt_FromLong(CPythonNetworkStream::Instance().SendAva2DropQuery(BYTE(sub),vnum));
}
void initnet()
{
static PyMethodDef s_methods[] =
{
{"SendAva2DropQuery",netSendAva2DropQuery,METH_VARARGS},
{ "GetBettingGuildWarValue", netGetBettingGuildWarValue, METH_VARARGS },
{ "EnableChatInsultFilter", netEnableChatInsultFilter, METH_VARARGS },
{ "SetServerInfo", netSetServerInfo, METH_VARARGS },