C# Class Files.AudioLogic.SubRoutine

Inheritance: Coroutine
ファイルを表示 Open project: Afr0Games/Project-Dollhouse

Public Properties

Property Type Description
Address uint
HitParent Hit
SimpleMode bool
TrackID uint

Public Methods

Method Description
SubRoutine ( uint TID, uint Address, Hit Parent ) : System

Creates a new SubRoutine instance.

process ( ) : IEnumerable

This runs one HIT instruction, and should be run once every frame for every subroutine.

Private Methods

Method Description
GetVariable ( int Location ) : int
ReadByte ( ) : byte
ReadInt32 ( ) : int
ReadUInt32 ( ) : uint
SetLocal ( int Location, int Value ) : void

Sets a local variable to a value.

SetTrack ( uint Index ) : uint

Sets a track for this Subroutine.

SetVariable ( short Location, int Value ) : void

Sets a register to a specific value.

Method Details

SubRoutine() public method

Creates a new SubRoutine instance.
public SubRoutine ( uint TID, uint Address, Hit Parent ) : System
TID uint ID of the track for this SubRoutine.
Address uint Address of this SubRoutine in HIT.
Parent Hit The HIT that contains this SubRoutine.
return System

process() public method

This runs one HIT instruction, and should be run once every frame for every subroutine.
public process ( ) : IEnumerable
return IEnumerable

Property Details

Address public_oe property

public uint Address
return uint

HitParent public_oe property

public Hit,Files.AudioLogic HitParent
return Hit

SimpleMode public_oe property

public bool SimpleMode
return bool

TrackID public_oe property

public uint TrackID
return uint