Method GetObjectsInEncounterArea
GetObjectsInEncounterArea<T>()
Gets all objects of the given type that are currently in this encounter trigger.
public IEnumerable<T> GetObjectsInEncounterArea<T>() where T : NwGameObject
Returns
- IEnumerable<T>
An enumerable containing all objects currently in the encounter area.
Type Parameters
TThe type of objects to return.
GetObjectsInEncounterArea(ObjectTypes)
Gets all objects of the given types that are currently in this encounter trigger.
public IEnumerable<NwGameObject> GetObjectsInEncounterArea(ObjectTypes objectTypes = ObjectTypes.All)
Parameters
objectTypesObjectTypesThe types of object to return.
Returns
- IEnumerable<NwGameObject>
An enumerable containing all objects currently in the encounter area.