C# Class LSLib.LS.LSF.LSFWriter

Inheritance: IDisposable
Datei anzeigen Open project: Norbyte/lslib

Public Methods

Method Description
Dispose ( ) : void
LSFWriter ( Stream stream, UInt32 version ) : System
Write ( Resource resource ) : void

Private Methods

Method Description
AddStaticString ( string s ) : uint
WriteAttributeValue ( BinaryWriter writer, NodeAttribute attr ) : void
WriteNodeAttributesV2 ( Node node ) : void
WriteNodeAttributesV3 ( Node node ) : void
WriteNodeChildren ( Node node ) : void
WriteNodeV2 ( Node node ) : void
WriteNodeV3 ( Node node ) : void
WriteRegions ( Resource resource ) : void
WriteStaticString ( BinaryWriter writer, string s ) : void
WriteStaticStrings ( BinaryWriter writer ) : void
WriteString ( BinaryWriter writer, string s ) : void
WriteStringWithLength ( BinaryWriter writer, string s ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

LSFWriter() public method

public LSFWriter ( Stream stream, UInt32 version ) : System
stream Stream
version System.UInt32
return System

Write() public method

public Write ( Resource resource ) : void
resource Resource
return void