Commit Graph

75 Commits

Author SHA1 Message Date
Paldiu
f41889e7df
Merge pull request #8 from AtlasMediaGroup/feat/doc-economy
Add documentation to economy-related interfaces
2023-06-09 13:22:28 -05:00
Allink
6ccaf5eb25
Add documentation to economy-related interfaces 2023-06-09 17:24:12 +01:00
Paldiu
cccf76d077
Update README.md 2023-06-04 19:01:31 -05:00
Paldiu
cb96e5b72d
Update README.md 2023-06-04 18:57:33 -05:00
Paldiu
ef0e25857e
Merge pull request #4 from AtlasMediaGroup/paul-was-playing-guitar-while-i-was-writing-this
Ports /cake over to Fossil. Every submodule has a plugin.yml now
2023-06-02 16:54:15 -05:00
Video
4ebeca9c73 Ports /cake over to Fossil and now every submodule has a plugin yml 2023-06-02 15:46:59 -06:00
Paldiu
e08a4cf02a
Merge pull request #2 from AtlasMediaGroup/banning-update
Create KyoriConstants.java
2023-05-24 21:11:57 -05:00
Paul Reilly
73d9f1e91d Create KyoriConstants.java
See docs for info
2023-05-24 21:10:59 -05:00
Video
595edc6e24
Merge pull request #1 from AtlasMediaGroup/banning-update
Banning update
2023-05-24 20:10:54 -06:00
Paul Reilly
b9a5440733 Minor update 2023-05-23 17:11:08 -05:00
Paul Reilly
5f6e7a153e Slight bugfix, also more code spec alignment 2023-05-21 22:11:31 -05:00
Paul Reilly
faca73f99c Merge branch 'banning-update' of https://github.com/SimplexDevelopment/FreedomNetworkSuite into banning-update 2023-05-21 21:47:54 -05:00
Paul Reilly
49ad109671 Adjust to better align with code specs 2023-05-21 21:47:10 -05:00
Paldiu
4dd4fa6ad1
Merge branch 'kitchen-sink' into banning-update 2023-05-21 19:29:17 -05:00
Paldiu
997fa2a4a9
Update README.md 2023-05-21 19:05:43 -05:00
Paldiu
82c8aed5ba
Merge pull request #5 from SimplexDevelopment/feat/economy-outline
Implement outline of the economy system
2023-05-21 18:53:30 -05:00
Allink
aadd5d57aa
Fix transaction logger implementation & remove unnecessary StringBuilder append 2023-05-20 20:22:46 +01:00
Allink
036ddf3e04
Add mutable & immutable transaction interfaces and implementations, replacing copy() 2023-05-20 20:20:39 +01:00
Allink
95df78da6f
Expose MutableAudienceForwarder in SimpleTransactionLogger
This will add the ability for us to add audiences to the MutableAudienceForwarder inside of SimpleTransactionLogger, which will make TransactionSpy much easier.
2023-05-20 06:37:12 +01:00
Allink
b98b0870b1
Finalize MutableAudienceForwarder instance inside of SimpleTransactionLogger 2023-05-20 06:36:16 +01:00
Allink
18353deb13
Remove unnecessary console sender audience from simple transaction logger 2023-05-20 06:35:58 +01:00
Allink
7817b0770c
Refactor arithmetic operations in EconomicEntityData to be more in-line with Transaction 2023-05-20 06:11:24 +01:00
Allink
cb208c710f
Refactor transaction balance methods to be more in-line with EconomicEntityData 2023-05-20 06:08:17 +01:00
Allink
a598434bf9
Refactor transaction results to be more consistent 2023-05-20 05:55:51 +01:00
Allink
0429604737
Add method for directly setting a transaction's balance 2023-05-20 05:55:26 +01:00
Allink
cd5c42801d
Rename transaction-related references of transfer amount to balance
This is done for more consistency between methods.
2023-05-20 05:54:24 +01:00
Allink
cad1ab8ec7
Remove a few this references 2023-05-20 05:42:17 +01:00
Allink
f366a91b36
Add transaction logging classes 2023-05-20 05:36:43 +01:00
Allink
bdd8c1fb68
Atomicize balance field in SimpleUserData 2023-05-20 05:21:36 +01:00
Allink
0e31bea33f
Add transactor & transaction result 2023-05-20 05:20:18 +01:00
Allink
57853a37c5
Add transaction freezing 2023-05-20 05:14:10 +01:00
Allink
8b692d1b11
Add financial transaction classes 2023-05-20 05:08:42 +01:00
Allink
2f18e4d8ef
Add economic entity interfaces
I decided to add these interfaces, instead of just building upon the User & UserData interface, as support for commerce between clans & users might be something that we want to add in the future in Clans.
2023-05-20 05:08:23 +01:00
Allink
2fd2008f65
Make the FreedomLogger an Audience
This will allow for a FreedomLogger instance to be added to any collection of audiences.

This was written for usage in a future TransactionSpy implementation.
2023-05-20 05:08:19 +01:00
Allink
12cfdfe31d
Add methods specifically for logging components to FreedomLogger
The new component-logging methods are ALL suffixed with "Component" to prevent type erasure conflicts with the other Supplier methods.

These methods were added for completeness for when I make the FreedomLogger an Audience.
2023-05-20 05:08:15 +01:00
Allink
55859b6b15
Add adventure utility class
This class is meant to track a global PlainTextComponentSerializer instance, so we don't have to call PlainTextComponentSerializer#plainText in every class that needs to serialize a Component into a String.

I implemented this so I can add component logging to FreedomLogger.
2023-05-20 05:08:11 +01:00
Allink
7756813d01
Add mutable audience forwarder class
This class allows for ForwardingAudience-esque behaviour, while being mutable. It is currently not thread safe.

It was implemented as we need a good way to implement a "TransactionSpy" (or "EconomySpy", maybe) in the future, once we finalize planned administrative functions.
2023-05-20 04:00:51 +01:00
Paul Reilly
288e32b47d fix import 2023-05-19 18:17:24 -05:00
Paul Reilly
8605120752 Remove ACF 2023-05-19 16:46:45 -05:00
Paul Reilly
47fcda6462 Updates 💯 2023-05-18 23:15:17 -05:00
Paldiu
1ecff910ec
Update README.md 2023-05-18 02:50:33 -05:00
Paldiu
f1f13f0217
Update README.md 2023-05-18 02:36:33 -05:00
Paldiu
0fbc51cb42
Merge pull request #3 from SimplexDevelopment/feat/scissors-api
Use Scissors API instead of Paper API
2023-05-17 19:59:36 -05:00
Allink
e044434512
Use Scissors API instead of Paper API
This will allow us to use Scissors-exclusive events in the future
2023-05-18 01:25:44 +01:00
Paldiu
ca004a1b50
Merge pull request #2 from SimplexDevelopment/fix/gradlew
Mark gradlew wrapper as executable
2023-05-17 19:04:18 -05:00
Allink
ce48bd2ab8
Mark gradlew wrapper as executable 2023-05-18 01:03:15 +01:00
Paldiu
772b5149ae
Update README.md 2023-05-17 17:07:08 -05:00
Paldiu
c80bbbc467
Update README.md 2023-05-17 16:08:58 -05:00
Paldiu
c8805bdf22
Update README.md 2023-05-17 16:05:37 -05:00
Paldiu
f18cd0ebb9
Update README.md 2023-05-17 16:04:23 -05:00