Print errors

This commit is contained in:
Federico Cecchetto
2021-11-08 01:36:48 +01:00
parent eee68760e4
commit 640fb032ea
9 changed files with 191 additions and 50 deletions

View File

@ -15,6 +15,11 @@ namespace scripting
{
}
script_value::script_value(const value_wrap& value)
: value_(value.get_raw())
{
}
script_value::script_value(void* value)
{
game::VariableValue variable{};
@ -315,4 +320,10 @@ namespace scripting
{
return this->value_.get();
}
value_wrap::value_wrap(const scripting::script_value& value, int argument_index)
: value_(value)
, argument_index_(argument_index)
{
}
}