|
static uint | ConvertMappedId (this List< MissionMappedVessel > list, uint id) |
| Takes a persistentId and looks for it in the currentVesselPersistentId or mappedVesselPersistentId and returns the currentVesselPersistentId More...
|
|
static bool | Exists (this List< MissionMappedVessel > list, uint vslId, uint partId, string vesselName, string craftName) |
| Confirms if an Entry exists in the list with matching currentVesselPersistentId, partPersistentId and vesselName More...
|
|
static MissionMappedVessel | Find (this List< MissionMappedVessel > list, uint vslId, uint partId, string vesselName, string craftName) |
| Confirms if an Entry exists in the list with matching currentVesselPersistentId, partPersistentId and vesselName and returns that entry. Returns Null if no entry is found. More...
|
|
static int | IndexCurrentVesselId (this List< MissionMappedVessel > list, uint id) |
| Return the Index of the first matching currentVesselPersistentId found. More...
|
|
static int | IndexMappedVesselId (this List< MissionMappedVessel > list, uint id) |
| Return the Index of first matching mappedVesselPersistentId found. More...
|
|
static int | IndexPartId (this List< MissionMappedVessel > list, uint id) |
| Return the Index of the first matching partPersistentId found. More...
|
|
static int | MappedVesselName (this List< MissionMappedVessel > list, string vesselName) |
| Find and return the index for a mapped Vessel name. More...
|
|
static uint Expansions.Missions.MissionMappedVesselsExtension.ConvertMappedId |
( |
this List< MissionMappedVessel > |
list, |
|
|
uint |
id |
|
) |
| |
|
inlinestatic |
Takes a persistentId and looks for it in the currentVesselPersistentId or mappedVesselPersistentId and returns the currentVesselPersistentId
- Parameters
-
- Returns
- The actual craft/vessel situation id for the matching item, or the passed in id if not found.
static bool Expansions.Missions.MissionMappedVesselsExtension.Exists |
( |
this List< MissionMappedVessel > |
list, |
|
|
uint |
vslId, |
|
|
uint |
partId, |
|
|
string |
vesselName, |
|
|
string |
craftName |
|
) |
| |
|
inlinestatic |
Confirms if an Entry exists in the list with matching currentVesselPersistentId, partPersistentId and vesselName
- Parameters
-
list | |
vslId | The currentVesselPersistentId to compare |
partId | The partPersistentId to compare |
vesselName | The vesselName to compare |
craftName | The craftName to compare |
- Returns
Confirms if an Entry exists in the list with matching currentVesselPersistentId, partPersistentId and vesselName and returns that entry. Returns Null if no entry is found.
- Parameters
-
list | |
vslId | The currentVesselPersistentId to compare |
partId | The partPersistentId to compare |
vesselName | The vesselName to compare |
craftName | The craftName to compare |
- Returns
static int Expansions.Missions.MissionMappedVesselsExtension.IndexCurrentVesselId |
( |
this List< MissionMappedVessel > |
list, |
|
|
uint |
id |
|
) |
| |
|
inlinestatic |
Return the Index of the first matching currentVesselPersistentId found.
- Parameters
-
list | |
id | the persistentId to look for |
- Returns
- The index of the currentVesselPersistentId if found, otherwise returns -1.
static int Expansions.Missions.MissionMappedVesselsExtension.IndexMappedVesselId |
( |
this List< MissionMappedVessel > |
list, |
|
|
uint |
id |
|
) |
| |
|
inlinestatic |
Return the Index of first matching mappedVesselPersistentId found.
- Parameters
-
list | |
id | the persistentId to look for |
- Returns
- The index of the mappedVesselPersistentId if found, otherwise returns -1.
static int Expansions.Missions.MissionMappedVesselsExtension.IndexPartId |
( |
this List< MissionMappedVessel > |
list, |
|
|
uint |
id |
|
) |
| |
|
inlinestatic |
Return the Index of the first matching partPersistentId found.
- Parameters
-
list | |
id | the persistentId to look for |
- Returns
- The index of the partPersistentId if found, otherwise returns -1.
static int Expansions.Missions.MissionMappedVesselsExtension.MappedVesselName |
( |
this List< MissionMappedVessel > |
list, |
|
|
string |
vesselName |
|
) |
| |
|
inlinestatic |
Find and return the index for a mapped Vessel name.
- Parameters
-
- Returns
- the index of the matching item, or -1 if not found.
The documentation for this class was generated from the following file: