C# Класс Mooege.Core.Common.Items.Item

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CreateVisualItem ( ) : VisualItem
Drop ( Player owner, Vector3D position ) : void
Is2H ( ItemTypeTable itemType ) : bool
IsAccessory ( ItemTypeTable itemType ) : bool
IsArmor ( ItemTypeTable itemType ) : bool
IsDye ( ItemTypeTable itemType ) : bool
IsGold ( ItemTypeTable itemType ) : bool
IsHealthGlobe ( ItemTypeTable itemType ) : bool
IsJournalOrScroll ( ItemTypeTable itemType ) : bool
IsOffhand ( ItemTypeTable itemType ) : bool
IsPotion ( ItemTypeTable itemType ) : bool
IsRuneOrJewel ( ItemTypeTable itemType ) : bool
IsWeapon ( ItemTypeTable itemType ) : bool
Item ( GS world, ItemTable definition ) : System.Linq
OnRequestUse ( Player player, Item target, int actionId, WorldPlace worldPlace ) : void
OnTargeted ( Player player, TargetMessage message ) : void
Reveal ( Player player ) : bool
SetInventoryLocation ( int equipmentSlot, int column, int row ) : void

Приватные методы

Метод Описание
ApplyArmorSpecificOptions ( ItemTable definition ) : void
ApplyAttributeSpecifier ( ItemTable definition ) : void
ApplyDurability ( ItemTable definition ) : void
ApplySkills ( ItemTable definition ) : void
ApplyWeaponSpecificOptions ( ItemTable definition ) : void

Описание методов

CreateVisualItem() публичный Метод

public CreateVisualItem ( ) : VisualItem
Результат VisualItem

Drop() публичный Метод

public Drop ( Player owner, Vector3D position ) : void
owner Player
position Vector3D
Результат void

Is2H() публичный статический Метод

public static Is2H ( ItemTypeTable itemType ) : bool
itemType ItemTypeTable
Результат bool

IsAccessory() публичный статический Метод

public static IsAccessory ( ItemTypeTable itemType ) : bool
itemType ItemTypeTable
Результат bool

IsArmor() публичный статический Метод

public static IsArmor ( ItemTypeTable itemType ) : bool
itemType ItemTypeTable
Результат bool

IsDye() публичный статический Метод

public static IsDye ( ItemTypeTable itemType ) : bool
itemType ItemTypeTable
Результат bool

IsGold() публичный статический Метод

public static IsGold ( ItemTypeTable itemType ) : bool
itemType ItemTypeTable
Результат bool

IsHealthGlobe() публичный статический Метод

public static IsHealthGlobe ( ItemTypeTable itemType ) : bool
itemType ItemTypeTable
Результат bool

IsJournalOrScroll() публичный статический Метод

public static IsJournalOrScroll ( ItemTypeTable itemType ) : bool
itemType ItemTypeTable
Результат bool

IsOffhand() публичный статический Метод

public static IsOffhand ( ItemTypeTable itemType ) : bool
itemType ItemTypeTable
Результат bool

IsPotion() публичный статический Метод

public static IsPotion ( ItemTypeTable itemType ) : bool
itemType ItemTypeTable
Результат bool

IsRuneOrJewel() публичный статический Метод

public static IsRuneOrJewel ( ItemTypeTable itemType ) : bool
itemType ItemTypeTable
Результат bool

IsWeapon() публичный статический Метод

public static IsWeapon ( ItemTypeTable itemType ) : bool
itemType ItemTypeTable
Результат bool

Item() публичный Метод

public Item ( GS world, ItemTable definition ) : System.Linq
world GS
definition ItemTable
Результат System.Linq

OnRequestUse() публичный Метод

public OnRequestUse ( Player player, Item target, int actionId, WorldPlace worldPlace ) : void
player Player
target Item
actionId int
worldPlace WorldPlace
Результат void

OnTargeted() публичный Метод

public OnTargeted ( Player player, TargetMessage message ) : void
player Player
message TargetMessage
Результат void

Reveal() публичный Метод

public Reveal ( Player player ) : bool
player Player
Результат bool

SetInventoryLocation() публичный Метод

public SetInventoryLocation ( int equipmentSlot, int column, int row ) : void
equipmentSlot int
column int
row int
Результат void