C# 클래스 AlbLib.SaveGame.CharacterAttribute

파일 보기 프로젝트 열기: IllidanS4/AlbLib 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

CharacterAttribute() 공개 메소드

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. ///
리턴 System

CharacterAttribute() 공개 메소드

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

ToRawData() 공개 메소드

Converts structure to byte array.
public ToRawData ( ) : byte[]
리턴 byte[]

ToString() 공개 메소드

Converts attribute to string.
public ToString ( ) : string
리턴 string