-
Notifications
You must be signed in to change notification settings - Fork 5
EntityIDEditor
huggins edited this page May 10, 2023
·
1 revision
Used to allow DIS Entity IDs to be shown in the Unity Inspector panel. Houses variables contained in a DIS Entity ID.
public class EntityIDEditor
Access | Type | Name | Description | |
---|---|---|---|---|
Public | byte | application | The application ID. | |
Public | const | string | DELIMITER_PERIOD | Constant field that contains a the "." character. |
Public | byte | entity | The entity ID. | |
Public | byte | site | The site ID. |
Name | Description |
---|---|
EntityIDEditor() | Default constructor |
Access | Return | Name | Description | |
---|---|---|---|---|
Public | void | fromEntityID(EntityID EntityIDIn) | Converts the DIS Entity ID to an EntityIDEditor. | |
Public | EntityID | toEntityID() | Converts the EntityIDEditor to a DIS Entity ID. | |
Public | override | string | ToString() | Converts the EntityIDEditor to a string. |
int32 Application
The Application ID.
public const string DELIMITER_PERIOD = "."
Constant field that contains a the "." character.
int32 Entity
The Entity ID.
int32 Site
The Site ID.
EntityIDEditor()
Default constructor
public void fromEntityID
(
EntityID EntityIDIn
)
Converts the DIS Entity ID to an EntityIDEditor.
Parameter | Description |
---|---|
EntityIDIn | The DIS Entity ID to convert. |
public EntityID toEntityID()
Converts the EntityIDEditor to a DIS Entity ID.
Returns |
---|
The DIS Entity ID representation of the Entity ID Editor. |
public override string ToString()
Converts the EntityIDEditor to a string.
Returns |
---|
The string representation of the Entity ID Editor. |