Class StaticHeadsetEffect
Static color effect.
Implements
Namespace: Colore.Effects.Headset
Assembly: Colore.dll
Syntax
public sealed class StaticHeadsetEffect : ValueType, IEquatable<StaticHeadsetEffect>
Constructors
StaticHeadsetEffect(Color)
Initializes a new instance of the StaticHeadsetEffect struct.
Declaration
public StaticHeadsetEffect(Color color)
Parameters
Type | Name | Description |
---|---|---|
Color | color | The Color to set. |
Fields
Color
The Color of the effect.
Declaration
public readonly Color Color
Field Value
Type | Description |
---|---|
Color |
Methods
Equals(StaticHeadsetEffect)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(StaticHeadsetEffect other)
Parameters
Type | Name | Description |
---|---|---|
StaticHeadsetEffect | other | An object to compare with this object. |
Returns
Type | Description |
---|---|
Boolean |
|
Equals(Object)
Indicates whether this instance and a specified object are equal.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj | The object to compare with the current instance. |
Returns
Type | Description |
---|---|
Boolean |
|
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 | A 32-bit signed integer that is the hash code for this instance. |
Operators
Equality(StaticHeadsetEffect, StaticHeadsetEffect)
Checks an instance of StaticHeadsetEffect for equality with another StaticHeadsetEffect instance.
Declaration
public static bool operator ==(StaticHeadsetEffect left, StaticHeadsetEffect right)
Parameters
Type | Name | Description |
---|---|---|
StaticHeadsetEffect | left | Left operand. |
StaticHeadsetEffect | right | Right operand. |
Returns
Type | Description |
---|---|
Boolean |
|
Inequality(StaticHeadsetEffect, StaticHeadsetEffect)
Checks an instance of StaticHeadsetEffect for inequality with another StaticHeadsetEffect instance.
Declaration
public static bool operator !=(StaticHeadsetEffect left, StaticHeadsetEffect right)
Parameters
Type | Name | Description |
---|---|---|
StaticHeadsetEffect | left | Left operand. |
StaticHeadsetEffect | right | Right operand. |
Returns
Type | Description |
---|---|
Boolean |
|