C# Class Ohana3DS_Transfigured.Ohana.Models.PICA200.PICACommandWriter

Inheritance: IDisposable
Afficher le fichier Open project: Quibilia/Ohana3DS-Transfigured

Méthodes publiques

Méthode Description
Close ( ) : void
Dispose ( ) : void
PICACommandWriter ( Stream data ) : System
align ( uint mask ) : void

Adds padding 0x0 bytes on the data until all address bits of the mask equals 0.

align ( uint mask, uint maskedValue ) : void

Adds padding 0x0 bytes on the data until all address bits of the mask equals the specified value.

setCommand ( ushort commandId, Color parameter ) : void

Sets a new command with a single Color parameter.

setCommand ( ushort commandId, List parameters ) : void

Sets a new command with multiple Float parameters.

setCommand ( ushort commandId, List parameters, byte mask = 0xf ) : void

Sets a new command with multiple UInt parameters.

setCommand ( ushort commandId, float parameter ) : void

Sets a new command with a single Float parameter.

setCommand ( ushort commandId, uint parameter, byte mask = 0xf ) : void

Sets a new command with a single UInt parameter.

setCommandConsecutive ( ushort commandId, List parameters ) : void

Sets a new command with multiple Float parameters. It uses consecutive mode, which means that the command ID will be incremented after each parameter.

setCommandConsecutive ( ushort commandId, List parameters, byte mask = 0xf ) : void

Sets a new command with multiple UInt parameters. It uses consecutive mode, which means that the command ID will be incremented after each parameter.

setCommandConsecutive ( ushort commandId, uint parameter, List parameters ) : void

Sets a new command with one UInt parameter and multiple Float parameters. It uses consecutive mode, which means that the command ID will be incremented after each parameter.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Method Details

Close() public méthode

public Close ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

PICACommandWriter() public méthode

public PICACommandWriter ( Stream data ) : System
data Stream
Résultat System

align() public méthode

Adds padding 0x0 bytes on the data until all address bits of the mask equals 0.
public align ( uint mask ) : void
mask uint The mask
Résultat void

align() public méthode

Adds padding 0x0 bytes on the data until all address bits of the mask equals the specified value.
public align ( uint mask, uint maskedValue ) : void
mask uint The mask
maskedValue uint Value that masked bits should equal to stop padding
Résultat void

setCommand() public méthode

Sets a new command with a single Color parameter.
public setCommand ( ushort commandId, Color parameter ) : void
commandId ushort ID of the command
parameter Color Parameter of the command
Résultat void

setCommand() public méthode

Sets a new command with multiple Float parameters.
public setCommand ( ushort commandId, List parameters ) : void
commandId ushort ID of the command
parameters List Parameters of the command
Résultat void

setCommand() public méthode

Sets a new command with multiple UInt parameters.
public setCommand ( ushort commandId, List parameters, byte mask = 0xf ) : void
commandId ushort ID of the command
parameters List Parameters of the command
mask byte Mask used when updating the register value
Résultat void

setCommand() public méthode

Sets a new command with a single Float parameter.
public setCommand ( ushort commandId, float parameter ) : void
commandId ushort ID of the command
parameter float Parameter of the command
Résultat void

setCommand() public méthode

Sets a new command with a single UInt parameter.
public setCommand ( ushort commandId, uint parameter, byte mask = 0xf ) : void
commandId ushort ID of the command
parameter uint Parameter of the command
mask byte Mask used when updating the register value
Résultat void

setCommandConsecutive() public méthode

Sets a new command with multiple Float parameters. It uses consecutive mode, which means that the command ID will be incremented after each parameter.
public setCommandConsecutive ( ushort commandId, List parameters ) : void
commandId ushort ID of the command
parameters List Parameters of the command
Résultat void

setCommandConsecutive() public méthode

Sets a new command with multiple UInt parameters. It uses consecutive mode, which means that the command ID will be incremented after each parameter.
public setCommandConsecutive ( ushort commandId, List parameters, byte mask = 0xf ) : void
commandId ushort ID of the command
parameters List Parameters of the command
mask byte Mask used when updating the register value
Résultat void

setCommandConsecutive() public méthode

Sets a new command with one UInt parameter and multiple Float parameters. It uses consecutive mode, which means that the command ID will be incremented after each parameter.
public setCommandConsecutive ( ushort commandId, uint parameter, List parameters ) : void
commandId ushort ID of the command
parameter uint UInt parameter of the command
parameters List Extra Float parameters of the command
Résultat void