mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-03 01:06:36 +00:00
[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:
@@ -109,6 +109,7 @@ public:
|
||||
static std::vector<std::string> Split(const std::string& s, const std::string& delimiter);
|
||||
static std::vector<std::string> Wrap(std::vector<std::string> &src, std::string character);
|
||||
static void FindReplace(std::string &string_subject, const std::string &search_string, const std::string &replace_string);
|
||||
static uint32 TimeToSeconds(std::string time_string);
|
||||
|
||||
template<typename T>
|
||||
static std::string
|
||||
|
||||
Reference in New Issue
Block a user