mirror of
https://github.com/UOX3DevTeam/UOX3
synced 2026-08-13 12:27:04 -04:00
Misc cleanup and standardization of style and naming conventions in code and scripts Added missing code for showing race in paperdoll based on ini setting Players can no longer use Polymorph spell while incognitoed, or while under effect of tribal paint Players can no longer use Incognito spell while polymorphed, or while under the effects of tribal paint Facial hair is now removed from players who are under the effects of Incognito spell that changes their gender for female
27 lines
398 B
C++
27 lines
398 B
C++
// Created on: 3/28/21
|
|
|
|
#ifndef TimeUtility_hpp
|
|
#define TimeUtility_hpp
|
|
|
|
#include <cstdint>
|
|
#include <string>
|
|
#include <chrono>
|
|
|
|
namespace timeutil
|
|
{
|
|
std::string timeNow();
|
|
|
|
struct Interval_st
|
|
{
|
|
private:
|
|
std::chrono::time_point<std::chrono::steady_clock> startTime;
|
|
|
|
public:
|
|
Interval_st();
|
|
void Start();
|
|
long long Elapsed();
|
|
long long Stop();
|
|
};
|
|
}
|
|
|
|
#endif /* TimeUtility_hpp */
|