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

Inheritance: Mooege.Core.GS.Actors.Actor
Show file Open project: mdz444/mooege Class Usage Examples

Public Properties

Property Type Description
DBInventory Mooege.Common.Storage.AccountDataBase.Entities.DBInventory

Public Methods

Method Description
CreateVisualItem ( ) : Mooege.Net.GS.Message.Fields.VisualItem
Drop ( Player owner, Vector3D position ) : void
GetVisualItem ( ) : D3.Hero.VisualItem
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
IsStackable ( ) : bool
IsWeapon ( ItemTypeTable itemType ) : bool
Item ( GS world, ItemTable definition ) : Mooege.Common.Helpers.Math
OnRequestUse ( Player player, Item target, int actionId, Mooege.Net.GS.Message.Fields.WorldPlace worldPlace ) : void
OnTargeted ( Player player, Mooege.Net.GS.Message.Definitions.World.TargetMessage message ) : void
Reveal ( Player player ) : bool
SetInventoryLocation ( int equipmentSlot, int column, int row ) : void
SetNewWorld ( Mooege.Core.GS.Map.World world ) : void
Unreveal ( Player player ) : bool

Private Methods

Method 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 method

public CreateVisualItem ( ) : Mooege.Net.GS.Message.Fields.VisualItem
return Mooege.Net.GS.Message.Fields.VisualItem

Drop() public method

public Drop ( Player owner, Vector3D position ) : void
owner Player
position Vector3D
return void

GetVisualItem() public method

public GetVisualItem ( ) : D3.Hero.VisualItem
return D3.Hero.VisualItem

Is2H() public static method

public static Is2H ( ItemTypeTable itemType ) : bool
itemType Mooege.Common.MPQ.FileFormats.ItemTypeTable
return bool

IsAccessory() public static method

public static IsAccessory ( ItemTypeTable itemType ) : bool
itemType Mooege.Common.MPQ.FileFormats.ItemTypeTable
return bool

IsArmor() public static method

public static IsArmor ( ItemTypeTable itemType ) : bool
itemType Mooege.Common.MPQ.FileFormats.ItemTypeTable
return bool

IsDye() public static method

public static IsDye ( ItemTypeTable itemType ) : bool
itemType Mooege.Common.MPQ.FileFormats.ItemTypeTable
return bool

IsGold() public static method

public static IsGold ( ItemTypeTable itemType ) : bool
itemType Mooege.Common.MPQ.FileFormats.ItemTypeTable
return bool

IsHealthGlobe() public static method

public static IsHealthGlobe ( ItemTypeTable itemType ) : bool
itemType Mooege.Common.MPQ.FileFormats.ItemTypeTable
return bool

IsJournalOrScroll() public static method

public static IsJournalOrScroll ( ItemTypeTable itemType ) : bool
itemType Mooege.Common.MPQ.FileFormats.ItemTypeTable
return bool

IsOffhand() public static method

public static IsOffhand ( ItemTypeTable itemType ) : bool
itemType Mooege.Common.MPQ.FileFormats.ItemTypeTable
return bool

IsPotion() public static method

public static IsPotion ( ItemTypeTable itemType ) : bool
itemType Mooege.Common.MPQ.FileFormats.ItemTypeTable
return bool

IsRuneOrJewel() public static method

public static IsRuneOrJewel ( ItemTypeTable itemType ) : bool
itemType Mooege.Common.MPQ.FileFormats.ItemTypeTable
return bool

IsStackable() public method

public IsStackable ( ) : bool
return bool

IsWeapon() public static method

public static IsWeapon ( ItemTypeTable itemType ) : bool
itemType Mooege.Common.MPQ.FileFormats.ItemTypeTable
return bool

Item() public method

public Item ( GS world, ItemTable definition ) : Mooege.Common.Helpers.Math
world GS
definition Mooege.Common.MPQ.FileFormats.ItemTable
return Mooege.Common.Helpers.Math

OnRequestUse() public method

public OnRequestUse ( Player player, Item target, int actionId, Mooege.Net.GS.Message.Fields.WorldPlace worldPlace ) : void
player Player
target Item
actionId int
worldPlace Mooege.Net.GS.Message.Fields.WorldPlace
return void

OnTargeted() public method

public OnTargeted ( Player player, Mooege.Net.GS.Message.Definitions.World.TargetMessage message ) : void
player Player
message Mooege.Net.GS.Message.Definitions.World.TargetMessage
return void

Reveal() public method

public Reveal ( Player player ) : bool
player Player
return bool

SetInventoryLocation() public method

public SetInventoryLocation ( int equipmentSlot, int column, int row ) : void
equipmentSlot int
column int
row int
return void

SetNewWorld() public method

public SetNewWorld ( Mooege.Core.GS.Map.World world ) : void
world Mooege.Core.GS.Map.World
return void

Unreveal() public method

public Unreveal ( Player player ) : bool
player Player
return bool

Property Details

DBInventory public property

public DBInventory,Mooege.Common.Storage.AccountDataBase.Entities DBInventory
return Mooege.Common.Storage.AccountDataBase.Entities.DBInventory