feat: integrate native AVA2 battle pass, wiki, drop finder and calendar
This commit is contained in:
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user