C# Class Alexandria.Engines.GoldBox.Resources.ScriptInstruction

Afficher le fichier Open project: Burton-Radons/Alexandria

Protected Properties

Свойство Type Description
OperandsMutable Codex

Méthodes publiques

Méthode Description
Read ( Script script, BinaryReader reader ) : ScriptInstruction
ScriptInstruction ( Script script, long offset, BinaryReader reader, ScriptOpcode opcode ) : System
ToRichText ( RichTextBuilder builder ) : void
ToString ( ) : string

Méthodes protégées

Méthode Description
Link ( ) : void
ReadOperand ( BinaryReader reader, ScriptArgument operandCode ) : bool
ReadOperand ( BinaryReader reader, string operands, int &operandIndex, ScriptArgument operandCode ) : bool
ScriptInstruction ( Script script, long offset, ScriptOpcode opcode ) : System
ToBaseString ( ) : string
ToStringOpcode ( ) : string

Private Methods

Méthode Description
GetIntegerOperand ( int index ) : int?
GetOperand ( int index ) : ScriptOperand
GetOperandString ( int index ) : string
IsCompoundOperandCode ( ScriptArgument value ) : bool

Method Details

Link() protected méthode

protected Link ( ) : void
Résultat void

Read() public static méthode

public static Read ( Script script, BinaryReader reader ) : ScriptInstruction
script Script
reader System.IO.BinaryReader
Résultat ScriptInstruction

ReadOperand() protected méthode

protected ReadOperand ( BinaryReader reader, ScriptArgument operandCode ) : bool
reader System.IO.BinaryReader
operandCode ScriptArgument
Résultat bool

ReadOperand() protected méthode

protected ReadOperand ( BinaryReader reader, string operands, int &operandIndex, ScriptArgument operandCode ) : bool
reader System.IO.BinaryReader
operands string
operandIndex int
operandCode ScriptArgument
Résultat bool

ScriptInstruction() public méthode

public ScriptInstruction ( Script script, long offset, BinaryReader reader, ScriptOpcode opcode ) : System
script Script
offset long
reader System.IO.BinaryReader
opcode ScriptOpcode
Résultat System

ScriptInstruction() protected méthode

protected ScriptInstruction ( Script script, long offset, ScriptOpcode opcode ) : System
script Script
offset long
opcode ScriptOpcode
Résultat System

ToBaseString() protected méthode

protected ToBaseString ( ) : string
Résultat string

ToRichText() public méthode

public ToRichText ( RichTextBuilder builder ) : void
builder RichTextBuilder
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

ToStringOpcode() protected méthode

protected ToStringOpcode ( ) : string
Résultat string

Property Details

OperandsMutable protected_oe property

protected Codex OperandsMutable
Résultat Codex