Candide.Entities.Controllers.Other.CatapultController
Type JSONpublic class in Candide.Entities.Controllers.Other
Type metadata
- Assembly
Romestead - Namespace
Candide.Entities.Controllers.Other - Base type
Shared.Entity.Base.AbstractController - Hash
EED6990682E29F20219EFF4B8E5644A25B594D5749C94C39D2B89BA708DED34A
Relationships
Base type
Fields
| Name | Visibility | Signature |
|---|---|---|
AimRange# | public | public System.Single AimRange |
DriverRelativeAimPos# | public | public Microsoft.Xna.Framework.Vector2 DriverRelativeAimPos |
ScoopBaseGuid# | private | private System.Guid ScoopBaseGuid |
ScoopRotation# | public | public System.Single ScoopRotation |
_angle# | private | private System.Single _angle |
_audioEvent# | private | private Candide.Sound.AudioEvent.AudioEvent _audioEvent |
_audioStopDuration# | private | private System.Single _audioStopDuration |
_audioStopTimer# | private | private System.Single _audioStopTimer |
_countDownStopSound# | private | private System.Boolean _countDownStopSound |
_hasFiredOnce# | private | private System.Boolean _hasFiredOnce |
_isRotating# | private | private System.Boolean _isRotating |
_scoopEntityData# | private | private Shared.Entity.EntityWrapper _scoopEntityData |
_scoopMesh# | private | private CandideCreator.Shared.Models.EntityMesh _scoopMesh |
_upgradeLevel# | private | private System.Int32 _upgradeLevel |
_usingEntityId# | private | private System.Nullable<System.Guid> _usingEntityId |
_usingEntityStartPosition# | private | private Microsoft.Xna.Framework.Vector3 _usingEntityStartPosition |
Properties
| Name | Visibility | Signature |
|---|---|---|
GetRotationAngle# | public | public System.Single GetRotationAngle |
Methods
BeforeRender
#
public System.Void BeforeRender()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
8F48928A096A650A0ADC5993B3D7A725EE2F05E97BEFE36A462115E8AA613F38 - Body hash
2370BD1BE660BABB7322551FE22A30DA8041145A05FFA9311F419E5D83F01CA9 - IL size248
Referenced calls
Candide.Entities.Controllers.Other.CatapultController::get_GetRotationAngle()Microsoft.Xna.Framework.Matrix::CreateRotationX(System.Single)Microsoft.Xna.Framework.Matrix::CreateRotationY(System.Single)Microsoft.Xna.Framework.Matrix::Multiply(Microsoft.Xna.Framework.Matrix&, Microsoft.Xna.Framework.Matrix&, Microsoft.Xna.Framework.Matrix&)Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)Microsoft.Xna.Framework.Vector3::Transform(Microsoft.Xna.Framework.Vector3&, Microsoft.Xna.Framework.Matrix&, Microsoft.Xna.Framework.Vector3&)Shared.Entity.EntityWrapper::get_Position()CandideCreator.Shared.Helpers.VectorExtension::ToXzy(Microsoft.Xna.Framework.Vector3)Shared.Entity.EntityWrapper::get_DepthOffset()Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Shared.Entity.EntityWrapper::get_MeshOffset()Microsoft.Xna.Framework.Matrix::get_Translation()Microsoft.Xna.Framework.Matrix::set_Translation(Microsoft.Xna.Framework.Vector3)Shared.Entity.EntityWrapper::get_SpriteSheet()Microsoft.Xna.Framework.Vector4::get_One()Shared.Entity.EntityWrapper::get_UsePositionBasedUvs()Candide.Graphics.DeferredRenderer::DrawSpriteWithMeshAndMatrix(CandideCreator.Shared.Graphics.SpriteSheet, System.Int32, CandideCreator.Shared.Models.EntityMesh, Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Vector4, System.Boolean)Shared.Entity.EntityWrapper::get_MeshTransformMatrixRef()Microsoft.Xna.Framework.Matrix::CreateRotationY(System.Single, Microsoft.Xna.Framework.Matrix&)
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
B559AA96418A91480056E3516EB6EC8A9BCDFAB7AC250412C89E067B320CA6C9 - Body hash
22DBD47DAA4A028478B3DA8D2F5B6F107EC10588177A6DF3136FB962FC900AAC - IL size106
Referenced calls
Candide.Database.Doodad.DoodadDatabaseManager::TryGetEntityBaseData(System.Guid, Shared.Entity.EntityWrapper&)Shared.Entity.EntityWrapper::get_EntityMesh()CandideCreator.Shared.Models.EntityMesh::.ctor(CandideCreator.Shared.Models.IndexedMesh)Candide.Entities.Controllers.Other.CatapultController::UpdateParameters()CandideCreator.Shared.Helpers.Parameters::GetInt(System.String, System.Int32)
String literals
upgrade_level
EntityUnload
#
public System.Void EntityUnload()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
B8C281CE2F975058FCD53370150FAC45D8740F8AA6D6DDBFA171B051A7C42096 - Body hash
27076240CDC53D8AD32CE0BF21A6BB0BB833710BB9BC89688FB13B4BDAE67927 - IL size17
Referenced calls
GetAimWorldPos
#
public Microsoft.Xna.Framework.Vector2 GetAimWorldPos()
Method metadata
- Visibilitypublic
- Return type
Microsoft.Xna.Framework.Vector2 - StaticFalse
- VirtualFalse
- Hash
3D557E37110F060530475797508CA6DA5856EF3DA4FF649AD6CE8A217C17F675 - Body hash
34B5A4E1EF0EC1AC0CCB6D5229BC1AB23723A5C4D181458F79BEB943EA8E6D44 - IL size44
Referenced calls
Shared.Entity.EntityWrapper::get_Position2()Shared.Entity.EntityWrapper::get_Direction()CandideCreator.Shared.Helpers.VectorExtension::DirectionToVector2(System.Single)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)
GetInteraction
#
public Shared.Models.Interaction.Interaction GetInteraction(Shared.Entity.EntityWrapper otherEntity)
Method metadata
- Visibilitypublic
- Return type
Shared.Models.Interaction.Interaction - StaticFalse
- VirtualTrue
- Hash
282758D60B0D05B62484457ABE7F472E3A15DFD86299BD87221EB58AAB08F7E0 - Body hash
4250311F665ECD1C904D0AA8E7A7F7830611A23E8C977C66852F795ABC892ECC - IL size77
Referenced calls
CandideServer.Helpers.EntityRepairHelper::ShouldRepairClient(Shared.Entity.EntityWrapper, System.Boolean)Shared.Models.Interaction.Interaction::.ctor(Shared.Models.Interaction.InteractionType, System.Object, System.Guid)System.Nullable<System.Guid>::get_HasValue()
OnDamaged
#
public System.Void OnDamaged(Shared.Combat.DamageResult damageResult)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
6FDF91D32F1CBD7E4B7C6A48D19E2322472D01B0845472C80C5D2CC643906D45 - Body hash
8CE88E8C434C693157942463BAA785798FA7BC98858FB2FE2C5D2A18A74A5532 - IL size24
Referenced calls
String literals
WorldStats_ArmamentsDamageResistance
OnInteract
#
public System.Void OnInteract(Shared.Entity.EntityWrapper otherEntity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
1E15C410F0D1A7E3F21B57F4E37443FBBEA68FDE9AEE3E17815405710C4BEEB2 - Body hash
8118AFC17856A1A627E7BB5142D0D86F809AA6431DC52D85331B696ABECD9E61 - IL size69
Referenced calls
System.Nullable<System.Guid>::get_HasValue()Candide.Multiplayer.PlayerHelper::IsLocalPlayer(Shared.Entity.EntityWrapper)Shared.Entity.EntityWrapper::get_Id()Candide.PlayerMode.Vehicle.VehicleModeManager::EnterVehicleAndSetModeManager(Shared.Models.Vehicles.VehicleMode, System.Guid)System.Nullable<System.Guid>::.ctor(!0)Shared.Entity.EntityWrapper::get_Position()
OnRemove
#
public System.Void OnRemove(Shared.Entity.EntityRemoveInfo entityRemoveInfo)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
C9444E05DFFDD9CEF74FA5A0F46DA2159E17C2A8DC3FD5FCBDC1DC1A56EBF275 - Body hash
2C542739B94C27CBDC417CEC38B51CB5983447F28E5333B1EAEFDCB3237E4EF0 - IL size57
Referenced calls
Candide.Multiplayer.Models.LocalPlayer::get_EntityId()System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::GetValueOrDefault()System.Guid::op_Equality(System.Guid, System.Guid)Candide.PlayerMode.Vehicle.VehicleModeManager::SendExit(System.Boolean)
OnServerSetState
#
public System.Void OnServerSetState(System.Int32 state)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
CADB423C7AE5762C62FA37804469AFFE39F1FE078422F1AA9B588E59A66AEC16 - Body hash
B35966376E63ECB2CF5797D6868F10D1772B1827D260CA4E64D708CD4F4EAAA6 - IL size202
Referenced calls
String literals
event:/buildings/catapult/catapult_fireevent:/buildings/catapult/catapult_lower_scoop
ReceiveEntityControllerMessage
#
public System.Void ReceiveEntityControllerMessage(System.Object message)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
FD44A3FC46DE3D09F5E3CD9A3DB74EF80882F2464CAC4596CACA36163120EAE2 - Body hash
8FDB193EB61E65FB862B236FBE82B67F3AD1D39147171EDF34868F0162128BCC - IL size69
Referenced calls
Candide.Multiplayer.Models.LocalPlayer::get_EntityId()System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::GetValueOrDefault()System.Guid::op_Equality(System.Guid, System.Guid)
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
5FAFC49B9B46EF883ECDEB1BF1A5F5E512533048FD1B258DBA164C54E32199C2 - Body hash
2F125AA380C6DAC4B5F9B7594AA901C10FE56DDF719C7BCDEA2031587B305F52 - IL size1111
Referenced calls
Candide.Entities.Controllers.Other.CatapultController::get_GetRotationAngle()Candide.Multiplayer.Models.LocalPlayer::get_EntityId()System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::GetValueOrDefault()System.Guid::op_Equality(System.Guid, System.Guid)Shared.Entity.EntityWrapper::get_Position()Microsoft.Xna.Framework.Vector3::Distance(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Candide.PlayerMode.Vehicle.VehicleModeManager::SendExit(System.Boolean)CandideCreator.Shared.Helpers.Parameters::GetGuidOrNull(System.String, System.Nullable<System.Guid>)Microsoft.Xna.Framework.Vector2::op_Inequality(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Shared.Entity.EntityWrapper::get_Fdt()CandideServer.Entities.ControllerSets.Catapult.ServerCatapultController::UpdateCatapultDirection(Microsoft.Xna.Framework.Vector2, System.Single&, Shared.Entity.EntityWrapper, System.Single, System.Int32)Candide.Sound.AudioEventArgs::.ctor(System.String, System.Boolean, System.Single, System.Single)Candide.Sound.AudioEventFactory::CreateAudioEvent(Candide.Sound.AudioEventArgs, System.Boolean, System.Boolean, Shared.Entity.EntityWrapper)Candide.Sound.AudioEvent.AudioEvent::Play()Shared.Entity.EntityWrapper::get_CarriedId()System.Nullable<System.Guid>::get_Value()System.Collections.Generic.Dictionary<System.Guid, Shared.Entity.EntityWrapper>::ContainsKey(!0)Shared.Entity.EntityWrapper::set_CarriedId(System.Nullable<System.Guid>)Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)Microsoft.Xna.Framework.Matrix::CreateRotationZ(System.Single, Microsoft.Xna.Framework.Matrix&)Microsoft.Xna.Framework.Vector3::Transform(Microsoft.Xna.Framework.Vector3&, Microsoft.Xna.Framework.Matrix&, Microsoft.Xna.Framework.Vector3&)Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)CandideCreator.Shared.Helpers.VectorExtension::ToVector2(Microsoft.Xna.Framework.Vector3)Shared.Entity.EntitySystem::GetEntitiesTouchingCircleArea(Microsoft.Xna.Framework.Vector2, System.Single, System.Single, System.Single)System.Collections.Generic.List<Shared.Entity.EntityWrapper>::GetEnumerator()List.Enumerator<Shared.Entity.EntityWrapper>::get_Current()Shared.Entity.EntityWrapper::get_Mask()Shared.Entity.Components.ComponentExtension::HasFlags(Shared.Entity.Components.Component, Shared.Entity.Components.Component)Shared.Entity.EntityWrapper::get_Carriable()Shared.Entity.EntityWrapper::get_MaskRef()Shared.Entity.EntityWrapper::get_CarrierId()
String literals
vehicle_driverevent:/buildings/catapult/catapult_turning
UpdateParameters
#
private System.Void UpdateParameters()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
00061289EDB8EFB13504D426C3AAA70F2AF1B73A4F85925C65BB41D97BACBC7B - Body hash
1DC67823DF5FABD39C1D1C410FAAC2013C05B85E6E8C7559D1F64080BEBC5618 - IL size177
Referenced calls
CandideCreator.Shared.Helpers.Parameters::GetGuid(System.String, System.Guid)Candide.Multiplayer.Models.LocalPlayer::get_EntityId()System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::GetValueOrDefault()System.Guid::op_Equality(System.Guid, System.Guid)System.Guid::op_Inequality(System.Guid, System.Guid)Candide.PlayerMode.Vehicle.VehicleModeManager::Exit()Candide.Sound.AudioEvent.AudioEvent::Stop(System.Boolean)System.Nullable<System.Guid>::.ctor(!0)
Called by
String literals
vehicle_driver