C# Class Server.Mobiles.BaseVendor

Inheritance: BaseCreature, IVendor
Afficher le fichier Open project: runuo/runuo Class Usage Examples

Méthodes publiques

Méthode Description
AddCustomContextEntries ( Mobile from, List list ) : void
BaseVendor ( Serial serial ) : System
BaseVendor ( string title ) : System
CapitalizeTitle ( ) : void
CheckGargoyle ( ) : bool
CheckMorph ( ) : void
CheckNecromancer ( ) : bool
CheckTokuno ( ) : bool
CheckVendorAccess ( Mobile from ) : bool
CreateBulkOrder ( Mobile from, bool fromContextMenu ) : Item
Deserialize ( GenericReader reader ) : void
GetBuyInfo ( ) : IBuyItemInfo[]
GetGender ( ) : bool
GetHairHue ( ) : int
GetNextBulkOrder ( Mobile from ) : TimeSpan
GetPriceScalar ( ) : int
GetRandomHue ( ) : int
GetRandomNecromancerHue ( ) : int
GetSellInfo ( ) : IShopSellInfo[]
GetShoeHue ( ) : int
InitBody ( ) : void
InitOutfit ( ) : void
InitSBInfo ( ) : void
IsValidBulkOrder ( Item item ) : bool
OnAfterSpawn ( ) : void
OnBuyItems ( Mobile buyer, List list ) : bool
OnDragDrop ( Mobile from, Item dropped ) : bool
OnSellItems ( Mobile seller, List list ) : bool
OnSuccessfulBulkOrderReceive ( Mobile from ) : void
Restock ( ) : void
SendPacksTo ( Mobile from ) : void
Serialize ( GenericWriter writer ) : void
SupportsBulkOrders ( Mobile from ) : bool
TurnToGargoyle ( ) : void
TurnToNecromancer ( ) : void
TurnToTokuno ( ) : void
UpdateBuyInfo ( ) : void
VendorBuy ( Mobile from ) : void
VendorSell ( Mobile from ) : void

Méthodes protégées

Méthode Description
LoadSBInfo ( ) : void
OnMapChange ( Map oldMap ) : void

Private Methods

Méthode Description
LookupDisplayObject ( object obj ) : GenericBuyInfo
ProcessSinglePurchase ( BuyItemResponse buy, IBuyItemInfo bii, List validBuy, int &controlSlots, bool &fullPurchase, int &totalCost ) : void
ProcessValidPurchase ( int amount, IBuyItemInfo bii, Mobile buyer, Container cont ) : void

Method Details

AddCustomContextEntries() public méthode

public AddCustomContextEntries ( Mobile from, List list ) : void
from Mobile
list List
Résultat void

BaseVendor() public méthode

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

BaseVendor() public méthode

public BaseVendor ( string title ) : System
title string
Résultat System

CapitalizeTitle() public méthode

public CapitalizeTitle ( ) : void
Résultat void

CheckGargoyle() public méthode

public CheckGargoyle ( ) : bool
Résultat bool

CheckMorph() public méthode

public CheckMorph ( ) : void
Résultat void

CheckNecromancer() public méthode

public CheckNecromancer ( ) : bool
Résultat bool

CheckTokuno() public méthode

public CheckTokuno ( ) : bool
Résultat bool

CheckVendorAccess() public méthode

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

CreateBulkOrder() public méthode

public CreateBulkOrder ( Mobile from, bool fromContextMenu ) : Item
from Mobile
fromContextMenu bool
Résultat Item

Deserialize() public méthode

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

GetBuyInfo() public méthode

public GetBuyInfo ( ) : IBuyItemInfo[]
Résultat IBuyItemInfo[]

GetGender() public méthode

public GetGender ( ) : bool
Résultat bool

GetHairHue() public méthode

public GetHairHue ( ) : int
Résultat int

GetNextBulkOrder() public méthode

public GetNextBulkOrder ( Mobile from ) : TimeSpan
from Mobile
Résultat TimeSpan

GetPriceScalar() public méthode

public GetPriceScalar ( ) : int
Résultat int

GetRandomHue() public méthode

public GetRandomHue ( ) : int
Résultat int

GetRandomNecromancerHue() public méthode

public GetRandomNecromancerHue ( ) : int
Résultat int

GetSellInfo() public méthode

public GetSellInfo ( ) : IShopSellInfo[]
Résultat IShopSellInfo[]

GetShoeHue() public méthode

public GetShoeHue ( ) : int
Résultat int

InitBody() public méthode

public InitBody ( ) : void
Résultat void

InitOutfit() public méthode

public InitOutfit ( ) : void
Résultat void

InitSBInfo() public abstract méthode

public abstract InitSBInfo ( ) : void
Résultat void

IsValidBulkOrder() public méthode

public IsValidBulkOrder ( Item item ) : bool
item Item
Résultat bool

LoadSBInfo() protected méthode

protected LoadSBInfo ( ) : void
Résultat void

OnAfterSpawn() public méthode

public OnAfterSpawn ( ) : void
Résultat void

OnBuyItems() public méthode

public OnBuyItems ( Mobile buyer, List list ) : bool
buyer Mobile
list List
Résultat bool

OnDragDrop() public méthode

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

OnMapChange() protected méthode

protected OnMapChange ( Map oldMap ) : void
oldMap Map
Résultat void

OnSellItems() public méthode

public OnSellItems ( Mobile seller, List list ) : bool
seller Mobile
list List
Résultat bool

OnSuccessfulBulkOrderReceive() public méthode

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

Restock() public méthode

public Restock ( ) : void
Résultat void

SendPacksTo() public méthode

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

Serialize() public méthode

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

SupportsBulkOrders() public méthode

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

TurnToGargoyle() public méthode

public TurnToGargoyle ( ) : void
Résultat void

TurnToNecromancer() public méthode

public TurnToNecromancer ( ) : void
Résultat void

TurnToTokuno() public méthode

public TurnToTokuno ( ) : void
Résultat void

UpdateBuyInfo() public méthode

public UpdateBuyInfo ( ) : void
Résultat void

VendorBuy() public méthode

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

VendorSell() public méthode

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