26 std::function<bool(
int slot)>
Filter;
76 bool PawnHidden =
false;
77 bool ControllerHidden =
false;
79 bool Any()
const {
return PawnHidden || ControllerHidden; }
91 bool IsHiddenFrom(
int recipient,
Team recipientTeam)
const;
95 void SetPrivate(
const PrivateEntity& entry);
97 EntitySystem& _entities;
98 std::array<SlotState, MaxPlayers> _state{};
99 std::vector<PrivateEntity> _private;
101 Subscription _slotListener;
runtime.Entities: finds and creates entities. Everything it returns is valid for this frame only; see...
"The occupant of this slot changed" - raised by PlayerManager, consumed below it.
void ShowOnlyToTeam(EntityRef entity, Team team)
Visibility(const Visibility &)=delete
void SetPawnHidden(int slot, bool hidden)
bool IsPawnHidden(int slot) const
void HideFromTeam(EntityRef entity, Team team)
void ShowToEveryone(EntityRef entity)
void SetControllerHidden(int slot, bool hidden)
std::shared_ptr< GlowVision > CreateGlow(int viewerSlot, GlowConfig config={})
void ShowOnlyTo(EntityRef entity, int slot)
void OnCheckTransmit(CCheckTransmitInfo **infoList, int infoCount)
Visibility(EntitySystem &entities, SlotEvents &slots)
Visibility & operator=(const Visibility &)=delete
An RGBA color in the engine's byte order, as m_clrRender and glow colors hold it.
std::function< bool(int slot)> Filter