Show / Hide Table of Contents

Class SharedSirens

Represents the set of all sirens on a vehicle

Inheritance
Object
SharedSirens
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Slipe.Shared.Vehicles
Assembly: SlipeShared.dll
Syntax
public class SharedSirens

Constructors

| Improve this Doc View Source

SharedSirens(SharedVehicle)

Create a sirens set attached to a vehicle

Declaration
public SharedSirens(SharedVehicle vehicle)
Parameters
Type Name Description
SharedVehicle vehicle

Fields

| Improve this Doc View Source

checkLOS

Declaration
protected bool checkLOS
Field Value
Type Description
Boolean
| Improve this Doc View Source

silent

Declaration
protected bool silent
Field Value
Type Description
Boolean
| Improve this Doc View Source

type

Declaration
protected SirenType type
Field Value
Type Description
SirenType
| Improve this Doc View Source

useRandomiser

Declaration
protected bool useRandomiser
Field Value
Type Description
Boolean
| Improve this Doc View Source

vehicle

Declaration
protected SharedVehicle vehicle
Field Value
Type Description
SharedVehicle
| Improve this Doc View Source

visibleFromAllDirection

Declaration
protected bool visibleFromAllDirection
Field Value
Type Description
Boolean

Properties

| Improve this Doc View Source

All

Get all the attached individual sirens

Declaration
public Siren[] All { get; }
Property Value
Type Description
Siren[]
| Improve this Doc View Source

CheckLineOfSight

Check line of sight between camera and light so it won't draw if blocked

Declaration
public bool CheckLineOfSight { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

On

Get and set if the sirens are on

Declaration
public bool On { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

Silent

If the silent is silent (no audio) or not

Declaration
public bool Silent { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

Type

Get the type of this siren set

Declaration
public SirenType Type { get; }
Property Value
Type Description
SirenType
| Improve this Doc View Source

UseRandomiser

Randomise the light order, false for sequential

Declaration
public bool UseRandomiser { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

VisibleFromAllDirections

Visible from all directions (applies to single type only)

Declaration
public bool VisibleFromAllDirections { get; }
Property Value
Type Description
Boolean

Methods

| Improve this Doc View Source

UpdateParams()

Declaration
protected void UpdateParams()
  • Improve this Doc
  • View Source
Back to top Generated by DocFX