mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[11590] Cleanups for barGoLink
* Rename barGoLink -> BarGoLink as expected by mangos code style * Add uint32/uint6 constructor versions for BarGoLink, and remove lot casts required before for BarGoLink use
This commit is contained in:
parent
6b8f9fe03d
commit
c870ef324d
26 changed files with 430 additions and 410 deletions
|
|
@ -20,17 +20,21 @@
|
|||
|
||||
#include "Platform/Define.h"
|
||||
|
||||
class MANGOS_DLL_SPEC barGoLink
|
||||
class MANGOS_DLL_SPEC BarGoLink
|
||||
{
|
||||
public: // constructors
|
||||
barGoLink(int row_count);
|
||||
~barGoLink();
|
||||
explicit BarGoLink(int row_count);
|
||||
explicit BarGoLink(uint32 row_count); // row_count < ACE_INT32_MAX
|
||||
explicit BarGoLink(uint64 row_count); // row_count < ACE_INT32_MAX
|
||||
~BarGoLink();
|
||||
|
||||
public: // modifiers
|
||||
void step( void );
|
||||
void step();
|
||||
|
||||
static void SetOutputState(bool on);
|
||||
private:
|
||||
void init(int row_count);
|
||||
|
||||
static bool m_showOutput; // not recommended change with existed active bar
|
||||
static char const * const empty;
|
||||
static char const * const full;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue