Merge pull request #6106 from aws-lumberyard-dev/Atom/guthadam/fix_warnings_from_unreflected_system_components
Fixing warnings caused by system components not added to serialize context
This commit is contained in:
@@ -60,6 +60,12 @@ namespace Multiplayer
|
||||
|
||||
void PythonEditorFuncs::Reflect(AZ::ReflectContext* context)
|
||||
{
|
||||
if (AZ::SerializeContext* serialize = azrtti_cast<AZ::SerializeContext*>(context))
|
||||
{
|
||||
serialize->Class<PythonEditorFuncs, AZ::Component>()
|
||||
->Version(0);
|
||||
}
|
||||
|
||||
if (AZ::BehaviorContext* behaviorContext = azrtti_cast<AZ::BehaviorContext*>(context))
|
||||
{
|
||||
// This will create static python methods in the 'azlmbr.multiplayer' module
|
||||
|
||||
@@ -17,6 +17,12 @@ namespace Multiplayer
|
||||
|
||||
void MultiplayerToolsSystemComponent::Reflect(AZ::ReflectContext* context)
|
||||
{
|
||||
if (AZ::SerializeContext* serialize = azrtti_cast<AZ::SerializeContext*>(context))
|
||||
{
|
||||
serialize->Class<MultiplayerToolsSystemComponent, AZ::Component>()
|
||||
->Version(0);
|
||||
}
|
||||
|
||||
NetworkPrefabProcessor::Reflect(context);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user