put game_ports into mod_helper
This commit is contained in:
parent
9e6e2a4d32
commit
46cbeabad5
|
@ -3,7 +3,12 @@
|
|||
|
||||
#include "multisock.h"
|
||||
#include "netpkt.h"
|
||||
#include "module.h"
|
||||
|
||||
struct game_ports {
|
||||
int portlo;
|
||||
int porthi;
|
||||
int gameid;
|
||||
};
|
||||
|
||||
class ModHelper {
|
||||
public:
|
||||
|
|
7
module.h
7
module.h
|
@ -1,6 +1,7 @@
|
|||
#ifndef _MODULE_H_
|
||||
#define _MODULE_H_
|
||||
|
||||
#include "list.h"
|
||||
#include "config.h"
|
||||
#include "multisock.h"
|
||||
#include "netpkt.h"
|
||||
|
@ -58,12 +59,6 @@ enum {
|
|||
ID_COD2 // "Call of Duty 2"
|
||||
};
|
||||
|
||||
struct game_ports {
|
||||
int portlo;
|
||||
int porthi;
|
||||
int gameid;
|
||||
};
|
||||
|
||||
class Module : private ListEntry<Module> {
|
||||
public:
|
||||
virtual ~Module() {};
|
||||
|
|
Loading…
Reference in New Issue