C# Class Server.Mobiles.BaseVendor

Inheritance: BaseCreature, IVendor
显示文件 Open project: runuo/runuo Class Usage Examples

Public Methods

Method 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

Protected Methods

Method Description
LoadSBInfo ( ) : void
OnMapChange ( Map oldMap ) : void

Private Methods

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

public AddCustomContextEntries ( Mobile from, List list ) : void
from Mobile
list List
return void

BaseVendor() public method

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

BaseVendor() public method

public BaseVendor ( string title ) : System
title string
return System

CapitalizeTitle() public method

public CapitalizeTitle ( ) : void
return void

CheckGargoyle() public method

public CheckGargoyle ( ) : bool
return bool

CheckMorph() public method

public CheckMorph ( ) : void
return void

CheckNecromancer() public method

public CheckNecromancer ( ) : bool
return bool

CheckTokuno() public method

public CheckTokuno ( ) : bool
return bool

CheckVendorAccess() public method

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

CreateBulkOrder() public method

public CreateBulkOrder ( Mobile from, bool fromContextMenu ) : Item
from Mobile
fromContextMenu bool
return Item

Deserialize() public method

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

GetBuyInfo() public method

public GetBuyInfo ( ) : IBuyItemInfo[]
return IBuyItemInfo[]

GetGender() public method

public GetGender ( ) : bool
return bool

GetHairHue() public method

public GetHairHue ( ) : int
return int

GetNextBulkOrder() public method

public GetNextBulkOrder ( Mobile from ) : TimeSpan
from Mobile
return TimeSpan

GetPriceScalar() public method

public GetPriceScalar ( ) : int
return int

GetRandomHue() public method

public GetRandomHue ( ) : int
return int

GetRandomNecromancerHue() public method

public GetRandomNecromancerHue ( ) : int
return int

GetSellInfo() public method

public GetSellInfo ( ) : IShopSellInfo[]
return IShopSellInfo[]

GetShoeHue() public method

public GetShoeHue ( ) : int
return int

InitBody() public method

public InitBody ( ) : void
return void

InitOutfit() public method

public InitOutfit ( ) : void
return void

InitSBInfo() public abstract method

public abstract InitSBInfo ( ) : void
return void

IsValidBulkOrder() public method

public IsValidBulkOrder ( Item item ) : bool
item Item
return bool

LoadSBInfo() protected method

protected LoadSBInfo ( ) : void
return void

OnAfterSpawn() public method

public OnAfterSpawn ( ) : void
return void

OnBuyItems() public method

public OnBuyItems ( Mobile buyer, List list ) : bool
buyer Mobile
list List
return bool

OnDragDrop() public method

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

OnMapChange() protected method

protected OnMapChange ( Map oldMap ) : void
oldMap Map
return void

OnSellItems() public method

public OnSellItems ( Mobile seller, List list ) : bool
seller Mobile
list List
return bool

OnSuccessfulBulkOrderReceive() public method

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

Restock() public method

public Restock ( ) : void
return void

SendPacksTo() public method

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

Serialize() public method

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

SupportsBulkOrders() public method

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

TurnToGargoyle() public method

public TurnToGargoyle ( ) : void
return void

TurnToNecromancer() public method

public TurnToNecromancer ( ) : void
return void

TurnToTokuno() public method

public TurnToTokuno ( ) : void
return void

UpdateBuyInfo() public method

public UpdateBuyInfo ( ) : void
return void

VendorBuy() public method

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

VendorSell() public method

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