C# 클래스 SWFProcessing.SWFModeller.ABC.DoABC

Represents a block of binary bytecode in a simple DoABC tag.
파일 보기 프로젝트 열기: WeeWorld/Swiffotron 1 사용 예제들

공개 메소드들

메소드 설명
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