C# Class Server.Mobiles.PlayerMobile

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

Private Properties

Свойство Type Description
AddArmorRating void
CheckBlock bool
CheckContentForTrade int
CreateHair void
DeltaEnemies void
Disconnect void
EventSink_Connected void
EventSink_Disconnected void
FindItems_Callback bool
InternalChangeHair void
InternalRestoreHair void
OnLogin void
OnLogout void
RevertHair void
SendToStaffMessage void
ValidateEquipment_Sandbox void

Méthodes publiques

Méthode Description
AddBuff ( BuffInfo b ) : void
Animate ( int action, int frameCount, int repeatCount, bool forward, bool repeat, int delay ) : void
AntiMacroCheck ( Skill skill, object obj ) : bool
ApplyPoison ( Mobile from, Poison poison ) : ApplyPoisonResult
CanBeHarmful ( Mobile target, bool message, bool ignoreOurBlessedness ) : bool
CanSee ( Mobile m ) : bool
CheckEquip ( Item item ) : bool
CheckKillDecay ( ) : void
CheckLightLevels ( bool forceResend ) : void
CheckNonlocalDrop ( Mobile from, Item item, Item target ) : bool
CheckShove ( Mobile shoved ) : bool
CheckTrade ( Mobile to, Item item, SecureTradeContainer cont, bool message, bool checkItems, int plusItems, int plusWeight ) : bool
CheckedAnimate ( int action, int frameCount, int repeatCount, bool forward, bool repeat, int delay ) : void
ComputeBaseLightLevels ( int &global, int &personal ) : void
ComputeMovementSpeed ( Direction dir, bool checkTurning ) : TimeSpan
Delta ( MobileDelta flag ) : void
Deserialize ( GenericReader reader ) : void
DisruptiveAction ( ) : void
GetDirection4 ( Point3D from, Point3D to ) : Direction
GetFlag ( PlayerFlag flag ) : bool
GetLogoutDelay ( ) : TimeSpan
GetOldPacketFlags ( ) : int
GetPacketFlags ( ) : int
Initialize ( ) : void
InvalidateMyRunUO ( ) : void
IsHarmfulCriminal ( Mobile target ) : bool
Move ( Direction d ) : bool
MoveToWorld ( Point3D loc, Map map ) : void
MovementThrottle_Callback ( NetState ns ) : bool
MutateSpeech ( List hears, string &text, object &context ) : bool
OnAccessLevelChanged ( AccessLevel oldLevel ) : void
OnAfterDelete ( ) : void
OnBeforeDeath ( ) : bool
OnDamage ( int amount, Mobile from, bool willKill ) : void
OnDeath ( Container c ) : void
OnDelete ( ) : void
OnDoubleClick ( Mobile from ) : void
OnDroppedItemToWorld ( Item item, Point3D location ) : bool
OnFameChange ( int oldValue ) : void
OnGenderChanged ( bool oldFemale ) : void
OnGuildChange ( Server oldGuild ) : void
OnGuildTitleChange ( string oldTitle ) : void
OnItemAdded ( Item item ) : void
OnItemRemoved ( Item item ) : void
OnKarmaChange ( int oldValue ) : void
OnMoveOver ( Mobile m ) : bool
OnNetStateChanged ( ) : void
OnRawStatChange ( StatType stat, int oldValue ) : void
OnSpeech ( SpeechEventArgs e ) : void
OnSubItemAdded ( Item item ) : void
PlayerMobile ( ) : System
PlayerMobile ( Serial s ) : System
RecheckTownProtection ( ) : void
RemoveBuff ( BuffIcon b ) : void
RemoveBuff ( BuffInfo b ) : void
ResendBuffs ( ) : void
ResetKillTime ( ) : void
Resurrect ( ) : void
RevealingAction ( ) : void
Serialize ( GenericWriter writer ) : void
SetFlag ( PlayerFlag flag, bool value ) : void
SetHairMods ( int hairID, int beardID ) : void
SetLocation ( Point3D loc, bool isTeleport ) : void
SetMountBlock ( BlockMountType type, TimeSpan duration, bool dismount ) : void
ValidateEquipment ( ) : void

Méthodes protégées

Méthode Description
OnLocationChange ( Point3D oldLocation ) : void
OnRaceChange ( Race oldRace ) : void

Private Methods

Méthode Description
AddArmorRating ( double &rating, Item armor ) : void
CheckBlock ( MountBlock block ) : bool
CheckContentForTrade ( Item item ) : int
CreateHair ( bool hair, int id, int hue ) : void
DeltaEnemies ( Type oldType, Type newType ) : void
Disconnect ( object state ) : void
EventSink_Connected ( ConnectedEventArgs e ) : void
EventSink_Disconnected ( DisconnectedEventArgs e ) : void
FindItems_Callback ( Item item ) : bool
InternalChangeHair ( bool hair, int id, int &storeID, int &storeHue ) : void
InternalRestoreHair ( bool hair, int &id, int &hue ) : void
OnLogin ( LoginEventArgs e ) : void
OnLogout ( LogoutEventArgs e ) : void
RevertHair ( ) : void
SendToStaffMessage ( Mobile from, string text ) : void
ValidateEquipment_Sandbox ( ) : void

Method Details

AddBuff() public méthode

public AddBuff ( BuffInfo b ) : void
b BuffInfo
Résultat void

Animate() public méthode

public Animate ( int action, int frameCount, int repeatCount, bool forward, bool repeat, int delay ) : void
action int
frameCount int
repeatCount int
forward bool
repeat bool
delay int
Résultat void

AntiMacroCheck() public méthode

public AntiMacroCheck ( Skill skill, object obj ) : bool
skill Skill
obj object
Résultat bool

ApplyPoison() public méthode

public ApplyPoison ( Mobile from, Poison poison ) : ApplyPoisonResult
from Mobile
poison Poison
Résultat ApplyPoisonResult

CanBeHarmful() public méthode

public CanBeHarmful ( Mobile target, bool message, bool ignoreOurBlessedness ) : bool
target Mobile
message bool
ignoreOurBlessedness bool
Résultat bool

CanSee() public méthode

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

CheckEquip() public méthode

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

CheckKillDecay() public méthode

public CheckKillDecay ( ) : void
Résultat void

CheckLightLevels() public méthode

public CheckLightLevels ( bool forceResend ) : void
forceResend bool
Résultat void

CheckNonlocalDrop() public méthode

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

CheckShove() public méthode

public CheckShove ( Mobile shoved ) : bool
shoved Mobile
Résultat bool

CheckTrade() public méthode

public CheckTrade ( Mobile to, Item item, SecureTradeContainer cont, bool message, bool checkItems, int plusItems, int plusWeight ) : bool
to Mobile
item Item
cont SecureTradeContainer
message bool
checkItems bool
plusItems int
plusWeight int
Résultat bool

CheckedAnimate() public méthode

public CheckedAnimate ( int action, int frameCount, int repeatCount, bool forward, bool repeat, int delay ) : void
action int
frameCount int
repeatCount int
forward bool
repeat bool
delay int
Résultat void

ComputeBaseLightLevels() public méthode

public ComputeBaseLightLevels ( int &global, int &personal ) : void
global int
personal int
Résultat void

ComputeMovementSpeed() public méthode

public ComputeMovementSpeed ( Direction dir, bool checkTurning ) : TimeSpan
dir Direction
checkTurning bool
Résultat TimeSpan

Delta() public méthode

public Delta ( MobileDelta flag ) : void
flag MobileDelta
Résultat void

Deserialize() public méthode

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

DisruptiveAction() public méthode

public DisruptiveAction ( ) : void
Résultat void

GetDirection4() public static méthode

public static GetDirection4 ( Point3D from, Point3D to ) : Direction
from Point3D
to Point3D
Résultat Direction

GetFlag() public méthode

public GetFlag ( PlayerFlag flag ) : bool
flag PlayerFlag
Résultat bool

GetLogoutDelay() public méthode

public GetLogoutDelay ( ) : TimeSpan
Résultat TimeSpan

GetOldPacketFlags() public méthode

public GetOldPacketFlags ( ) : int
Résultat int

GetPacketFlags() public méthode

public GetPacketFlags ( ) : int
Résultat int

Initialize() public static méthode

public static Initialize ( ) : void
Résultat void

InvalidateMyRunUO() public méthode

public InvalidateMyRunUO ( ) : void
Résultat void

IsHarmfulCriminal() public méthode

public IsHarmfulCriminal ( Mobile target ) : bool
target Mobile
Résultat bool

Move() public méthode

public Move ( Direction d ) : bool
d Direction
Résultat bool

MoveToWorld() public méthode

public MoveToWorld ( Point3D loc, Map map ) : void
loc Point3D
map Map
Résultat void

MovementThrottle_Callback() public static méthode

public static MovementThrottle_Callback ( NetState ns ) : bool
ns NetState
Résultat bool

MutateSpeech() public méthode

public MutateSpeech ( List hears, string &text, object &context ) : bool
hears List
text string
context object
Résultat bool

OnAccessLevelChanged() public méthode

public OnAccessLevelChanged ( AccessLevel oldLevel ) : void
oldLevel AccessLevel
Résultat void

OnAfterDelete() public méthode

public OnAfterDelete ( ) : void
Résultat void

OnBeforeDeath() public méthode

public OnBeforeDeath ( ) : bool
Résultat bool

OnDamage() public méthode

public OnDamage ( int amount, Mobile from, bool willKill ) : void
amount int
from Mobile
willKill bool
Résultat void

OnDeath() public méthode

public OnDeath ( Container c ) : void
c Container
Résultat void

OnDelete() public méthode

public OnDelete ( ) : void
Résultat void

OnDoubleClick() public méthode

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

OnDroppedItemToWorld() public méthode

public OnDroppedItemToWorld ( Item item, Point3D location ) : bool
item Item
location Point3D
Résultat bool

OnFameChange() public méthode

public OnFameChange ( int oldValue ) : void
oldValue int
Résultat void

OnGenderChanged() public méthode

public OnGenderChanged ( bool oldFemale ) : void
oldFemale bool
Résultat void

OnGuildChange() public méthode

public OnGuildChange ( Server oldGuild ) : void
oldGuild Server
Résultat void

OnGuildTitleChange() public méthode

public OnGuildTitleChange ( string oldTitle ) : void
oldTitle string
Résultat void

OnItemAdded() public méthode

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

OnItemRemoved() public méthode

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

OnKarmaChange() public méthode

public OnKarmaChange ( int oldValue ) : void
oldValue int
Résultat void

OnLocationChange() protected méthode

protected OnLocationChange ( Point3D oldLocation ) : void
oldLocation Point3D
Résultat void

OnMoveOver() public méthode

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

OnNetStateChanged() public méthode

public OnNetStateChanged ( ) : void
Résultat void

OnRaceChange() protected méthode

protected OnRaceChange ( Race oldRace ) : void
oldRace Race
Résultat void

OnRawStatChange() public méthode

public OnRawStatChange ( StatType stat, int oldValue ) : void
stat StatType
oldValue int
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

PlayerMobile() public méthode

public PlayerMobile ( ) : System
Résultat System

PlayerMobile() public méthode

public PlayerMobile ( Serial s ) : System
s Serial
Résultat System

RecheckTownProtection() public méthode

public RecheckTownProtection ( ) : void
Résultat void

RemoveBuff() public méthode

public RemoveBuff ( BuffIcon b ) : void
b BuffIcon
Résultat void

RemoveBuff() public méthode

public RemoveBuff ( BuffInfo b ) : void
b BuffInfo
Résultat void

ResendBuffs() public méthode

public ResendBuffs ( ) : void
Résultat void

ResetKillTime() public méthode

public ResetKillTime ( ) : void
Résultat void

Resurrect() public méthode

public Resurrect ( ) : void
Résultat void

RevealingAction() public méthode

public RevealingAction ( ) : void
Résultat void

Serialize() public méthode

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

SetFlag() public méthode

public SetFlag ( PlayerFlag flag, bool value ) : void
flag PlayerFlag
value bool
Résultat void

SetHairMods() public méthode

public SetHairMods ( int hairID, int beardID ) : void
hairID int
beardID int
Résultat void

SetLocation() public méthode

public SetLocation ( Point3D loc, bool isTeleport ) : void
loc Point3D
isTeleport bool
Résultat void

SetMountBlock() public méthode

public SetMountBlock ( BlockMountType type, TimeSpan duration, bool dismount ) : void
type BlockMountType
duration TimeSpan
dismount bool
Résultat void

ValidateEquipment() public méthode

public ValidateEquipment ( ) : void
Résultat void