mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
feat(client): implement more of LoadNewWorld
This commit is contained in:
parent
0a77888154
commit
b832afce84
@ -2,6 +2,7 @@
|
||||
#include "client/ObjMgr.hpp"
|
||||
#include "console/Console.hpp"
|
||||
#include "db/Db.hpp"
|
||||
#include "world/World.hpp"
|
||||
#include <common/DataStore.hpp>
|
||||
#include <tempest/Vector.hpp>
|
||||
#include <cstdint>
|
||||
@ -13,6 +14,10 @@ static const char* s_newMapname;
|
||||
|
||||
void LoadNewWorld(const void* eventData, void* param) {
|
||||
// TODO
|
||||
|
||||
CWorld::LoadMap(s_newMapname, s_newPosition, s_newZoneID);
|
||||
|
||||
// TODO
|
||||
};
|
||||
|
||||
int32_t LoginVerifyWorldHandler(void* param, NETMESSAGE msgId, uint32_t time, CDataStore* msg) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user