|
|
using | PropertyNameLookupFunction = AZStd::function< const char *(PropertyIndex index)> |
| |
|
using | RpcNameLookupFunction = AZStd::function< const char *(RpcIndex index)> |
| |
|
using | AllocComponentInputFunction = AZStd::function< AZStd::unique_ptr< IMultiplayerComponentInput >()> |
| |
◆ AllocateComponentInput()
| AZStd::unique_ptr<IMultiplayerComponentInput> Multiplayer::MultiplayerComponentRegistry::AllocateComponentInput |
( |
NetComponentId |
netComponentId | ) |
|
Allocates a new component input for the provided netComponentId.
- Parameters
-
| netComponentId | the NetComponentId to allocate a component input for |
- Returns
- pointer to the allocated component input, caller assumes ownership
◆ GetComponentGemName()
| const char* Multiplayer::MultiplayerComponentRegistry::GetComponentGemName |
( |
NetComponentId |
netComponentId | ) |
const |
Returns the gem name associated with the provided NetComponentId.
- Parameters
-
| netComponentId | the NetComponentId to return the gem name of |
- Returns
- the name of the gem that contains the requested component
◆ GetComponentName()
| const char* Multiplayer::MultiplayerComponentRegistry::GetComponentName |
( |
NetComponentId |
netComponentId | ) |
const |
Returns the component name associated with the provided NetComponentId.
- Parameters
-
| netComponentId | the NetComponentId to return the component name of |
- Returns
- the name of the component
◆ GetComponentPropertyName()
| const char* Multiplayer::MultiplayerComponentRegistry::GetComponentPropertyName |
( |
NetComponentId |
netComponentId, |
|
|
PropertyIndex |
propertyIndex |
|
) |
| const |
Returns the property name associated with the provided NetComponentId and propertyIndex.
- Parameters
-
| netComponentId | the NetComponentId to return the property name of |
| propertyIndex | the index off the network property to return the property name of |
- Returns
- the name of the network property
◆ GetComponentRpcName()
| const char* Multiplayer::MultiplayerComponentRegistry::GetComponentRpcName |
( |
NetComponentId |
netComponentId, |
|
|
RpcIndex |
rpcIndex |
|
) |
| const |
Returns the Rpc name associated with the provided NetComponentId and rpcId.
- Parameters
-
| netComponentId | the NetComponentId to return the property name of |
| rpcIndex | the index of the rpc to return the rpc name of |
- Returns
- the name of the requested rpc
◆ GetMultiplayerComponentData()
| const ComponentData& Multiplayer::MultiplayerComponentRegistry::GetMultiplayerComponentData |
( |
NetComponentId |
netComponentId | ) |
const |
Retrieves the stored component data for a given NetComponentId.
- Parameters
-
| netComponentId | the NetComponentId to return component data for |
- Returns
- reference to the requested component data, an empty container will be returned if the NetComponentId does not exist
◆ RegisterMultiplayerComponent()
| NetComponentId Multiplayer::MultiplayerComponentRegistry::RegisterMultiplayerComponent |
( |
const ComponentData & |
componentData | ) |
|
Registers a multiplayer component with the multiplayer system.
- Parameters
-
| componentData | the data associated with the component being registered |
- Returns
- the NetComponentId assigned to this particular component
The documentation for this class was generated from the following file:
- Gems/Multiplayer/Code/Include/Multiplayer/Components/MultiplayerComponentRegistry.h