Candide.Entities.Controllers.Other.Cart2Controller
Type JSONpublic class in Candide.Entities.Controllers.Other
Type metadata
- Assembly
Romestead - Namespace
Candide.Entities.Controllers.Other - Base type
Candide.Entities.Controllers.Other.FurnitureController - Hash
123295ED62060E4A116BFC79B85FCEE60BEF835C20B541BF7418D486BC825857
Relationships
Fields
| Name | Visibility | Signature |
|---|---|---|
Carried1# | public | public System.Nullable<System.Guid> Carried1 |
Carried2# | public | public System.Nullable<System.Guid> Carried2 |
Carried3# | public | public System.Nullable<System.Guid> Carried3 |
Carried4# | public | public System.Nullable<System.Guid> Carried4 |
Carried5# | public | public System.Nullable<System.Guid> Carried5 |
DefaultWheelsGuid# | private | private System.Guid DefaultWheelsGuid |
FollowingId# | public | public System.Nullable<System.Guid> FollowingId |
WheelRotation# | public | public System.Single WheelRotation |
_audioEvent# | private | private Candide.Sound.AudioEvent.AudioEvent _audioEvent |
_interactPressCanDetach# | private | private System.Boolean _interactPressCanDetach |
_lastPosition# | private | private Microsoft.Xna.Framework.Vector2 _lastPosition |
_startTimer# | private | private System.Single _startTimer |
_stopTimer# | private | private System.Single _stopTimer |
_wheelsData# | private | private Shared.Entity.EntityWrapper _wheelsData |
_wheelsMesh# | private | private CandideCreator.Shared.Models.EntityMesh _wheelsMesh |
_zRotation# | private | private System.Single _zRotation |
Methods
BeforeRender
#
public System.Void BeforeRender()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
3AAE2E94C81A8AC00F4EDACA2E7DCDCA2644FCB45132E084256449A330954D4E - Body hash
4D41CDEEB29D8F4C35AB04841EC95FE61362881D4888EE751E01BDABDB18B7A3 - IL size551
Referenced calls
Microsoft.Xna.Framework.Matrix::CreateRotationZ(System.Single)Shared.Entity.EntityWrapper::get_Direction()CandideCreator.Shared.Helpers.VectorExtension::DirectionToAngle(System.Single)Microsoft.Xna.Framework.Matrix::CreateRotationY(System.Single)Shared.Entity.EntityWrapper::get_MeshTransformMatrixRef()Microsoft.Xna.Framework.Matrix::Multiply(Microsoft.Xna.Framework.Matrix&, Microsoft.Xna.Framework.Matrix&, Microsoft.Xna.Framework.Matrix&)System.Random::NextDouble()Shared.Entity.EntityWrapper::get_Position()CandideCreator.Shared.Helpers.VectorExtension::ToXzy(Microsoft.Xna.Framework.Vector3)Shared.Entity.EntityWrapper::get_DepthOffset()Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)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)System.Nullable<System.Guid>::get_HasValue()Shared.Entity.EntityWrapper::get_Id()System.Object::Equals(System.Object, System.Object)Candide.Entities.Controllers.Other.Cart2Controller::UpdateHeldEntityPosition2(System.Nullable<System.Guid>&, System.Single, System.Boolean)
ClearSlot
#
private System.Void ClearSlot(System.Nullable<System.Guid>& slot)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
AF31CDA0A94CDDAD2368CAB4D2A3FAD39E3BC77BA9FB2314D2DD5266D1DED253 - Body hash
C7445252E93FF8A6F3806FF867A7274A3477B9C75517B21E767C128FB5A3C604 - IL size47
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.Entities.Controllers.Other.Cart2Controller::RemoveEntityFromCart(Shared.Entity.EntityWrapper)
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
6EB493DCD9FA8052E07674492D8B11E3C6F45329BAB1E21BFB8AD682E1B85BF6 - Body hash
7ABCDE14F8D46499298D75035833D52A1167B5F400D71FD9D1B0B85B753D645F - IL size308
Referenced calls
Candide.Entities.Controllers.Other.FurnitureController::EntityInitialize()CandideCreator.Shared.Helpers.Parameters::GetGuid(System.String, System.Guid)Candide.Database.Doodad.DoodadDatabaseManager::TryGetEntityBaseData(System.Guid, Shared.Entity.EntityWrapper&)Shared.Entity.EntityWrapper::get_EntityMesh()CandideCreator.Shared.Models.EntityMesh::.ctor(CandideCreator.Shared.Models.IndexedMesh)CandideCreator.Shared.Helpers.Parameters::GetGuidOrNull(System.String, System.Nullable<System.Guid>)System.Nullable<System.Guid>::get_HasValue()Shared.Entity.EntityWrapper::get_Position2()
String literals
wheels_guidfollowingc1c2c3c4c5
EntityUnload
#
public System.Void EntityUnload()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
85C0DA18262F2A847F4D372401A17B7468FB1AAFAD31753292AD3822E01F6971 - Body hash
7A6041B053BEDF724BE34DD68433D35F26BA5162D7EA4DA61765C1D671DD8635 - IL size25
Referenced calls
GetInteraction
#
public Shared.Models.Interaction.Interaction GetInteraction(Shared.Entity.EntityWrapper otherEntity)
Method metadata
- Visibilitypublic
- Return type
Shared.Models.Interaction.Interaction - StaticFalse
- VirtualTrue
- Hash
EA2FE6E96245EDA958EF2ECF591E693200AFBE5227B7AF453413C0A33E8B035B - Body hash
AC53F8DA28CA774E97F95E11D38C60BA3D092F69C1986C6500ADACCD55BE0808 - IL size62
Referenced calls
CandideServer.Helpers.EntityRepairHelper::ShouldRepairClient(Shared.Entity.EntityWrapper, System.Boolean)Shared.Models.Interaction.Interaction::.ctor(Shared.Models.Interaction.InteractionType, System.Object, System.Guid)
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
24AEA2280E67010612412CBDC97A8F072C077F8603830BA8FB88E1CCC210A62B - Body hash
EDDBCB52CB8E33DA3641A2C19CC9050A3E68E9745B9609D755368C631EDCBF62 - IL size111
Referenced calls
String literals
worship_flag:cart_capacity
OnInteract
#
public System.Void OnInteract(Shared.Entity.EntityWrapper otherEntity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
256B77B743C175E4729F87280F4D5786AD52C3703ED3F6D7E52E3D7D8A14C07B - Body hash
66BFB7DA6FE890929F0CF4926C6D4229730F3BB491EAF74C70CDA60F7E0EC755 - IL size49
Referenced calls
Shared.Entity.EntityWrapper::get_Id()System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::GetValueOrDefault()System.Guid::op_Inequality(System.Guid, System.Guid)
OnRemove
#
public System.Void OnRemove(Shared.Entity.EntityRemoveInfo entityRemoveInfo)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
53D7F3355B5987D5BCD3D44583FAD03B27686896FC537759F516E8FB1DF34626 - Body hash
A43F59F52162F72C223660F088983A38DE37B3B629C9C2E11650D74FEAA00B7F - IL size61
OnServerSetState
#
public System.Void OnServerSetState(System.Int32 state)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
437479796A600372F4EE6A11435B13A9143272F337FF12D0133286C5AA062F1E - Body hash
D4B94E502AB77CC09D3D3AF6158C0368ECF6A22893F1DBA3E75F6BBD25986A99 - IL size126
Referenced calls
String literals
c1c2c3c4c5following
ReceiveEntityVfxMessage
#
public System.Void ReceiveEntityVfxMessage(System.Byte vfx)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
1ADBF7016F21B64DA79DA895A87F3CA614E405997EF925E9DB33507930DD9B49 - Body hash
59F1DB6D35D55327ACF8A1B1E39DE173ED2D99979C477B3076DF62B20AF230C4 - IL size30
Referenced calls
String literals
event:/items/Cart/cart_start
RemoveEntityFromCart
#
private System.Void RemoveEntityFromCart(Shared.Entity.EntityWrapper entity)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
F7103EA31AD6B6CB0F32342716C5DB33B54D8898492A669B7BD6624C15BF1662 - Body hash
3B11DAF2EBC8B5D7711B397C64EA4768E9EA4999D69F4445EBC058899122DB8A - IL size76
Referenced calls
Shared.Entity.EntityWrapper::set_NoEntityCollision(System.Boolean)Shared.Entity.EntityWrapper::set_NoTerrainCollision(System.Boolean)Shared.Entity.EntityWrapper::get_CarrierId()Shared.Entity.EntityWrapper::get_Id()System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::GetValueOrDefault()System.Guid::op_Equality(System.Guid, System.Guid)Shared.Entity.EntityWrapper::set_CarrierId(System.Nullable<System.Guid>)
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
340ABC1D77821D2722426B41E9D81DE7DFC91F27AEB9014159DEE9FF101447FD - Body hash
13F81592F0A4B2A0FC746ADBE5A318F69DE1BEE06DB04F7FB6B0C31EC58DCA25 - IL size1259
Referenced calls
Candide.Entities.Controllers.Other.FurnitureController::Update(Microsoft.Xna.Framework.GameTime)Candide.Entities.Controllers.Other.Cart2Controller::UpdateHeldEntities()Shared.Entity.EntityWrapper::get_Velocity()CandideCreator.Shared.Helpers.VectorExtension::ToVector2(Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector2::Length()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.Multiplayer.PlayerManager::TryGetPlayerFromEntity(Shared.Entity.EntityWrapper, Candide.Multiplayer.Models.ClientPlayerCharacter&)Shared.Helpers.PlayerFlagsHelper::HasFlag(Shared.Models.Player.PlayerCharacterModel, System.String)Shared.Entity.EntityWrapper::set_EntityStepHeight(System.Single)Candide.Multiplayer.Models.LocalPlayer::get_EntityId()System.Guid::op_Equality(System.Guid, System.Guid)Candide.Entities.PlayerState.PlayerStateMachine::get_CurrentState()Candide.Input.PlayerControllerKeyBind::Pressed()CandideServer.MessageModels.Entities.EntitiesControllerMessage::.ctor()Shared.Entity.EntityWrapper::get_Id()Candide.GameModels.Services.EntityService::SendEntityControllerMessage(CandideServer.MessageModels.Entities.EntitiesControllerMessage)CandideServer.Entities.Controllers.ServerCart2Controller::UpdateCartVelocity(Shared.Entity.EntityWrapper, Shared.Entity.EntityWrapper)Shared.Entity.EntityWrapper::get_BaseGuid()System.Nullable<System.Guid>::.ctor(!0)System.Nullable<System.Guid>::GetValueOrDefault()System.Guid::op_Inequality(System.Guid, System.Guid)Shared.Entity.EntityWrapper::get_Fdt()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.FmodParameter::.ctor(System.String, System.Single, System.Boolean)Candide.Sound.AudioEvent.AudioEvent::PlayIfStopped(Candide.Sound.FmodParameter)Candide.Sound.AudioEvent.AudioEvent::SetFmodParameter(Candide.Sound.FmodParameter)Shared.Entity.EntityWrapper::get_Position()Candide.Sound.AudioEvent.AudioEvent::SetPosition(Microsoft.Xna.Framework.Vector3)
String literals
cart_wheelevent:/items/Cart/cart_movePushing
UpdateHeldEntities
#
private System.Void UpdateHeldEntities()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
DED4CAB8A7BDF8BC9A01373BED23A62098AD716F5E484636CE9015AF8AA23E5A - Body hash
4FA1D71147FD82DAEA4E828C8E1AFFCF7DAE5EBB0004AFC481AB0A9CF1BB1661 - IL size61
Referenced calls
UpdateHeldEntity
#
private System.Void UpdateHeldEntity(System.Nullable<System.Guid>& slot)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
04274EEA9F9DB425BBE473AE35E104FE883A8FFBDE2999EABAAB066E3FD75221 - Body hash
E0263E60C8FE0C470642BBC8AC95E14F7840992505F6EFDFA9F66517A0F11E00 - IL size165
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::set_NoEntityCollision(System.Boolean)Shared.Entity.EntityWrapper::set_NoTerrainCollision(System.Boolean)Shared.Entity.EntityWrapper::set_IsThrown(System.Boolean)Shared.Entity.EntityWrapper::set_ThrowerId(System.Nullable<System.Guid>)Shared.Entity.EntityWrapper::get_CarrierId()Candide.Multiplayer.Models.LocalPlayer::get_EntityId()System.Nullable<System.Guid>::GetValueOrDefault()System.Guid::op_Equality(System.Guid, System.Guid)Candide.Entities.Controllers.Other.Cart2Controller::ClearSlot(System.Nullable<System.Guid>&)System.Nullable<System.Guid>::.ctor(!0)Shared.Entity.EntityWrapper::set_CarrierId(System.Nullable<System.Guid>)Shared.Entity.EntityWrapper::get_Id()
UpdateHeldEntityPosition
#
private System.Void UpdateHeldEntityPosition(System.Nullable<System.Guid>& slot, System.Single i, System.Boolean disablePickup)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
9D3757CA69C55B5D35313FAD452A83DB70C836DF7FEF397B06175BFD07343611 - Body hash
C2FC0510B93208A69E03644D0D2B577FA9FE48C9C380906860268F2E3831DCAD - IL size208
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&)CandideCreator.Shared.Helpers.VectorExtension::DirectionToVector3(System.Single)Microsoft.Xna.Framework.Vector3::op_Multiply(Microsoft.Xna.Framework.Vector3, System.Single)CandideCreator.Shared.Helpers.VectorExtension::ToXzy(Microsoft.Xna.Framework.Vector3)Shared.Entity.EntityWrapper::get_MeshTransformMatrixRef()Microsoft.Xna.Framework.Vector3::Transform(Microsoft.Xna.Framework.Vector3&, Microsoft.Xna.Framework.Matrix&, Microsoft.Xna.Framework.Vector3&)Shared.Entity.EntityWrapper::get_Position()Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Shared.Entity.EntityWrapper::get_Velocity()Shared.Entity.EntityWrapper::get_Fdt()Shared.Entity.EntityWrapper::set_Position(Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector3::get_Zero()Shared.Entity.EntityWrapper::set_Velocity(Microsoft.Xna.Framework.Vector3)Shared.Entity.EntityWrapper::set_NoEntityCollision(System.Boolean)Shared.Entity.EntityWrapper::set_NoTerrainCollision(System.Boolean)Shared.Collision.CollisionSpecialGroup::UpdatePositionAndVelocity(Shared.Entity.EntityWrapper)
UpdateHeldEntityPosition2
#
private System.Void UpdateHeldEntityPosition2(System.Nullable<System.Guid>& slot, System.Single i, System.Boolean disablePickup)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
E002442D8A62DBE8F814E802F88ED7404B6246BDF54F6A85C1A145D366AA302C - Body hash
191D374ED0DDE97BC71A1D0049557F1AA175EB99B5EE199713CDAB7A405948AD - IL size45
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::set_NoEntityCollision(System.Boolean)Shared.Entity.EntityWrapper::set_NoTerrainCollision(System.Boolean)
UpdateHeldEntityPositionBonus
#
private System.Void UpdateHeldEntityPositionBonus(System.Nullable<System.Guid>& slot, System.Boolean disablePickup)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
83108C6FF2E809A2F615820B8B9E0CFD0F8CFA7557F5D698FD7EDB8DC70D44AA - Body hash
39E1D385610240239BC13DC04787AEF711831F6800E59E4D1F34B826499DFD78 - IL size177
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&)Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)Shared.Entity.EntityWrapper::get_MeshTransformMatrixRef()Microsoft.Xna.Framework.Vector3::Transform(Microsoft.Xna.Framework.Vector3&, Microsoft.Xna.Framework.Matrix&, Microsoft.Xna.Framework.Vector3&)CandideCreator.Shared.Helpers.VectorExtension::ToXzy(Microsoft.Xna.Framework.Vector3)Shared.Entity.EntityWrapper::get_Position()Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Shared.Entity.EntityWrapper::get_Velocity()Shared.Entity.EntityWrapper::get_Fdt()Microsoft.Xna.Framework.Vector3::op_Multiply(Microsoft.Xna.Framework.Vector3, System.Single)Shared.Entity.EntityWrapper::set_Position(Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector3::get_Zero()Shared.Entity.EntityWrapper::set_Velocity(Microsoft.Xna.Framework.Vector3)Shared.Entity.EntityWrapper::set_NoEntityCollision(System.Boolean)Shared.Entity.EntityWrapper::set_NoTerrainCollision(System.Boolean)Shared.Collision.CollisionSpecialGroup::UpdatePositionAndVelocity(Shared.Entity.EntityWrapper)
UpdateSlot
#
private System.Void UpdateSlot(System.Nullable<System.Guid>& slot, System.String key)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
94D6B4D5B81FD46412CC39CB9D664A5FCFE0D128BF23EC4BE5BA9827F52E2242 - Body hash
9ED4A85E12F00DAE7CED2EE559FC3DDA749D20B9C1B69FE3727563B70BBFC006 - IL size259
Referenced calls
CandideCreator.Shared.Helpers.Parameters::GetGuidOrNull(System.String, System.Nullable<System.Guid>)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_CarrierId()Candide.Multiplayer.Models.LocalPlayer::get_EntityId()System.Nullable<System.Guid>::GetValueOrDefault()System.Guid::op_Equality(System.Guid, System.Guid)System.Guid::op_Inequality(System.Guid, System.Guid)Candide.Sound.SoundExtensions::EmitSoundOneShot(Shared.Entity.EntityWrapper, System.String, System.Single, System.Single)Candide.Entities.Controllers.Other.Cart2Controller::RemoveEntityFromCart(Shared.Entity.EntityWrapper)
String literals
event:/hits/impact/impact_storage