mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-21 02:18:26 +00:00
Remove "typedef struct" or "typedef enum" from a few places
This commit is contained in:
+2
-2
@@ -24,14 +24,14 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
typedef enum {
|
||||
enum CLE_Status {
|
||||
Never,
|
||||
Offline,
|
||||
Online,
|
||||
CharSelect,
|
||||
Zoning,
|
||||
InZone
|
||||
} CLE_Status;
|
||||
};
|
||||
|
||||
static const char *CLEStatusString[] = {
|
||||
"Never",
|
||||
|
||||
+2
-2
@@ -25,10 +25,10 @@
|
||||
|
||||
class LauncherLink;
|
||||
|
||||
typedef struct {
|
||||
struct LauncherZone{
|
||||
std::string name;
|
||||
uint16 port;
|
||||
} LauncherZone;
|
||||
};
|
||||
|
||||
//a class exported to perl representing a launcher's in-DB config
|
||||
class EQLConfig {
|
||||
|
||||
@@ -69,10 +69,10 @@ protected:
|
||||
|
||||
uint8 m_dynamicCount;
|
||||
|
||||
typedef struct {
|
||||
struct ZoneState{
|
||||
bool up;
|
||||
uint32 starts; //number of times this zone has started
|
||||
uint16 port; //the port this zone wants to use (0=pick one)
|
||||
} ZoneState;
|
||||
};
|
||||
std::map<std::string, ZoneState> m_states;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user