Show / Hide Table of Contents

Class Display

Represents a text display that's visible to a selection of players

Inheritance
Object
Display
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Slipe.Server.Displays
Assembly: SlipeServer.dll
Syntax
public class Display

Constructors

| Improve this Doc View Source

Display()

Create a new empty display

Declaration
public Display()

Properties

| Improve this Doc View Source

DisplayElement

Get the associated display element

Declaration
public MtaElement DisplayElement { get; }
Property Value
Type Description
Slipe.MtaDefinitions.MtaElement
| Improve this Doc View Source

Observers

Get an array of all the observers of this display

Declaration
public Player[] Observers { get; }
Property Value
Type Description
Player[]

Methods

| Improve this Doc View Source

AddObserver(Player)

Add a player who can observe this text display

Declaration
public void AddObserver(Player player)
Parameters
Type Name Description
Player player
| Improve this Doc View Source

AddObservers(Player[])

Add multiple players as observers

Declaration
public void AddObservers(Player[] players)
Parameters
Type Name Description
Player[] players
| Improve this Doc View Source

Destroy()

Destroy this display

Declaration
public bool Destroy()
Returns
Type Description
Boolean
| Improve this Doc View Source

RemoveObserver(Player)

Remove an observer

Declaration
public bool RemoveObserver(Player player)
Parameters
Type Name Description
Player player
Returns
Type Description
Boolean
  • Improve this Doc
  • View Source
Back to top Generated by DocFX