Skip to content

Commit

Permalink
MiniScript: some initial WIP regarding custom data types: should be c…
Browse files Browse the repository at this point in the history
…omplete, lets test in next session (2)
  • Loading branch information
andreasdr committed Nov 6, 2023
1 parent b5fa04c commit 7f56877
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions src/tdme/utilities/MiniScript.h
Original file line number Diff line number Diff line change
Expand Up @@ -195,19 +195,6 @@ class tdme::utilities::MiniScript {
*/
virtual void registerMethods(MiniScript* miniScript) const = 0;

/**
* Set value from given value into variable
* @param value value
*/
virtual void setValue(ScriptVariable& variable, const void* value) const = 0;

/**
* Copy script variable
* @param from from
* @param to to
*/
virtual void copyScriptVariable(ScriptVariable& to, const ScriptVariable& from) const = 0;

/**
* Unset script variable
* @param variable variable
Expand All @@ -221,6 +208,13 @@ class tdme::utilities::MiniScript {
*/
virtual void setScriptVariableValue(ScriptVariable& variable, const void* value) = 0;

/**
* Copy script variable
* @param from from
* @param to to
*/
virtual void copyScriptVariable(ScriptVariable& to, const ScriptVariable& from) const = 0;

public:
// forbid class copy
FORBID_CLASS_COPY(ScriptDataType)
Expand Down

0 comments on commit 7f56877

Please sign in to comment.