2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2016-05-20 09:17:51 +00:00
|
|
|
|
2019-09-22 21:52:05 +00:00
|
|
|
#include "Runtime/IOStreams.hpp"
|
2016-05-20 09:17:51 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
namespace urde {
|
2018-01-01 10:15:26 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
class CHUDMemoParms {
|
|
|
|
float x0_dispTime = 0.f;
|
|
|
|
bool x4_clearMemoWindow = false;
|
|
|
|
bool x5_fadeOutOnly = false;
|
|
|
|
bool x6_hintMemo = false;
|
2018-01-01 10:15:26 +00:00
|
|
|
|
2016-05-20 09:17:51 +00:00
|
|
|
public:
|
2018-12-08 05:30:43 +00:00
|
|
|
CHUDMemoParms() = default;
|
|
|
|
CHUDMemoParms(float dispTime, bool clearMemoWindow, bool fadeOutOnly, bool hintMemo)
|
|
|
|
: x0_dispTime(dispTime), x4_clearMemoWindow(clearMemoWindow), x5_fadeOutOnly(fadeOutOnly), x6_hintMemo(hintMemo) {}
|
2020-03-26 01:25:11 +00:00
|
|
|
explicit CHUDMemoParms(CInputStream& in) {
|
2018-12-08 05:30:43 +00:00
|
|
|
x0_dispTime = in.readFloatBig();
|
|
|
|
x4_clearMemoWindow = in.readBool();
|
|
|
|
}
|
2018-01-01 10:15:26 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
float GetDisplayTime() const { return x0_dispTime; }
|
|
|
|
bool IsClearMemoWindow() const { return x4_clearMemoWindow; }
|
|
|
|
bool IsFadeOutOnly() const { return x5_fadeOutOnly; }
|
|
|
|
bool IsHintMemo() const { return x6_hintMemo; }
|
2016-05-20 09:17:51 +00:00
|
|
|
};
|
2018-01-01 10:15:26 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace urde
|