C# 클래스 AlbLib.SaveGame.ItemStack

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

공개 메소드들

메소드 설명
Equals ( ItemStack stack ) : bool

Compares two item stacks.

Equals ( object obj ) : bool

Compares two item stacks.

GetHashCode ( ) : int

Computes unique hash code for this item stack.

ItemStack ( byte data, int offset ) : System

Loads an item stack from byte array.

ItemStack ( byte count, short type ) : System

Creates new item stack from type and count.

ToRawData ( ) : byte[]

Converts item stack to byte array.

ToString ( ) : string

Converts item stack to string.

operator ( ) : bool

Compares two item stacks.

메소드 상세

Equals() 공개 메소드

Compares two item stacks.
public Equals ( ItemStack stack ) : bool
stack ItemStack
리턴 bool

Equals() 공개 메소드

Compares two item stacks.
public Equals ( object obj ) : bool
obj object
리턴 bool

GetHashCode() 공개 메소드

Computes unique hash code for this item stack.
public GetHashCode ( ) : int
리턴 int

ItemStack() 공개 메소드

Loads an item stack from byte array.
public ItemStack ( byte data, int offset ) : System
data byte /// Byte array containing item informations. ///
offset int /// Offset where informations are located. ///
리턴 System

ItemStack() 공개 메소드

Creates new item stack from type and count.
public ItemStack ( byte count, short type ) : System
count byte /// Count of items in stack. ///
type short /// Type of item or items. ///
리턴 System

ToRawData() 공개 메소드

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

ToString() 공개 메소드

Converts item stack to string.
public ToString ( ) : string
리턴 string

operator() 공개 정적인 메소드

Compares two item stacks.
public static operator ( ) : bool
리턴 bool