3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/utility/AutomaticID.h"
7#include "mc/deps/game_refs/WeakRef.h"
8#include "mc/deps/scripting/runtime/Result_deprecated.h"
9#include "mc/editor/services/IEditorService.h"
10#include "mc/editor/services/PayloadStoreHelper.h"
11#include "mc/server/editor/serviceproviders/ServerPrefabPlayerServiceProvider.h"
12#include "mc/world/level/ChunkPos.h"
28namespace Editor::Services {
52 ServerPrefabPlayerService& operator=(ServerPrefabPlayerService
const&);
53 ServerPrefabPlayerService(ServerPrefabPlayerService
const&);
54 ServerPrefabPlayerService();
59 virtual ~ServerPrefabPlayerService() ;
61 virtual ::Scripting::Result_deprecated<void> init() ;
63 virtual ::Scripting::Result_deprecated<void> quit() ;
65 virtual ::std::string_view getServiceName()
const ;
67 virtual void shouldCaptureMouseClicks(
bool const active) ;
69 virtual ::Bedrock::PubSub::Subscription subscribeToPlayerInstanceInteractions(
78 virtual void clearSelectedInstances() ;
92 ::std::unordered_set<::ChunkPos>
const& currentList,
93 ::std::unordered_set<::ChunkPos>
const& newList,
94 ::std::unordered_set<::ChunkPos>& added,
95 ::std::unordered_set<::ChunkPos>& removed
129 MCNAPI ::Scripting::Result_deprecated<void>
$init();
131 MCNAPI ::Scripting::Result_deprecated<void>
$quit();
Definition Subscription.h:10
Definition Dimension.h:85
Definition PrefabDBClientInitializedPayload.h:16
Definition PrefabDBClientPlayerPositionUpdatePayload.h:16
Definition PrefabDBClientUserClickInstancePayload.h:16
Definition PrefabDBPrefabInstance.h:25
Definition ServerPrefabPlayerServiceProvider.h:17
Definition ServiceProviderCollection.h:7
Definition IEditorService.h:11
Definition PayloadStoreHelper.h:7
MCAPI void _diffChunkLists(::std::unordered_set<::ChunkPos > const ¤tList, ::std::unordered_set<::ChunkPos > const &newList, ::std::unordered_set<::ChunkPos > &added, ::std::unordered_set<::ChunkPos > &removed)
MCAPI void $selectInstance(::WeakRef<::Editor::Prefabs::PrefabDBPrefabInstance > instanceRef, bool append)
MCAPI ::Scripting::Result_deprecated< void > $quit()
static MCAPI void ** $vftableForIEditorService()
MCAPI ::std::unordered_set<::ChunkPos > _calculateChunkListInRange()
MCAPI void _handleClientInitializedPayload(::Editor::Network::PrefabDBClientInitializedPayload const &payload)
MCAPI::std::string_view $getServiceName() const
MCAPI void _handlePrefabDBInstanceChange(::Editor::Prefabs::PrefabDBInstanceChangeEvent const &event)
MCAPI void _handleClientUserClickInstancePayload(::Editor::Network::PrefabDBClientUserClickInstancePayload const &payload)
MCAPI::Bedrock::PubSub::Subscription $subscribeToPlayerInstanceInteractions(::std::function< void(::Editor::Prefabs::PrefabDBInstanceInteractionEvent const &)> callback)
MCAPI void _handleClientPlayerPositionUpdatePayload(::Editor::Network::PrefabDBClientPlayerPositionUpdatePayload const &payload)
MCAPI void $deselectInstance(::WeakRef<::Editor::Prefabs::PrefabDBPrefabInstance > instanceRef)
static MCAPI void ** $vftableForServerPrefabPlayerServiceProvider()
MCAPI ::Scripting::Result_deprecated< void > $init()
MCAPI void _buildAndSendVisibilityPayload(::DimensionType const &oldDimension, ::DimensionType const &newDimension)
MCAPI void * $ctor(::Editor::ServiceProviderCollection &providers)
MCAPI void $clearSelectedInstances()
MCAPI void _processPendingEvents()
MCAPI void $shouldCaptureMouseClicks(bool const active)
MCAPI void _handlePrefabDBTemplateChange(::Editor::Prefabs::PrefabDBTemplateChangeEvent const &event)
MCAPI ServerPrefabPlayerService(::Editor::ServiceProviderCollection &providers)
Definition PrefabDBInstanceChangeEvent.h:7
Definition PrefabDBInstanceInteractionEvent.h:7
Definition PrefabDBTemplateChangeEvent.h:7