C# Class SWFProcessing.SWFModeller.ABC.IO.AbcWriter

Datei anzeigen Open project: WeeWorld/Swiffotron Class Usage Examples

Public Methods

Method Description
AssembleIfNecessary ( DoABC codeTag, bool insertDebugCodes, string mainClassName, StringBuilder writeLog ) : void

Private Methods

Method Description
AssembleMethod ( Method method ) : void
GenerateClassInfo ( ) : byte[]
GenerateMetadata ( AbcCode code ) : byte[]
GenerateMethodInfo ( ) : byte[]
GenerateScriptInfo ( AbcCode code ) : byte[]
MultinameID ( Multiname mn ) : int

Gets an ID for a multiname, ensuring that all other dependencies of the multiname are themselves registered with IDs.

NamespaceID ( Namespace ns ) : int

Gets an ID for a namespace, ensuring that all other dependencies of the namespace are themselves registered with IDs.

NamespaceSetID ( NamespaceSet set ) : int

Gets an ID for a namespace set, ensuring that all other dependencies of the namespace set are themselves registered with IDs.

ProcessClass ( AS3ClassDef clazz ) : void
ProcessSlot ( SlotTrait slotTrait ) : void
ProcessTrait ( Trait t ) : void

This is just for processing whilst rebuilding tables, it doesn't serialize anything.

ReBuildTables ( AbcCode code, string mainClassName ) : void
RegisterMultiname ( Multiname mn ) : void
WriteConstantPool ( ABCDataTypeWriter writer, AbcCode code ) : void

Writes out the constants to the SWF file. This will also re-set the tables in the code object, so be sure you don't have anything in there that you need.

WriteMethodBodies ( ABCDataTypeWriter writer ) : void
WriteTraitInfo ( ABCDataTypeWriter writer, Trait t ) : void

Method Details

AssembleIfNecessary() public method

public AssembleIfNecessary ( DoABC codeTag, bool insertDebugCodes, string mainClassName, StringBuilder writeLog ) : void
codeTag SWFProcessing.SWFModeller.ABC.DoABC
insertDebugCodes bool
mainClassName string
writeLog System.Text.StringBuilder
return void