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);
}
CharacterAttribute::CharacterAttribute ( short value, short maxvalue ) : System |