Batch #5592 by Yommy: 0 byte-identical, 6 confirmed by peer review. - fn_04315 UIReputeWnd::SendMsg: logic confirmed by peer review - fn_04316 UIReputeWnd::FilterByGroup: logic confirmed by peer review - fn_04317 UIReputeWnd::SetPage: logic confirmed by peer review - fn_04318 UIReputeWnd::ClearUpdated: logic confirmed by peer review - fn_04320 Singleton<CReputeMgr>::GetInstance: logic confirmed by peer review - fn_04283 CReputeMgr::CReputeMgr: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, willerthal, kyoshi, Snow Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
35 lines
874 B
C++
35 lines
874 B
C++
#ifndef RAGNAROK_SOURCE_UI_UIREPUTEWND_H
|
|
#define RAGNAROK_SOURCE_UI_UIREPUTEWND_H
|
|
|
|
#include "UI/Window/UIFrameWnd.h"
|
|
|
|
#include <cstdint>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
struct ReputeInfo;
|
|
class UIBitmapButton;
|
|
class UIComboBoxDefWnd;
|
|
class UIEditCtrl;
|
|
|
|
class UIReputeWnd : public UIFrameWnd {
|
|
public:
|
|
bool Slot02() 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 FilterByGroup(const std::string& group);
|
|
void SetPage(unsigned int page);
|
|
void ClearUpdated();
|
|
|
|
UIComboBoxDefWnd* m_groupCombo;
|
|
UIEditCtrl* m_searchEdit;
|
|
UIBitmapButton* m_prevButton;
|
|
UIBitmapButton* m_nextButton;
|
|
unsigned int m_perPage;
|
|
unsigned int m_page;
|
|
unsigned int m_pageCount;
|
|
bool m_groupSelected;
|
|
std::int64_t m_totalPoints;
|
|
std::vector<const ReputeInfo*> m_reputes;
|
|
};
|
|
|
|
#endif
|