C# Class Dwarrowdelf.Server.Player

Inheritance: IPlayer
Mostra file Open project: tomba/dwarrowdelf Class Usage Examples

Private Properties

Property Type Description
ConnectUser void
Construct void
DisconnectUser void
GetVisionTrackerInternal VisionTrackerBase
HandleReport void
HandleWorldChange void
InitControllables void
InitControllablesVisionTracker void
OnConnected void
OnControllableDestructed void
OnControllableParentChanged void
OnDisconnected void
Player System
ReceiveMessage void
RemoveControllable void
SendAddControllables void
SendRemoveControllable void
UninitControllable void
UninitControllableVisionTracker void

Public Methods

Method Description
AddControllables ( IEnumerable controllables ) : void
DispatchMessage ( Message m ) : void
GetObjectVisibility ( BaseObject ob ) : ObjectVisibility
GetVisionTracker ( EnvironmentObject env ) : IVisionTracker
IsController ( BaseObject living ) : bool
Sees ( BaseObject ob, IntVector3 p ) : bool

Does the player see location p in object ob

Send ( ClientMessage msg ) : void
Send ( IEnumerable msgs ) : void
ToString ( ) : string

Protected Methods

Method Description
Player ( SaveGameContext ctx ) : System
Player ( int playerID, GameEngine engine ) : System

Private Methods

Method Description
ConnectUser ( User user ) : void
Construct ( ) : void
DisconnectUser ( ) : void
GetVisionTrackerInternal ( EnvironmentObject env ) : VisionTrackerBase
HandleReport ( GameReport report ) : void
HandleWorldChange ( Change change ) : void
InitControllables ( IEnumerable controllables ) : void
InitControllablesVisionTracker ( IEnumerable controllables ) : void
OnConnected ( ) : void
OnControllableDestructed ( IBaseObject ob ) : void
OnControllableParentChanged ( LivingObject living, ContainerObject _src, ContainerObject _dst ) : void
OnDisconnected ( ) : void
Player ( ) : System
ReceiveMessage ( ProceedTurnReplyMessage msg ) : void
RemoveControllable ( LivingObject living ) : void
SendAddControllables ( IEnumerable controllables ) : void
SendRemoveControllable ( LivingObject living ) : void
UninitControllable ( LivingObject living ) : void
UninitControllableVisionTracker ( LivingObject living ) : void

Method Details

AddControllables() public method

public AddControllables ( IEnumerable controllables ) : void
controllables IEnumerable
return void

DispatchMessage() public method

public DispatchMessage ( Message m ) : void
m Message
return void

GetObjectVisibility() public method

public GetObjectVisibility ( BaseObject ob ) : ObjectVisibility
ob BaseObject
return ObjectVisibility

GetVisionTracker() public method

public GetVisionTracker ( EnvironmentObject env ) : IVisionTracker
env EnvironmentObject
return IVisionTracker

IsController() public method

public IsController ( BaseObject living ) : bool
living BaseObject
return bool

Player() protected method

protected Player ( SaveGameContext ctx ) : System
ctx SaveGameContext
return System

Player() protected method

protected Player ( int playerID, GameEngine engine ) : System
playerID int
engine GameEngine
return System

Sees() public method

Does the player see location p in object ob
public Sees ( BaseObject ob, IntVector3 p ) : bool
ob BaseObject
p IntVector3
return bool

Send() public method

public Send ( ClientMessage msg ) : void
msg ClientMessage
return void

Send() public method

public Send ( IEnumerable msgs ) : void
msgs IEnumerable
return void

ToString() public method

public ToString ( ) : string
return string