CandideServer.Entities.ControllerSets.GoKart.ServerGoKartController
Type JSONpublic class in CandideServer.Entities.ControllerSets.GoKart
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.Entities.ControllerSets.GoKart - Base type
Shared.Entity.Base.AbstractController - Hash
99C614F4B6B00BFBCFD7FA7B165BD251B44FBE4EFE12AF86BE01C3150CF0396D
Relationships
Base type
Fields
| Name | Visibility | Signature |
|---|---|---|
AngleVelocity# | public | public System.Single AngleVelocity |
AngleVelocityParameterName# | public | public System.String AngleVelocityParameterName |
CurrentAngleParameterName# | public | public System.String CurrentAngleParameterName |
CurrentSpeedParameterName# | public | public System.String CurrentSpeedParameterName |
CurrentSpeedPercentage# | public | public System.Single CurrentSpeedPercentage |
SpeedPercentageVelocity# | public | public System.Single SpeedPercentageVelocity |
SpeedVelocityParameterName# | public | public System.String SpeedVelocityParameterName |
Properties
| Name | Visibility | Signature |
|---|---|---|
DirectionAsAngle# | public | public System.Single DirectionAsAngle |
Methods
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
5385A6CEA7EE33C55887A9F9E199E4DE9D80C3E43143645501C66A33FF5B3BC1 - Body hash
B024E44B5E23BD0F97B67D3CC113DAED2FD48563AD477E4E8D4D9605AE9A7FAD - IL size8
OnEntityAttached
#
public System.Void OnEntityAttached(Shared.Entity.EntityWrapper carriedEntity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
33C0B91DF34684170305522B29C429F27A842BBCF9CF1A3F83CD4245C98895CD - Body hash
FCA03F7CE39817C49CB65EE8A2EAB9DC02B8F4B7E3E6FDCC4B3E843D5984BFD0 - IL size15
Referenced calls
Shared.Entity.EntityWrapper::set_NoEntityCollision(System.Boolean)Shared.Entity.EntityWrapper::set_NoTerrainCollision(System.Boolean)
OnEntityCollision
#
public System.Boolean OnEntityCollision(Shared.Entity.EntityWrapper otherEntity, Microsoft.Xna.Framework.Vector3 thisOldVelocity, Microsoft.Xna.Framework.Vector3 thisNewVelocity, Microsoft.Xna.Framework.Vector3 otherOldVelocity, Microsoft.Xna.Framework.Vector3 otherNewVelocity, out Microsoft.Xna.Framework.Vector3& overrideVelocity)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualTrue
- Hash
6270EDC9F4702762EF094CE8DD75C9BA46272AED49608835775F303EEC96D23C - Body hash
01C88F306AC37E2CBE8289130A6CBF535B805EE275A959B9906D9A84AAD5665F - IL size10
OnEntityDetached
#
public System.Void OnEntityDetached(Shared.Entity.EntityWrapper carriedEntity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
1F60180D5DC7841FB55ADEE590218CE7F2EAF09328B37EBC0DA35572447F4C88 - Body hash
2B423DBA75F6BE3B9B98841DD0A51DCC4E2A3FB22612E696E682AC09645DD90B - IL size15
Referenced calls
Shared.Entity.EntityWrapper::set_NoEntityCollision(System.Boolean)Shared.Entity.EntityWrapper::set_NoTerrainCollision(System.Boolean)
OnServerSetState
#
public System.Void OnServerSetState(System.Int32 state)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
9A84234196872A3AC4FE12A9D32D4E24537FA4D5ABD4452E5B5B6A2A52B0430D - Body hash
CD0A23F8DB455A392F2CBC10E989B344D3A37F830FA759505EF8B567118A0AB8 - IL size80
Referenced calls
String literals
angle_rotation_velocityspeed_percentage_velocityvehicle_action
OnTerrainCollision
#
public System.Void OnTerrainCollision(Microsoft.Xna.Framework.Vector3 previousVelocity, Microsoft.Xna.Framework.Vector3& velocity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
2F66127EE2538E094D8B83362274EAB8F5BB61836F71AD17E805A1618C0D527D - Body hash
A1BF3B73B1EE81749CE6A754C998AD0D2A4BD4433405E379739205704E1F1669 - IL size9
SetState
#
private System.Void SetState(System.Int32 state)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
6DA29473512B4580FC9CE0ABD535F4D61873A27F07878CE1F884A78DD8E3E27E - Body hash
7614A94046EABF8580EBFA23282B47076E578449069B33AEA47978F96D073B75 - IL size8
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
9C2A3D0EC324014F67D50BDBDD971EBADDC8EA924360556AB816B8455283BF6D - Body hash
74DC047C1E39AAB0809609EBC5BB372A84D787D6E3B96DB5270D06669E6097DB - IL size329
Referenced calls
Microsoft.Xna.Framework.GameTime::get_ElapsedGameTime()System.TimeSpan::get_TotalSeconds()CandideCreator.Shared.Helpers.Parameters::GetGuid(System.String, System.Guid)System.Guid::op_Equality(System.Guid, System.Guid)System.Int32::ToString()CandideCreator.Shared.Helpers.Parameters::Set(System.String, System.String)CandideServer.Entities.ControllerSets.GoKart.ServerGoKartController::get_DirectionAsAngle()CandideCreator.Shared.Helpers.VectorExtension::AngleToDirection(System.Single)Shared.Entity.EntityWrapper::set_Direction(System.Single)System.MathF::Min(System.Single, System.Single)System.MathF::Max(System.Single, System.Single)Shared.Entity.EntityWrapper::get_Direction()CandideCreator.Shared.Helpers.VectorExtension::DirectionToVector2(System.Single)Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)Shared.Entity.EntityWrapper::Accelerate(Microsoft.Xna.Framework.Vector2)
String literals
vehicle_driverangle_rotation_velocityspeed_percentage_velocity