forked from metin-server/m2dev-client-src
@@ -1147,7 +1147,7 @@ bool CInstanceBase::RegisterEffect(UINT eEftType, const char* c_szEftAttachBone,
|
||||
|
||||
void CInstanceBase::RegisterTitleName(int iIndex, const char * c_szTitleName)
|
||||
{
|
||||
g_TitleNameMap.insert(std::make_pair(iIndex, c_szTitleName));
|
||||
g_TitleNameMap[iIndex] = c_szTitleName;
|
||||
}
|
||||
|
||||
D3DXCOLOR __RGBToD3DXColoru(UINT r, UINT g, UINT b)
|
||||
|
||||
@@ -33,6 +33,12 @@ PyObject * chrmgrRegisterTitleName(PyObject* poSelf, PyObject* poArgs)
|
||||
return Py_BuildNone();
|
||||
}
|
||||
|
||||
PyObject * chrmgrRefreshAllPCTextTail(PyObject* poSelf, PyObject* poArgs)
|
||||
{
|
||||
CPythonCharacterManager::Instance().RefreshAllPCTextTail();
|
||||
return Py_BuildNone();
|
||||
}
|
||||
|
||||
PyObject * chrmgrRegisterNameColor(PyObject* poSelf, PyObject* poArgs)
|
||||
{
|
||||
int index;
|
||||
@@ -756,6 +762,7 @@ void initchrmgr()
|
||||
{ "SetHorseDustGap", chrmgrSetHorseDustGap, METH_VARARGS },
|
||||
|
||||
{ "RegisterTitleName", chrmgrRegisterTitleName, METH_VARARGS },
|
||||
{ "RefreshAllPCTextTail", chrmgrRefreshAllPCTextTail, METH_VARARGS },
|
||||
{ "RegisterNameColor", chrmgrRegisterNameColor, METH_VARARGS },
|
||||
{ "RegisterTitleColor", chrmgrRegisterTitleColor, METH_VARARGS },
|
||||
|
||||
|
||||
Reference in New Issue
Block a user