You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
std::vector<std::pair<int, Msg>> - receiving id; List of messages, that represent the votelist updates
alternatively std::vector<std::pair<int, std::vector>>
might need to test performance
Basically we have the default vote list, that can be manipulated by the admin and below or above that we want to have the personalized vote options.
We need to have some container to save each player's personal votes. Might use a map [string] : <string,string> where the first mapped string is the vote description and the second the command, that is associated with the description.
(Normal votes are to be checked first and then the invoked vote description is to be matched against the mapped description.)
Vote updates should be able to directly modify the stecific vote command.
std::map<std::string, std::pairstd::string,std::string>[64]
<Identifying keyword, <description, command>
Each map needs to have a reset mechanism, when a player leaves and an initializer when je joins.
The text was updated successfully, but these errors were encountered:
Add asynchronous stuff.
Every synchronously executed lambda function should be executed asynchronously and add data to a message list(mutexed access), in order to add the possibility to execute blocking functions that access the database.
std::vector<std::pair<int, Msg>> - receiving id; List of messages, that represent the votelist updates
alternatively std::vector<std::pair<int, std::vector>>
might need to test performance
Basically we have the default vote list, that can be manipulated by the admin and below or above that we want to have the personalized vote options.
We need to have some container to save each player's personal votes. Might use a map [string] : <string,string> where the first mapped string is the vote description and the second the command, that is associated with the description.
(Normal votes are to be checked first and then the invoked vote description is to be matched against the mapped description.)
Vote updates should be able to directly modify the stecific vote command.
std::map<std::string, std::pairstd::string,std::string>[64]
<Identifying keyword, <description, command>
Each map needs to have a reset mechanism, when a player leaves and an initializer when je joins.
The text was updated successfully, but these errors were encountered: