#pragma once #include "framework.h" namespace sol { class state; template struct as_table_t; } 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); GameScriptColor(Vector3 const &); GameScriptColor(Vector4 const &); operator Vector3() const; operator Vector4() const; byte GetR() const; void SetR(byte v); byte GetG() const; void SetG(byte v); byte GetB() const; void SetB(byte v); byte GetA() const; void SetA(byte v); std::string ToString() const; static void Register(sol::state* state); };