C# Class OpenNos.GameObject.FoodItem

Inheritance: Item
Datei anzeigen Open project: OpenNos/OpenNos Class Usage Examples

Public Methods

Method Description
FoodItem ( ItemDTO item ) : System
Regenerate ( ClientSession session, Item item, string packetsplit = null ) : void
Sync ( ClientSession session, Item item ) : void
Use ( ClientSession session, ItemInstance &inv, bool delay = false, string packetsplit = null ) : void

Method Details

FoodItem() public method

public FoodItem ( ItemDTO item ) : System
item OpenNos.Data.ItemDTO
return System

Regenerate() public method

public Regenerate ( ClientSession session, Item item, string packetsplit = null ) : void
session ClientSession
item Item
packetsplit string
return void

Sync() public method

public Sync ( ClientSession session, Item item ) : void
session ClientSession
item Item
return void

Use() public method

public Use ( ClientSession session, ItemInstance &inv, bool delay = false, string packetsplit = null ) : void
session ClientSession
inv ItemInstance
delay bool
packetsplit string
return void