Entity
Extends:
Direct Subclass:
Indirect Subclass:
A super-class that Parks/Resorts/etc. inherit from.
Handles general logic for objects that are a place/entity.
Constructor Summary
| Public Constructor | ||
| public |
constructor(options: object) Construct a new Entity |
|
Member Summary
| Public Members | ||
| public get |
Get entity's human-friendly fastpass support string |
|
| public get |
Get entity's human-friendly FastPassReturnTimes support string |
|
| public get |
LangOptions: string: * Get entity's human-friendly language string |
|
| public get |
Get entity's human-friendly location string |
|
| public get |
Get entity's human-friendly name string |
|
| public get |
Get entity's human-friendly moment now string |
|
| public get |
Get entity's human-friendly openingtimes support string |
|
| public get |
Get entity's human-friendly ride openingtimes support string |
|
| public get |
Get entity's human-friendly waittimes support string |
|
| public get |
Get entity's human-friendly timezone string |
|
Method Summary
| Public Methods | ||
| public |
getTimeNow(): string Return the current time for this entity in its local timezone |
|
| public |
getTimeNowMoment(): moment Return the current time for this entity in its local timezone |
|
| public |
Get a globally unique ID for this entity |
|
| public |
log(args: ...any) Debug log |
|
Inherited Summary
| From class ConfigBase | ||
| public |
config: * Parse the config of a specific park as object |
|
Public Constructors
public constructor(options: object) source
Construct a new Entity
Override:
ConfigBase#constructorParams:
| Name | Type | Attribute | Description |
| options | object |
Public Members
public get FastPassReturnTimes: string: * source
Get entity's human-friendly FastPassReturnTimes support string
public get SupportsOpeningTimes: string: * source
Get entity's human-friendly openingtimes support string
public get SupportsRideSchedules: string: * source
Get entity's human-friendly ride openingtimes support string
Public Methods
public getTimeNowMoment(): moment source
Return the current time for this entity in its local timezone
Return:
| moment |
public log(args: ...any) source
Debug log
Params:
| Name | Type | Attribute | Description |
| args | ...any | Message to debug log |
