C# Class Server.Mobiles.PlayerVendor

Inheritance: Mobile
Datei anzeigen Open project: Grimoric/RunUO.T2A Class Usage Examples

Private Properties

Property Type Description
CanBeVendorItem bool
FixDresswear void
NonLocalDropCallback void
OnItemGiven void
RemoveVendorItem void
SetVendorItem VendorItem
SetVendorItem VendorItem

Public Methods

Method Description
CanBeDamaged ( ) : bool
CanInteractWith ( Mobile from, bool ownerOnly ) : bool
CheckNonlocalDrop ( Mobile from, Item item, Item target ) : bool
CheckNonlocalLift ( Mobile from, Item item ) : bool
CollectGold ( Mobile to ) : void
Deserialize ( GenericReader reader ) : void
Destroy ( bool toBackpack ) : void
Dismiss ( Mobile from ) : void
DisplayPaperdollTo ( Mobile m ) : void
GetVendorItem ( Item item ) : VendorItem
GiveGold ( Mobile to, int amount ) : int
HandlesOnSpeech ( Mobile from ) : bool
InitBody ( ) : void
InitOutfit ( ) : void
IsOwner ( Mobile m ) : bool
IsSnoop ( Mobile from ) : bool
OnAfterDelete ( ) : void
OnDoubleClick ( Mobile from ) : void
OnDragDrop ( Mobile from, Item item ) : bool
OnItemRemoved ( Item item ) : void
OnSpeech ( SpeechEventArgs e ) : void
OnSubItemAdded ( Item item ) : void
OnSubItemBounceCleared ( Item item ) : void
OnSubItemRemoved ( Item item ) : void
OpenBackpack ( Mobile from ) : void
PlayerVendor ( Mobile owner, BaseHouse house ) : System
PlayerVendor ( Serial serial ) : System
SendOwnerGump ( Mobile to ) : void
Serialize ( GenericWriter writer ) : void
TryToBuy ( Item item, Mobile from ) : void
WasNamed ( string speech ) : bool

Protected Methods

Method Description
GetItems ( ) : List

Private Methods

Method Description
CanBeVendorItem ( Item item ) : bool
FixDresswear ( ) : void
NonLocalDropCallback ( object state ) : void
OnItemGiven ( Mobile from, Item item ) : void
RemoveVendorItem ( Item item ) : void
SetVendorItem ( Item item, int price, string description ) : VendorItem
SetVendorItem ( Item item, int price, string description, System.DateTime created ) : VendorItem

Method Details

CanBeDamaged() public method

public CanBeDamaged ( ) : bool
return bool

CanInteractWith() public method

public CanInteractWith ( Mobile from, bool ownerOnly ) : bool
from Mobile
ownerOnly bool
return bool

CheckNonlocalDrop() public method

public CheckNonlocalDrop ( Mobile from, Item item, Item target ) : bool
from Mobile
item Item
target Item
return bool

CheckNonlocalLift() public method

public CheckNonlocalLift ( Mobile from, Item item ) : bool
from Mobile
item Item
return bool

CollectGold() public method

public CollectGold ( Mobile to ) : void
to Mobile
return void

Deserialize() public method

public Deserialize ( GenericReader reader ) : void
reader GenericReader
return void

Destroy() public method

public Destroy ( bool toBackpack ) : void
toBackpack bool
return void

Dismiss() public method

public Dismiss ( Mobile from ) : void
from Mobile
return void

DisplayPaperdollTo() public method

public DisplayPaperdollTo ( Mobile m ) : void
m Mobile
return void

GetItems() protected method

protected GetItems ( ) : List
return List

GetVendorItem() public method

public GetVendorItem ( Item item ) : VendorItem
item Item
return VendorItem

GiveGold() public method

public GiveGold ( Mobile to, int amount ) : int
to Mobile
amount int
return int

HandlesOnSpeech() public method

public HandlesOnSpeech ( Mobile from ) : bool
from Mobile
return bool

InitBody() public method

public InitBody ( ) : void
return void

InitOutfit() public method

public InitOutfit ( ) : void
return void

IsOwner() public method

public IsOwner ( Mobile m ) : bool
m Mobile
return bool

IsSnoop() public method

public IsSnoop ( Mobile from ) : bool
from Mobile
return bool

OnAfterDelete() public method

public OnAfterDelete ( ) : void
return void

OnDoubleClick() public method

public OnDoubleClick ( Mobile from ) : void
from Mobile
return void

OnDragDrop() public method

public OnDragDrop ( Mobile from, Item item ) : bool
from Mobile
item Item
return bool

OnItemRemoved() public method

public OnItemRemoved ( Item item ) : void
item Item
return void

OnSpeech() public method

public OnSpeech ( SpeechEventArgs e ) : void
e SpeechEventArgs
return void

OnSubItemAdded() public method

public OnSubItemAdded ( Item item ) : void
item Item
return void

OnSubItemBounceCleared() public method

public OnSubItemBounceCleared ( Item item ) : void
item Item
return void

OnSubItemRemoved() public method

public OnSubItemRemoved ( Item item ) : void
item Item
return void

OpenBackpack() public method

public OpenBackpack ( Mobile from ) : void
from Mobile
return void

PlayerVendor() public method

public PlayerVendor ( Mobile owner, BaseHouse house ) : System
owner Mobile
house Server.Multis.BaseHouse
return System

PlayerVendor() public method

public PlayerVendor ( Serial serial ) : System
serial Serial
return System

SendOwnerGump() public method

public SendOwnerGump ( Mobile to ) : void
to Mobile
return void

Serialize() public method

public Serialize ( GenericWriter writer ) : void
writer GenericWriter
return void

TryToBuy() public static method

public static TryToBuy ( Item item, Mobile from ) : void
item Item
from Mobile
return void

WasNamed() public method

public WasNamed ( string speech ) : bool
speech string
return bool