C# Class MiningGameServer.Player.PlayerClass

Mostrar archivo Open project: geel9/Minor-Destruction Class Usage Examples

Public Properties

Property Type Description
NetworkPlayer NetworkPlayer
PlayerClasses System.Type[]

Public Methods

Method Description
ClearUpdateMask ( ) : void
GetPlayerInventorySize ( ) : int
GetPlayerSprintVelocity ( ) : float
GetPlayerWalkVelocity ( ) : float
OnDeath ( ) : void
OnSpawn ( ) : void
Update_PostPhys ( GameTime time, bool movedSince = false ) : void
Update_PrePhys ( GameTime time ) : void
WriteState ( Packet p ) : void

Protected Methods

Method Description
MarkClassFlagsUpdate ( ) : void

Method Details

ClearUpdateMask() public method

public ClearUpdateMask ( ) : void
return void

GetPlayerInventorySize() public method

public GetPlayerInventorySize ( ) : int
return int

GetPlayerSprintVelocity() public method

public GetPlayerSprintVelocity ( ) : float
return float

GetPlayerWalkVelocity() public method

public GetPlayerWalkVelocity ( ) : float
return float

MarkClassFlagsUpdate() protected method

protected MarkClassFlagsUpdate ( ) : void
return void

OnDeath() public method

public OnDeath ( ) : void
return void

OnSpawn() public method

public OnSpawn ( ) : void
return void

Update_PostPhys() public method

public Update_PostPhys ( GameTime time, bool movedSince = false ) : void
time Microsoft.Xna.Framework.GameTime
movedSince bool
return void

Update_PrePhys() public method

public Update_PrePhys ( GameTime time ) : void
time Microsoft.Xna.Framework.GameTime
return void

WriteState() public method

public WriteState ( Packet p ) : void
p Packet
return void

Property Details

NetworkPlayer public_oe property

public NetworkPlayer NetworkPlayer
return NetworkPlayer

PlayerClasses public_oe static_oe property

public static Type[],System PlayerClasses
return System.Type[]