C# Class Asgard.AsgardServer

Inheritance: AsgardBase
显示文件 Open project: enBask/Asgard

Protected Properties

Property Type Description
_netConfig Asgard.Server.Network.NetConfig
_phyConfig PhysicsConfig
_scriptConfig Asgard.ScriptSystem.ScriptConfig

Public Methods

Method Description
AsgardServer ( ) : System

Protected Methods

Method Description
AfterPhysics ( float delta ) : void
AfterTick ( double delta ) : void
BeforePhysics ( float delta ) : void
BeforeTick ( double delta ) : void
CanPlayerSee ( Entity player, Entity checkPlayer ) : bool
GetPlayerList ( ) : IEnumerable

Private Methods

Method Description
LoadConfig ( ) : void
OnAckState ( AckStatePacket obj ) : void
OnClientState ( ClientStatePacket clientState ) : void
SendSnapshot ( ) : void

Method Details

AfterPhysics() protected method

protected AfterPhysics ( float delta ) : void
delta float
return void

AfterTick() protected method

protected AfterTick ( double delta ) : void
delta double
return void

AsgardServer() public method

public AsgardServer ( ) : System
return System

BeforePhysics() protected method

protected BeforePhysics ( float delta ) : void
delta float
return void

BeforeTick() protected method

protected BeforeTick ( double delta ) : void
delta double
return void

CanPlayerSee() protected method

protected CanPlayerSee ( Entity player, Entity checkPlayer ) : bool
player Entity
checkPlayer Entity
return bool

GetPlayerList() protected method

protected GetPlayerList ( ) : IEnumerable
return IEnumerable

Property Details

_netConfig protected_oe property

protected NetConfig,Asgard.Server.Network _netConfig
return Asgard.Server.Network.NetConfig

_phyConfig protected_oe property

protected PhysicsConfig _phyConfig
return PhysicsConfig

_scriptConfig protected_oe property

protected ScriptConfig,Asgard.ScriptSystem _scriptConfig
return Asgard.ScriptSystem.ScriptConfig