Show / Hide Table of Contents

Class Colors

Represents a vehicle's colors. This contains 4 color values, but some vehicles may use less than that.

Inheritance
object
Colors
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: SlipeServer.Server.Concepts
Assembly: SlipeServer.Server.dll
Syntax
public class Colors

Constructors

| Edit this page View Source

Colors(Vehicle, Color?, Color?, Color?, Color?)

Declaration
public Colors(Vehicle vehicle, Color? primary = null, Color? secondary = null, Color? color3 = null, Color? color4 = null)
Parameters
Type Name Description
Vehicle vehicle
Color? primary
Color? secondary
Color? color3
Color? color4

Properties

| Edit this page View Source

Color3

Declaration
public Color Color3 { get; set; }
Property Value
Type Description
Color
| Edit this page View Source

Color4

Declaration
public Color Color4 { get; set; }
Property Value
Type Description
Color
| Edit this page View Source

Primary

Declaration
public Color Primary { get; set; }
Property Value
Type Description
Color
| Edit this page View Source

Secondary

Declaration
public Color Secondary { get; set; }
Property Value
Type Description
Color

Methods

| Edit this page View Source

AsArray()

Declaration
public Color[] AsArray()
Returns
Type Description
Color[]

Events

| Edit this page View Source

ColorChanged

Declaration
public event ElementEventHandler<Vehicle, VehicleColorChangedEventsArgs>? ColorChanged
Event Type
Type Description
ElementEventHandler<Vehicle, VehicleColorChangedEventsArgs>
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX