C# 클래스 Item, TestGame

상속: MonoBehaviour
파일 보기 프로젝트 열기: liuxq/TestGame 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
indexItemInList int
itemDesc string
itemID int
itemIcon Sprite
itemIndex int
itemModel GameObject
itemName string
itemType ItemType
itemUUID UInt64
itemValue int
itemWeight float
maxStack int
rarity int

공개 메소드들

메소드 설명
Item ( ) : System
Item ( string name, int id, string desc, Sprite icon, GameObject model, int maxStack, ItemType type, string sendmessagetext, List itemAttributes ) : System
getCopy ( ) : Item
isConsumeItem ( ) : bool
isEquipItem ( ) : bool

메소드 상세

Item() 공개 메소드

public Item ( ) : System
리턴 System

Item() 공개 메소드

public Item ( string name, int id, string desc, Sprite icon, GameObject model, int maxStack, ItemType type, string sendmessagetext, List itemAttributes ) : System
name string
id int
desc string
icon Sprite
model GameObject
maxStack int
type ItemType
sendmessagetext string
itemAttributes List
리턴 System

getCopy() 공개 메소드

public getCopy ( ) : Item
리턴 Item

isConsumeItem() 공개 메소드

public isConsumeItem ( ) : bool
리턴 bool

isEquipItem() 공개 메소드

public isEquipItem ( ) : bool
리턴 bool

프로퍼티 상세

indexItemInList 공개적으로 프로퍼티

public int indexItemInList
리턴 int

itemDesc 공개적으로 프로퍼티

public string itemDesc
리턴 string

itemID 공개적으로 프로퍼티

public int itemID
리턴 int

itemIcon 공개적으로 프로퍼티

public Sprite itemIcon
리턴 Sprite

itemIndex 공개적으로 프로퍼티

public int itemIndex
리턴 int

itemModel 공개적으로 프로퍼티

public GameObject itemModel
리턴 GameObject

itemName 공개적으로 프로퍼티

public string itemName
리턴 string

itemType 공개적으로 프로퍼티

public ItemType itemType
리턴 ItemType

itemUUID 공개적으로 프로퍼티

public UInt64 itemUUID
리턴 UInt64

itemValue 공개적으로 프로퍼티

public int itemValue
리턴 int

itemWeight 공개적으로 프로퍼티

public float itemWeight
리턴 float

maxStack 공개적으로 프로퍼티

public int maxStack
리턴 int

rarity 공개적으로 프로퍼티

public int rarity
리턴 int