mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[Sync] Project sync
This commit is contained in:
parent
f1c9e0f94b
commit
86690df496
22 changed files with 1731 additions and 385 deletions
|
|
@ -21,33 +21,61 @@
|
|||
* World of Warcraft, and all World of Warcraft or Warcraft art, images,
|
||||
* and lore are copyrighted by Blizzard Entertainment, Inc.
|
||||
*/
|
||||
|
||||
#ifndef MANGOSSERVER_PROGRESSBAR_H
|
||||
#define MANGOSSERVER_PROGRESSBAR_H
|
||||
|
||||
#include "Platform/Define.h"
|
||||
|
||||
/**
|
||||
* @brief
|
||||
*
|
||||
*/
|
||||
class MANGOS_DLL_SPEC BarGoLink
|
||||
{
|
||||
public: // constructors
|
||||
public:
|
||||
/**
|
||||
* @brief constructors
|
||||
*
|
||||
* @param row_count
|
||||
*/
|
||||
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
|
||||
/**
|
||||
* @brief
|
||||
*
|
||||
*/
|
||||
~BarGoLink();
|
||||
|
||||
public: // modifiers
|
||||
public:
|
||||
/**
|
||||
* @brief modifiers
|
||||
*
|
||||
*/
|
||||
void step();
|
||||
|
||||
/**
|
||||
* @brief
|
||||
*
|
||||
* @param on
|
||||
*/
|
||||
static void SetOutputState(bool on);
|
||||
private:
|
||||
/**
|
||||
* @brief
|
||||
*
|
||||
* @param row_count
|
||||
*/
|
||||
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;
|
||||
static bool m_showOutput; /**< not recommended change with existed active bar */
|
||||
static char const* const empty; /**< TODO */
|
||||
static char const* const full; /**< TODO */
|
||||
|
||||
int rec_no;
|
||||
int rec_pos;
|
||||
int num_rec;
|
||||
int indic_len;
|
||||
int rec_no; /**< TODO */
|
||||
int rec_pos; /**< TODO */
|
||||
int num_rec; /**< TODO */
|
||||
int indic_len; /**< TODO */
|
||||
};
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue