C# 클래스 AlbLib.SaveGame.Equipment

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

공개 프로퍼티들

프로퍼티 타입 설명
Chest ItemStack
Feet ItemStack
Head ItemStack
LeftFinger ItemStack
LeftHand ItemStack
Neck ItemStack
RightFinger ItemStack
RightHand ItemStack
Tail ItemStack

공개 메소드들

메소드 설명
Clear ( ) : void

Removes all items from inventory.

Equipment ( ) : System

Creates empty inventory.

Equipment ( byte data, int offset ) : System

Loads inventory from byte array.

GetEnumerator ( ) : IEnumerator

Enumerates through all items in inventory.

ToRawData ( ) : byte[]

Converts items to byte array.

this ( int index ) : ItemStack

Accesses item using item index.

메소드 상세

Clear() 공개 메소드

Removes all items from inventory.
public Clear ( ) : void
리턴 void

Equipment() 공개 메소드

Creates empty inventory.
public Equipment ( ) : System
리턴 System

Equipment() 공개 메소드

Loads inventory from byte array.
public Equipment ( byte data, int offset ) : System
data byte /// Byte array containing inventory items. ///
offset int /// Position of inventory. ///
리턴 System

GetEnumerator() 공개 메소드

Enumerates through all items in inventory.
public GetEnumerator ( ) : IEnumerator
리턴 IEnumerator

ToRawData() 공개 메소드

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

this() 공개 메소드

Accesses item using item index.
public this ( int index ) : ItemStack
index int /// Item index in range from 0 to 8. ///
리턴 ItemStack

프로퍼티 상세

Chest 공개적으로 프로퍼티

Item on chest.
public ItemStack,AlbLib.SaveGame Chest
리턴 ItemStack

Feet 공개적으로 프로퍼티

Item on feet.
public ItemStack,AlbLib.SaveGame Feet
리턴 ItemStack

Head 공개적으로 프로퍼티

Item on head.
public ItemStack,AlbLib.SaveGame Head
리턴 ItemStack

LeftFinger 공개적으로 프로퍼티

Item on left finger.
public ItemStack,AlbLib.SaveGame LeftFinger
리턴 ItemStack

LeftHand 공개적으로 프로퍼티

Item in left hand.
public ItemStack,AlbLib.SaveGame LeftHand
리턴 ItemStack

Neck 공개적으로 프로퍼티

Item on neck.
public ItemStack,AlbLib.SaveGame Neck
리턴 ItemStack

RightFinger 공개적으로 프로퍼티

Item on right finger.
public ItemStack,AlbLib.SaveGame RightFinger
리턴 ItemStack

RightHand 공개적으로 프로퍼티

Item in right hand.
public ItemStack,AlbLib.SaveGame RightHand
리턴 ItemStack

Tail 공개적으로 프로퍼티

Item in tail.
public ItemStack,AlbLib.SaveGame Tail
리턴 ItemStack