Class SetVehicleSirensPacket
Inheritance
SetVehicleSirensPacket
Assembly: SlipeServer.Packets.dll
Syntax
public sealed class SetVehicleSirensPacket : Packet
Constructors
|
Edit this page
View Source
SetVehicleSirensPacket(ElementId, bool, byte, Vector3, Color, uint, bool, bool, bool, bool)
Declaration
public SetVehicleSirensPacket(ElementId elementId, bool isOverride, byte sirenId, Vector3 position, Color color, uint minAlpha, bool is360Degrees, bool doLineOfSightCheck, bool useRandomiser, bool enableSilent)
Parameters
Properties
|
Edit this page
View Source
Color
Declaration
public Color Color { get; }
Property Value
|
Edit this page
View Source
DoLineOfSightCheck
Declaration
public bool DoLineOfSightCheck { get; }
Property Value
|
Edit this page
View Source
ElementId
Declaration
public ElementId ElementId { get; set; }
Property Value
|
Edit this page
View Source
EnableSilent
Declaration
public bool EnableSilent { get; }
Property Value
|
Edit this page
View Source
Is360Degrees
Declaration
public bool Is360Degrees { get; }
Property Value
|
Edit this page
View Source
IsOverride
Declaration
public bool IsOverride { get; }
Property Value
|
Edit this page
View Source
MinAlpha
Declaration
public uint MinAlpha { get; }
Property Value
|
Edit this page
View Source
PacketId
Declaration
public override PacketId PacketId { get; }
Property Value
Overrides
|
Edit this page
View Source
Position
Declaration
public Vector3 Position { get; }
Property Value
|
Edit this page
View Source
Priority
Declaration
public override PacketPriority Priority { get; }
Property Value
Overrides
|
Edit this page
View Source
Reliability
Declaration
public override PacketReliability Reliability { get; }
Property Value
Overrides
|
Edit this page
View Source
SirenId
Declaration
public byte SirenId { get; }
Property Value
|
Edit this page
View Source
UseRandomiser
Declaration
public bool UseRandomiser { get; }
Property Value
Methods
|
Edit this page
View Source
Read(byte[])
Declaration
public override void Read(byte[] bytes)
Parameters
Type |
Name |
Description |
byte[] |
bytes |
|
Overrides
|
Edit this page
View Source
Write()
Declaration
public override byte[] Write()
Returns
Overrides