VisibilityLayers enumeration
Scene layers a plugin can ask the framework to hide.
[Flags]public enum VisibilityLayersValues
Section titled “Values”| name | value | description |
|---|---|---|
| None | 0x0 |
Nothing hidden. |
| GameHud | 0x1 |
The game’s own HUD and UI. |
| StellarOverlay | 0x2 |
Stellar’s overlay windows and HUD elements. |
| Nameplates | 0x4 |
Names and nameplates above characters. |
| OtherPlayers | 0x8 |
Every other player’s character — the game’s master switch: while it is hidden, no group switch (Friends, Party, Guild) can bring anyone back. |
| KeepParty | 0x10 |
Modifier for OtherPlayers: keep party members visible. Kept for compatibility — the combination means exactly Strangers | Friends | Guild, which plugins can now ask for directly. |
| Self | 0x20 |
The local player’s own character, their pet and their summons — hidden on this screen only. Kept for compatibility: it means SelfCharacter | OwnSpiritEcho. |
| EffectsMine | 0x40 |
Effects (skills, buffs, hits, ground areas) caused by the local player or their summons. |
| EffectsParty | 0x80 |
Effects caused by party members or their summons. |
| EffectsOthers | 0x100 |
Effects caused by other players outside the party, or their summons. |
| EffectsMonsters | 0x200 |
Effects caused by monsters and bosses, including their warning areas. |
| SelfCharacter | 0x400 |
The local player’s own character only (the game photo screen’s “Me”); their pet stays. Since 2.20.0. |
| OwnSpiritEcho | 0x800 |
The local player’s own pet (the game photo screen’s “My own Spirit Echo”). Since 2.20.0. |
| Strangers | 0x1000 |
Other players who are not a friend, party member or guild mate (the game photo screen’s “Other adventurers”). A player who IS in one of those groups follows those groups instead: they are hidden while any group they belong to is hidden (hide wins), except that a party member stays visible while Party is shown (Friends, Party, Guild). Since 2.20.0. |
| Friends | 0x2000 |
Players on your friend list (the game photo screen’s “Friends”) — hidden even while Strangers is shown, and even when they are also in your guild and Guild is shown (hide wins). The one exception: a friend who is in your party stays visible while Party is shown. Since 2.20.0. |
| Party | 0x4000 |
Your party members (the game photo screen’s “Party”) — hidden even while Strangers is shown, and even when they are also a friend or guild mate whose group is shown (hide wins). While Party is shown, a party member stays visible whatever else is hidden. Since 2.20.0. |
| Guild | 0x8000 |
Your guild mates (the game photo screen’s “Guild”) — hidden even while Strangers is shown, and even when they are also a friend and Friends is shown (hide wins). The one exception: a guild mate who is in your party stays visible while Party is shown. Since 2.20.0. |
| NonPlayers | 0x10000 |
Friendly NPCs (the game photo screen’s “Non-players”). Since 2.20.0. |
| Enemies | 0x20000 |
Monsters and bosses (the game photo screen’s “Enemy”). Their effects are EffectsMonsters. Since 2.20.0. |
| Weapons | 0x40000 |
Every player’s weapon — yours, your party’s and other players’ — on their back and in their hands, on your screen only. (The game photo screen’s own “Weapon” switch hides only yours; the framework extends it to every player.) Since 2.20.0. |
| Collectibles | 0x80000 |
Collectibles in the world (the game photo screen’s “Collectible”). Since 2.20.0. |
| OtherSpiritEchoes | 0x100000 |
Other players’ pets (the game photo screen’s “Other Spirit Echo”). Since 2.20.0. |
See Also
Section titled “See Also”- namespace Stellar.Abstractions.Domain