AlbLib.SaveGame.CharacterAttribute.CharacterAttribute C# (CSharp) Method

CharacterAttribute() public method

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. ///
return System
        public CharacterAttribute(byte[] data, int startIndex)
            : this()
        {
            Value = BitConverter.ToInt16(data, startIndex);
            MaximumValue = BitConverter.ToInt16(data, startIndex+2);
        }

Same methods

CharacterAttribute::CharacterAttribute ( short value, short maxvalue ) : System