Candide.PlayerMode.Vehicle.VehicleModeManager
Type JSONpublic class in Candide.PlayerMode.Vehicle
Type metadata
- Assembly
Romestead - Namespace
Candide.PlayerMode.Vehicle - Base type
Candide.PlayerMode.AbstractModeManager - Hash
1B24DFB870F17425C2FB57A3B2E6AA9D0FF5F07A8ABE30E61A106563BF13D30F
Relationships
Base type
Fields
| Name | Visibility | Signature |
|---|---|---|
CrossHairSpriteSheet# | private | private CandideCreator.Shared.Graphics.SpriteSheet CrossHairSpriteSheet |
EntityId# | public | public System.Nullable<System.Guid> EntityId |
Instance# | public | public Candide.PlayerMode.Vehicle.VehicleModeManager Instance |
LastUpdatePos# | private | private System.Nullable<Microsoft.Xna.Framework.Vector2> LastUpdatePos |
UpdateNetworkTimer# | private | private System.Single UpdateNetworkTimer |
VehicleMode# | public | public Shared.Models.Vehicles.VehicleMode VehicleMode |
_justEntered# | private | private System.Boolean _justEntered |
_sentExit# | private | private System.Boolean _sentExit |
Properties
| Name | Visibility | Signature |
|---|---|---|
CandideDesktop# | public | public Candide.CandideUI.CandideDesktop CandideDesktop |
Methods
DrawInWorldUi
#
public System.Void DrawInWorldUi(Microsoft.Xna.Framework.Graphics.SpriteBatch batch)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
4B55CFC935E8E5AC69EA2569E043BFE7CECF65D9DD16708C190696FCACEA8292 - Body hash
CE218B0872C9963D5057E2564CC36BE1187B5155F59BDC20A212B4291F374E9A - IL size210
Referenced calls
System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::get_Value()System.Collections.Generic.Dictionary<System.Guid, Shared.Entity.EntityWrapper>::TryGetValue(!0, !1&)Shared.Entity.EntityWrapper::get_Controller()Candide.Input.RtsPlayerInputController::get_PlacingPosition()CandideCreator.Shared.Graphics.SpriteSheet::DrawCentered(Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.Vector2, System.Int32)Candide.Entities.Controllers.Other.CatapultController::GetAimWorldPos()Shared.Entity.EntityWrapper::get_Position()CandideCreator.Shared.Helpers.VectorExtension::ToScreenSpace(Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::Normalize()Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Color::get_White()Microsoft.Xna.Framework.Color::.ctor(Microsoft.Xna.Framework.Color, System.Single)Candide.CandideUI.CandideUiSystem::get_Scale()CandideCreator.Shared.Graphics.PrimitiveRenderer::DrawLine(Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Color, System.Single)System.ArgumentOutOfRangeException::.ctor()
EnterVehicleAndSetModeManager
#
public System.Void EnterVehicleAndSetModeManager(Shared.Models.Vehicles.VehicleMode mode, System.Guid entityId)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
39E6971389B93AA86D29665527CD2CE5ED82C905310D798AED1B15749B51B2E9 - Body hash
C0D69994097443F84299611F59F5AD1686FEFD0D156A4C3A5D63C2C97802F21C - IL size81
Referenced calls
System.Nullable<System.Guid>::.ctor(!0)Candide.CandideEngine::SetModeManager(Candide.PlayerMode.AbstractModeManager)CandideServer.MessageModels.Vehicles.EnterVehicleMessage::.ctor()Shared.Entity.EntityWrapper::get_Id()Candide.GameModels.Services.VehicleService::Send_EnterVehicle(CandideServer.MessageModels.Vehicles.EnterVehicleMessage)
Exit
#
public System.Void Exit()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
9CC0C93EDDA8735BC196F4BAE4BEEE3AD0FA15C6AEB9E2141935E668616806CB - Body hash
C5D31CA816BBD7BA140F2B21A19E4B41AEE4145641B4810EBF030B465DAA91D2 - IL size43
Referenced calls
OnEntering
#
public System.Void OnEntering()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
B1C3A1C674F6DA7C1422BF421F5FB781A52FC2DB4990E79AE09AB9F153FDA854 - Body hash
1BB178759316E45E895C422115A9A0C5349796A50EA9BF2B3E4C44107C0F86C8 - IL size154
Referenced calls
Candide.LegacyUI.OverheadHealthbar::Hide()Candide.CandideUI.CandideExtendedInteractionsHandler::ResetDraggedContent()Candide.Input.RtsPlayerInputController::Activate()Candide.PlayerMode.Vehicle.VehicleModeManager::OnUpdateMovement(Microsoft.Xna.Framework.Vector2, System.Single)System.Action<Microsoft.Xna.Framework.Vector2, System.Single>::.ctor(System.Object, System.IntPtr)Candide.Input.VehiclePlayerInputController::Activate(Shared.Models.Vehicles.VehicleMode, System.Action<Microsoft.Xna.Framework.Vector2, System.Single>)Candide.PlayerMode.AbstractModeManager::get_CandideDesktop()Candide.CandideUI.CandideUiSystem::SetDesktop(Candide.CandideUI.CandideDesktop)Microsoft.Xna.Framework.Vector3::get_Zero()Shared.Entity.EntityWrapper::set_Velocity(Microsoft.Xna.Framework.Vector3)Shared.Entity.EntityWrapper::set_Acceleration(Microsoft.Xna.Framework.Vector3)
OnLeaving
#
public System.Void OnLeaving()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
7C2CCEC82C75138D08929E2B7D20774F9F0FEF4A2B9EB3A6CCF6F0C49D029432 - Body hash
0B38B552027501FA7798FE6CE0889E6897EDFFE2E1BFB4F7CA8151336A804806 - IL size39
Referenced calls
OnPlayerDamaged
#
public System.Void OnPlayerDamaged(Shared.Combat.DamageResult damageResult)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
0025540760AB402AA7D8DE82BFEA1A4F87B9A9568F8AB2202B8AB29076437311 - Body hash
068C4A85DBBE2D670995C8F685B4CB6DDCA53D2629769C88E8B84CF35F3F1758 - IL size22
OnUpdateMovement
#
private System.Void OnUpdateMovement(Microsoft.Xna.Framework.Vector2 movementDelta, System.Single dt)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
3EF0AA4D03800D8A35295B915D66BAD4D556BF763DEE2E4401C3C370EFB452E0 - Body hash
682C042E4A71A06938CBB0E1EAD2410E3653762941138D692A477AC25607216B - IL size231
Referenced calls
System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::get_Value()System.Collections.Generic.Dictionary<System.Guid, Shared.Entity.EntityWrapper>::TryGetValue(!0, !1&)Candide.PlayerMode.Vehicle.VehicleModeManager::SendExit(System.Boolean)Candide.GameModels.Managers.VehicleManager::UpdateMovement(System.Single, System.Single, Shared.Entity.EntityWrapper, Shared.Entity.EntityWrapper, Shared.Models.Vehicles.VehicleMode)Shared.Entity.EntityWrapper::get_Position2()Candide.Graphics.Camera::SetCenter(System.Single, System.Single)System.ArgumentOutOfRangeException::.ctor()
SendExit
#
public System.Void SendExit(System.Boolean forceExit)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
126410DD47C091350EAAEBCC87EA250B1B39FE8D4944D0876076753C2D736882 - Body hash
0E1D7BE5B9ECB1F7FFFAA31F0FE3C12CB669AE3B6F06E4416E8987EC30DD1FC6 - IL size132
Referenced calls
System.Nullable<System.Guid>::get_HasValue()CandideServer.MessageModels.Vehicles.LeaveVehicleMessage::.ctor()System.Nullable<System.Guid>::get_Value()Shared.Entity.EntityWrapper::get_Id()Candide.GameModels.Services.VehicleService::Send_LeaveVehicle(CandideServer.MessageModels.Vehicles.LeaveVehicleMessage)Candide.Entities.PlayerState.PlayerController::TryLeaveSittingState()Candide.PlayerMode.Vehicle.VehicleModeManager::Exit()
Called by
Candide.Entities.Controllers.Other.CatapultController::OnRemoveCandide.Entities.Controllers.Other.CatapultController::UpdateCandide.PlayerMode.Vehicle.VehicleModeManager::OnPlayerDamagedCandide.PlayerMode.Vehicle.VehicleModeManager::OnUpdateMovementCandide.PlayerMode.Vehicle.VehicleModeManager::Update
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
8167D6379B8161626BD2AB00F5B319A452762C9DD5D6EDABB837D159D858CE38 - Body hash
12A8DB5FA3478D5F4B9CCDC221A263711373516CC3F2852B59AF7C74D4126D6A - IL size588
Referenced calls
System.Collections.Generic.Dictionary<System.Int32, Candide.Multiplayer.Models.ClientPlayerCharacter>::get_Item(!0)Candide.PlayerMode.Vehicle.VehicleModeManager::SendExit(System.Boolean)Candide.Input.SuperKeybind::Pressed()System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::get_Value()System.Collections.Generic.Dictionary<System.Guid, Shared.Entity.EntityWrapper>::TryGetValue(!0, !1&)Shared.Entity.EntityWrapper::get_Controller()CandideServer.MessageModels.Vehicles.UseVehicleActionMessage::.ctor()Shared.Entity.EntityWrapper::get_Id()CandideServer.Entities.ControllerSets.Catapult.CatapultShootActionArgs::.ctor()Shared.Entity.EntityWrapper::get_Direction()Shared.Entity.EntityWrapper::get_CarriedEntity()Candide.GameModels.Managers.EntityManager::CreateCatapultSnapshotData(Shared.Entity.EntityWrapper, Shared.Entity.EntityWrapper)Candide.GameModels.Services.VehicleService::Send_VehicleUseAction(CandideServer.MessageModels.Vehicles.UseVehicleActionMessage)Candide.Input.RtsPlayerInputController::get_PlacingPosition()Microsoft.Xna.Framework.Vector2::op_Equality(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Shared.Entity.EntityWrapper::get_Position()CandideCreator.Shared.Helpers.VectorExtension::ToScreenSpace(Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.GameTime::get_ElapsedGameTime()System.TimeSpan::get_TotalSeconds()System.Nullable<Microsoft.Xna.Framework.Vector2>::get_HasValue()System.Nullable<Microsoft.Xna.Framework.Vector2>::get_Value()Microsoft.Xna.Framework.Vector2::Distance(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)System.Nullable<Microsoft.Xna.Framework.Vector2>::.ctor(!0)Candide.GameModels.Managers.VehicleManager::UpdateMovement(System.Single, System.Single, Shared.Entity.EntityWrapper, Shared.Entity.EntityWrapper, Shared.Models.Vehicles.VehicleMode)