mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-01 01:08:01 +03:00
33 lines
654 B
C
33 lines
654 B
C
![]() |
#pragma once
|
||
|
|
||
|
#include "GameScriptNamedBase.h"
|
||
|
#include "phd_global.h"
|
||
|
|
||
|
namespace sol {
|
||
|
class state;
|
||
|
}
|
||
|
class GameScriptPosition;
|
||
|
|
||
|
class GameScriptSinkInfo : public GameScriptNamedBase<GameScriptSinkInfo, SINK_INFO &>
|
||
|
{
|
||
|
public:
|
||
|
GameScriptSinkInfo(SINK_INFO& ref, bool temp);
|
||
|
~GameScriptSinkInfo();
|
||
|
static void Register(sol::state *);
|
||
|
GameScriptPosition GetPos() const;
|
||
|
void SetPos(GameScriptPosition const& pos);
|
||
|
|
||
|
int GetStrength() const;
|
||
|
void SetStrength(int strength);
|
||
|
|
||
|
int GetBoxIndex() const;
|
||
|
void SetBoxIndex(int Room);
|
||
|
|
||
|
std::string GetName() const;
|
||
|
void SetName(std::string const &);
|
||
|
|
||
|
private:
|
||
|
SINK_INFO & m_sink;
|
||
|
bool m_temporary;
|
||
|
};
|