Open 3D Engine Multiplayer Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
Multiplayer::NetworkSpawnableLibrary Class Referencefinal

Implementation of the network prefab library interface. More...

#include <NetworkSpawnableLibrary.h>

Inherits Multiplayer::INetworkSpawnableLibrary.

Public Member Functions

 AZ_RTTI (NetworkSpawnableLibrary, "{65E15F33-E893-49C2-A8E2-B6A8A6EF31E0}", INetworkSpawnableLibrary)
 
void BuildSpawnablesList () override
 
void ProcessSpawnableAsset (const AZStd::string &relativePath, AZ::Data::AssetId id) override
 
AZ::Name GetSpawnableNameFromAssetId (AZ::Data::AssetId assetId) override
 
AZ::Data::AssetId GetAssetIdByName (AZ::Name name) override
 
- Public Member Functions inherited from Multiplayer::INetworkSpawnableLibrary
 AZ_RTTI (INetworkSpawnableLibrary, "{A3CF809C-6C1D-4B43-B2C4-3901B5DE1ABE}")
 
virtual void BuildSpawnablesList ()=0
 
virtual void ProcessSpawnableAsset (const AZStd::string &relativePath, AZ::Data::AssetId id)=0
 
virtual AZ::Name GetSpawnableNameFromAssetId (AZ::Data::AssetId assetId)=0
 
virtual AZ::Data::AssetId GetAssetIdByName (AZ::Name name)=0
 

Detailed Description

Implementation of the network prefab library interface.

Member Function Documentation

◆ BuildSpawnablesList()

void Multiplayer::NetworkSpawnableLibrary::BuildSpawnablesList ( )
overridevirtual

◆ GetAssetIdByName()

AZ::Data::AssetId Multiplayer::NetworkSpawnableLibrary::GetAssetIdByName ( AZ::Name  name)
overridevirtual

◆ GetSpawnableNameFromAssetId()

AZ::Name Multiplayer::NetworkSpawnableLibrary::GetSpawnableNameFromAssetId ( AZ::Data::AssetId  assetId)
overridevirtual

◆ ProcessSpawnableAsset()

void Multiplayer::NetworkSpawnableLibrary::ProcessSpawnableAsset ( const AZStd::string &  relativePath,
AZ::Data::AssetId  id 
)
overridevirtual

The documentation for this class was generated from the following file: