Add preliminary budget tracking system and remove driller integration
Signed-off-by: Jeremy Ong <jcong@amazon.com>
This commit is contained in:
@@ -11,8 +11,6 @@
|
||||
#include <AzCore/Settings/SettingsRegistryMergeUtils.h>
|
||||
#include <AzCore/StringFunc/StringFunc.h>
|
||||
#include <AzCore/std/string/conversions.h>
|
||||
#include <AzFramework/Driller/RemoteDrillerInterface.h>
|
||||
#include <AzFramework/Driller/DrillToFileComponent.h>
|
||||
#include <GridMate/Drillers/CarrierDriller.h>
|
||||
#include <GridMate/Drillers/ReplicaDriller.h>
|
||||
#include <AzFramework/TargetManagement/TargetManagementComponent.h>
|
||||
@@ -37,12 +35,6 @@ namespace AzGameFramework
|
||||
void GameApplication::StartCommon(AZ::Entity* systemEntity)
|
||||
{
|
||||
AzFramework::Application::StartCommon(systemEntity);
|
||||
|
||||
if (GetDrillerManager())
|
||||
{
|
||||
GetDrillerManager()->Register(aznew GridMate::Debug::CarrierDriller());
|
||||
GetDrillerManager()->Register(aznew GridMate::Debug::ReplicaDriller());
|
||||
}
|
||||
}
|
||||
|
||||
void GameApplication::MergeSettingsToRegistry(AZ::SettingsRegistryInterface& registry)
|
||||
@@ -92,10 +84,6 @@ namespace AzGameFramework
|
||||
components.emplace_back(azrtti_typeid<AzFramework::TargetManagementComponent>());
|
||||
#endif
|
||||
|
||||
// Note that this component is registered by AzFramework.
|
||||
// It must be registered here instead of in the module so that existence of AzFrameworkModule is guaranteed.
|
||||
components.emplace_back(azrtti_typeid<AzFramework::DrillerNetworkAgentComponent>());
|
||||
|
||||
return components;
|
||||
}
|
||||
|
||||
@@ -104,9 +92,6 @@ namespace AzGameFramework
|
||||
AzFramework::Application::CreateStaticModules(outModules);
|
||||
|
||||
outModules.emplace_back(aznew AzGameFrameworkModule());
|
||||
|
||||
// have to let the metrics system know that it's ok to send back the name of the DrillerNetworkAgentComponent to Amazon as plain text, without hashing
|
||||
EBUS_EVENT(AzFramework::MetricsPlainTextNameRegistrationBus, RegisterForNameSending, AZStd::vector<AZ::Uuid>{ azrtti_typeid<AzFramework::DrillerNetworkAgentComponent>() });
|
||||
}
|
||||
|
||||
void GameApplication::QueryApplicationType(AZ::ApplicationTypeQuery& appType) const
|
||||
|
||||
@@ -7,24 +7,15 @@
|
||||
*/
|
||||
#include <AzGameFramework/AzGameFrameworkModule.h>
|
||||
|
||||
// Component includes
|
||||
#include <AzFramework/Driller/RemoteDrillerInterface.h>
|
||||
#include <AzFramework/Driller/DrillToFileComponent.h>
|
||||
|
||||
namespace AzGameFramework
|
||||
{
|
||||
AzGameFrameworkModule::AzGameFrameworkModule()
|
||||
: AZ::Module()
|
||||
{
|
||||
m_descriptors.insert(m_descriptors.end(), {
|
||||
AzFramework::DrillToFileComponent::CreateDescriptor(),
|
||||
});
|
||||
}
|
||||
|
||||
AZ::ComponentTypeList AzGameFrameworkModule::GetRequiredSystemComponents() const
|
||||
{
|
||||
return AZ::ComponentTypeList{
|
||||
azrtti_typeid<AzFramework::DrillToFileComponent>(),
|
||||
};
|
||||
return {};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user