Maintenance: Resubmission of 15134 without the 12 struct/type renames (their new names changed mangled symbols in 17 functions). Rena
Batch #15141 by ragnarok-clanker: no function's compiled code changes; checked with 537 compiled unit(s), including every includer of Source/Client/Input/LanguageTC.h, Source/Client/Mode/CGameMode.h, Source/Client/Mode/CLoginMode.h, Source/Client/Replay.h, Source/Client/Session.h, Source/Contents/AchievementMgr.h, Source/Contents/Actors/CharacterRender.h, Source/Contents/Actors/EffectActors.h, Source/Contents/Actors/GameActor.h, Source/Contents/Actors/Pc.h, Source/Contents/EnchantMgr.h, Source/Contents/GuildInfo.h, Source/Contents/Messenger/MessengerWindows.h, Source/Contents/Schedule/TimeScheduler.h, Source/Contents/Sound/SoundMgr.h, Source/Contents/SpriteLayerDrawing.h, Source/Contents/TableMng.h, Source/Contents/World/SkyBox.h, Source/UI/Chat/UINewChatWnd.h, Source/UI/Text/CreateLineInfo.h, Source/UI/UIGradeEnchantWnd.h, Source/UI/Window/UINewSelectCharWnd.h, Source/UI/Window/UINewSkillListWnd.h, Source/UI/Window/UIPetInfoWnd.h, Source/UI/Window/UIReplayRECControlWnd.h, Source/UI/Window/UIWindowMgr.h, Source/UI/Window/UIWindowMgr.inl.
This commit is contained in:
parent
82ea40ad5d
commit
c932ad6499
150 changed files with 2713 additions and 2713 deletions
|
|
@ -200,14 +200,14 @@ bool CSession::IsThirdJobOrHigher(int job) {
|
|||
|
||||
// OFFSET: 0x00E2ECD0
|
||||
// FUNCTION: fn_24150
|
||||
bool CSession::EquipItem61B8(const ITEM_INFO& item) {
|
||||
bool CSession::EquipSwapCostumeItem(const ITEM_INFO& item) {
|
||||
const EquipSlots slots = g_session.GetEquipSlots(static_cast<int>(item.identity[3]));
|
||||
int order[3];
|
||||
order[0] = slots.values[2];
|
||||
order[1] = slots.values[1];
|
||||
order[2] = slots.values[0];
|
||||
if (item.identity[3] == 0x8000) {
|
||||
g_session.SetUnknown7EC8(item.identity[1]);
|
||||
g_session.SetSwapArrowIndex(item.identity[1]);
|
||||
}
|
||||
|
||||
for (int i = 0; i < 3; ++i) {
|
||||
|
|
@ -228,10 +228,10 @@ bool CSession::EquipItem61B8(const ITEM_INFO& item) {
|
|||
|
||||
// OFFSET: 0x00E3D8A0
|
||||
// FUNCTION: fn_24192
|
||||
void CSession::UnequipItem6B68(const ITEM_INFO& item) {
|
||||
void CSession::UnequipSwapEquippedItem(const ITEM_INFO& item) {
|
||||
const int location = static_cast<int>(item.identity[3]);
|
||||
if (location == 0x8000) {
|
||||
this->SetUnknown7EC8(0);
|
||||
this->SetSwapArrowIndex(0);
|
||||
} else {
|
||||
const EquipSlots slots = g_session.GetEquipSlots(location);
|
||||
if (slots.values[2] < 10) {
|
||||
|
|
@ -256,7 +256,7 @@ void CSession::UnequipItem6B68(const ITEM_INFO& item) {
|
|||
|
||||
// OFFSET: 0x00E3D960
|
||||
// FUNCTION: fn_24193
|
||||
void CSession::UnequipItem61B8(const ITEM_INFO& item) {
|
||||
void CSession::UnequipSwapCostumeItem(const ITEM_INFO& item) {
|
||||
const int location = static_cast<int>(item.identity[3]);
|
||||
if (location == 0x8000) {
|
||||
ITEM_INFO equipped = g_session.FindItemByIdentity(item.identity[1], location);
|
||||
|
|
@ -266,7 +266,7 @@ void CSession::UnequipItem61B8(const ITEM_INFO& item) {
|
|||
const std::string text = FormatOwnedString("%s%s", name.c_str(), message);
|
||||
g_windowMgr.SendNotice(UIM_PUSHINTOCHATHISTORY, reinterpret_cast<std::intptr_t>(text.c_str()), 0xFF, 7, 0, 0);
|
||||
}
|
||||
this->SetUnknown7EC8(0);
|
||||
this->SetSwapArrowIndex(0);
|
||||
} else {
|
||||
const EquipSlots slots = g_session.GetEquipSlots(location);
|
||||
if (slots.values[2] < 10) {
|
||||
|
|
@ -310,7 +310,7 @@ void CSession::SetJob(int job) {
|
|||
|
||||
// OFFSET: 0x00E497F0
|
||||
// FUNCTION: fn_24237
|
||||
void CSession::SetUnknown7EC8(std::uint32_t value) {
|
||||
void CSession::SetSwapArrowIndex(std::uint32_t value) {
|
||||
this->swapArrowIndex = value;
|
||||
this->InvalidateWindowFrames();
|
||||
|
||||
|
|
@ -335,12 +335,12 @@ void CSession::SetUnknown7EC8(std::uint32_t value) {
|
|||
|
||||
// OFFSET: 0x00E49930
|
||||
// FUNCTION: fn_24238
|
||||
void CSession::NotifyUnknown7F94Name(std::uint32_t id, const char* name) {
|
||||
void CSession::ResolvePendingActorName(std::uint32_t id, const char* name) {
|
||||
if (!name || std::strlen(name) == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
UIWindow* chat = g_windowMgr.window_01C8;
|
||||
UIWindow* chat = g_windowMgr.chatWnd;
|
||||
if (!chat) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue