[Quest API] Add Time String to Seconds Method to Perl/Lua. (#2580)

* [Quest API] Add Time String to Seconds Method to Perl/Lua.

# Perl
- Add `quest::timetoseconds(time_string)`.

# Lua
- Add `eq.time_to_seconds(time_string)`.

# Notes
- Allows operators to use this method in place of hardcoded values like `3600`.

* Remove unused method.
This commit is contained in:
Alex King
2022-11-26 19:28:21 -05:00
committed by GitHub
parent ea9a02bec4
commit f7ae5850f0
8 changed files with 53 additions and 42 deletions
-1
View File
@@ -18,7 +18,6 @@ public:
static std::string GetDataRemaining(std::string bucket_key);
private:
static uint64 DoesBucketExist(std::string bucket_key);
static uint32 ParseStringTimeToInt(std::string time_string);
};