Fixed crash in message dispatcher after 'meta unload'.
Various cosmetic changes.
This commit is contained in:
parent
9720a63401
commit
ff6c56aeac
37 changed files with 949 additions and 602 deletions
|
|
@ -30,6 +30,7 @@ private:
|
|||
SmallArray <Client> m_clients;
|
||||
SmallArray <Twin <String, String>> m_tags;
|
||||
|
||||
Dictionary <int32, String, IntNoHash <int32>> m_weaponAlias;
|
||||
Dictionary <String, int32> m_noiseCache;
|
||||
SimpleHook m_sendToHook;
|
||||
|
||||
|
|
@ -41,8 +42,8 @@ public:
|
|||
// need to send welcome message ?
|
||||
void checkWelcome ();
|
||||
|
||||
// gets the weapon alias as hlsting, maybe move to config...
|
||||
int getWeaponAlias (bool needString, const char *weaponAlias, int weaponIndex = -1);
|
||||
// converts weapon id to alias name
|
||||
const String &weaponIdToAlias (const int32 id);
|
||||
|
||||
// gets the build number of bot
|
||||
int buildNumber ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue