mirror of
https://github.com/Karaka-Management/cOMS.git
synced 2026-01-10 19:08:39 +00:00
23 lines
429 B
C
Executable File
23 lines
429 B
C
Executable File
#ifndef COMS_MODULE_H
|
|
#define COMS_MODULE_H
|
|
|
|
#include "../stdlib/Types.h"
|
|
#include "../../cOMS/system/Library.h"
|
|
|
|
enum ModuleType {
|
|
MODULE_TYPE_HUD,
|
|
MODULE_TYPE_UI,
|
|
MODULE_TYPE_WINDOW, // Additional window
|
|
MODULE_TYPE_API, // Extracts data and sends it somewhere (website, file, etc.)
|
|
};
|
|
|
|
struct Module {
|
|
char name[128];
|
|
int32 version;
|
|
ModuleType type;
|
|
bool is_active;
|
|
|
|
Library lib;
|
|
};
|
|
|
|
#endif |