API Reference > 0.21 > Helmet
Helmet Class
A Helmet represents a helmet with its various colors.
Namespace: ArgData.Entities
Constructors
| Name | Description |
|---|---|
| Helmet() | Initializes a new instance of a Helmet with all colors set to 0 (black). |
| Helmet(Byte[] helmetColorBytes) | Initializes a new instance of a Helmet with the specified colors. helmetColorBytes: The colors to set. Must be exactly 14 or 16 bytes. |
Properties
| Name | Description |
|---|---|
| Stripes | Gets or sets the color of the 13 horizontal stripes of the helmet. |
| Visor | Gets or sets the color of the visor. Default is 0. |
| VisorSurround | Gets or sets the color of the visor surround. Default is 6. |
Methods
| Name | Description |
|---|---|
| Copy(Helmet source) | Copies all colors from the source into this Helmet. source: Source Helmet to copy colors from. |