port 2V2-c: chrmgr/chr modules + race registration chain
PythonCharacterManagerModule/PythonCharacterModule ported verbatim; the 2V0 chr/chrmgr stubs are gone and initchr/initchrmgr run in 40250 order. The registration chain they need (RaceData/RaceDataFile/RaceManager/ RaceMotionData, GameType, AttributeData/AttributeInstance, TextFileLoader, Util, Camera/CameraProcedure) is ported; CRaceManager is created in PythonBoot. port.login_flow asserts race 0 has its wait motions and no unhandled packet header; port.login_live 8/8 against 192.168.21.203. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
62b6e23bfc
commit
996d793f0c
@@ -7,8 +7,6 @@
|
||||
// GameplayModuleConstants.cpp: each module's 40250 constants.
|
||||
void AddStubConstants_ServerStateChecker(PyObject* poModule);
|
||||
void AddStubConstants_background(PyObject* poModule);
|
||||
void AddStubConstants_chr(PyObject* poModule);
|
||||
void AddStubConstants_chrmgr(PyObject* poModule);
|
||||
void AddStubConstants_effect(PyObject* poModule);
|
||||
void AddStubConstants_event(PyObject* poModule);
|
||||
void AddStubConstants_eventMgr(PyObject* poModule);
|
||||
@@ -153,244 +151,6 @@ PyMethodDef methods_background[] = {
|
||||
{ "WarpTest", stub_background_WarpTest, METH_VARARGS },
|
||||
{ NULL, NULL }
|
||||
};
|
||||
// 40250 UserInterface/PythonCharacterModule.cpp: chr export names.
|
||||
PyObject* stub_chr_DismountHorse(PyObject*, PyObject*) { return stub_call_named("chr.DismountHorse", Py_BuildNone()); }
|
||||
PyObject* stub_chr_MountHorse(PyObject*, PyObject*) { return stub_call_named("chr.MountHorse", Py_BuildNone()); }
|
||||
PyObject* stub_chr_Destroy(PyObject*, PyObject*) { return stub_call_named("chr.Destroy", Py_BuildNone()); }
|
||||
PyObject* stub_chr_Update(PyObject*, PyObject*) { return stub_call_named("chr.Update", Py_BuildNone()); }
|
||||
PyObject* stub_chr_Deform(PyObject*, PyObject*) { return stub_call_named("chr.Deform", Py_BuildNone()); }
|
||||
PyObject* stub_chr_Render(PyObject*, PyObject*) { return stub_call_named("chr.Render", Py_BuildNone()); }
|
||||
PyObject* stub_chr_RenderCollision(PyObject*, PyObject*) { return stub_call_named("chr.RenderCollision", Py_BuildNone()); }
|
||||
PyObject* stub_chr_CreateInstance(PyObject*, PyObject*) { return stub_call_named("chr.CreateInstance", Py_BuildNone()); }
|
||||
PyObject* stub_chr_DeleteInstance(PyObject*, PyObject*) { return stub_call_named("chr.DeleteInstance", Py_BuildNone()); }
|
||||
PyObject* stub_chr_DeleteInstanceByFade(PyObject*, PyObject*) { return stub_call_named("chr.DeleteInstanceByFade", Py_BuildNone()); }
|
||||
PyObject* stub_chr_SelectInstance(PyObject*, PyObject*) { return stub_call_named("chr.SelectInstance", Py_BuildNone()); }
|
||||
PyObject* stub_chr_HasInstance(PyObject*, PyObject*) { return stub_call_named("chr.HasInstance", Py_BuildValue("i", 0)); }
|
||||
PyObject* stub_chr_IsEnemy(PyObject*, PyObject*) { return stub_call_named("chr.IsEnemy", Py_BuildValue("i", 0)); }
|
||||
PyObject* stub_chr_IsNPC(PyObject*, PyObject*) { return stub_call_named("chr.IsNPC", Py_BuildValue("i", 0)); }
|
||||
PyObject* stub_chr_IsGameMaster(PyObject*, PyObject*) { return stub_call_named("chr.IsGameMaster", Py_BuildValue("i", 0)); }
|
||||
PyObject* stub_chr_IsPartyMember(PyObject*, PyObject*) { return stub_call_named("chr.IsPartyMember", Py_BuildValue("i", 0)); }
|
||||
PyObject* stub_chr_Select(PyObject*, PyObject*) { return stub_call_named("chr.Select", Py_BuildNone()); }
|
||||
PyObject* stub_chr_SetAddRenderMode(PyObject*, PyObject*) { return stub_call_named("chr.SetAddRenderMode", Py_BuildNone()); }
|
||||
PyObject* stub_chr_SetBlendRenderMode(PyObject*, PyObject*) { return stub_call_named("chr.SetBlendRenderMode", Py_BuildNone()); }
|
||||
PyObject* stub_chr_Unselect(PyObject*, PyObject*) { return stub_call_named("chr.Unselect", Py_BuildNone()); }
|
||||
PyObject* stub_chr_Hide(PyObject*, PyObject*) { return stub_call_named("chr.Hide", Py_BuildNone()); }
|
||||
PyObject* stub_chr_Show(PyObject*, PyObject*) { return stub_call_named("chr.Show", Py_BuildNone()); }
|
||||
PyObject* stub_chr_Pick(PyObject*, PyObject*) { return stub_call_named("chr.Pick", Py_BuildValue("i", 0)); }
|
||||
PyObject* stub_chr_PickAll(PyObject*, PyObject*) { return stub_call_named("chr.PickAll", Py_BuildValue("i", 0)); }
|
||||
PyObject* stub_chr_SetArmor(PyObject*, PyObject*) { return stub_call_named("chr.SetArmor", Py_BuildNone()); }
|
||||
PyObject* stub_chr_SetWeapon(PyObject*, PyObject*) { return stub_call_named("chr.SetWeapon", Py_BuildNone()); }
|
||||
PyObject* stub_chr_ChangeShape(PyObject*, PyObject*) { return stub_call_named("chr.ChangeShape", Py_BuildNone()); }
|
||||
PyObject* stub_chr_SetRace(PyObject*, PyObject*) { return stub_call_named("chr.SetRace", Py_BuildNone()); }
|
||||
PyObject* stub_chr_SetHair(PyObject*, PyObject*) { return stub_call_named("chr.SetHair", Py_BuildNone()); }
|
||||
PyObject* stub_chr_ChangeHair(PyObject*, PyObject*) { return stub_call_named("chr.ChangeHair", Py_BuildNone()); }
|
||||
PyObject* stub_chr_SetVirtualID(PyObject*, PyObject*) { return stub_call_named("chr.SetVirtualID", Py_BuildNone()); }
|
||||
PyObject* stub_chr_SetNameString(PyObject*, PyObject*) { return stub_call_named("chr.SetNameString", Py_BuildNone()); }
|
||||
PyObject* stub_chr_SetInstanceType(PyObject*, PyObject*) { return stub_call_named("chr.SetInstanceType", Py_BuildNone()); }
|
||||
PyObject* stub_chr_SetPixelPosition(PyObject*, PyObject*) { return stub_call_named("chr.SetPixelPosition", Py_BuildNone()); }
|
||||
PyObject* stub_chr_SetDirection(PyObject*, PyObject*) { return stub_call_named("chr.SetDirection", Py_BuildNone()); }
|
||||
PyObject* stub_chr_Refresh(PyObject*, PyObject*) { return stub_call_named("chr.Refresh", Py_BuildNone()); }
|
||||
PyObject* stub_chr_Revive(PyObject*, PyObject*) { return stub_call_named("chr.Revive", Py_BuildNone()); }
|
||||
PyObject* stub_chr_Die(PyObject*, PyObject*) { return stub_call_named("chr.Die", Py_BuildNone()); }
|
||||
PyObject* stub_chr_AttachEffectByID(PyObject*, PyObject*) { return stub_call_named("chr.AttachEffectByID", Py_BuildNone()); }
|
||||
PyObject* stub_chr_AttachEffectByName(PyObject*, PyObject*) { return stub_call_named("chr.AttachEffectByName", Py_BuildNone()); }
|
||||
PyObject* stub_chr_LookAt(PyObject*, PyObject*) { return stub_call_named("chr.LookAt", Py_BuildNone()); }
|
||||
PyObject* stub_chr_SetMotionMode(PyObject*, PyObject*) { return stub_call_named("chr.SetMotionMode", Py_BuildNone()); }
|
||||
PyObject* stub_chr_SetLoopMotion(PyObject*, PyObject*) { return stub_call_named("chr.SetLoopMotion", Py_BuildNone()); }
|
||||
PyObject* stub_chr_BlendLoopMotion(PyObject*, PyObject*) { return stub_call_named("chr.BlendLoopMotion", Py_BuildNone()); }
|
||||
PyObject* stub_chr_PushOnceMotion(PyObject*, PyObject*) { return stub_call_named("chr.PushOnceMotion", Py_BuildNone()); }
|
||||
PyObject* stub_chr_PushLoopMotion(PyObject*, PyObject*) { return stub_call_named("chr.PushLoopMotion", Py_BuildNone()); }
|
||||
PyObject* stub_chr_GetPixelPosition(PyObject*, PyObject*) { return stub_call_named("chr.GetPixelPosition", Py_BuildValue("fff", 0.0, 0.0, 0.0)); }
|
||||
PyObject* stub_chr_SetRotation(PyObject*, PyObject*) { return stub_call_named("chr.SetRotation", Py_BuildNone()); }
|
||||
PyObject* stub_chr_SetRotationAll(PyObject*, PyObject*) { return stub_call_named("chr.SetRotationAll", Py_BuildNone()); }
|
||||
PyObject* stub_chr_BlendRotation(PyObject*, PyObject*) { return stub_call_named("chr.BlendRotation", Py_BuildNone()); }
|
||||
PyObject* stub_chr_GetRotation(PyObject*, PyObject*) { return stub_call_named("chr.GetRotation", Py_BuildValue("f", 0.0)); }
|
||||
PyObject* stub_chr_GetRace(PyObject*, PyObject*) { return stub_call_named("chr.GetRace", Py_BuildValue("i", 0)); }
|
||||
PyObject* stub_chr_GetName(PyObject*, PyObject*) { return stub_call_named("chr.GetName", Py_BuildValue("s", "")); }
|
||||
PyObject* stub_chr_GetNameByVID(PyObject*, PyObject*) { return stub_call_named("chr.GetNameByVID", Py_BuildValue("s", "")); }
|
||||
PyObject* stub_chr_GetGuildID(PyObject*, PyObject*) { return stub_call_named("chr.GetGuildID", Py_BuildValue("i", 0)); }
|
||||
PyObject* stub_chr_GetProjectPosition(PyObject*, PyObject*) { return stub_call_named("chr.GetProjectPosition", Py_BuildValue("ii", 0, 0)); }
|
||||
PyObject* stub_chr_GetVirtualNumber(PyObject*, PyObject*) { return stub_call_named("chr.GetVirtualNumber", Py_BuildValue("i", 0)); }
|
||||
PyObject* stub_chr_GetInstanceType(PyObject*, PyObject*) { return stub_call_named("chr.GetInstanceType", Py_BuildValue("i", 0)); }
|
||||
PyObject* stub_chr_GetBoundBoxOnlyXY(PyObject*, PyObject*) { return stub_call_named("chr.GetBoundBoxOnlyXY", Py_BuildValue("ffff", 0.0, 0.0, 0.0, 0.0)); }
|
||||
PyObject* stub_chr_RaceToJob(PyObject*, PyObject*) { return stub_call_named("chr.RaceToJob", Py_BuildValue("i", 0)); }
|
||||
PyObject* stub_chr_RaceToSex(PyObject*, PyObject*) { return stub_call_named("chr.RaceToSex", Py_BuildValue("i", 0)); }
|
||||
PyObject* stub_chr_testGetPKData(PyObject*, PyObject*) { return stub_call_named("chr.testGetPKData", Py_BuildValue("ii", 0, 0)); }
|
||||
PyObject* stub_chr_FaintTest(PyObject*, PyObject*) { return stub_call_named("chr.FaintTest", Py_BuildNone()); }
|
||||
PyObject* stub_chr_SetMoveSpeed(PyObject*, PyObject*) { return stub_call_named("chr.SetMoveSpeed", Py_BuildNone()); }
|
||||
PyObject* stub_chr_SetAttackSpeed(PyObject*, PyObject*) { return stub_call_named("chr.SetAttackSpeed", Py_BuildNone()); }
|
||||
PyObject* stub_chr_WeaponTraceSetTexture(PyObject*, PyObject*) { return stub_call_named("chr.WeaponTraceSetTexture", Py_BuildNone()); }
|
||||
PyObject* stub_chr_WeaponTraceUseAlpha(PyObject*, PyObject*) { return stub_call_named("chr.WeaponTraceUseAlpha", Py_BuildNone()); }
|
||||
PyObject* stub_chr_WeaponTraceUseTexture(PyObject*, PyObject*) { return stub_call_named("chr.WeaponTraceUseTexture", Py_BuildNone()); }
|
||||
PyObject* stub_chr_MoveToDestPosition(PyObject*, PyObject*) { return stub_call_named("chr.MoveToDestPosition", Py_BuildNone()); }
|
||||
PyObject* stub_chr_testSetComboType(PyObject*, PyObject*) { return stub_call_named("chr.testSetComboType", Py_BuildNone()); }
|
||||
PyObject* stub_chr_testSetAddRenderMode(PyObject*, PyObject*) { return stub_call_named("chr.testSetAddRenderMode", Py_BuildNone()); }
|
||||
PyObject* stub_chr_testSetModulateRenderMode(PyObject*, PyObject*) { return stub_call_named("chr.testSetModulateRenderMode", Py_BuildNone()); }
|
||||
PyObject* stub_chr_testSetAddRenderModeRGB(PyObject*, PyObject*) { return stub_call_named("chr.testSetAddRenderModeRGB", Py_BuildNone()); }
|
||||
PyObject* stub_chr_testSetModulateRenderModeRGB(PyObject*, PyObject*) { return stub_call_named("chr.testSetModulateRenderModeRGB", Py_BuildNone()); }
|
||||
PyObject* stub_chr_testSetSpecularRenderMode(PyObject*, PyObject*) { return stub_call_named("chr.testSetSpecularRenderMode", Py_BuildNone()); }
|
||||
PyObject* stub_chr_testSetSpecularRenderMode2(PyObject*, PyObject*) { return stub_call_named("chr.testSetSpecularRenderMode2", Py_BuildNone()); }
|
||||
PyObject* stub_chr_testRestoreRenderMode(PyObject*, PyObject*) { return stub_call_named("chr.testRestoreRenderMode", Py_BuildNone()); }
|
||||
PyObject* stub_chr_testSetRideMan(PyObject*, PyObject*) { return stub_call_named("chr.testSetRideMan", Py_BuildNone()); }
|
||||
PyMethodDef methods_chr[] = {
|
||||
{ "DismountHorse", stub_chr_DismountHorse, METH_VARARGS },
|
||||
{ "MountHorse", stub_chr_MountHorse, METH_VARARGS },
|
||||
{ "Destroy", stub_chr_Destroy, METH_VARARGS },
|
||||
{ "Update", stub_chr_Update, METH_VARARGS },
|
||||
{ "Deform", stub_chr_Deform, METH_VARARGS },
|
||||
{ "Render", stub_chr_Render, METH_VARARGS },
|
||||
{ "RenderCollision", stub_chr_RenderCollision, METH_VARARGS },
|
||||
{ "CreateInstance", stub_chr_CreateInstance, METH_VARARGS },
|
||||
{ "DeleteInstance", stub_chr_DeleteInstance, METH_VARARGS },
|
||||
{ "DeleteInstanceByFade", stub_chr_DeleteInstanceByFade, METH_VARARGS },
|
||||
{ "SelectInstance", stub_chr_SelectInstance, METH_VARARGS },
|
||||
{ "HasInstance", stub_chr_HasInstance, METH_VARARGS },
|
||||
{ "IsEnemy", stub_chr_IsEnemy, METH_VARARGS },
|
||||
{ "IsNPC", stub_chr_IsNPC, METH_VARARGS },
|
||||
{ "IsGameMaster", stub_chr_IsGameMaster, METH_VARARGS },
|
||||
{ "IsPartyMember", stub_chr_IsPartyMember, METH_VARARGS },
|
||||
{ "Select", stub_chr_Select, METH_VARARGS },
|
||||
{ "SetAddRenderMode", stub_chr_SetAddRenderMode, METH_VARARGS },
|
||||
{ "SetBlendRenderMode", stub_chr_SetBlendRenderMode, METH_VARARGS },
|
||||
{ "Unselect", stub_chr_Unselect, METH_VARARGS },
|
||||
{ "Hide", stub_chr_Hide, METH_VARARGS },
|
||||
{ "Show", stub_chr_Show, METH_VARARGS },
|
||||
{ "Pick", stub_chr_Pick, METH_VARARGS },
|
||||
{ "PickAll", stub_chr_PickAll, METH_VARARGS },
|
||||
{ "SetArmor", stub_chr_SetArmor, METH_VARARGS },
|
||||
{ "SetWeapon", stub_chr_SetWeapon, METH_VARARGS },
|
||||
{ "ChangeShape", stub_chr_ChangeShape, METH_VARARGS },
|
||||
{ "SetRace", stub_chr_SetRace, METH_VARARGS },
|
||||
{ "SetHair", stub_chr_SetHair, METH_VARARGS },
|
||||
{ "ChangeHair", stub_chr_ChangeHair, METH_VARARGS },
|
||||
{ "SetVirtualID", stub_chr_SetVirtualID, METH_VARARGS },
|
||||
{ "SetNameString", stub_chr_SetNameString, METH_VARARGS },
|
||||
{ "SetInstanceType", stub_chr_SetInstanceType, METH_VARARGS },
|
||||
{ "SetPixelPosition", stub_chr_SetPixelPosition, METH_VARARGS },
|
||||
{ "SetDirection", stub_chr_SetDirection, METH_VARARGS },
|
||||
{ "Refresh", stub_chr_Refresh, METH_VARARGS },
|
||||
{ "Revive", stub_chr_Revive, METH_VARARGS },
|
||||
{ "Die", stub_chr_Die, METH_VARARGS },
|
||||
{ "AttachEffectByID", stub_chr_AttachEffectByID, METH_VARARGS },
|
||||
{ "AttachEffectByName", stub_chr_AttachEffectByName, METH_VARARGS },
|
||||
{ "LookAt", stub_chr_LookAt, METH_VARARGS },
|
||||
{ "SetMotionMode", stub_chr_SetMotionMode, METH_VARARGS },
|
||||
{ "SetLoopMotion", stub_chr_SetLoopMotion, METH_VARARGS },
|
||||
{ "BlendLoopMotion", stub_chr_BlendLoopMotion, METH_VARARGS },
|
||||
{ "PushOnceMotion", stub_chr_PushOnceMotion, METH_VARARGS },
|
||||
{ "PushLoopMotion", stub_chr_PushLoopMotion, METH_VARARGS },
|
||||
{ "GetPixelPosition", stub_chr_GetPixelPosition, METH_VARARGS },
|
||||
{ "SetRotation", stub_chr_SetRotation, METH_VARARGS },
|
||||
{ "SetRotationAll", stub_chr_SetRotationAll, METH_VARARGS },
|
||||
{ "BlendRotation", stub_chr_BlendRotation, METH_VARARGS },
|
||||
{ "GetRotation", stub_chr_GetRotation, METH_VARARGS },
|
||||
{ "GetRace", stub_chr_GetRace, METH_VARARGS },
|
||||
{ "GetName", stub_chr_GetName, METH_VARARGS },
|
||||
{ "GetNameByVID", stub_chr_GetNameByVID, METH_VARARGS },
|
||||
{ "GetGuildID", stub_chr_GetGuildID, METH_VARARGS },
|
||||
{ "GetProjectPosition", stub_chr_GetProjectPosition, METH_VARARGS },
|
||||
{ "GetVirtualNumber", stub_chr_GetVirtualNumber, METH_VARARGS },
|
||||
{ "GetInstanceType", stub_chr_GetInstanceType, METH_VARARGS },
|
||||
{ "GetBoundBoxOnlyXY", stub_chr_GetBoundBoxOnlyXY, METH_VARARGS },
|
||||
{ "RaceToJob", stub_chr_RaceToJob, METH_VARARGS },
|
||||
{ "RaceToSex", stub_chr_RaceToSex, METH_VARARGS },
|
||||
{ "testGetPKData", stub_chr_testGetPKData, METH_VARARGS },
|
||||
{ "FaintTest", stub_chr_FaintTest, METH_VARARGS },
|
||||
{ "SetMoveSpeed", stub_chr_SetMoveSpeed, METH_VARARGS },
|
||||
{ "SetAttackSpeed", stub_chr_SetAttackSpeed, METH_VARARGS },
|
||||
{ "WeaponTraceSetTexture", stub_chr_WeaponTraceSetTexture, METH_VARARGS },
|
||||
{ "WeaponTraceUseAlpha", stub_chr_WeaponTraceUseAlpha, METH_VARARGS },
|
||||
{ "WeaponTraceUseTexture", stub_chr_WeaponTraceUseTexture, METH_VARARGS },
|
||||
{ "MoveToDestPosition", stub_chr_MoveToDestPosition, METH_VARARGS },
|
||||
{ "testSetComboType", stub_chr_testSetComboType, METH_VARARGS },
|
||||
{ "testSetAddRenderMode", stub_chr_testSetAddRenderMode, METH_VARARGS },
|
||||
{ "testSetModulateRenderMode", stub_chr_testSetModulateRenderMode, METH_VARARGS },
|
||||
{ "testSetAddRenderModeRGB", stub_chr_testSetAddRenderModeRGB, METH_VARARGS },
|
||||
{ "testSetModulateRenderModeRGB", stub_chr_testSetModulateRenderModeRGB, METH_VARARGS },
|
||||
{ "testSetSpecularRenderMode", stub_chr_testSetSpecularRenderMode, METH_VARARGS },
|
||||
{ "testSetSpecularRenderMode2", stub_chr_testSetSpecularRenderMode2, METH_VARARGS },
|
||||
{ "testRestoreRenderMode", stub_chr_testRestoreRenderMode, METH_VARARGS },
|
||||
{ "testSetRideMan", stub_chr_testSetRideMan, METH_VARARGS },
|
||||
{ NULL, NULL }
|
||||
};
|
||||
// 40250 UserInterface/PythonCharacterManagerModule.cpp: chrmgr export names.
|
||||
PyObject* stub_chrmgr_SetEmpireNameMode(PyObject*, PyObject*) { return stub_call_named("chrmgr.SetEmpireNameMode", Py_BuildNone()); }
|
||||
PyObject* stub_chrmgr_GetVIDInfo(PyObject*, PyObject*) { return stub_call_named("chrmgr.GetVIDInfo", Py_BuildValue("s", "")); }
|
||||
PyObject* stub_chrmgr_GetPickedVID(PyObject*, PyObject*) { return stub_call_named("chrmgr.GetPickedVID", Py_BuildValue("i", 0)); }
|
||||
PyObject* stub_chrmgr_SetShapeModel(PyObject*, PyObject*) { return stub_call_named("chrmgr.SetShapeModel", Py_BuildNone()); }
|
||||
PyObject* stub_chrmgr_AppendShapeSkin(PyObject*, PyObject*) { return stub_call_named("chrmgr.AppendShapeSkin", Py_BuildNone()); }
|
||||
PyObject* stub_chrmgr_SetPathName(PyObject*, PyObject*) { return stub_call_named("chrmgr.SetPathName", Py_BuildNone()); }
|
||||
PyObject* stub_chrmgr_LoadRaceData(PyObject*, PyObject*) { return stub_call_named("chrmgr.LoadRaceData", Py_BuildNone()); }
|
||||
PyObject* stub_chrmgr_LoadLocalRaceData(PyObject*, PyObject*) { return stub_call_named("chrmgr.LoadLocalRaceData", Py_BuildNone()); }
|
||||
PyObject* stub_chrmgr_CreateRace(PyObject*, PyObject*) { return stub_call_named("chrmgr.CreateRace", Py_BuildNone()); }
|
||||
PyObject* stub_chrmgr_SelectRace(PyObject*, PyObject*) { return stub_call_named("chrmgr.SelectRace", Py_BuildNone()); }
|
||||
PyObject* stub_chrmgr_RegisterAttachingBoneName(PyObject*, PyObject*) { return stub_call_named("chrmgr.RegisterAttachingBoneName", Py_BuildNone()); }
|
||||
PyObject* stub_chrmgr_RegisterMotionMode(PyObject*, PyObject*) { return stub_call_named("chrmgr.RegisterMotionMode", Py_BuildNone()); }
|
||||
PyObject* stub_chrmgr_RegisterMotion(PyObject*, PyObject*) { return stub_call_named("chrmgr.RegisterMotion", Py_BuildNone()); }
|
||||
PyObject* stub_chrmgr_SetMotionRandomWeight(PyObject*, PyObject*) { return stub_call_named("chrmgr.SetMotionRandomWeight", Py_BuildNone()); }
|
||||
PyObject* stub_chrmgr_RegisterNormalAttack(PyObject*, PyObject*) { return stub_call_named("chrmgr.RegisterNormalAttack", Py_BuildNone()); }
|
||||
PyObject* stub_chrmgr_ReserveComboAttack(PyObject*, PyObject*) { return stub_call_named("chrmgr.ReserveComboAttack", Py_BuildNone()); }
|
||||
PyObject* stub_chrmgr_RegisterComboAttack(PyObject*, PyObject*) { return stub_call_named("chrmgr.RegisterComboAttack", Py_BuildNone()); }
|
||||
PyObject* stub_chrmgr_ReserveComboAttackNew(PyObject*, PyObject*) { return stub_call_named("chrmgr.ReserveComboAttackNew", Py_BuildNone()); }
|
||||
PyObject* stub_chrmgr_RegisterComboAttackNew(PyObject*, PyObject*) { return stub_call_named("chrmgr.RegisterComboAttackNew", Py_BuildNone()); }
|
||||
PyObject* stub_chrmgr_RegisterMotionData(PyObject*, PyObject*) { return stub_call_named("chrmgr.RegisterMotionData", Py_BuildNone()); }
|
||||
PyObject* stub_chrmgr_RegisterRaceName(PyObject*, PyObject*) { return stub_call_named("chrmgr.RegisterRaceName", Py_BuildNone()); }
|
||||
PyObject* stub_chrmgr_RegisterRaceSrcName(PyObject*, PyObject*) { return stub_call_named("chrmgr.RegisterRaceSrcName", Py_BuildNone()); }
|
||||
PyObject* stub_chrmgr_RegisterCacheMotionData(PyObject*, PyObject*) { return stub_call_named("chrmgr.RegisterCacheMotionData", Py_BuildNone()); }
|
||||
PyObject* stub_chrmgr_SetAffect(PyObject*, PyObject*) { return stub_call_named("chrmgr.SetAffect", Py_BuildNone()); }
|
||||
PyObject* stub_chrmgr_SetEmoticon(PyObject*, PyObject*) { return stub_call_named("chrmgr.SetEmoticon", Py_BuildNone()); }
|
||||
PyObject* stub_chrmgr_IsPossibleEmoticon(PyObject*, PyObject*) { return stub_call_named("chrmgr.IsPossibleEmoticon", Py_BuildValue("i", 0)); }
|
||||
PyObject* stub_chrmgr_RegisterEffect(PyObject*, PyObject*) { return stub_call_named("chrmgr.RegisterEffect", Py_BuildNone()); }
|
||||
PyObject* stub_chrmgr_RegisterCacheEffect(PyObject*, PyObject*) { return stub_call_named("chrmgr.RegisterCacheEffect", Py_BuildNone()); }
|
||||
PyObject* stub_chrmgr_RegisterPointEffect(PyObject*, PyObject*) { return stub_call_named("chrmgr.RegisterPointEffect", Py_BuildNone()); }
|
||||
PyObject* stub_chrmgr_ShowPointEffect(PyObject*, PyObject*) { return stub_call_named("chrmgr.ShowPointEffect", Py_BuildNone()); }
|
||||
PyObject* stub_chrmgr_ToggleDirectionLine(PyObject*, PyObject*) { return stub_call_named("chrmgr.ToggleDirectionLine", Py_BuildNone()); }
|
||||
PyObject* stub_chrmgr_SetMovingSpeed(PyObject*, PyObject*) { return stub_call_named("chrmgr.SetMovingSpeed", Py_BuildNone()); }
|
||||
PyObject* stub_chrmgr_SetDustGap(PyObject*, PyObject*) { return stub_call_named("chrmgr.SetDustGap", Py_BuildNone()); }
|
||||
PyObject* stub_chrmgr_SetHorseDustGap(PyObject*, PyObject*) { return stub_call_named("chrmgr.SetHorseDustGap", Py_BuildNone()); }
|
||||
PyObject* stub_chrmgr_RegisterTitleName(PyObject*, PyObject*) { return stub_call_named("chrmgr.RegisterTitleName", Py_BuildNone()); }
|
||||
PyObject* stub_chrmgr_RegisterNameColor(PyObject*, PyObject*) { return stub_call_named("chrmgr.RegisterNameColor", Py_BuildNone()); }
|
||||
PyObject* stub_chrmgr_RegisterTitleColor(PyObject*, PyObject*) { return stub_call_named("chrmgr.RegisterTitleColor", Py_BuildNone()); }
|
||||
PyMethodDef methods_chrmgr[] = {
|
||||
{ "SetEmpireNameMode", stub_chrmgr_SetEmpireNameMode, METH_VARARGS },
|
||||
{ "GetVIDInfo", stub_chrmgr_GetVIDInfo, METH_VARARGS },
|
||||
{ "GetPickedVID", stub_chrmgr_GetPickedVID, METH_VARARGS },
|
||||
{ "SetShapeModel", stub_chrmgr_SetShapeModel, METH_VARARGS },
|
||||
{ "AppendShapeSkin", stub_chrmgr_AppendShapeSkin, METH_VARARGS },
|
||||
{ "SetPathName", stub_chrmgr_SetPathName, METH_VARARGS },
|
||||
{ "LoadRaceData", stub_chrmgr_LoadRaceData, METH_VARARGS },
|
||||
{ "LoadLocalRaceData", stub_chrmgr_LoadLocalRaceData, METH_VARARGS },
|
||||
{ "CreateRace", stub_chrmgr_CreateRace, METH_VARARGS },
|
||||
{ "SelectRace", stub_chrmgr_SelectRace, METH_VARARGS },
|
||||
{ "RegisterAttachingBoneName", stub_chrmgr_RegisterAttachingBoneName, METH_VARARGS },
|
||||
{ "RegisterMotionMode", stub_chrmgr_RegisterMotionMode, METH_VARARGS },
|
||||
{ "RegisterMotion", stub_chrmgr_RegisterMotion, METH_VARARGS },
|
||||
{ "SetMotionRandomWeight", stub_chrmgr_SetMotionRandomWeight, METH_VARARGS },
|
||||
{ "RegisterNormalAttack", stub_chrmgr_RegisterNormalAttack, METH_VARARGS },
|
||||
{ "ReserveComboAttack", stub_chrmgr_ReserveComboAttack, METH_VARARGS },
|
||||
{ "RegisterComboAttack", stub_chrmgr_RegisterComboAttack, METH_VARARGS },
|
||||
{ "ReserveComboAttackNew", stub_chrmgr_ReserveComboAttackNew, METH_VARARGS },
|
||||
{ "RegisterComboAttackNew", stub_chrmgr_RegisterComboAttackNew, METH_VARARGS },
|
||||
{ "RegisterMotionData", stub_chrmgr_RegisterMotionData, METH_VARARGS },
|
||||
{ "RegisterRaceName", stub_chrmgr_RegisterRaceName, METH_VARARGS },
|
||||
{ "RegisterRaceSrcName", stub_chrmgr_RegisterRaceSrcName, METH_VARARGS },
|
||||
{ "RegisterCacheMotionData", stub_chrmgr_RegisterCacheMotionData, METH_VARARGS },
|
||||
{ "SetAffect", stub_chrmgr_SetAffect, METH_VARARGS },
|
||||
{ "SetEmoticon", stub_chrmgr_SetEmoticon, METH_VARARGS },
|
||||
{ "IsPossibleEmoticon", stub_chrmgr_IsPossibleEmoticon, METH_VARARGS },
|
||||
{ "RegisterEffect", stub_chrmgr_RegisterEffect, METH_VARARGS },
|
||||
{ "RegisterCacheEffect", stub_chrmgr_RegisterCacheEffect, METH_VARARGS },
|
||||
{ "RegisterPointEffect", stub_chrmgr_RegisterPointEffect, METH_VARARGS },
|
||||
{ "ShowPointEffect", stub_chrmgr_ShowPointEffect, METH_VARARGS },
|
||||
{ "ToggleDirectionLine", stub_chrmgr_ToggleDirectionLine, METH_VARARGS },
|
||||
{ "SetMovingSpeed", stub_chrmgr_SetMovingSpeed, METH_VARARGS },
|
||||
{ "SetDustGap", stub_chrmgr_SetDustGap, METH_VARARGS },
|
||||
{ "SetHorseDustGap", stub_chrmgr_SetHorseDustGap, METH_VARARGS },
|
||||
{ "RegisterTitleName", stub_chrmgr_RegisterTitleName, METH_VARARGS },
|
||||
{ "RegisterNameColor", stub_chrmgr_RegisterNameColor, METH_VARARGS },
|
||||
{ "RegisterTitleColor", stub_chrmgr_RegisterTitleColor, METH_VARARGS },
|
||||
{ NULL, NULL }
|
||||
};
|
||||
// 40250 UserInterface/PythonEffectModule.cpp: effect export names.
|
||||
PyObject* stub_effect_RegisterEffect(PyObject*, PyObject*) { return stub_call_named("effect.RegisterEffect", Py_BuildNone()); }
|
||||
PyObject* stub_effect_CreateEffect(PyObject*, PyObject*) { return stub_call_named("effect.CreateEffect", Py_BuildValue("i", 0)); }
|
||||
@@ -1437,16 +1197,6 @@ void init_2v0_gameplay_stubs() {
|
||||
PyModule_AddIntConstant(module, "__port_stub__", 1);
|
||||
AddStubConstants_background(module);
|
||||
}
|
||||
{
|
||||
PyObject* module = Py_InitModule("chr", methods_chr);
|
||||
PyModule_AddIntConstant(module, "__port_stub__", 1);
|
||||
AddStubConstants_chr(module);
|
||||
}
|
||||
{
|
||||
PyObject* module = Py_InitModule("chrmgr", methods_chrmgr);
|
||||
PyModule_AddIntConstant(module, "__port_stub__", 1);
|
||||
AddStubConstants_chrmgr(module);
|
||||
}
|
||||
{
|
||||
PyObject* module = Py_InitModule("effect", methods_effect);
|
||||
PyModule_AddIntConstant(module, "__port_stub__", 1);
|
||||
|
||||
Reference in New Issue
Block a user