ISelections interface
public interface ISelections Every player’s weapon selection in a session, as the server holds it: the layers set over it. The host sends each player their stack whenever it changes, and refuses the picks of a player whose selection is hidden or locked, so nothing here needs the client.
A Plugin reaches it through its context’s Selections, where its layers are named <id>:<name> for it and go when it unloads. just map-shot --selection-layer drives it too.
selections.Everyone.Set(new SelectionLayer("ctf:intro") { Locked = true });
selections.Of(holder)?.Set(new SelectionLayer("physgun") { Priority = SelectionLayer.Weapon, Scroll = false });
- Assembly
- EvilEngine.Api
- Commit
- 4ff877b1