# Interface: LocationInterface (/nqtr/index/interfaces/LocationInterface)



Defined in: [src/interface/navigation/LocationInterface.ts:5](https://github.com/DRincs-Productions/nqtr/blob/db22fe9e7612d547ff25befcc444cf095348917d/src/interface/navigation/LocationInterface.ts#L5)

## Extends [#extends]

* `LocationInternalInterface`

## Properties [#properties]

### activities [#activities]

\> **activities**: [`ActivityInterface`](/nqtr/index/interfaces/ActivityInterface)\[]

Defined in: [src/interface/navigation/NavigationAbstractClass.ts:31](https://github.com/DRincs-Productions/nqtr/blob/db22fe9e7612d547ff25befcc444cf095348917d/src/interface/navigation/NavigationAbstractClass.ts#L31)

The activities associated with this class, filtered based on their scheduling.

#### Inherited from [#inherited-from]

`LocationInternalInterface.activities`

***

### activitiesIds [#activitiesids]

\> `readonly` **activitiesIds**: `string`\[]

Defined in: [src/interface/navigation/NavigationAbstractClass.ts:27](https://github.com/DRincs-Productions/nqtr/blob/db22fe9e7612d547ff25befcc444cf095348917d/src/interface/navigation/NavigationAbstractClass.ts#L27)

All the ids of the activities associated with this class. Compared to [activities](#activities), they are not filtered based on their scheduling.

#### Inherited from [#inherited-from-1]

`LocationInternalInterface.activitiesIds`

***

### id [#id]

\> `readonly` **id**: `string`

Defined in: [src/interface/navigation/LocationInterface.ts:11](https://github.com/DRincs-Productions/nqtr/blob/db22fe9e7612d547ff25befcc444cf095348917d/src/interface/navigation/LocationInterface.ts#L11)

The id of the location.

#### Inherited from [#inherited-from-2]

`LocationInternalInterface.id`

***

### map [#map]

\> `readonly` **map**: [`MapInterface`](/nqtr/index/interfaces/MapInterface)

Defined in: [src/interface/navigation/LocationInterface.ts:15](https://github.com/DRincs-Productions/nqtr/blob/db22fe9e7612d547ff25befcc444cf095348917d/src/interface/navigation/LocationInterface.ts#L15)

The map where the location is.

#### Inherited from [#inherited-from-3]

`LocationInternalInterface.map`

***

### rooms [#rooms]

\> `readonly` **rooms**: [`RoomInterface`](/nqtr/index/interfaces/RoomInterface)\[]

Defined in: [src/interface/navigation/LocationInterface.ts:20](https://github.com/DRincs-Productions/nqtr/blob/db22fe9e7612d547ff25befcc444cf095348917d/src/interface/navigation/LocationInterface.ts#L20)

Get all rooms in the location.

#### Returns [#returns]

The rooms in the location.

#### Inherited from [#inherited-from-4]

`LocationInternalInterface.rooms`

## Methods [#methods]

### addActivity() [#addactivity]

\> **addActivity**(`activity`, `options?`): `void`

Defined in: [src/interface/navigation/NavigationAbstractClass.ts:13](https://github.com/DRincs-Productions/nqtr/blob/db22fe9e7612d547ff25befcc444cf095348917d/src/interface/navigation/NavigationAbstractClass.ts#L13)

Connects the activity to the class.

#### Parameters [#parameters]

##### activity [#activity]

`string` | [`ActivityInterface`](/nqtr/index/interfaces/ActivityInterface)

The activity to connect to the class.

##### options? [#options]

[`ActiveScheduling`](/nqtr/index/interfaces/ActiveScheduling)

#### Returns [#returns-1]

`void`

#### Inherited from [#inherited-from-5]

`LocationInternalInterface.addActivity`

***

### clearExpiredActivities() [#clearexpiredactivities]

\> **clearExpiredActivities**(): `void`

Defined in: [src/interface/navigation/NavigationAbstractClass.ts:23](https://github.com/DRincs-Productions/nqtr/blob/db22fe9e7612d547ff25befcc444cf095348917d/src/interface/navigation/NavigationAbstractClass.ts#L23)

Removes the useless activities.

#### Returns [#returns-2]

`void`

#### Inherited from [#inherited-from-6]

`LocationInternalInterface.clearExpiredActivities`

***

### getStorageProperty() [#getstorageproperty]

\> `protected` **getStorageProperty**\<`T`>(`propertyName`, `idToUse?`): `T` | `undefined`

Defined in: node_modules/@drincs/pixi-vn/dist/StoredClassModel-uMifeNzV.d.ts:56

Get a property from the storage.

#### Type Parameters [#type-parameters]

##### T [#t]

`T` = `StorageElementType`

#### Parameters [#parameters-1]

##### propertyName [#propertyname]

`string`

The name of the property to get.

##### idToUse? [#idtouse]

`string`

The id of the instance to get the property.

#### Returns [#returns-3]

`T` | `undefined`

The value of the property. If the property is not found, returns undefined.

#### Default [#default]

```ts
this.id
```

#### Inherited from [#inherited-from-7]

`LocationInternalInterface.getStorageProperty`

***

### migrateOldStorage() [#migrateoldstorage]

\> `protected` **migrateOldStorage**(`oldCategoryId?`): `void`

Defined in: node_modules/@drincs/pixi-vn/dist/StoredClassModel-uMifeNzV.d.ts:37

#### Parameters [#parameters-2]

##### oldCategoryId? [#oldcategoryid]

`string`

#### Returns [#returns-4]

`void`

#### Inherited from [#inherited-from-8]

`LocationInternalInterface.migrateOldStorage`

***

### removeActivity() [#removeactivity]

\> **removeActivity**(`activity`): `void`

Defined in: [src/interface/navigation/NavigationAbstractClass.ts:19](https://github.com/DRincs-Productions/nqtr/blob/db22fe9e7612d547ff25befcc444cf095348917d/src/interface/navigation/NavigationAbstractClass.ts#L19)

Disconnects the activity from the class.

#### Parameters [#parameters-3]

##### activity [#activity-1]

`string` | [`ActivityInterface`](/nqtr/index/interfaces/ActivityInterface)

The activity to disconnect from the class.

#### Returns [#returns-5]

`void`

#### Inherited from [#inherited-from-9]

`LocationInternalInterface.removeActivity`

***

### setStorageProperty() [#setstorageproperty]

\> `protected` **setStorageProperty**\<`T`>(`propertyName`, `value`): `void`

Defined in: node_modules/@drincs/pixi-vn/dist/StoredClassModel-uMifeNzV.d.ts:49

Update a property in the storage.

#### Type Parameters [#type-parameters-1]

##### T [#t-1]

`T`

The type of the value to set. (Deprecated, it is not necessary to specify the type of the value, it will be inferred from the value)

#### Parameters [#parameters-4]

##### propertyName [#propertyname-1]

`string`

The name of the property to set.

##### value [#value]

`StorageElementType`

The value to set. If is undefined, the property will be removed from the storage.

#### Returns [#returns-6]

`void`

#### Inherited from [#inherited-from-10]

`LocationInternalInterface.setStorageProperty`
