Decompile 2 functions in Source/Contents/ActorNameRequests.cpp, Source/Contents/ActorNameCard.h, ...
Batch #1864 by Yommy: 0 byte-identical, 2 confirmed by peer review. - fn_03504 CActorNameCardHolder::ProcessRequests: logic confirmed by peer review - fn_03419 CCommonObject::LoadCsv: logic confirmed by peer review Reviewed-by: ragnarok-clanker
This commit is contained in:
parent
9953d967a3
commit
5c0eb3d28b
4 changed files with 83 additions and 0 deletions
|
|
@ -1,6 +1,8 @@
|
|||
#ifndef RAGNAROK_SOURCE_FILE_COMMONOBJECT_H
|
||||
#define RAGNAROK_SOURCE_FILE_COMMONOBJECT_H
|
||||
|
||||
#include <any>
|
||||
#include <functional>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
|
|
@ -17,6 +19,8 @@ public:
|
|||
void Clear();
|
||||
bool LoadTokens(std::vector<char*>& tokens, const char* name, int mode, ResourceBytes& file);
|
||||
bool LoadCsv(const char* name, std::vector<std::string> (*transform)(const std::vector<std::string>&), void (*insert)(std::vector<const char*>&));
|
||||
bool LoadCsv(const char* name, std::function<std::vector<std::string>(std::vector<std::string>&)> transform,
|
||||
std::function<void(std::vector<const char*>&, std::any)> insert, std::any context);
|
||||
|
||||
private:
|
||||
bool OpenCsv(const char* name, CFile& file);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue