Skip to content

Commit

Permalink
refactor: 重构部分event
Browse files Browse the repository at this point in the history
  • Loading branch information
engsr6982 committed Oct 6, 2024
1 parent aec8b28 commit d40938f
Show file tree
Hide file tree
Showing 17 changed files with 1,135 additions and 1,629 deletions.
567 changes: 291 additions & 276 deletions src/plotcraft/event/Event.cc

Large diffs are not rendered by default.

8 changes: 0 additions & 8 deletions src/plotcraft/event/Event.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
#pragma once
#include "plotcraft/Global.h"
#include "plotcraft/data/PlotDBStorage.h"
#include <string>


namespace plot::event {

Expand All @@ -12,8 +8,4 @@ bool registerEventListener();
bool unRegisterEventListener();


bool CheckPerm(data::PlotDBStorage* pdb, PlotID const& id, UUIDs const& uuid, bool ignoreAdmin = false);
bool StringFind(std::string const& str, std::string const& sub);


} // namespace plot::event
Loading

0 comments on commit d40938f

Please sign in to comment.