Add MultiplayerEditorGem to clean up logic plus misc. cleanup
This commit is contained in:
@@ -19,10 +19,6 @@
|
||||
#include <Source/Pipeline/NetworkSpawnableHolderComponent.h>
|
||||
#include <AzNetworking/Framework/NetworkingSystemComponent.h>
|
||||
|
||||
#ifdef MULTIPLAYER_EDITOR
|
||||
#include <Source/Editor/MultiplayerEditorSystemComponent.h>
|
||||
#endif
|
||||
|
||||
namespace Multiplayer
|
||||
{
|
||||
MultiplayerModule::MultiplayerModule()
|
||||
@@ -32,9 +28,6 @@ namespace Multiplayer
|
||||
AzNetworking::NetworkingSystemComponent::CreateDescriptor(),
|
||||
MultiplayerSystemComponent::CreateDescriptor(),
|
||||
NetBindComponent::CreateDescriptor(),
|
||||
#ifdef MULTIPLAYER_EDITOR
|
||||
MultiplayerEditorSystemComponent::CreateDescriptor(),
|
||||
#endif
|
||||
NetBindMarkerComponent::CreateDescriptor(),
|
||||
NetworkSpawnableHolderComponent::CreateDescriptor(),
|
||||
});
|
||||
@@ -48,11 +41,10 @@ namespace Multiplayer
|
||||
{
|
||||
azrtti_typeid<AzNetworking::NetworkingSystemComponent>(),
|
||||
azrtti_typeid<MultiplayerSystemComponent>(),
|
||||
#ifdef MULTIPLAYER_EDITOR
|
||||
azrtti_typeid<MultiplayerEditorSystemComponent>(),
|
||||
#endif
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#if !defined(MULTIPLAYER_EDITOR)
|
||||
AZ_DECLARE_MODULE_CLASS(Gem_Multiplayer, Multiplayer::MultiplayerModule);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user