C# Class TagTool.Serialization.ResourceSerializationContext.ResourceDataBlock

Inheritance: IDataBlock
Mostrar archivo Open project: TheGuardians/TagTool

Public Methods

Method Description
Finalize ( Stream outStream ) : uint
PreSerialize ( TagFieldAttribute info, object obj ) : object
ResourceDataBlock ( ResourceSerializationContext context ) : System
SuggestAlignment ( uint align ) : void
WritePointer ( uint targetOffset, Type type ) : void

Private Methods

Method Description
FinalizeD3DFixup ( D3DObjectFixup fixup, uint dataOffset ) : D3DObjectFixup
FinalizeDefinitionFixup ( ResourceDefinitionFixup fixup, uint dataOffset ) : ResourceDefinitionFixup
GetD3DObjectType ( Type type ) : D3DObjectType
MakeD3DFixup ( uint offset, D3DObjectType type ) : D3DObjectFixup
MakeDefinitionFixup ( ResourceAddress address ) : ResourceDefinitionFixup

Method Details

Finalize() public method

public Finalize ( Stream outStream ) : uint
outStream Stream
return uint

PreSerialize() public method

public PreSerialize ( TagFieldAttribute info, object obj ) : object
info TagFieldAttribute
obj object
return object

ResourceDataBlock() public method

public ResourceDataBlock ( ResourceSerializationContext context ) : System
context ResourceSerializationContext
return System

SuggestAlignment() public method

public SuggestAlignment ( uint align ) : void
align uint
return void

WritePointer() public method

public WritePointer ( uint targetOffset, Type type ) : void
targetOffset uint
type System.Type
return void