Changeset View
Changeset View
Standalone View
Standalone View
src/client/client-model.hpp
| Show First 20 Lines • Show All 187 Lines • ▼ Show 20 Lines | struct ClientModel | ||||
| } | } | ||||
| inline auto popAllTriggers() { | inline auto popAllTriggers() { | ||||
| auto triggers = std::move(nextTriggers); | auto triggers = std::move(nextTriggers); | ||||
| nextTriggers = DEFVAL; | nextTriggers = DEFVAL; | ||||
| return triggers; | return triggers; | ||||
| } | } | ||||
| void maybeAddSaveEventsTrigger(const ClientModel &old); | |||||
| using Action = ClientAction; | using Action = ClientAction; | ||||
| using Effect = ClientEffect; | using Effect = ClientEffect; | ||||
| using Result = ClientResult; | using Result = ClientResult; | ||||
| static Result update(ClientModel m, Action a); | static Result update(ClientModel m, Action a); | ||||
| }; | }; | ||||
| // actions: | // actions: | ||||
| ▲ Show 20 Lines • Show All 455 Lines • Show Last 20 Lines | |||||