Batch #1039 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review. - fn_17849 ModeBaseEvents::Send: logic confirmed by peer review Reviewed-by: ragnarok-clanker Adds to the build: Source/Client/ModeBaseEvents.cpp
33 lines
814 B
C++
33 lines
814 B
C++
#ifndef RAGNAROK_SOURCE_CLIENT_MODEBASEEVENTS_H
|
|
#define RAGNAROK_SOURCE_CLIENT_MODEBASEEVENTS_H
|
|
|
|
#include <cstdint>
|
|
#include <string>
|
|
#include <windows.h>
|
|
|
|
class CAsyncWorkMgr;
|
|
class CRenderSystemBase;
|
|
class LuaScript;
|
|
struct EmotionHotkeys;
|
|
struct CharacterConfigSave;
|
|
struct AgencyRequestContext;
|
|
struct StopRecruitingContext;
|
|
|
|
struct ModeBaseEvents {
|
|
int& transitionRequested;
|
|
std::string& transitionName;
|
|
EmotionHotkeys& emotions;
|
|
LuaScript& script;
|
|
const std::uint32_t& persistenceAccountId;
|
|
CRenderSystemBase*& renderSystem;
|
|
const char* token16;
|
|
CAsyncWorkMgr& work;
|
|
CharacterConfigSave& characterSave;
|
|
AgencyRequestContext& agency;
|
|
StopRecruitingContext& stopRecruiting;
|
|
HWND& window;
|
|
|
|
int Send(int event, const char* text, int argument2, int argument3, int argument4);
|
|
};
|
|
|
|
#endif
|