Candide.Entities.Controllers.Other.AutomaticMillController
Type JSONpublic class in Candide.Entities.Controllers.Other
Type metadata
- Assembly
Romestead - Namespace
Candide.Entities.Controllers.Other - Base type
Shared.Entity.Base.AbstractController - Hash
008A6E2D9B54388AE1C6072FC5C7EBA63E2F506AC43346EA937D4D77B9550AA4
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 |
_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
CE1A32A902991BEBDD400B07B94B45DD934246CD76E5D60E332E28026DE937E3 - Body hash
174A69EA03CC3E24AF8950ED25FCB31DCD15896B1237CED7C1D20C26CDB4103D - IL size206
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
95C78F5B1C8CE9C6D748D80CBAA0CCE837215017D947BDF0A11B7E2B0415DD1C - Body hash
833FA656B0D977AE56F8F438389819279941A20F6A245E526A8C9201011B56C8 - IL size635
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.AutomaticMillController::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
DFB5975BEB2FF9F3E0BDAC775BF83E02FF5AAAD10EF758D3791474D9C09D6B56 - Body hash
F08516B7752D5941F62330E9EA4B4CC35E177828603811173315EDA58F300E77 - 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.AutomaticMillController::UpdateParameters()
EntityUnload
#
public System.Void EntityUnload()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
770783E04BE945B253BC5AA1339F93254881784DAD4C14403667AE07C693B23D - Body hash
64BAD5921392ED45417D14F4EB01F848390E88E9F49F5A17FB00E68DB0E8D21C - 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
9547824F6BB3AF116FC461BBC81DCEC89BA4E55D9BF534D042C58E63D70717BD - Body hash
93161D6DDE6D4CDB595C6F9C03A30C925038C79073875F512129B556B945F8F0 - IL size91
Referenced calls
System.Guid::op_Equality(System.Guid, System.Guid)System.Nullable<System.Guid>::.ctor(!0)Candide.Entities.Controllers.Other.AutomaticMillController::<OnInteract>b__19_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
46EEADC8EE5A51F77B07D5E15C9FDB9F76E3E3BCC1DEAAC225337A9C42536CA4 - Body hash
420ED6D87F5B4A03E3C9091FB385A7FC3586923F7D1C84A03C6518097E4D0E74 - 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
F44F0737BEC182A81793EA0D917FA7A45BF4B40DEDDF16C2DF79E1B1C69F5229 - Body hash
A1CF0F45DFEF1D2E5687CEC7027E097F65374DBC65AEF2B64BC4767D58E8E0C9 - 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
0216CC6A2E93D346BC9420B43ECF498AD23BB25FEC891AEC4A7F2123EC9544C8 - Body hash
28FF51754B542743B8C96DB4FBE77F6B036060A0C330D5D646C5B45E38BD9500 - IL size333
Referenced calls
Shared.Entity.Base.AbstractController::EntityInitialize()Candide.Entities.Controllers.Other.AutomaticMillController::CheckCollision(Microsoft.Xna.Framework.Vector2[], System.Boolean)Shared.Entity.EntityWrapper::get_Fdt()Candide.Entities.Controllers.Other.AutomaticMillController::SetLocalPushDirection(System.Int32)CandideServer.Entities.ControllerSets.AutomaticMill.ServerAutomaticMillController::CalculateProgress(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
95346E2FA771F24C4EC2297533C6F980F0A643D443DD5D021BA767A5531C1F17 - Body hash
8A4CF47F68DE5286FF051249048EF7A5DBD456DFDEF11C10C472F19371B13394 - 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_idAutomaticMillController: Can't find storage inventory IDAutomaticMillController: Can't find output inventory ID
WorldLoad
#
public System.Void WorldLoad()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
29A9FE91DB94019B0D4F793D36B0CE7D88323024CADDE5FF937DF09A7DCF467E - Body hash
E4F5B9A588FBCD53A15B254329B044689B72819BF20E3C834B126CC5B015B959 - 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