Alex King b91d879662
[Quest API] Add Instance Methods to Perl/Lua. (#2573)
* [Quest API] Add Instance Methods to Perl/Lua.

# Perl
- Add `quest::GetInstanceIDs(zone_name)`.
- Add `quest::GetInstanceIDsByCharID(zone_name, character_id)`.
- Add `quest::GetInstanceVersionByID(instance_id)`.
- Add `quest::GetInstanceZoneIDByID(instance_id)`.

# Lua
- Add `eq.get_instance_ids(zone_name)`.
- Add `eq.get_instance_ids_by_char_id(zone_name, character_id)`.
- Add `eq.get_instance_version_by_id(instance_id)`.
- Add `eq.get_instance_zone_id_by_id(instance_id)`.

# Notes
- The instance IDs methods return arrays of IDs for looping so you can check on mass the instances a player has for a zone.
- Keeps operators from having to guess which possible versions of a zone a player has an instance for or loop through them all to find out.
- Cleanup `common/database_instances.cpp` to mostly use repositories where possible.

* Update database.h

* Update character_corpses_repository.h
2022-11-26 10:43:29 -05:00
..
2020-07-07 02:09:39 -05:00
2014-08-21 16:44:02 -07:00
2014-08-21 17:26:32 -07:00
2016-05-30 06:52:25 -04:00
2017-01-22 22:26:34 -08:00
2014-08-21 19:33:02 -07:00
2014-08-21 19:33:02 -07:00
2014-08-21 17:26:32 -07:00
2016-05-25 16:10:28 -04:00
2014-08-21 17:26:32 -07:00
2015-12-17 14:14:04 -08:00
2015-12-17 14:14:04 -08:00
2018-04-27 21:41:52 -04:00
2018-04-27 21:41:52 -04:00
2016-05-25 02:38:06 -04:00
2020-01-16 17:17:31 -05:00
2014-08-21 19:36:50 -07:00
2020-05-09 14:40:33 -05:00
2021-07-16 21:50:46 -04:00
2014-12-15 22:42:59 -06:00
2015-01-19 04:02:45 -06:00
2019-04-16 01:09:25 -07:00
2019-04-16 01:09:25 -07:00
2019-09-01 23:54:24 -05:00
2016-10-16 21:36:39 -04:00
2019-09-01 23:41:26 -05:00
2018-07-14 17:41:42 -04:00
2014-08-21 19:33:02 -07:00
2022-10-15 15:17:50 -05:00
2022-10-15 15:17:50 -05:00