C# Class AoMEngineLibrary.Graphics.Brg.BrgBinaryReader

Inheritance: MiscUtil.IO.EndianBinaryReader
Show file Open project: Ryder25/Age-of-Mythology Class Usage Examples

Public Methods

Method Description
BrgBinaryReader ( EndianBitConverter bitConvertor, System stream ) : System
ReadColor3D ( ) : Color3D
ReadHalf ( ) : float
ReadMaterialSFX ( ) : BrgMatSFX
ReadString ( byte terminator = 0x0 ) : string
ReadString ( int length ) : string
ReadTexel ( ) : Texel
ReadUserDataEntry ( bool isParticle ) : BrgUserDataEntry
ReadVector2D ( bool isHalf = false ) : Vector2D
ReadVector3D ( bool isAom = true, bool isHalf = false ) : Vector3D

Method Details

BrgBinaryReader() public method

public BrgBinaryReader ( EndianBitConverter bitConvertor, System stream ) : System
bitConvertor MiscUtil.Conversion.EndianBitConverter
stream System
return System

ReadColor3D() public method

public ReadColor3D ( ) : Color3D
return AoMEngineLibrary.Graphics.Model.Color3D

ReadHalf() public method

public ReadHalf ( ) : float
return float

ReadMaterialSFX() public method

public ReadMaterialSFX ( ) : BrgMatSFX
return BrgMatSFX

ReadString() public method

public ReadString ( byte terminator = 0x0 ) : string
terminator byte
return string

ReadString() public method

public ReadString ( int length ) : string
length int
return string

ReadTexel() public method

public ReadTexel ( ) : Texel
return Texel

ReadUserDataEntry() public method

public ReadUserDataEntry ( bool isParticle ) : BrgUserDataEntry
isParticle bool
return BrgUserDataEntry

ReadVector2D() public method

public ReadVector2D ( bool isHalf = false ) : Vector2D
isHalf bool
return Vector2D

ReadVector3D() public method

public ReadVector3D ( bool isAom = true, bool isHalf = false ) : Vector3D
isAom bool
isHalf bool
return Vector3D