C# Class AlbLib.SaveGame.CharacterAttribute

Afficher le fichier Open project: IllidanS4/AlbLib Class Usage Examples

Méthodes publiques

Méthode Description
CharacterAttribute ( byte data, int startIndex ) : System

Creates structure using byte array and start index.

CharacterAttribute ( short value, short maxvalue ) : System

Creates structure using actual values.

ToRawData ( ) : byte[]

Converts structure to byte array.

ToString ( ) : string

Converts attribute to string.

Method Details

CharacterAttribute() public méthode

Creates structure using byte array and start index.
public CharacterAttribute ( byte data, int startIndex ) : System
data byte /// Byte array containing attribute. ///
startIndex int /// Index in array where attribute lies. ///
Résultat System

CharacterAttribute() public méthode

Creates structure using actual values.
public CharacterAttribute ( short value, short maxvalue ) : System
value short /// Current value. ///
maxvalue short /// Maximum available value. ///
Résultat System

ToRawData() public méthode

Converts structure to byte array.
public ToRawData ( ) : byte[]
Résultat byte[]

ToString() public méthode

Converts attribute to string.
public ToString ( ) : string
Résultat string