-
Notifications
You must be signed in to change notification settings - Fork 7
EntityIDEditor
huggins edited this page Apr 10, 2025
·
2 revisions
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 ApplicationThe Application ID.
public const string DELIMITER_PERIOD = "."Constant field that contains a the "." character.
int32 EntityThe Entity ID.
int32 SiteThe 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. |