Struct MultiplayerHubMethodMap

Inheritance Relationships

Base Type

  • public std::unordered_map< MultiplayerHubMethod, std::string >

Struct Documentation

struct MultiplayerHubMethodMap : public std::unordered_map<MultiplayerHubMethod, std::string>

Utility class to map input values from MultiplayerHubMethod to string representations.

Public Functions

inline explicit MultiplayerHubMethodMap()
inline ~MultiplayerHubMethodMap()
inline std::string Get(const MultiplayerHubMethod &Method) const
bool CheckPrerequisites(const csp::common::Array<csp::common::String> &MethodNames) const

Validates that all required multiplayer hub methods are available.

This function compares the provided array of method names (MethodNames) against a set of available multiplayer hub methods. It ensures that every method in the input array exists in the available set.

Parameters

MethodNames – An array of method names that are expected to be present.

Returns

bool : true if all available in-use multiplayer hub methods match, false otherwise.