From 86196cc0125b34ced874a7e6d6c41baa3515dfac Mon Sep 17 00:00:00 2001 From: Maxim Slipenko Date: Wed, 14 Feb 2024 17:25:57 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20faction=5Fsystem?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- program/faction_system.cpp | 0 program/faction_system.h | 9 +++++++++ 2 files changed, 9 insertions(+) create mode 100644 program/faction_system.cpp create mode 100644 program/faction_system.h diff --git a/program/faction_system.cpp b/program/faction_system.cpp new file mode 100644 index 0000000..e69de29 diff --git a/program/faction_system.h b/program/faction_system.h new file mode 100644 index 0000000..70178f4 --- /dev/null +++ b/program/faction_system.h @@ -0,0 +1,9 @@ +// Система фракций и репутации - управляет отношениями между игроком и различными группировками +class FactionSystem { +public: + // Изменяет репутацию игрока в фракции + void changeReputation(int factionId, int reputationDelta); + + // Проверяет отношение фракции к игроку + int getReputation(int factionId); +};