MappedUniqueNetIdTypes
MappedUniqueNetIdTypes
#Overview
name: MappedUniqueNetIdTypes
The value of this variable can be defined or overridden in .ini config files. 3
.ini config files referencing this setting variable.
It is referenced in 2
C++ source files.
#Summary
#Setting Variables
#References In INI files
Location: <Workspace>/Projects/Lyra/Config/Custom/EOS/DefaultEngine.ini:17, section: [/Script/OnlineSubsystemUtils.OnlineEngineInterfaceImpl]
- INI Section:
/Script/OnlineSubsystemUtils.OnlineEngineInterfaceImpl
- Raw value:
(("EOS","EOSPlus"))
- Is Array:
False
Location: <Workspace>/Projects/Lyra/Config/Custom/SteamEOS/DefaultEngine.ini:22, section: [/Script/OnlineSubsystemUtils.OnlineEngineInterfaceImpl]
- INI Section:
/Script/OnlineSubsystemUtils.OnlineEngineInterfaceImpl
- Raw value:
(("EOS","EOSPlus"))
- Is Array:
False
Location: <Workspace>/Projects/Lyra/Config/Windows/Custom/EOS/WindowsEngine.ini:13, section: [/Script/OnlineSubsystemUtils.OnlineEngineInterfaceImpl]
- INI Section:
/Script/OnlineSubsystemUtils.OnlineEngineInterfaceImpl
- Raw value:
(("EOSPlus","EOS"))
- Is Array:
False
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Private/OnlineEngineInterfaceImpl.cpp:110
Scope (from outer to inner):
file
function FUniqueNetIdWrapper UOnlineEngineInterfaceImpl::CreateUniquePlayerIdWrapper
Source code excerpt:
FUniqueNetIdPtr UniqueId = nullptr;
//Configuration driven mapping for UniqueNetIds so we don't treat the mapped ids as foreign
const FName* MappedUniqueNetIdType = MappedUniqueNetIdTypes.Find(Type);
bool bIsPrimaryLoaded = IsLoaded(Type);
bool bIsMappedUniqueNetIdTypeLoaded = (MappedUniqueNetIdType != nullptr ? IsLoaded(*MappedUniqueNetIdType) : false);
if (bIsPrimaryLoaded || bIsMappedUniqueNetIdTypeLoaded)
{
#Loc: <Workspace>/Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Private/OnlineEngineInterfaceImpl.h:39
Scope (from outer to inner):
file
class class UOnlineEngineInterfaceImpl : public UOnlineEngineInterface
Source code excerpt:
/** Mapping of unique net ids that should not be treated as foreign ids to the local subsystem. */
UPROPERTY(config)
TMap<FName, FName> MappedUniqueNetIdTypes;
/** Array of unique net ids that are deemed valid when tested against gameplay login checks. */
UPROPERTY(config)
TArray<FName> CompatibleUniqueNetIdTypes;
/** Allow the subsystem used for voice functions to be overridden, in case it needs to be different than the default subsystem. May be useful on console platforms. */