Remove "typedef struct" or "typedef enum" from a few places

This commit is contained in:
brainiac
2025-12-28 02:25:43 -08:00
parent b8deacca01
commit 72fa8cf845
17 changed files with 42 additions and 43 deletions
+2 -2
View File
@@ -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
View File
@@ -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 {
+2 -2
View File
@@ -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;
};