ECSTASY
All in the name
Loading...
Searching...
No Matches
Action.hpp
Go to the documentation of this file.
1
11
12#ifndef ECSTASY_INTEGRATIONS_USER_ACTION_ACTION_HPP_
13#define ECSTASY_INTEGRATIONS_USER_ACTION_ACTION_HPP_
14
15#include <cstddef>
16
18{
25 struct Action {
27 using Id = size_t;
28
30 static constexpr Id All = static_cast<size_t>(-1);
31
35 size_t senderId;
37 float value;
38 };
39
40} // namespace ecstasy::integration::user_action
41
42#endif /* !ECSTASY_INTEGRATIONS_USER_ACTION_ACTION_HPP_ */
User action integration.
Definition Action.hpp:18
Describe an action changed event.
Definition Action.hpp:25
size_t senderId
Sender identifier.
Definition Action.hpp:35
static constexpr Id All
Constant id matching any action ID.
Definition Action.hpp:30
size_t Id
Action identifier type.
Definition Action.hpp:27