C# Класс SWFProcessing.SWFModeller.ABC.DoABC

Represents a block of binary bytecode in a simple DoABC tag.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Disassemble ( ) : void

Disassembles all code. The loaded bytecode will be cached unless you tamper with the disassembled code in which case it will need re-assembly.

DoABC ( bool lazyInit, string name, byte bytecode, StringBuilder abcReadLog ) : System.Diagnostics

Initializes a new instance of a bytecode block.

GenerateDefaultScript ( string qClassName, Timeline timeline ) : DoABC

Generates a main timeline script for a new SWF

MarkCodeAsTampered ( ) : void

Disassembles all code and marks it as requiring re-assembly (i.e. the cached bytecode bytes are invalid and can't be written to file).

Приватные методы

Метод Описание
GenerateTimelineClass ( AbcCode abc, string qClassName, SWFContext ctx ) : AS3ClassDef

Factory method for a new timeline class.

GenerateTimelineScript ( AbcCode abc, AS3ClassDef timelineClass ) : Method

Factory method for a new timeline script.

Merge ( DoABC abc, SWFContext ctx ) : void

Merges some code into this code.

MethodProc ( AbcCode mp ) : void

Process all the methods in this code block.

ToStringModelView ( int nest, StringBuilder sb ) : void

Описание методов

Disassemble() публичный Метод

Disassembles all code. The loaded bytecode will be cached unless you tamper with the disassembled code in which case it will need re-assembly.
public Disassemble ( ) : void
Результат void

DoABC() публичный Метод

Initializes a new instance of a bytecode block.
public DoABC ( bool lazyInit, string name, byte bytecode, StringBuilder abcReadLog ) : System.Diagnostics
lazyInit bool Instruct the VM to use lazy initialization on /// this block.
name string The name of the block
bytecode byte The raw bytecode data.
abcReadLog System.Text.StringBuilder Ignored in release builds. Logs the parsing of the ABC /// file.
Результат System.Diagnostics

GenerateDefaultScript() публичный статический Метод

Generates a main timeline script for a new SWF
public static GenerateDefaultScript ( string qClassName, Timeline timeline ) : DoABC
qClassName string Qualified class name for the MainTimeline class, /// e.g. mygeneratedswf_fla.MainTimeline
timeline SWFProcessing.SWFModeller.Modelling.Timeline
Результат DoABC

MarkCodeAsTampered() публичный Метод

Disassembles all code and marks it as requiring re-assembly (i.e. the cached bytecode bytes are invalid and can't be written to file).
public MarkCodeAsTampered ( ) : void
Результат void