diff --git a/sources/BaseRealm/Global.uc b/sources/BaseRealm/Global.uc index d6a03a1..3671c34 100644 --- a/sources/BaseRealm/Global.uc +++ b/sources/BaseRealm/Global.uc @@ -29,7 +29,7 @@ var public RefAPI ref; var public BoxAPI box; var public LoggerAPI logger; var public CollectionsAPI collections; -var public UnrealAPI unreal; +var public ServerUnrealAPI unreal; var public TimeAPI time; var public AliasesAPI alias; var public TextAPI text; @@ -66,7 +66,7 @@ protected function Initialize() box = BoxAPI(memory.Allocate(class'BoxAPI')); text = TextAPI(memory.Allocate(class'TextAPI')); collections = CollectionsAPI(memory.Allocate(class'CollectionsAPI')); - unreal = UnrealAPI(memory.Allocate(class'UnrealAPI')); + unreal = ServerUnrealAPI(memory.Allocate(class'ServerUnrealAPI')); time = TimeAPI(memory.Allocate(class'TimeAPI')); logger = LoggerAPI(memory.Allocate(class'LoggerAPI')); alias = AliasesAPI(memory.Allocate(class'AliasesAPI')); diff --git a/sources/Gameplay/KF1Frontend/BaseImplementation/EKFInventory.uc b/sources/Gameplay/KF1Frontend/BaseImplementation/EKFInventory.uc index e80a8e8..8428822 100644 --- a/sources/Gameplay/KF1Frontend/BaseImplementation/EKFInventory.uc +++ b/sources/Gameplay/KF1Frontend/BaseImplementation/EKFInventory.uc @@ -36,7 +36,7 @@ class EKFInventory extends EInventory * *Weapons* are any inventory derived from `Weapon` inventory class, * although some features (dual-wielding support and recognizing whether weapon * can be dropped/removed). For recognizing dual-wielded weapons this class - * relies on `UnrealAPI.InventoryAPI` and its configuration. + * relies on `ServerUnrealAPI.InventoryAPI` and its configuration. * * Weapons are droppable/removable by default with the only exception of * weapons derived from `KFWeapon` that have `bKFNeverThrow` set to `true`. @@ -232,8 +232,9 @@ private function EItem TryAddUnknownItem(EKFUnknownItem newItem) } // Searches `inventoryChain` for a weapon that: -// 1. Has the same root as `inventoryClass` (see `UnrealAPI.InventoryAPI` -// for an explanation of what a "root" is); +// 1. Has the same root as `inventoryClass` +// (see `ServerUnrealAPI.InventoryAPI` for an explanation of what a +// "root" is); // 2. Has specified dual wielding role. private function KFWeapon GetByRootWithDualRole( class inventoryClass, diff --git a/sources/Manifest.uc b/sources/Manifest.uc index 4ac17f6..524593e 100644 --- a/sources/Manifest.uc +++ b/sources/Manifest.uc @@ -34,7 +34,7 @@ defaultproperties testCases(2) = class'TEST_Boxes' testCases(3) = class'TEST_Refs' testCases(4) = class'TEST_SignalsSlots' - testCases(5) = class'TEST_UnrealAPI' + testCases(5) = class'TEST_ServerUnrealAPI' testCases(6) = class'TEST_Aliases' testCases(7) = class'TEST_ColorAPI' testCases(8) = class'TEST_Text' diff --git a/sources/Unreal/Events/Unreal_OnTick_Signal.uc b/sources/Unreal/Events/Unreal_OnTick_Signal.uc index 62cdbbe..8a78cb2 100644 --- a/sources/Unreal/Events/Unreal_OnTick_Signal.uc +++ b/sources/Unreal/Events/Unreal_OnTick_Signal.uc @@ -1,5 +1,5 @@ /** - * Signal class implementation for `UnrealAPI`'s `OnTick` signal. + * Signal class implementation for `ServerUnrealAPI`'s `OnTick` signal. * Copyright 2021 Anton Tarasenko *------------------------------------------------------------------------------ * This file is part of Acedia. diff --git a/sources/Unreal/Events/Unreal_OnTick_Slot.uc b/sources/Unreal/Events/Unreal_OnTick_Slot.uc index 3a4ad96..65931f7 100644 --- a/sources/Unreal/Events/Unreal_OnTick_Slot.uc +++ b/sources/Unreal/Events/Unreal_OnTick_Slot.uc @@ -1,5 +1,5 @@ /** - * Slot class implementation for `UnrealAPI`'s `OnTick` signal. + * Slot class implementation for `ServerUnrealAPI`'s `OnTick` signal. * Copyright 2021 Anton Tarasenko *------------------------------------------------------------------------------ * This file is part of Acedia. diff --git a/sources/Unreal/UnrealAPI.uc b/sources/Unreal/ServerUnrealAPI.uc similarity index 99% rename from sources/Unreal/UnrealAPI.uc rename to sources/Unreal/ServerUnrealAPI.uc index bc6a2dc..eb940db 100644 --- a/sources/Unreal/UnrealAPI.uc +++ b/sources/Unreal/ServerUnrealAPI.uc @@ -18,7 +18,7 @@ * You should have received a copy of the GNU General Public License * along with Acedia. If not, see . */ -class UnrealAPI extends AcediaObject; +class ServerUnrealAPI extends AcediaObject; var public MutatorAPI mutator; var public GameRulesAPI gameRules; diff --git a/sources/Unreal/Tests/MockGameRulesA.uc b/sources/Unreal/Tests/MockGameRulesA.uc index 8ce9444..0bcc960 100644 --- a/sources/Unreal/Tests/MockGameRulesA.uc +++ b/sources/Unreal/Tests/MockGameRulesA.uc @@ -1,5 +1,5 @@ /** - * Mock `GameRules` class for testing `UnrealAPI` and it' methods for + * Mock `GameRules` class for testing `ServerUnrealAPI` and it' methods for * adding / removing `GameRules`. * Copyright 2021 Anton Tarasenko *------------------------------------------------------------------------------ diff --git a/sources/Unreal/Tests/MockGameRulesB.uc b/sources/Unreal/Tests/MockGameRulesB.uc index b90c33f..3c1ed2d 100644 --- a/sources/Unreal/Tests/MockGameRulesB.uc +++ b/sources/Unreal/Tests/MockGameRulesB.uc @@ -1,6 +1,6 @@ /** - * Mock `GameRules` class for testing `UnrealAPI` and it's methods for - * adding / removing `GameRules`. + * Mock `GameRules` class for testing `ServerUnrealAPI` and it's methods + * for adding / removing `GameRules`. * Copyright 2021 Anton Tarasenko *------------------------------------------------------------------------------ * This file is part of Acedia. diff --git a/sources/Unreal/Tests/MockInventoryA.uc b/sources/Unreal/Tests/MockInventoryA.uc index 1f0c5f2..8ed5c70 100644 --- a/sources/Unreal/Tests/MockInventoryA.uc +++ b/sources/Unreal/Tests/MockInventoryA.uc @@ -1,6 +1,6 @@ /** - * Mock inventory class for testing `UnrealAPI` and it's methods for - * adding / removing `GameRules`. + * Mock inventory class for testing `UnrealServerUnrealAPIAPI` and it's + * methods for adding / removing `GameRules`. * Copyright 2021 Anton Tarasenko *------------------------------------------------------------------------------ * This file is part of Acedia. diff --git a/sources/Unreal/Tests/MockInventoryAChild.uc b/sources/Unreal/Tests/MockInventoryAChild.uc index 9ae493b..60f2116 100644 --- a/sources/Unreal/Tests/MockInventoryAChild.uc +++ b/sources/Unreal/Tests/MockInventoryAChild.uc @@ -1,5 +1,5 @@ /** - * Mock inventory class for testing `UnrealAPI` and it's methods for + * Mock inventory class for testing `ServerUnrealAPI` and it's methods for * adding / removing `GameRules`. * Copyright 2021 Anton Tarasenko *------------------------------------------------------------------------------ diff --git a/sources/Unreal/Tests/MockInventoryB.uc b/sources/Unreal/Tests/MockInventoryB.uc index 49ba579..86d8158 100644 --- a/sources/Unreal/Tests/MockInventoryB.uc +++ b/sources/Unreal/Tests/MockInventoryB.uc @@ -1,5 +1,5 @@ /** - * Mock inventory class for testing `UnrealAPI` and it's methods for + * Mock inventory class for testing `ServerUnrealAPI` and it's methods for * adding / removing `GameRules`. * Copyright 2021 Anton Tarasenko *------------------------------------------------------------------------------ diff --git a/sources/Unreal/Tests/TEST_UnrealAPI.uc b/sources/Unreal/Tests/TEST_ServerUnrealAPI.uc similarity index 98% rename from sources/Unreal/Tests/TEST_UnrealAPI.uc rename to sources/Unreal/Tests/TEST_ServerUnrealAPI.uc index 148b812..ed6d59a 100644 --- a/sources/Unreal/Tests/TEST_UnrealAPI.uc +++ b/sources/Unreal/Tests/TEST_ServerUnrealAPI.uc @@ -1,5 +1,5 @@ /** - * Set of tests for `UnrealAPI` class. + * Set of tests for `ServerUnrealAPI` class. * Copyright 2021 Anton Tarasenko *------------------------------------------------------------------------------ * This file is part of Acedia. @@ -17,7 +17,7 @@ * You should have received a copy of the GNU General Public License * along with Acedia. If not, see . */ -class TEST_UnrealAPI extends TestCase; +class TEST_ServerUnrealAPI extends TestCase; protected static function int CountRulesAmount(class gameRulesClass) { @@ -226,6 +226,6 @@ protected static function SubTest_InventoryChainFetchingMany(Inventory chain) defaultproperties { - caseName = "UnrealAPI" + caseName = "ServerUnrealAPI" caseGroup = "Unreal" } \ No newline at end of file diff --git a/sources/Unreal/UnrealService.uc b/sources/Unreal/UnrealService.uc index 55efee3..e931f11 100644 --- a/sources/Unreal/UnrealService.uc +++ b/sources/Unreal/UnrealService.uc @@ -1,6 +1,6 @@ /** - * Service for the needs of `UnrealAPI`. Mainly tasked with creating API's - * `Signal`s. + * Service for the needs of `ServerUnrealAPI`. Mainly tasked with creating + * API's `Signal`s. * Copyright 2021-2022 Anton Tarasenko *------------------------------------------------------------------------------ * This file is part of Acedia.