ParCompMark::SqVM::Script Struct Reference

#include <PCMSqVM.h>

List of all members.


Detailed Description

Struct for script attributes.

Definition at line 126 of file PCMSqVM.h.


Public Types

typedef ParCompMark::Pointer<
Script, DummyLock
Pointer
 Smart pointer on this struct.

Public Attributes

bool dynamic
 Indicate that the script is dynamic otherwise loaded from a file.
std::string name
 Name of the script (filename or dynamic script name).
std::string scriptString
 Script containing the source code.
SquirrelObject scriptObject
 Squirrel script object.
bool compiled
 The loaded script.
std::string mainMethod
 Name of the entry method.
bool hasReturn
 The script has a return value.
std::string returnValue
 Return value of the last execution.
const SQChar * parameters [10]
 Script parameters.
u32 parameterCount
 Number of parameters.

Member Typedef Documentation

Smart pointer on this struct.

Definition at line 150 of file PCMSqVM.h.


Member Data Documentation

The loaded script.

Definition at line 138 of file PCMSqVM.h.

Indicate that the script is dynamic otherwise loaded from a file.

Definition at line 130 of file PCMSqVM.h.

The script has a return value.

Definition at line 142 of file PCMSqVM.h.

Name of the entry method.

Definition at line 140 of file PCMSqVM.h.

Name of the script (filename or dynamic script name).

Definition at line 132 of file PCMSqVM.h.

Number of parameters.

Definition at line 148 of file PCMSqVM.h.

Script parameters.

Definition at line 146 of file PCMSqVM.h.

Return value of the last execution.

Definition at line 144 of file PCMSqVM.h.

Squirrel script object.

Definition at line 136 of file PCMSqVM.h.

Script containing the source code.

This is only set at dynamic scripts

Definition at line 134 of file PCMSqVM.h.


The documentation for this struct was generated from the following file: