Closed yannicklamprecht closed 2 years ago
A lot of events aren't defined yet, so it will have some some todos. Feel free to discuss which events are needed.
Probably Missing Events?!:
[ ] AccountNameChangeEvent
[ ] AccountNameChangedEvent
[ ] AccountRetrieveBalanceEvent
[ ] AccountRetrievedBalanceEvent
[ ] AccountBalanceModifyEvent
[ ] AccountBalanceModifiedEvent
[ ] AccountDoTransactionEvent
[ ] AccountDidTransactionEvent
[ ] AccountDeleteEvent
[ ] AccountDeletedEvent
[ ] AccountHistoryRetrieveEvent
[ ] AccountHistoryRetrievedEvent
[ ] AccountMemberIdsRetrievedEvent
[ ] AccountIsMemberEvent
[ ] AccountModifyPermissionEvent
[ ] AccountModifiedPermissionEvent
[ ] AccountPermissionsRetrieveEvent
[ ] AccountPermissionsRetrievedEvent
[ ] AccountPermissionCheckEvent
[ ] AccountPermissionCheckedEvent
[ ] PlayerAccountBalanceResetEvent
Thank you very much! I have a few questions:
And here are my opinions on each event you listed above:
as i see it, this api you will introduce will be a wrapper of the implemented api by economy providers, am i right? if i am, i don't really like this approach, but if others are agreeing i won't stop from merging.
as i see it, this api you will introduce will be a wrapper of the implemented api by economy providers, am i right? if i am, i don't really like this approach, but if others are agreeing i won't stop from merging.
I have the same opinion if such is the case.
Feel free to close. 👍🏼 Yeah it's a wrapper. The alternative could be the Template Pattern. https://www.tutorialspoint.com/design_pattern/template_pattern.htm
Feel free to close. 👍🏼 Yeah it's a wrapper. The alternative could be the Template Pattern. https://www.tutorialspoint.com/design_pattern/template_pattern.htm
The template pattern sounds like a brilliant alternative! @MrIvanPlays do you think that route would be viable for this?
that's gonna rock the boat too much. in which way we are obliged to call them? fgs they're only 2 events to call! the economy provider can do this easily.
that's gonna rock the boat too much. in which way we are obliged to call them? fgs they're only 2 events to call! the economy provider can do this easily.
Although I don't think it is at all necessary, if we do go with the template pattern then we can add several other events (see my original reply with the events list in a dropdown).
However I am currently more orientated to keep things the way it is.
Regardless of the PR being closed I am very grateful for your contribution @yannicklamprecht. Thank you very much. :)
Implements Event calling.
TODOS: