Skip to content

Commit

Permalink
refactor: move ServerLevel and ServerPlayer to bedrock/server
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-vincent committed May 27, 2024
1 parent 16f5c46 commit bf38fb7
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion include/bedrock/network/packet/start_game_packet.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
#include "bedrock/mce.h"
#include "bedrock/nbt/compound_tag.h"
#include "bedrock/network/packet.h"
#include "bedrock/network/syncher/synced_player_movement_settings.h"
#include "bedrock/server/packs/content_identity.h"
#include "bedrock/world/actor/actor_runtime_id.h"
#include "bedrock/world/actor/actor_unique_id.h"
#include "bedrock/world/actor/player/synced_player_movement_settings.h"
#include "bedrock/world/level/game_type.h"
#include "bedrock/world/level/storage/level_settings.h"
#include "bedrock/world/math/vec2.h"
Expand Down
2 changes: 1 addition & 1 deletion include/bedrock/network/server_network_handler.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include "bedrock/memory.h"
#include "bedrock/network/connection.h"
#include "bedrock/network/net_event_callback.h"
#include "bedrock/server/level/server_player.h"
#include "bedrock/server/server_player.h"
#include "bedrock/social.h"
#include "bedrock/threading.h"
#include "bedrock/world/actor/player/player.h"
Expand Down
2 changes: 1 addition & 1 deletion include/bedrock/server/commands/command_origin_loader.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include "bedrock/bedrock.h"
#include "bedrock/nbt/compound_tag.h"
#include "bedrock/server/commands/command_origin.h"
#include "bedrock/server/level/server_level.h"
#include "bedrock/server/server_level.h"

class CommandOriginLoader {
public:
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion include/bedrock/world/actor/actor.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include "bedrock/mce.h"
#include "bedrock/memory.h"
#include "bedrock/network/spatial_actor_network_data.h"
#include "bedrock/network/syncher/synched_actor_data_entity_wrapper.h"
#include "bedrock/server/commands/command_permission_level.h"
#include "bedrock/world/actor/actor_category.h"
#include "bedrock/world/actor/actor_flags.h"
Expand All @@ -38,6 +37,7 @@
#include "bedrock/world/actor/components/built_in_actor_components.h"
#include "bedrock/world/actor/registry/entity_context.h"
#include "bedrock/world/actor/registry/entity_registry.h"
#include "bedrock/world/actor/synched_actor_data_entity_wrapper.h"
#include "bedrock/world/item/item_stack.h"
#include "bedrock/world/level/dimension/dimension.h"
#include "bedrock/world/material/material_type.h"
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/server/level/server_level.h"
#include "bedrock/server/server_level.h"

#include "bedrock/world/actor/actor_initialization_method.h"
#include "endstone/detail/hook.h"
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/server/level/server_player.h"
#include "bedrock/server/server_player.h"

#include "endstone/detail/hook.h"
#include "endstone/detail/server.h"
Expand Down

0 comments on commit bf38fb7

Please sign in to comment.