MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / flag

Method flag

ogsr_engine/xrGame/patrol_path_params.cpp:84–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82u32 CPatrolPathParams::point(const Fvector& point) const { return (m_path->point(point)->vertex_id()); }
83
84bool CPatrolPathParams::flag(u32 index, u8 flag_index) const
85{
86 VERIFY(m_path->vertex(index));
87 return (!!(m_path->vertex(index)->data().flags() & (u32(1) << flag_index)));
88}
89
90Flags32 CPatrolPathParams::flags(u32 index) const
91{

Callers

nothing calls this directly

Calls 4

flagsMethod · 0.80
u32Enum · 0.70
vertexMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected