C# Class Mooege.Core.Common.Items.Item

Afficher le fichier Open project: xsochor/mooege Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
ApplyArmorSpecificOptions ( ItemTable definition ) : void
ApplyAttributeSpecifier ( ItemTable definition ) : void
ApplyDurability ( ItemTable definition ) : void
ApplySkills ( ItemTable definition ) : void
ApplyWeaponSpecificOptions ( ItemTable definition ) : void

Method Details

CreateVisualItem() public méthode

public CreateVisualItem ( ) : VisualItem
Résultat VisualItem

Drop() public méthode

public Drop ( Player owner, Vector3D position ) : void
owner Player
position Vector3D
Résultat void

Is2H() public static méthode

public static Is2H ( ItemTypeTable itemType ) : bool
itemType ItemTypeTable
Résultat bool

IsAccessory() public static méthode

public static IsAccessory ( ItemTypeTable itemType ) : bool
itemType ItemTypeTable
Résultat bool

IsArmor() public static méthode

public static IsArmor ( ItemTypeTable itemType ) : bool
itemType ItemTypeTable
Résultat bool

IsDye() public static méthode

public static IsDye ( ItemTypeTable itemType ) : bool
itemType ItemTypeTable
Résultat bool

IsGold() public static méthode

public static IsGold ( ItemTypeTable itemType ) : bool
itemType ItemTypeTable
Résultat bool

IsHealthGlobe() public static méthode

public static IsHealthGlobe ( ItemTypeTable itemType ) : bool
itemType ItemTypeTable
Résultat bool

IsJournalOrScroll() public static méthode

public static IsJournalOrScroll ( ItemTypeTable itemType ) : bool
itemType ItemTypeTable
Résultat bool

IsOffhand() public static méthode

public static IsOffhand ( ItemTypeTable itemType ) : bool
itemType ItemTypeTable
Résultat bool

IsPotion() public static méthode

public static IsPotion ( ItemTypeTable itemType ) : bool
itemType ItemTypeTable
Résultat bool

IsRuneOrJewel() public static méthode

public static IsRuneOrJewel ( ItemTypeTable itemType ) : bool
itemType ItemTypeTable
Résultat bool

IsWeapon() public static méthode

public static IsWeapon ( ItemTypeTable itemType ) : bool
itemType ItemTypeTable
Résultat bool

Item() public méthode

public Item ( GS world, ItemTable definition ) : System.Linq
world GS
definition ItemTable
Résultat System.Linq

OnRequestUse() public méthode

public OnRequestUse ( Player player, Item target, int actionId, WorldPlace worldPlace ) : void
player Player
target Item
actionId int
worldPlace WorldPlace
Résultat void

OnTargeted() public méthode

public OnTargeted ( Player player, TargetMessage message ) : void
player Player
message TargetMessage
Résultat void

Reveal() public méthode

public Reveal ( Player player ) : bool
player Player
Résultat bool

SetInventoryLocation() public méthode

public SetInventoryLocation ( int equipmentSlot, int column, int row ) : void
equipmentSlot int
column int
row int
Résultat void