C# Class Recurity.Swf.AVM1.ActionDefineFunction2

Blitzableiter ActionDefineFunction2 represents the Adobe AVM1 ActionDefineFunction2
Inheritance: AbstractAction
Afficher le fichier Open project: rtezli/Blitzableiter

Protected Properties

Свойство Type Description
_Parameters List
_PreloadArgumentsFlag bool
_PreloadGlobalFlag bool
_PreloadParentFlag bool
_PreloadRootFlag bool
_PreloadSuperFlag bool
_PreloadThisFlag bool
_SuppressArgumentsFlag bool
_SuppressSuperFlag bool
_SuppressThisFlag bool
_codeSize UInt16
_functionName string
_numParams UInt16
_numRegister byte

Méthodes publiques

Méthode Description
ActionDefineFunction2 ( ) : System

Defines a function

ActionDefineFunction2 ( string name, byte registers, List parameters, UInt16 codeSize, bool preloadGlobalFlag, bool preloadArgumentsFlag, bool preloadParentFlag, bool preloadRootFlag, bool preloadSuperFlag, bool preloadThisFlag, bool suppressSuperFlag, bool suppressArgumentsFlag, bool suppressThisFlag ) : System

Defines a function

ToString ( ) : string

Converts the action to a string

Méthodes protégées

Méthode Description
Parse ( System sourceStream, byte sourceVersion ) : void

Parses all neccessary information from a source stream

ParseFrom ( ) : bool

Parses the action from a string array

Render ( BinaryWriter outputStream ) : ulong

Renders the DefineFuntion parameters back to a output stream

Method Details

ActionDefineFunction2() public méthode

Defines a function
public ActionDefineFunction2 ( ) : System
Résultat System

ActionDefineFunction2() public méthode

Defines a function
public ActionDefineFunction2 ( string name, byte registers, List parameters, UInt16 codeSize, bool preloadGlobalFlag, bool preloadArgumentsFlag, bool preloadParentFlag, bool preloadRootFlag, bool preloadSuperFlag, bool preloadThisFlag, bool suppressSuperFlag, bool suppressArgumentsFlag, bool suppressThisFlag ) : System
name string The function name
registers byte Number of registers used by the function
parameters List The function parameters
codeSize System.UInt16 The size of the code
preloadGlobalFlag bool True - Preload _global into registers. False - Do not preload _global into registers.
preloadArgumentsFlag bool True - Preload arguments into registers. False - Do not preload arguments into registers.
preloadParentFlag bool True - Preload parent variables into registers. False - Do not preload parent variables into registers.
preloadRootFlag bool True - Preload global variables into registers. False - Do not preload global variables into registers.
preloadSuperFlag bool True - Preload super variables into registers. False - Do not preload super variables into registers.
preloadThisFlag bool True - Preload super variables into registers. False - Do not preload super variables into registers.
suppressSuperFlag bool True - Do NOT create super variable. False - Create super variable
suppressArgumentsFlag bool True - Do NOT create arguments variable. False - Create arguments variable
suppressThisFlag bool True - Do NOT create this variable. False - Create this variable
Résultat System

Parse() protected méthode

Parses all neccessary information from a source stream
protected Parse ( System sourceStream, byte sourceVersion ) : void
sourceStream System The source stream
sourceVersion byte The version
Résultat void

ParseFrom() protected méthode

Parses the action from a string array
protected ParseFrom ( ) : bool
Résultat bool

Render() protected méthode

Renders the DefineFuntion parameters back to a output stream
protected Render ( BinaryWriter outputStream ) : ulong
outputStream System.IO.BinaryWriter The outputstream
Résultat ulong

ToString() public méthode

Converts the action to a string
public ToString ( ) : string
Résultat string

Property Details

_Parameters protected_oe property

protected List _Parameters
Résultat List

_PreloadArgumentsFlag protected_oe property

protected bool _PreloadArgumentsFlag
Résultat bool

_PreloadGlobalFlag protected_oe property

protected bool _PreloadGlobalFlag
Résultat bool

_PreloadParentFlag protected_oe property

protected bool _PreloadParentFlag
Résultat bool

_PreloadRootFlag protected_oe property

protected bool _PreloadRootFlag
Résultat bool

_PreloadSuperFlag protected_oe property

protected bool _PreloadSuperFlag
Résultat bool

_PreloadThisFlag protected_oe property

protected bool _PreloadThisFlag
Résultat bool

_SuppressArgumentsFlag protected_oe property

protected bool _SuppressArgumentsFlag
Résultat bool

_SuppressSuperFlag protected_oe property

protected bool _SuppressSuperFlag
Résultat bool

_SuppressThisFlag protected_oe property

protected bool _SuppressThisFlag
Résultat bool

_codeSize protected_oe property

protected UInt16 _codeSize
Résultat UInt16

_functionName protected_oe property

protected string _functionName
Résultat string

_numParams protected_oe property

protected UInt16 _numParams
Résultat UInt16

_numRegister protected_oe property

protected byte _numRegister
Résultat byte