2021-06-29 05:28:17 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "framework.h"
|
|
|
|
|
2021-07-20 17:48:39 +01:00
|
|
|
namespace sol {
|
|
|
|
class state;
|
|
|
|
template <typename T> struct as_table_t;
|
|
|
|
}
|
|
|
|
|
2021-06-29 05:28:17 +02:00
|
|
|
class GameScriptColor {
|
|
|
|
public:
|
|
|
|
byte r;
|
|
|
|
byte g;
|
|
|
|
byte b;
|
|
|
|
byte a;
|
|
|
|
|
|
|
|
GameScriptColor(byte r, byte g, byte b);
|
|
|
|
GameScriptColor(byte r, byte g, byte b, byte a);
|
|
|
|
|
|
|
|
byte GetR();
|
|
|
|
void SetR(byte v);
|
|
|
|
byte GetG();
|
|
|
|
void SetG(byte v);
|
|
|
|
byte GetB();
|
|
|
|
void SetB(byte v);
|
|
|
|
byte GetA();
|
|
|
|
void SetA(byte v);
|
2021-07-20 17:48:39 +01:00
|
|
|
|
|
|
|
void Register(sol::state* state);
|
2021-06-29 05:28:17 +02:00
|
|
|
};
|