C# 클래스 MiningGameServer.Items.ServerItem

파일 보기 프로젝트 열기: geel9/Minor-Destruction

공개 프로퍼티들

프로퍼티 타입 설명
InventorySection int
Items List

공개 메소드들

메소드 설명
CanPickup ( PlayerClass pClass ) : bool

Returns true if a class can pick up this item

CanPickup ( int PClassIndex ) : bool

Returns true if a class (specified by index) can pick up this item

GenerateItemHTMLTable ( ) : string
GetBlockID ( ) : short
GetDescription ( ) : string
GetItem ( byte id ) : ServerItem
GetItemID ( ) : byte
GetMaxStack ( ) : int
GetName ( ) : string
GetValue ( ) : int
MakeItems ( ) : void
OnItemUsed ( int x, int y, NetworkPlayer user ) : void
SetBlockID ( short id ) : ServerItem
SetClassesPickup ( ) : ServerItem
SetDescription ( string description ) : ServerItem
SetID ( byte id ) : ServerItem
SetMaxStack ( int max ) : ServerItem
SetName ( string name ) : ServerItem
SetValue ( int value ) : ServerItem

보호된 메소드들

메소드 설명
ServerItem ( ) : System

메소드 상세

CanPickup() 공개 메소드

Returns true if a class can pick up this item
public CanPickup ( PlayerClass pClass ) : bool
pClass MiningGameServer.Player.PlayerClass The PlayerClass to test against
리턴 bool

CanPickup() 공개 메소드

Returns true if a class (specified by index) can pick up this item
public CanPickup ( int PClassIndex ) : bool
PClassIndex int The index of the class
리턴 bool

GenerateItemHTMLTable() 공개 정적인 메소드

public static GenerateItemHTMLTable ( ) : string
리턴 string

GetBlockID() 공개 메소드

public GetBlockID ( ) : short
리턴 short

GetDescription() 공개 메소드

public GetDescription ( ) : string
리턴 string

GetItem() 공개 정적인 메소드

public static GetItem ( byte id ) : ServerItem
id byte
리턴 ServerItem

GetItemID() 공개 메소드

public GetItemID ( ) : byte
리턴 byte

GetMaxStack() 공개 메소드

public GetMaxStack ( ) : int
리턴 int

GetName() 공개 메소드

public GetName ( ) : string
리턴 string

GetValue() 공개 메소드

public GetValue ( ) : int
리턴 int

MakeItems() 공개 정적인 메소드

public static MakeItems ( ) : void
리턴 void

OnItemUsed() 공개 메소드

public OnItemUsed ( int x, int y, NetworkPlayer user ) : void
x int
y int
user MiningGameServer.NetworkPlayer
리턴 void

ServerItem() 보호된 메소드

protected ServerItem ( ) : System
리턴 System

SetBlockID() 공개 메소드

public SetBlockID ( short id ) : ServerItem
id short
리턴 ServerItem

SetClassesPickup() 공개 메소드

public SetClassesPickup ( ) : ServerItem
리턴 ServerItem

SetDescription() 공개 메소드

public SetDescription ( string description ) : ServerItem
description string
리턴 ServerItem

SetID() 공개 메소드

public SetID ( byte id ) : ServerItem
id byte
리턴 ServerItem

SetMaxStack() 공개 메소드

public SetMaxStack ( int max ) : ServerItem
max int
리턴 ServerItem

SetName() 공개 메소드

public SetName ( string name ) : ServerItem
name string
리턴 ServerItem

SetValue() 공개 메소드

public SetValue ( int value ) : ServerItem
value int
리턴 ServerItem

프로퍼티 상세

InventorySection 공개적으로 프로퍼티

public int InventorySection
리턴 int

Items 공개적으로 정적으로 프로퍼티

public static List Items
리턴 List