3DRadSpace  v1.0.0a
Scripting documentation
_3DRadSpaceDll.OpcodeEvent.OpCodeCall Struct Reference

Calls an opcode; More...

Public Member Functions

 OpCodeCall (Opcode op, object[] args)
 Main opcode constructor. More...
 
void Call ()
 Calls the opcode. More...
 
override string ToString ()
 Returns a string representing the data inside the struct. More...
 
string VisibleString ()
 Returns a visible string to be used in UIs. More...
 

Static Public Member Functions

static string GetOpcodeText (Opcode Arg)
 Returns a string that represents the opcode without argument. More...
 
static void Run (List< OpCodeCall > e)
 Runs a array More...
 
static List< OpCodeCallCreateFromString (int offset, string[] str, int stop)
 Used in I/O operations. More...
 
static List< OpCodeCallCreateFromBuffer (byte[] buf, int offset, out int length)
 Create from a null-terminated buffer. More...
 
static List< byte > ToBytes (List< OpCodeCall > opcodes)
 used for i/o operations. More...
 

Public Attributes

Opcode Opcode
 
object[] Arguments
 

Detailed Description

Calls an opcode;

Constructor & Destructor Documentation

◆ OpCodeCall()

_3DRadSpaceDll.OpcodeEvent.OpCodeCall.OpCodeCall ( Opcode  op,
object[]  args 
)

Main opcode constructor.

Parameters
opCode.
argsFunction call arguments

Member Function Documentation

◆ Call()

void _3DRadSpaceDll.OpcodeEvent.OpCodeCall.Call ( )

Calls the opcode.

◆ CreateFromBuffer()

static List<OpCodeCall> _3DRadSpaceDll.OpcodeEvent.OpCodeCall.CreateFromBuffer ( byte[]  buf,
int  offset,
out int  length 
)
static

Create from a null-terminated buffer.

Parameters
buf
offset
length
Returns

◆ CreateFromString()

static List<OpCodeCall> _3DRadSpaceDll.OpcodeEvent.OpCodeCall.CreateFromString ( int  offset,
string[]  str,
int  stop 
)
static

Used in I/O operations.

Parameters
offsetInteger offset
strParsed string array
stop
Returns

◆ GetOpcodeText()

static string _3DRadSpaceDll.OpcodeEvent.OpCodeCall.GetOpcodeText ( Opcode  Arg)
static

Returns a string that represents the opcode without argument.

Parameters
ArgArgument Opcode
Returns

◆ Run()

static void _3DRadSpaceDll.OpcodeEvent.OpCodeCall.Run ( List< OpCodeCall e)
static

Runs a array

Parameters
e

◆ ToBytes()

static List<byte> _3DRadSpaceDll.OpcodeEvent.OpCodeCall.ToBytes ( List< OpCodeCall opcodes)
static

used for i/o operations.

Parameters
opcodes
Returns

◆ ToString()

override string _3DRadSpaceDll.OpcodeEvent.OpCodeCall.ToString ( )

Returns a string representing the data inside the struct.

Returns

◆ VisibleString()

string _3DRadSpaceDll.OpcodeEvent.OpCodeCall.VisibleString ( )

Returns a visible string to be used in UIs.

Returns

Member Data Documentation

◆ Arguments

object [] _3DRadSpaceDll.OpcodeEvent.OpCodeCall.Arguments

◆ Opcode

Opcode _3DRadSpaceDll.OpcodeEvent.OpCodeCall.Opcode