C# Class TagTool.Serialization.XboxSerializationContext

Inheritance: ISerializationContext
Show file Open project: TheGuardians/TagTool Class Usage Examples

Public Methods

Method Description
AddressToOffset ( uint currentOffset, uint address ) : uint
BeginDeserialize ( TagStructureInfo info ) : BinaryReader
BeginSerialize ( TagStructureInfo info ) : void
CreateBlock ( ) : IDataBlock
EndDeserialize ( TagStructureInfo info, object obj ) : void
EndSerialize ( TagStructureInfo info, byte data, uint mainStructOffset ) : void
GetTagByIndex ( int index ) : TagInstance
XboxSerializationContext ( CacheFile tag ) : System

Method Details

AddressToOffset() public method

public AddressToOffset ( uint currentOffset, uint address ) : uint
currentOffset uint
address uint
return uint

BeginDeserialize() public method

public BeginDeserialize ( TagStructureInfo info ) : BinaryReader
info TagStructureInfo
return System.IO.BinaryReader

BeginSerialize() public method

public BeginSerialize ( TagStructureInfo info ) : void
info TagStructureInfo
return void

CreateBlock() public method

public CreateBlock ( ) : IDataBlock
return IDataBlock

EndDeserialize() public method

public EndDeserialize ( TagStructureInfo info, object obj ) : void
info TagStructureInfo
obj object
return void

EndSerialize() public method

public EndSerialize ( TagStructureInfo info, byte data, uint mainStructOffset ) : void
info TagStructureInfo
data byte
mainStructOffset uint
return void

GetTagByIndex() public method

public GetTagByIndex ( int index ) : TagInstance
index int
return TagTool.TagGroups.TagInstance

XboxSerializationContext() public method

public XboxSerializationContext ( CacheFile tag ) : System
tag CacheFile
return System