C# Class Server.Mobiles.Banker

Inheritance: BaseVendor
Afficher le fichier Open project: runuo/runuo Class Usage Examples

Méthodes publiques

Méthode Description
AddCustomContextEntries ( Mobile from, List list ) : void
Banker ( Serial serial ) : System
Deposit ( Mobile from, int amount ) : bool
Deposit ( Server.Items.Container cont, int amount ) : void
DepositUpTo ( Mobile from, int amount ) : int
Deserialize ( GenericReader reader ) : void
GetBalance ( Mobile m ) : int
GetBalance ( Mobile m, Item &gold, Item &checks ) : int
HandlesOnSpeech ( Mobile from ) : bool
InitSBInfo ( ) : void
OnSpeech ( SpeechEventArgs e ) : void
Serialize ( GenericWriter writer ) : void
Withdraw ( Mobile from, int amount ) : bool

Private Methods

Méthode Description
Banker ( ) : System

Method Details

AddCustomContextEntries() public méthode

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

Banker() public méthode

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

Deposit() public static méthode

public static Deposit ( Mobile from, int amount ) : bool
from Mobile
amount int
Résultat bool

Deposit() public static méthode

public static Deposit ( Server.Items.Container cont, int amount ) : void
cont Server.Items.Container
amount int
Résultat void

DepositUpTo() public static méthode

public static DepositUpTo ( Mobile from, int amount ) : int
from Mobile
amount int
Résultat int

Deserialize() public méthode

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

GetBalance() public static méthode

public static GetBalance ( Mobile m ) : int
m Mobile
Résultat int

GetBalance() public static méthode

public static GetBalance ( Mobile m, Item &gold, Item &checks ) : int
m Mobile
gold Item
checks Item
Résultat int

HandlesOnSpeech() public méthode

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

InitSBInfo() public méthode

public InitSBInfo ( ) : void
Résultat void

OnSpeech() public méthode

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

Serialize() public méthode

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

Withdraw() public static méthode

public static Withdraw ( Mobile from, int amount ) : bool
from Mobile
amount int
Résultat bool