From ca3326e09a30181127a3e49985538ef424b5e612 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Wed, 25 Sep 2024 18:22:37 +0200 Subject: core: rename property accessors of participant --- core/include/turns/core/participant.hpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'core/include') diff --git a/core/include/turns/core/participant.hpp b/core/include/turns/core/participant.hpp index c21aa8b..a7eb98d 100644 --- a/core/include/turns/core/participant.hpp +++ b/core/include/turns/core/participant.hpp @@ -24,11 +24,11 @@ namespace turns::core auto operator<=>(participant const & other) const noexcept -> std::partial_ordering; - auto disposition(this auto && self); - auto is_active(this auto && self); - auto is_defeated(this auto && self); - auto name(this auto && self); - auto priority(this auto && self); + auto property_disposition(this auto && self); + auto property_is_active(this auto && self); + auto property_is_defeated(this auto && self); + auto property_name(this auto && self); + auto property_priority(this auto && self); auto serialize() -> nlohmann::json; @@ -40,27 +40,27 @@ namespace turns::core Glib::Property m_priority{*this, "priority", 0.0f}; }; - auto participant::disposition(this auto && self) + auto participant::property_disposition(this auto && self) { return self.m_disposition.get_proxy(); } - auto participant::is_active(this auto && self) + auto participant::property_is_active(this auto && self) { return self.m_is_active.get_proxy(); } - auto participant::is_defeated(this auto && self) + auto participant::property_is_defeated(this auto && self) { return self.m_is_defeated.get_proxy(); } - auto participant::name(this auto && self) + auto participant::property_name(this auto && self) { return self.m_name.get_proxy(); } - auto participant::priority(this auto && self) + auto participant::property_priority(this auto && self) { return self.m_priority.get_proxy(); } -- cgit v1.2.3