C# Class ME3Explorer.Unreal.PropertyReader

Show file Open project: ME3Explorer/ME3Explorer Class Usage Examples

Public Methods

Method Description
ImportImmutableProperty ( ME3Package pcc, ME3Package importpcc, System.Property p, string className, MemoryStream m, bool inStruct = false ) : void
ImportProperty ( IMEPackage pcc, IMEPackage importpcc, System.Property p, string className, MemoryStream m, bool inStruct = false ) : void
PropertyToGrid ( System.Property p, IMEPackage pcc ) : CustomProperty
PropertyToText ( System.Property p, IMEPackage pcc ) : string
ReadProp ( IMEPackage pcc, byte raw, int start ) : List
ReadStructArrayProp ( IMEPackage pcc, System.Property p ) : List>
TypeToString ( int type ) : string
WriteArrayProperty ( this stream, IMEPackage pcc, string propName, int count, Func func ) : void
WriteArrayProperty ( this stream, IMEPackage pcc, string propName, int count, MemoryStream value ) : void
WriteArrayProperty ( this stream, IMEPackage pcc, string propName, int count, byte value ) : void
WriteBoolProperty ( this stream, IMEPackage pcc, string propName, bool value ) : void
WriteByteProperty ( this stream, IMEPackage pcc, string propName, byte value ) : void
WriteDelegateProperty ( this stream, IMEPackage pcc, string propName, int unk, NameReference value ) : void
WriteEnumProperty ( this stream, IMEPackage pcc, string propName, NameReference enumName, NameReference enumValue ) : void
WriteEnumProperty ( this stream, IMEPackage pcc, string propName, string enumName, string enumValue, int index ) : void
WriteFloatProperty ( this stream, IMEPackage pcc, string propName, float value ) : void
WriteIntProperty ( this stream, IMEPackage pcc, string propName, int value ) : void
WriteNameProperty ( this stream, IMEPackage pcc, string propName, NameReference value ) : void
WriteNoneProperty ( this stream, IMEPackage pcc ) : void
WriteObjectProperty ( this stream, IMEPackage pcc, string propName, int value ) : void
WritePropHeader ( this stream, IMEPackage pcc, string propName, PropertyType type, int size ) : void
WriteStringProperty ( this stream, IMEPackage pcc, string propName, string value ) : void
WriteStringRefProperty ( this stream, IMEPackage pcc, string propName, int value ) : void
WriteStructPropVector ( this stream, IMEPackage pcc, string propName, float x, float y, float z ) : void
WriteStructProperty ( this stream, IMEPackage pcc, string propName, string structName, Func func ) : void
WriteStructProperty ( this stream, IMEPackage pcc, string propName, string structName, MemoryStream value ) : void
WriteStructProperty ( this stream, IMEPackage pcc, string propName, string structName, byte value ) : void
detectStart ( IMEPackage pcc, byte raw, ulong flags ) : int
getPropList ( IExportEntry export ) : List
getPropOrNull ( IExportEntry export, string propName ) : System.Property
getPropOrNull ( IMEPackage pcc, byte data, int start, string propName ) : System.Property

Private Methods

Method Description
ReadValue ( IMEPackage pcc, byte raw, int start, int type ) : PropertyValue
getType ( IMEPackage pcc, int type ) : PropertyType

Method Details

ImportImmutableProperty() public static method

public static ImportImmutableProperty ( ME3Package pcc, ME3Package importpcc, System.Property p, string className, MemoryStream m, bool inStruct = false ) : void
pcc ME3Package
importpcc ME3Package
p System.Property
className string
m System.IO.MemoryStream
inStruct bool
return void

ImportProperty() public static method

public static ImportProperty ( IMEPackage pcc, IMEPackage importpcc, System.Property p, string className, MemoryStream m, bool inStruct = false ) : void
pcc IMEPackage
importpcc IMEPackage
p System.Property
className string
m System.IO.MemoryStream
inStruct bool
return void

PropertyToGrid() public static method

public static PropertyToGrid ( System.Property p, IMEPackage pcc ) : CustomProperty
p System.Property
pcc IMEPackage
return CustomProperty

PropertyToText() public static method

public static PropertyToText ( System.Property p, IMEPackage pcc ) : string
p System.Property
pcc IMEPackage
return string

ReadProp() public static method

public static ReadProp ( IMEPackage pcc, byte raw, int start ) : List
pcc IMEPackage
raw byte
start int
return List

ReadStructArrayProp() public static method

public static ReadStructArrayProp ( IMEPackage pcc, System.Property p ) : List>
pcc IMEPackage
p System.Property
return List>

TypeToString() public static method

public static TypeToString ( int type ) : string
type int
return string

WriteArrayProperty() public static method

public static WriteArrayProperty ( this stream, IMEPackage pcc, string propName, int count, Func func ) : void
stream this
pcc IMEPackage
propName string
count int
func Func
return void

WriteArrayProperty() public static method

public static WriteArrayProperty ( this stream, IMEPackage pcc, string propName, int count, MemoryStream value ) : void
stream this
pcc IMEPackage
propName string
count int
value System.IO.MemoryStream
return void

WriteArrayProperty() public static method

public static WriteArrayProperty ( this stream, IMEPackage pcc, string propName, int count, byte value ) : void
stream this
pcc IMEPackage
propName string
count int
value byte
return void

WriteBoolProperty() public static method

public static WriteBoolProperty ( this stream, IMEPackage pcc, string propName, bool value ) : void
stream this
pcc IMEPackage
propName string
value bool
return void

WriteByteProperty() public static method

public static WriteByteProperty ( this stream, IMEPackage pcc, string propName, byte value ) : void
stream this
pcc IMEPackage
propName string
value byte
return void

WriteDelegateProperty() public static method

public static WriteDelegateProperty ( this stream, IMEPackage pcc, string propName, int unk, NameReference value ) : void
stream this
pcc IMEPackage
propName string
unk int
value NameReference
return void

WriteEnumProperty() public static method

public static WriteEnumProperty ( this stream, IMEPackage pcc, string propName, NameReference enumName, NameReference enumValue ) : void
stream this
pcc IMEPackage
propName string
enumName NameReference
enumValue NameReference
return void

WriteEnumProperty() public static method

public static WriteEnumProperty ( this stream, IMEPackage pcc, string propName, string enumName, string enumValue, int index ) : void
stream this
pcc IMEPackage
propName string
enumName string
enumValue string
index int
return void

WriteFloatProperty() public static method

public static WriteFloatProperty ( this stream, IMEPackage pcc, string propName, float value ) : void
stream this
pcc IMEPackage
propName string
value float
return void

WriteIntProperty() public static method

public static WriteIntProperty ( this stream, IMEPackage pcc, string propName, int value ) : void
stream this
pcc IMEPackage
propName string
value int
return void

WriteNameProperty() public static method

public static WriteNameProperty ( this stream, IMEPackage pcc, string propName, NameReference value ) : void
stream this
pcc IMEPackage
propName string
value NameReference
return void

WriteNoneProperty() public static method

public static WriteNoneProperty ( this stream, IMEPackage pcc ) : void
stream this
pcc IMEPackage
return void

WriteObjectProperty() public static method

public static WriteObjectProperty ( this stream, IMEPackage pcc, string propName, int value ) : void
stream this
pcc IMEPackage
propName string
value int
return void

WritePropHeader() public static method

public static WritePropHeader ( this stream, IMEPackage pcc, string propName, PropertyType type, int size ) : void
stream this
pcc IMEPackage
propName string
type PropertyType
size int
return void

WriteStringProperty() public static method

public static WriteStringProperty ( this stream, IMEPackage pcc, string propName, string value ) : void
stream this
pcc IMEPackage
propName string
value string
return void

WriteStringRefProperty() public static method

public static WriteStringRefProperty ( this stream, IMEPackage pcc, string propName, int value ) : void
stream this
pcc IMEPackage
propName string
value int
return void

WriteStructPropVector() public static method

public static WriteStructPropVector ( this stream, IMEPackage pcc, string propName, float x, float y, float z ) : void
stream this
pcc IMEPackage
propName string
x float
y float
z float
return void

WriteStructProperty() public static method

public static WriteStructProperty ( this stream, IMEPackage pcc, string propName, string structName, Func func ) : void
stream this
pcc IMEPackage
propName string
structName string
func Func
return void

WriteStructProperty() public static method

public static WriteStructProperty ( this stream, IMEPackage pcc, string propName, string structName, MemoryStream value ) : void
stream this
pcc IMEPackage
propName string
structName string
value System.IO.MemoryStream
return void

WriteStructProperty() public static method

public static WriteStructProperty ( this stream, IMEPackage pcc, string propName, string structName, byte value ) : void
stream this
pcc IMEPackage
propName string
structName string
value byte
return void

detectStart() public static method

public static detectStart ( IMEPackage pcc, byte raw, ulong flags ) : int
pcc IMEPackage
raw byte
flags ulong
return int

getPropList() public static method

public static getPropList ( IExportEntry export ) : List
export IExportEntry
return List

getPropOrNull() public static method

public static getPropOrNull ( IExportEntry export, string propName ) : System.Property
export IExportEntry
propName string
return System.Property

getPropOrNull() public static method

public static getPropOrNull ( IMEPackage pcc, byte data, int start, string propName ) : System.Property
pcc IMEPackage
data byte
start int
propName string
return System.Property