Skip to content

Commit

Permalink
refactor: remove Common::getGameVersionString to file bedrock/common/…
Browse files Browse the repository at this point in the history
…game_version.h
  • Loading branch information
wu-vincent committed Jun 25, 2024
1 parent bd3cf02 commit 0bc48f0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@

namespace Common {
ENDSTONE_HOOK std::string getGameVersionString();
}
}
10 changes: 9 additions & 1 deletion include/bedrock/forward.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ class Localization;
class LootTables;
class MapDataManager;
class MapItemSavedData;
class Material;
class MaterialTypeHelper;
class MobEffectInstance;
class MolangVariableMap;
Expand Down Expand Up @@ -169,7 +170,14 @@ enum class ArmorMaterialType;
enum class ArmorSlot;
enum class ArmorTextureType;
enum class BedSleepingResult;
enum class BuildPlatform;
enum class BlockActorType;
enum class BlockProperty : std::uint64_t;
enum class BlockRenderLayer;
enum class BlockTintType;
enum class BurnOdds;
enum class CreativeItemCategory;
enum class FlameOdds;
enum class LavaFlammable;
enum class LevelEvent;
enum class LevelTagIDType;
enum class LevelTagSetIDType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "bedrock/common.h"
#include "bedrock/common/game_version.h"

#include "endstone/detail/hook.h"

Expand Down

0 comments on commit 0bc48f0

Please sign in to comment.