Bundle mission speech with an admin mute option and fix live audio downloads
This commit is contained in:
@@ -24,7 +24,7 @@ struct ERR_GameMode {bool active=true,pending=false;std::string url="clip";Roste
|
||||
bool Active(){return active;}bool ERR_WelcomePending(){return pending;}std::string ERR_WelcomeVoiceURL(){return url;}Roster* Players(){return &roster;}};
|
||||
ERR_GameMode* ERR_GameMode::current;
|
||||
namespace Replication {bool server=true;bool IsServer(){return server;}}
|
||||
struct ERR_WelcomeVoiceRules {static bool URL(std::string s){return !s.empty();}};
|
||||
struct ERR_WelcomeVoiceRules {static bool Source(std::string s){return !s.empty();}};
|
||||
struct Game {Controller* owner=nullptr;Controller* canonical=nullptr;float now=1000;Ledger ledger;Controller* GetPlayerController(){return owner;}
|
||||
Game* GetWorld(){return this;}Game* GetPlayerManager(){return this;}float GetWorldTime(){return now;}Controller* GetPlayerController(int){return canonical;}
|
||||
bool ERR_ClaimWelcomeIdentity(UUID id){return ledger.Claim(id);}} game;
|
||||
|
||||
Reference in New Issue
Block a user