-
-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add missing bedrock typeid (#1403)
* fix: add missing functions * fix: add missing functions * fix: add missing functions * fix: add missing functions --------- Co-authored-by: OEOTYAN <58554322+OEOTYAN@users.noreply.github.com>
- Loading branch information
Showing
13 changed files
with
45 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
#pragma once | ||
|
||
#include "mc/_HeaderOutputPredefine.h" | ||
#include "mc/deps/core/common/bedrock/typeid_t.h" | ||
|
||
enum class AnimationMode : schar { | ||
None = 0x0, | ||
Layers = 0x1, | ||
Blocks = 0x2, | ||
}; | ||
|
||
MCTAPI class Bedrock::typeid_t<CommandRegistry> Bedrock::type_id<class CommandRegistry, enum class AnimationMode>(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
#pragma once | ||
|
||
#include "mc/_HeaderOutputPredefine.h" | ||
#include "mc/deps/core/common/bedrock/typeid_t.h" | ||
|
||
enum class BlockSlot : int { | ||
None = -1, | ||
Container = 0, | ||
Count = 1, | ||
}; | ||
}; | ||
|
||
MCTAPI class Bedrock::typeid_t<CommandRegistry> Bedrock::type_id<class CommandRegistry, enum class BlockSlot>(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
#pragma once | ||
|
||
#include "mc/_HeaderOutputPredefine.h" | ||
#include "mc/deps/core/common/bedrock/typeid_t.h" | ||
|
||
enum class CameraShakeAction {}; | ||
|
||
MCTAPI class Bedrock::typeid_t<CommandRegistry> Bedrock::type_id<class CommandRegistry, enum class CameraShakeAction>(void); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
#pragma once | ||
|
||
#include "mc/_HeaderOutputPredefine.h" | ||
#include "mc/deps/core/common/bedrock/typeid_t.h" | ||
|
||
enum class CameraShakeType {}; | ||
|
||
MCTAPI class Bedrock::typeid_t<CommandRegistry> Bedrock::type_id<class CommandRegistry, enum class CameraShakeType>(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
#pragma once | ||
|
||
#include "mc/_HeaderOutputPredefine.h" | ||
#include "mc/deps/core/common/bedrock/typeid_t.h" | ||
|
||
enum class ClientInputLockCategory {}; | ||
|
||
MCTAPI class Bedrock::typeid_t<CommandRegistry> | ||
Bedrock::type_id<class CommandRegistry, enum class ClientInputLockCategory>(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
#pragma once | ||
|
||
#include "mc/_HeaderOutputPredefine.h" | ||
#include "mc/deps/core/common/bedrock/typeid_t.h" | ||
|
||
enum class ObjectiveSortOrder : uchar { | ||
Ascending = 0x0, | ||
Descending = 0x1, | ||
}; | ||
|
||
MCTAPI class Bedrock::typeid_t<CommandRegistry> | ||
Bedrock::type_id<class CommandRegistry, enum class ObjectiveSortOrder>(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
src/mc/world/level/levelgen/structure/StructureRedstoneSaveMode.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
#pragma once | ||
|
||
#include "mc/_HeaderOutputPredefine.h" | ||
#include "mc/deps/core/common/bedrock/typeid_t.h" | ||
|
||
enum class StructureRedstoneSaveMode : schar { | ||
SavesToMemory = 0x0, | ||
SavesToDisk = 0x1, | ||
}; | ||
|
||
MCTAPI class Bedrock::typeid_t<CommandRegistry> | ||
Bedrock::type_id<class CommandRegistry, enum class StructureRedstoneSaveMode>(void); |