Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
etorth committed Dec 13, 2023
1 parent cfea607 commit 19c946d
Show file tree
Hide file tree
Showing 8 changed files with 831 additions and 831 deletions.
4 changes: 2 additions & 2 deletions client/src/guimanager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "quickaccessboard.hpp"
#include "playerstateboard.hpp"
#include "inputstringboard.hpp"
#include "runtimeconfigextboard.hpp"
#include "runtimeconfigboard.hpp"
#include "secureditemlistboard.hpp"

class ProcessRun;
Expand All @@ -34,7 +34,7 @@ class GUIManager: public Widget
QuickAccessBoard m_quickAccessBoard;
PlayerStateBoard m_playerStateBoard;
InputStringBoard m_inputStringBoard;
RuntimeConfigExtBoard m_runtimeConfigBoard;
RuntimeConfigBoard m_runtimeConfigBoard;
SecuredItemListBoard m_securedItemListBoard;

public:
Expand Down
2 changes: 1 addition & 1 deletion client/src/processrunnet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ void ProcessRun::net_STARTGAMESCENE(const uint8_t *buf, size_t bufSize)
void ProcessRun::net_PLAYERCONFIG(const uint8_t *buf, size_t bufSize)
{
const auto sdPC = cerealf::deserialize<SDPlayerConfig>(buf, bufSize);
dynamic_cast<RuntimeConfigExtBoard *>(getWidget("RuntimeConfigBoard"))->setConfig(sdPC.runtimeConfig);
dynamic_cast<RuntimeConfigBoard *>(getWidget("RuntimeConfigBoard"))->setConfig(sdPC.runtimeConfig);

for(const auto &[magicID, key]: sdPC.magicKeyList.keyList){
dynamic_cast<SkillBoard *>(getWidget("SkillBoard"))->getConfig().setMagicKey(magicID, key);
Expand Down
Loading

0 comments on commit 19c946d

Please sign in to comment.