|
|
@ -2,7 +2,7 @@ |
|
|
|
* Class for an object that will provide an access to a Acedia's functionality |
|
|
|
* Class for an object that will provide an access to a Acedia's functionality |
|
|
|
* that is common for both clients and servers by giving a reference to this |
|
|
|
* that is common for both clients and servers by giving a reference to this |
|
|
|
* object to all Acedia's objects and actors, emulating a global API namespace. |
|
|
|
* object to all Acedia's objects and actors, emulating a global API namespace. |
|
|
|
* Copyright 2020-2022 Anton Tarasenko |
|
|
|
* Copyright 2020-2023 Anton Tarasenko |
|
|
|
*------------------------------------------------------------------------------ |
|
|
|
*------------------------------------------------------------------------------ |
|
|
|
* This file is part of Acedia. |
|
|
|
* This file is part of Acedia. |
|
|
|
* |
|
|
|
* |
|
|
@ -39,7 +39,6 @@ var public ColorAPI color; |
|
|
|
var public UserAPI users; |
|
|
|
var public UserAPI users; |
|
|
|
var public PlayersAPI players; |
|
|
|
var public PlayersAPI players; |
|
|
|
var public JSONAPI json; |
|
|
|
var public JSONAPI json; |
|
|
|
var public DBAPI db; |
|
|
|
|
|
|
|
var public SchedulerAPI scheduler; |
|
|
|
var public SchedulerAPI scheduler; |
|
|
|
var public AvariceAPI avarice; |
|
|
|
var public AvariceAPI avarice; |
|
|
|
|
|
|
|
|
|
|
@ -76,7 +75,6 @@ protected function Initialize() |
|
|
|
chat = ChatAPI(memory.Allocate(class'ChatAPI')); |
|
|
|
chat = ChatAPI(memory.Allocate(class'ChatAPI')); |
|
|
|
users = UserAPI(memory.Allocate(class'UserAPI')); |
|
|
|
users = UserAPI(memory.Allocate(class'UserAPI')); |
|
|
|
players = PlayersAPI(memory.Allocate(class'PlayersAPI')); |
|
|
|
players = PlayersAPI(memory.Allocate(class'PlayersAPI')); |
|
|
|
db = DBAPI(memory.Allocate(class'DBAPI')); |
|
|
|
|
|
|
|
scheduler = SchedulerAPI(memory.Allocate(class'SchedulerAPI')); |
|
|
|
scheduler = SchedulerAPI(memory.Allocate(class'SchedulerAPI')); |
|
|
|
avarice = AvariceAPI(memory.Allocate(class'AvariceAPI')); |
|
|
|
avarice = AvariceAPI(memory.Allocate(class'AvariceAPI')); |
|
|
|
environment = AcediaEnvironment(memory.Allocate(class'AcediaEnvironment')); |
|
|
|
environment = AcediaEnvironment(memory.Allocate(class'AcediaEnvironment')); |
|
|
@ -97,7 +95,6 @@ public function DropCoreAPI() |
|
|
|
users = none; |
|
|
|
users = none; |
|
|
|
players = none; |
|
|
|
players = none; |
|
|
|
json = none; |
|
|
|
json = none; |
|
|
|
db = none; |
|
|
|
|
|
|
|
scheduler = none; |
|
|
|
scheduler = none; |
|
|
|
avarice = none; |
|
|
|
avarice = none; |
|
|
|
default.myself = none; |
|
|
|
default.myself = none; |
|
|
|