Candide.Entities.Controllers.Other.ManualMillController
Type JSONpublic class in Candide.Entities.Controllers.Other
Type metadata
- Assembly
Romestead - Namespace
Candide.Entities.Controllers.Other - Base type
Shared.Entity.Base.AbstractController - Hash
801BF5287E344DACB5EB1ED553534C8997542E5183B8B9B8E2AC1E858E39A1BF
Relationships
Base type
Fields
| Name | Visibility | Signature |
|---|---|---|
SpinnerGuid# | private | private System.Guid SpinnerGuid |
_audioEvent# | private | private Candide.Sound.AudioEvent.AudioEvent _audioEvent |
_bottom# | private | private Microsoft.Xna.Framework.Vector2[] _bottom |
_buildingId# | private | private System.Guid _buildingId |
_buildingIsInitialized# | private | private System.Boolean _buildingIsInitialized |
_hasItem# | private | private System.Boolean _hasItem |
_localProgress# | private | private System.Single _localProgress |
_localPushDir# | private | private System.Int32 _localPushDir |
_localPushTimer# | private | private System.Single _localPushTimer |
_localSpinnerRotation# | private | private System.Single _localSpinnerRotation |
_outputId# | private | private System.Guid _outputId |
_progressScale# | private | private System.Single _progressScale |
_pushDir# | private | private System.Int32 _pushDir |
_reuseCollisionList# | private | private System.Collections.Generic.List<System.ValueTuple<Shared.Entity.EntityWrapper, CandideCreator.Shared.Collision.CollisionData>> _reuseCollisionList |
_rotatedLine# | private | private Microsoft.Xna.Framework.Vector2[] _rotatedLine |
_speedUpTimer# | private | private System.Single _speedUpTimer |
_spinnerEntityData# | private | private Shared.Entity.EntityWrapper _spinnerEntityData |
_spinnerMesh# | private | private CandideCreator.Shared.Models.EntityMesh _spinnerMesh |
_storageId# | private | private System.Guid _storageId |
_top# | private | private Microsoft.Xna.Framework.Vector2[] _top |
Methods
BeforeRender
#
public System.Void BeforeRender()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
1F5829548DD250373408AC0DCF63E92AB975B1435C3DF58BB4F870A5F43D844D - Body hash
FDE98D0520528056D3D51E21D99100EBF511290A53EFE965DF9655420207163F - IL size198
Referenced calls
Microsoft.Xna.Framework.Matrix::get_Identity()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::get_Zero()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)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)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()Candide.Graphics.DeferredRenderer::DrawSpriteWithMeshAndMatrix(CandideCreator.Shared.Graphics.SpriteSheet, System.Int32, CandideCreator.Shared.Models.EntityMesh, Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Vector4, System.Boolean)
CheckCollision
#
private System.Void CheckCollision(Microsoft.Xna.Framework.Vector2[] line, System.Boolean isDown)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
9EFDA845CD3E2F0C21F697EA3EA613CBB702E0339C5E518A8BCEFFD97534C88D - Body hash
9FF1A669A25D6092987703BAB7CD4E59BB5E4E2E44F4D354703E977D274F85FE - IL size646
Referenced calls
CandideCreator.Shared.Helpers.VectorExtension::AngleToVector(System.Single)CandideCreator.Shared.Helpers.VectorExtension::ToNormalDirection(Microsoft.Xna.Framework.Vector2&)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)CandideCreator.Shared.Collision.CollisionPolyLine::.ctor(Microsoft.Xna.Framework.Vector2[])System.Collections.Generic.List<System.ValueTuple<Shared.Entity.EntityWrapper, CandideCreator.Shared.Collision.CollisionData>>::Clear()Shared.Entity.EntityWrapper::get_Position()Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Shared.Collision.CollisionSpecialGroup::CheckCollisionsAgainstEntities(Microsoft.Xna.Framework.Vector3, CandideCreator.Shared.Collision.CollisionShape, System.Collections.Generic.List<System.ValueTuple<Microsoft.Xna.Framework.Vector3, CandideCreator.Shared.Collision.CollisionShape>>, CandideCreator.Shared.Collision.CollisionMasks, System.Collections.Generic.List<System.ValueTuple<Shared.Entity.EntityWrapper, CandideCreator.Shared.Collision.CollisionData>>)System.MathF::Cos(System.Single)System.MathF::Sin(System.Single)Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)System.Collections.Generic.List<System.ValueTuple<Shared.Entity.EntityWrapper, CandideCreator.Shared.Collision.CollisionData>>::GetEnumerator()List.Enumerator<System.ValueTuple<Shared.Entity.EntityWrapper, CandideCreator.Shared.Collision.CollisionData>>::get_Current()Candide.Multiplayer.PlayerHelper::IsLocalPlayer(Shared.Entity.EntityWrapper)CandideCreator.Shared.Helpers.VectorExtension::TryNormalize(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2&)Shared.Entity.EntityWrapper::get_Velocity2()Microsoft.Xna.Framework.Vector2::Dot(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Shared.Entity.EntityWrapper::set_Velocity2(Microsoft.Xna.Framework.Vector2)Shared.Entity.EntityWrapper::get_Position2()Shared.Entity.EntityWrapper::set_Position2(Microsoft.Xna.Framework.Vector2)Shared.Entity.EntityWrapper::get_Direction()CandideCreator.Shared.Helpers.VectorExtension::DirectionToVector2(System.Single)CandideCreator.Shared.Helpers.VectorExtension::ToVector2(Microsoft.Xna.Framework.Vector3)CandideCreator.Shared.Helpers.VectorExtension::NormalizeReturnSafe(Microsoft.Xna.Framework.Vector2)System.MathF::Abs(System.Single)System.MathF::Sign(System.Single)Candide.Entities.Controllers.Other.ManualMillController::SetLocalPushDirection(System.Int32)List.Enumerator<System.ValueTuple<Shared.Entity.EntityWrapper, CandideCreator.Shared.Collision.CollisionData>>::MoveNext()System.IDisposable::Dispose()
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
A8EC7E2E62CE3B6A66EC9E8E959831081541F6AC4F3DD8D163C680007F83FD9D - Body hash
759F7E371D5694EA1BE532601C16796177190F0DF93E3800C6032BF827266A4F - IL size70
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.ManualMillController::UpdateParameters()
EntityUnload
#
public System.Void EntityUnload()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
E76D2C465D7565A80C6B8B3B422500326ADBF5882408B7F0AD9C892E1D2C1FC2 - Body hash
17B19CE0F0B76BCC97EB8312B2EF9CECDE77FAC802AA52EEC1F73660B3BC1509 - IL size72
Referenced calls
Candide.Sound.AudioEvent.AudioEvent::Unload()CandideServer.MessageModels.Entities.EntitiesControllerMessage::.ctor()Shared.Entity.EntityWrapper::get_Id()Candide.GameModels.Services.EntityService::SendEntityControllerMessage(CandideServer.MessageModels.Entities.EntitiesControllerMessage)
OnInteract
#
public System.Void OnInteract(Shared.Entity.EntityWrapper otherEntity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
2A338410492ECF9CE47F0454F4F1BED928F3E4A814A7783F3604DC998C2B4ACF - Body hash
4F5C6D48BAE7915AE39A760934E83792076BBAFDC90527432CF0BCFFA40CFB9A - IL size91
Referenced calls
System.Guid::op_Equality(System.Guid, System.Guid)System.Nullable<System.Guid>::.ctor(!0)Candide.Entities.Controllers.Other.ManualMillController::<OnInteract>b__20_0()System.Func<System.Single>::.ctor(System.Object, System.IntPtr)Candide.CandideUI.PlayerUi::ShowItemProcessing(System.Nullable<System.Guid>, System.Guid, System.Func<System.Single>, Shared.Entity.EntityWrapper, System.Single)
OnServerSetState
#
public System.Void OnServerSetState(System.Int32 state)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
C31C86B41C8DBC8E82C877839B3D644F846E90EF9755DA32F98084C2889BA896 - Body hash
372C9302AC3A8AF05D8F23BA8C6061D4B5F09A82CE7EA720559B80068B321CDA - IL size155
Referenced calls
String literals
push_directionhas_itemprogress_scalespinner_rotationprogress
SetLocalPushDirection
#
private System.Void SetLocalPushDirection(System.Int32 pushDirection)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
9E3A303EC6318F252FD45D116A6CFF84F76AACA0D4C808AB9059F432CB541628 - Body hash
78E59F87668BA8A8A2C5663A3FF50F58BE1B550F9EF26C500D0CD0E3DE53E015 - IL size90
Referenced calls
CandideServer.MessageModels.Entities.EntitiesControllerMessage::.ctor()Shared.Entity.EntityWrapper::get_Id()Candide.Multiplayer.Models.LocalPlayer::get_EntityId()Candide.GameModels.Services.EntityService::SendEntityControllerMessage(CandideServer.MessageModels.Entities.EntitiesControllerMessage)
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
341F9A088BF4F245A8F892B52CF8A599F6EFF8D871540F9A81C6E3BB6A1EEA20 - Body hash
A3734E36C845EC9AB3CEEA2FF17F2EFC9B231629EF1111E746FA0AA10EACB6C2 - IL size423
Referenced calls
Shared.Entity.EntityWrapper::get_Fdt()Shared.Entity.EntityWrapper::get_Position()Candide.Sound.AudioEvent.AudioEvent::SetPosition(Microsoft.Xna.Framework.Vector3)Candide.Sound.AudioEvent.AudioEvent::Update(System.Single)Shared.Entity.Base.AbstractController::EntityInitialize()Candide.Entities.Controllers.Other.ManualMillController::CheckCollision(Microsoft.Xna.Framework.Vector2[], System.Boolean)Candide.Entities.Controllers.Other.ManualMillController::SetLocalPushDirection(System.Int32)CandideServer.Entities.ControllerSets.ManualMill.ServerManualMillController::SharedSpeedBoost(System.Single)CandideServer.Entities.ControllerSets.ManualMill.ServerManualMillController::SharedCalculateProgress(System.Single, System.Single)CandideServer.Entities.ControllerSets.ManualMill.ServerManualMillController::SharedSpeedBoostDecay(System.Single, System.Single)Shared.Entity.EntityWrapper::get_MeshTransformMatrixRef()Microsoft.Xna.Framework.Matrix::CreateRotationY(System.Single, Microsoft.Xna.Framework.Matrix&)Candide.Sound.AudioEvent.AudioEvent::HasStoppedPlaying()Candide.Sound.FmodParameter::.ctor(System.String, System.Single, System.Boolean)Candide.Sound.AudioEvent.AudioEvent::Play(Candide.Sound.FmodParameter)Candide.Sound.AudioEvent.AudioEvent::SetFmodParameter(Candide.Sound.FmodParameter)
String literals
Pushing
UpdateParameters
#
private System.Void UpdateParameters()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
82273B5B03388E651ADB96CE2DB4CB7DF3BF326ECD8DCA3ECA42F932BBEE6584 - Body hash
829073AF048A72884F2C03F29067CADED1BB9CE0F3C00779CB60B6F0F27A94E4 - IL size196
Referenced calls
CandideCreator.Shared.Helpers.Parameters::GetGuid(System.String, System.Guid)System.Guid::op_Equality(System.Guid, System.Guid)System.Nullable<System.Guid>::.ctor(!0)Candide.GameModels.GameState::TryGetBuilding(System.Nullable<System.Guid>, Candide.GameModels.Models.Constructions.Building&)System.Nullable<System.Guid>::get_HasValue()CandideCreator.Shared.Helpers.WarningHelper::Warning(System.String)System.Nullable<System.Guid>::get_Value()
String literals
building_idManualMillController: Can't find storage inventory IDManualMillController: Can't find output inventory ID
WorldLoad
#
public System.Void WorldLoad()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
2653A9D35B1A020F7A6CBCA268BA0FA4D0FDEAA809A6A25F986038ED0B3DC260 - Body hash
CD6DC2A9385E5DA919E4C4BB2517F2A44B4922ADFCB29BBB6DEA8DC9465EC586 - IL size42
Referenced calls
Shared.Entity.Base.AbstractController::WorldLoad()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)
String literals
event:/buildings/manual_mill_push