C# Class Server.Mobiles.PlayerVendor

Inheritance: Mobile
Afficher le fichier Open project: Grimoric/RunUO.T2A Class Usage Examples

Private Properties

Свойство Type Description
CanBeVendorItem bool
FixDresswear void
NonLocalDropCallback void
OnItemGiven void
RemoveVendorItem void
SetVendorItem VendorItem
SetVendorItem VendorItem

Méthodes publiques

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

Méthodes protégées

Méthode Description
GetItems ( ) : List

Private Methods

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

public CanBeDamaged ( ) : bool
Résultat bool

CanInteractWith() public méthode

public CanInteractWith ( Mobile from, bool ownerOnly ) : bool
from Mobile
ownerOnly bool
Résultat bool

CheckNonlocalDrop() public méthode

public CheckNonlocalDrop ( Mobile from, Item item, Item target ) : bool
from Mobile
item Item
target Item
Résultat bool

CheckNonlocalLift() public méthode

public CheckNonlocalLift ( Mobile from, Item item ) : bool
from Mobile
item Item
Résultat bool

CollectGold() public méthode

public CollectGold ( Mobile to ) : void
to Mobile
Résultat void

Deserialize() public méthode

public Deserialize ( GenericReader reader ) : void
reader GenericReader
Résultat void

Destroy() public méthode

public Destroy ( bool toBackpack ) : void
toBackpack bool
Résultat void

Dismiss() public méthode

public Dismiss ( Mobile from ) : void
from Mobile
Résultat void

DisplayPaperdollTo() public méthode

public DisplayPaperdollTo ( Mobile m ) : void
m Mobile
Résultat void

GetItems() protected méthode

protected GetItems ( ) : List
Résultat List

GetVendorItem() public méthode

public GetVendorItem ( Item item ) : VendorItem
item Item
Résultat VendorItem

GiveGold() public méthode

public GiveGold ( Mobile to, int amount ) : int
to Mobile
amount int
Résultat int

HandlesOnSpeech() public méthode

public HandlesOnSpeech ( Mobile from ) : bool
from Mobile
Résultat bool

InitBody() public méthode

public InitBody ( ) : void
Résultat void

InitOutfit() public méthode

public InitOutfit ( ) : void
Résultat void

IsOwner() public méthode

public IsOwner ( Mobile m ) : bool
m Mobile
Résultat bool

IsSnoop() public méthode

public IsSnoop ( Mobile from ) : bool
from Mobile
Résultat bool

OnAfterDelete() public méthode

public OnAfterDelete ( ) : void
Résultat void

OnDoubleClick() public méthode

public OnDoubleClick ( Mobile from ) : void
from Mobile
Résultat void

OnDragDrop() public méthode

public OnDragDrop ( Mobile from, Item item ) : bool
from Mobile
item Item
Résultat bool

OnItemRemoved() public méthode

public OnItemRemoved ( Item item ) : void
item Item
Résultat void

OnSpeech() public méthode

public OnSpeech ( SpeechEventArgs e ) : void
e SpeechEventArgs
Résultat void

OnSubItemAdded() public méthode

public OnSubItemAdded ( Item item ) : void
item Item
Résultat void

OnSubItemBounceCleared() public méthode

public OnSubItemBounceCleared ( Item item ) : void
item Item
Résultat void

OnSubItemRemoved() public méthode

public OnSubItemRemoved ( Item item ) : void
item Item
Résultat void

OpenBackpack() public méthode

public OpenBackpack ( Mobile from ) : void
from Mobile
Résultat void

PlayerVendor() public méthode

public PlayerVendor ( Mobile owner, BaseHouse house ) : System
owner Mobile
house Server.Multis.BaseHouse
Résultat System

PlayerVendor() public méthode

public PlayerVendor ( Serial serial ) : System
serial Serial
Résultat System

SendOwnerGump() public méthode

public SendOwnerGump ( Mobile to ) : void
to Mobile
Résultat void

Serialize() public méthode

public Serialize ( GenericWriter writer ) : void
writer GenericWriter
Résultat void

TryToBuy() public static méthode

public static TryToBuy ( Item item, Mobile from ) : void
item Item
from Mobile
Résultat void

WasNamed() public méthode

public WasNamed ( string speech ) : bool
speech string
Résultat bool