Batch #13186 by ragnarok-clanker: forced by an admin (40 lower score(s), 206 changed function(s)); checked with 620 compiled unit(s), including every includer of Source/Archive/GPak.h, Source/Client/Mode/CGameMode.h, Source/Client/Mode/CLoginMode.h, Source/Client/Session.h, Source/Client/Stove/StoveMgr.h, Source/Client/Stove/StovePCSDK.h, Source/Client/Timer.h, Source/Contents/Actors/GameActor.h, Source/Contents/Actors/RenderObject.h, Source/Contents/CashEmotionMgr.h, Source/Contents/Configuration/ServiceOptions.h, Source/Contents/Skills/SkillTreeScript.h, Source/Render/DX9/D3DX9Runtime.h, Source/Resource/GifResource.h, Source/UI/AdventureGuide/UIAdventureGuide.h, Source/UI/Cooldowns/CooldownOwner.h, Source/UI/Edit/UIEditBoxEx.h, Source/UI/Lists/UIListBoxTemplate.h, Source/UI/Quest/UIRenewQuestUI.h, Source/UI/Rodex/UIRodexComposeWnd.h, Source/UI/Text/UITextViewerControl.h, Source/UI/UIBroadcastBalloon.h, Source/UI/UICaptchaRegisterWnd.h, Source/UI/UIMacroDetectorWnd.h, Source/UI/UIReputeWnd.h, Source/UI/Window/UIRegisterMgr.h, Source/UI/Window/UISecondCostumeWnd.h, Source/UI/Window/UISelCharForUServerWnd.h, Source/UI/Window/UIWindow.h, Source/UI/Window/UIWindowMgr.h, Source/Utility/EncryptedName.h.
57 lines
1.8 KiB
C++
57 lines
1.8 KiB
C++
#ifndef RAGNAROK_SOURCE_UI_UIMACRODETECTORWND_H
|
|
#define RAGNAROK_SOURCE_UI_UIMACRODETECTORWND_H
|
|
|
|
#include "UI/Window/UIFrameWnd.h"
|
|
|
|
#include <cstdint>
|
|
#include <string>
|
|
|
|
class UIEditCtrl;
|
|
class UICaptchaImage;
|
|
class UIBitmapButton;
|
|
|
|
class UIMacroDetectorWnd : public UIFrameWnd {
|
|
public:
|
|
UIMacroDetectorWnd();
|
|
void Slot15(int width, int height) override;
|
|
void Slot19() override;
|
|
void Paint() override;
|
|
void Slot25(int x, int y) override;
|
|
void Slot27(int x, int y) override;
|
|
void Slot31(int x, int y) override;
|
|
int SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) override;
|
|
|
|
void AddImageData(const void* data, int size);
|
|
void ClearImageData();
|
|
void SetCountdown(unsigned char count, std::uint32_t duration);
|
|
void InitImageData(unsigned short size);
|
|
|
|
|
|
/* 00B4 */ UICaptchaImage* m_image;
|
|
/* 00B8 */ UIEditCtrl* m_editCtrl;
|
|
/* 00BC */ UIBitmapButton* m_button;
|
|
/* 00C0 */ char m_captchaKey[4];
|
|
/* 00C4 */ unsigned char* m_imageData;
|
|
/* 00C8 */ int m_imageSize;
|
|
/* 00CC */ int m_imageReceived;
|
|
/* 00D0 */ unsigned char unknown_00D0;
|
|
/* 00D1 */ unsigned char unknown_00D1[3];
|
|
/* 00D4 */ std::uint32_t totalDuration;
|
|
/* 00D8 */ std::uint32_t startTick;
|
|
/* 00DC */ std::uint32_t messageDuration;
|
|
/* 00E0 */ std::string m_lastAnswer;
|
|
/* 00F8 */ std::string message;
|
|
/* 0110 */ std::uint32_t unknown_0110;
|
|
/* 0114 */ std::uint32_t messageTick;
|
|
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(offsetof(UIMacroDetectorWnd, m_captchaKey) == 0xC0);
|
|
static_assert(offsetof(UIMacroDetectorWnd, m_imageData) == 0xC4);
|
|
static_assert(offsetof(UIMacroDetectorWnd, m_lastAnswer) == 0xE0);
|
|
static_assert(offsetof(UIMacroDetectorWnd, message) == 0xF8);
|
|
static_assert(offsetof(UIMacroDetectorWnd, messageTick) == 0x114);
|
|
#endif
|
|
|
|
#endif
|