CandideServer.Entities.ControllerSets.Boat.ServerBoatController
Type JSONpublic class in CandideServer.Entities.ControllerSets.Boat
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.Entities.ControllerSets.Boat - Base type
Shared.Entity.Base.AbstractController - Hash
0C4D8378FF61C70F649E709D38EAB5F45A8299CFA501962F47129874FA6561B3
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
CD90CDBCE3C9A80453F0D3F1B2E3FA963B52E8E0A4C4772176939664B63D0EA9 - Body hash
438925666008C68B71796365E70CF0B00DFA19F147232844B6C796BB394D34DE - 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
086946FB849F57135678ED9678259B1505D60A7BC466A38D3EE7BC0ECFDC5A61 - Body hash
E083C3A997519BCAFB8F739A4EE7ED13841B1A3B3A2B71D85ED76718BBC38036 - 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
AC71D08A4CF36023B24D3467F18F409C183C9DF568B0C6DD2F07F9AECBC62D48 - Body hash
85053E8012AB7F6AC4FB3819DFCF31716CC062A4908D78B8E7BA446D2E39AFFE - IL size218
Referenced calls
Microsoft.Xna.Framework.GameTime::get_ElapsedGameTime()System.TimeSpan::get_TotalSeconds()Shared.Entity.EntityWrapper::get_PositionZ()CandideServer.Entities.ControllerSets.Boat.ServerBoatController::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)