Decompile 10 functions in Source/Script/LuaScript.cpp, Source/UI/Text/UIStaticText.cpp, ...
Batch #17636 by KWDev: 10 byte-identical, 0 confirmed by peer review. - fn_19248 SetEZ2STRInfo: byte-identical - fn_10962 UIBmpTextButton::AddTextStyle: byte-identical - fn_07053 CClimaxEffect::Render: byte-identical - fn_11289 UIComboBoxV2Wnd::SelectedText: byte-identical - fn_21411 CGameMode::HuntTargetText: byte-identical - fn_05456 CRenewQuestMgr::L_AddQuestIconTooltip: byte-identical - fn_09058 CSpecialPopupMgr::LuaAddDesc: byte-identical - fn_09146 AddTip: byte-identical - fn_03037 CCashEmotionMgr::InsertEmotionVarientListTable: byte-identical - fn_22061 CGameMode::ReceiveRouletteOpen: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
8abf5bbb13
commit
e0f3e01b35
10 changed files with 31 additions and 15 deletions
|
|
@ -581,13 +581,13 @@ int SetAnimatedEmitterInfo(lua_State* state) {
|
|||
int SetEZ2STRInfo(lua_State* state) {
|
||||
EffectLists* effects = g_effectMgr;
|
||||
const int index = static_cast<int>(luaL_checknumber(state, 1));
|
||||
const double key = luaL_checknumber(state, 2);
|
||||
const int key = static_cast<int>(luaL_checknumber(state, 2));
|
||||
CEffect* effect = effects->At(1412, static_cast<unsigned>(index));
|
||||
if (!effect) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
switch (static_cast<int>(key)) {
|
||||
switch (key) {
|
||||
case MSG_SET_STR_FILENAME: {
|
||||
std::string name = luaL_checkstring(state, 3);
|
||||
effect->SetResource(reinterpret_cast<int>(name.c_str()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue