C# Class Server.Multis.BaseBoat

Inheritance: Server.Items.BaseMulti
Datei anzeigen Open project: Grimoric/RunUO.T2A Class Usage Examples

Private Properties

Property Type Description
EventSink_WorldSave void
SafeAdd void

Public Methods

Method Description
AssociateMap ( Server.Items.MapItem map ) : void
BaseBoat ( ) : System
BaseBoat ( Server.Serial serial ) : System
BeginDryDock ( Server.Mobile from ) : void
BeginRename ( Server.Mobile from ) : void
CanFit ( Server.Point3D p, Server.Map map, int itemID ) : bool
CheckDecay ( ) : bool
CheckDryDock ( Server.Mobile from ) : DryDockResult
CheckKey ( uint keyValue ) : bool
Contains ( int x, int y ) : bool
CreateKeys ( Server.Mobile m ) : uint
Deserialize ( GenericReader reader ) : void
DoMovement ( bool message ) : bool
EndDryDock ( Mobile from ) : void
EndRename ( Mobile from, string newName ) : void
FindBoatAt ( IPoint2D loc, Map map ) : BaseBoat
GetMarkedLocation ( ) : Point3D
GetMovementFor ( int x, int y, int &maxSpeed ) : Direction
GetMovingEntities ( ) : List
GetRotatedLocation ( int x, int y ) : Point3D
GetWrapFor ( ) : Rectangle2D[]
GiveName ( ) : void
GiveNavPoint ( ) : void
Initialize ( ) : void
IsValidLocation ( Point3D p ) : bool
LowerAnchor ( bool message ) : bool
Move ( Direction dir, int speed, int clientSpeed, bool message ) : bool
OnAfterDelete ( ) : void
OnLocationChange ( Point3D old ) : void
OnMapChange ( ) : void
OnSpeech ( SpeechEventArgs e ) : void
OneMove ( Direction dir ) : bool
RaiseAnchor ( bool message ) : bool
Refresh ( ) : void
RemoveKeys ( Mobile m ) : void
RemoveName ( Mobile m ) : void
Rename ( string newName ) : void
Rotate ( Point3D p, int count ) : Point3D
Serialize ( GenericWriter writer ) : void
SetFacing ( Direction facing ) : bool
SetName ( SpeechEventArgs e ) : void
StartCourse ( bool single, bool message ) : bool
StartCourse ( string navPoint, bool single, bool message ) : bool
StartMove ( Direction dir, bool fast ) : bool
StartMove ( Direction dir, int speed, int clientSpeed, TimeSpan interval, bool single, bool message ) : bool
StartTurn ( int offset, bool message ) : bool
StopMove ( bool message ) : bool
Teleport ( int xOffset, int yOffset, int zOffset ) : void
Turn ( int offset, bool message ) : bool
UpdateAllComponents ( ) : void
UpdateComponents ( ) : void

Private Methods

Method Description
EventSink_WorldSave ( WorldSaveEventArgs e ) : void
SafeAdd ( Item item, List toMove ) : void

Method Details

AssociateMap() public method

public AssociateMap ( Server.Items.MapItem map ) : void
map Server.Items.MapItem
return void

BaseBoat() public method

public BaseBoat ( ) : System
return System

BaseBoat() public method

public BaseBoat ( Server.Serial serial ) : System
serial Server.Serial
return System

BeginDryDock() public method

public BeginDryDock ( Server.Mobile from ) : void
from Server.Mobile
return void

BeginRename() public method

public BeginRename ( Server.Mobile from ) : void
from Server.Mobile
return void

CanFit() public method

public CanFit ( Server.Point3D p, Server.Map map, int itemID ) : bool
p Server.Point3D
map Server.Map
itemID int
return bool

CheckDecay() public method

public CheckDecay ( ) : bool
return bool

CheckDryDock() public method

public CheckDryDock ( Server.Mobile from ) : DryDockResult
from Server.Mobile
return DryDockResult

CheckKey() public method

public CheckKey ( uint keyValue ) : bool
keyValue uint
return bool

Contains() public method

public Contains ( int x, int y ) : bool
x int
y int
return bool

CreateKeys() public method

public CreateKeys ( Server.Mobile m ) : uint
m Server.Mobile
return uint

Deserialize() public method

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

DoMovement() public method

public DoMovement ( bool message ) : bool
message bool
return bool

EndDryDock() public method

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

EndRename() public method

public EndRename ( Mobile from, string newName ) : void
from Mobile
newName string
return void

FindBoatAt() public static method

public static FindBoatAt ( IPoint2D loc, Map map ) : BaseBoat
loc IPoint2D
map Map
return BaseBoat

GetMarkedLocation() public method

public GetMarkedLocation ( ) : Point3D
return Point3D

GetMovementFor() public method

public GetMovementFor ( int x, int y, int &maxSpeed ) : Direction
x int
y int
maxSpeed int
return Direction

GetMovingEntities() public method

public GetMovingEntities ( ) : List
return List

GetRotatedLocation() public method

public GetRotatedLocation ( int x, int y ) : Point3D
x int
y int
return Point3D

GetWrapFor() public static method

public static GetWrapFor ( ) : Rectangle2D[]
return Rectangle2D[]

GiveName() public method

public GiveName ( ) : void
return void

GiveNavPoint() public method

public GiveNavPoint ( ) : void
return void

Initialize() public static method

public static Initialize ( ) : void
return void

IsValidLocation() public static method

public static IsValidLocation ( Point3D p ) : bool
p Point3D
return bool

LowerAnchor() public method

public LowerAnchor ( bool message ) : bool
message bool
return bool

Move() public method

public Move ( Direction dir, int speed, int clientSpeed, bool message ) : bool
dir Direction
speed int
clientSpeed int
message bool
return bool

OnAfterDelete() public method

public OnAfterDelete ( ) : void
return void

OnLocationChange() public method

public OnLocationChange ( Point3D old ) : void
old Point3D
return void

OnMapChange() public method

public OnMapChange ( ) : void
return void

OnSpeech() public method

public OnSpeech ( SpeechEventArgs e ) : void
e SpeechEventArgs
return void

OneMove() public method

public OneMove ( Direction dir ) : bool
dir Direction
return bool

RaiseAnchor() public method

public RaiseAnchor ( bool message ) : bool
message bool
return bool

Refresh() public method

public Refresh ( ) : void
return void

RemoveKeys() public method

public RemoveKeys ( Mobile m ) : void
m Mobile
return void

RemoveName() public method

public RemoveName ( Mobile m ) : void
m Mobile
return void

Rename() public method

public Rename ( string newName ) : void
newName string
return void

Rotate() public method

public Rotate ( Point3D p, int count ) : Point3D
p Point3D
count int
return Point3D

Serialize() public method

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

SetFacing() public method

public SetFacing ( Direction facing ) : bool
facing Direction
return bool

SetName() public method

public SetName ( SpeechEventArgs e ) : void
e SpeechEventArgs
return void

StartCourse() public method

public StartCourse ( bool single, bool message ) : bool
single bool
message bool
return bool

StartCourse() public method

public StartCourse ( string navPoint, bool single, bool message ) : bool
navPoint string
single bool
message bool
return bool

StartMove() public method

public StartMove ( Direction dir, bool fast ) : bool
dir Direction
fast bool
return bool

StartMove() public method

public StartMove ( Direction dir, int speed, int clientSpeed, TimeSpan interval, bool single, bool message ) : bool
dir Direction
speed int
clientSpeed int
interval TimeSpan
single bool
message bool
return bool

StartTurn() public method

public StartTurn ( int offset, bool message ) : bool
offset int
message bool
return bool

StopMove() public method

public StopMove ( bool message ) : bool
message bool
return bool

Teleport() public method

public Teleport ( int xOffset, int yOffset, int zOffset ) : void
xOffset int
yOffset int
zOffset int
return void

Turn() public method

public Turn ( int offset, bool message ) : bool
offset int
message bool
return bool

UpdateAllComponents() public static method

public static UpdateAllComponents ( ) : void
return void

UpdateComponents() public method

public UpdateComponents ( ) : void
return void