Anton Tarasenko
7e9a5f16b8
Add ability to read formattes data from `Text`
...
Previously one could only read formatted data directly from `string`s.
This patch adds another method `AppendFormatted()` for appending a
`Text`/`MutableText`, while parsing its data like a formatted string.
3 years ago
Anton Tarasenko
3e376f621e
Add support for short color tags
...
Adds `ColorAPI` support for short color tags that start with "^",
e.g. "^3", "^p", "^w", etc.
3 years ago
Anton Tarasenko
4af70b95c1
Change arg of `_.json.Pointer()` to be optional
...
This method was creating an empty json pointer when user passed a `none`
value, but having to pass `none` made for a bad interface. This patch
allows to simply omit the argument.
3 years ago
Anton Tarasenko
5f66705386
Fix commit about creation of test database
3 years ago
Anton Tarasenko
08617f0327
Fix configs
3 years ago
Anton Tarasenko
155e4228e7
Update configs
3 years ago
Anton Tarasenko
31d73b82b0
Fix type in log message
3 years ago
Anton Tarasenko
f18180a8f8
Add prototype interfaces for inventory management
3 years ago
Anton Tarasenko
2bdb4ba3ac
Fix bad unused varibles cleanup for `APlayer`
3 years ago
Anton Tarasenko
eac84e9ccb
Fix help commands output when there is no options
3 years ago
Anton Tarasenko
9d0d5d705b
Change aliases API to accept aliases with $ prefix
3 years ago
Anton Tarasenko
abdc900563
Fix typo-bug in `ConsoleWriter`
3 years ago
Anton Tarasenko
d71f74db91
Add `ConsoleWriter` ability to pick receivers
...
Before this patch `ConsoleWriter` could only send messages to all
players or to none of them. Now it posseses methods to configure a
sprecise set of players to send messages to.
3 years ago
Anton Tarasenko
eb6f456fe8
Fix `none` spam in `ConsoleBuffer`
3 years ago
Anton Tarasenko
0b04bf041d
Add method to set console color for one write call
3 years ago
Anton Tarasenko
ef064ab2be
Rename `GetPlayers()` as `GetAll()` in PlayersAPI
3 years ago
Anton Tarasenko
fbdb5d68b8
Remove (move) admin commands from the core package
3 years ago
Anton Tarasenko
51c6a5e0ab
Remove commands list from manifest
3 years ago
Anton Tarasenko
952e6e5496
Add logging to `DBAPI`
3 years ago
Anton Tarasenko
68bd7265f8
Fix database creating/loading methods
...
Methods didn't do `none` checks where necessary and passed `MutableText`
as a key, where `Text` keys were expected.
3 years ago
Anton Tarasenko
8e32e550bd
Add `Database` reference to db query replies
3 years ago
Anton Tarasenko
0e328b48ce
Remove methods for creating "Acedia structure"
3 years ago
Anton Tarasenko
2e3b58821c
Fix iterator not being deallocated (again)
3 years ago
Anton Tarasenko
8364da61cf
Add `RemoveCommand()` to commands feature
3 years ago
Anton Tarasenko
5e10ed677c
Fix iterators not being deallocated
3 years ago
Anton Tarasenko
d6e293c06e
Add test for deallocating keys in AssociativeArray
3 years ago
Anton Tarasenko
b1589217c4
Fix players registering with a bad ID
...
Connecting players were handled too early, when their id hash was not
yet correctly setup.
3 years ago
Anton Tarasenko
a3ebca8d40
Add methods for using User's persistent data
3 years ago
Anton Tarasenko
586a42343b
Fix performing code inside deallocated `Timer`
...
`Timer` could have been deallocated after it has emitted its signal, but
still try to execute code and change its internal state. This patch
prevents that.
3 years ago
Anton Tarasenko
3f24194d72
Fix memory leak in `JSONPointer`
3 years ago
Anton Tarasenko
1b9307f935
Fix docs
3 years ago
Anton Tarasenko
8251cc2057
Change Signal to disconnect bad receivers quicker
3 years ago
Anton Tarasenko
ca21077fe1
Change how local databases are loaded
...
This patch addresses issues with inability to define and create a new
database from scratch from configs, as well as invalid definition of
database links that required them to contain "/" character.
3 years ago
Anton Tarasenko
a5df8ff5ef
Add disk updates to local database
3 years ago
Anton Tarasenko
3911ebb819
Fix possible access to `none`
3 years ago
Anton Tarasenko
0aa3ba9fb2
Add database links support into `DBAPI`
3 years ago
Anton Tarasenko
9acc036f48
Fix bug with copying methods for `Text`
...
`Copy()` and `MutableCopy()` methods for `Text` incorrectly handled
negative arguments in some cases. They were fixed and appropriate tests
were added.
3 years ago
Anton Tarasenko
46ade7b829
Improve docs
3 years ago
Anton Tarasenko
81247fd00b
Rename `AppendPlainString()` into `AppendString()`
3 years ago
Anton Tarasenko
ad3d786960
Rename `ToPlainString()` method into `ToString()`
3 years ago
Anton Tarasenko
79e60e670a
Fix not deallocating keys with `Empty()`
...
`AssociativeArray` did not deallocate keys for non-managed items on
`Empty()` call.
3 years ago
Anton Tarasenko
47c08b3d86
Improve key deallocation support for `Collection`s
...
`RemoveItem()` method for `AssociativeArray()` is now able to deallocate
keys. `Empty()` method is now defined in a `Collectino` class and allows
users to recursively free nested collections, while deallocating their
keys.
3 years ago
Anton Tarasenko
c98b2f9bcf
Fix missing return value in `EnableMe()` method
3 years ago
Anton Tarasenko
e9cb6f1bd5
Change `CoreService` to work with Acedia's loader
3 years ago
Anton Tarasenko
482219bea3
Add `MemoryAPI` methods that work with `string`s
...
`MemoryAPI` is low-level enough that `string` methods had to be added
for convenience.
3 years ago
Anton Tarasenko
e8a547e36d
Fix visibility modifiers for `Feature` class
...
Some variables and methods didn't need to be public anymore.
3 years ago
Anton Tarasenko
085a098168
Change `EnableMe()` to have a more sane behavior
...
This method did not do any checks for validity of its parameters and its
behavior wasn't consistent in that it woldn't set specified config in
case `Feature` was already enabled. Now it will.
3 years ago
Anton Tarasenko
66f5c14185
Improve documentation
3 years ago
Anton Tarasenko
e56c4ff071
Fix `UnrealService` not creating certain signal
3 years ago
Anton Tarasenko
3133b17068
Add `FindActorInstance()` method to UnrealAPI
3 years ago