MCPcopy Create free account
hub / github.com/Norbyte/bg3se / GetOrCreateReplicationFlags

Method GetOrCreateReplicationFlags

BG3Extender/GameDefinitions/EntitySystem.cpp:885–892  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

883}
884
885BitSet<>* EntitySystemHelpersBase::GetOrCreateReplicationFlags(EntityHandle const& entity, ExtComponentType type)
886{
887 if (components_[(unsigned)type].ReplicationIndex == UndefinedReplicationComponent) {
888 return nullptr;
889 }
890
891 return GetOrCreateReplicationFlags(entity, components_[(unsigned)type].ReplicationIndex);
892}
893
894BitSet<>* EntitySystemHelpersBase::GetOrCreateReplicationFlags(EntityHandle const& entity, ReplicationTypeIndex replicationType)
895{

Callers

nothing calls this directly

Calls 4

GetEntityWorldFunction · 0.85
add_keyMethod · 0.80
SizeMethod · 0.45
try_getMethod · 0.45

Tested by

no test coverage detected