CandideServer.Entities.Controllers.ServerBasicFurnaceController
Type JSONpublic class in CandideServer.Entities.Controllers
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.Entities.Controllers - Base type
Shared.Entity.Base.AbstractController - Hash
4A40294DB22568D64C5D6E964528BA1EE19F747D0C00F554C048B3E9C1ED18B0
Relationships
Base type
Derived types
Referenced by types
Fields
| Name | Visibility | Signature |
|---|---|---|
CookArea# | public | public CandideCreator.Shared.Models.RectangleF CookArea |
CookingTime# | public | public System.Single CookingTime |
EntityWrappersReuseList# | private | private System.Collections.Generic.List<Shared.Entity.EntityWrapper> EntityWrappersReuseList |
UpdateTime# | public | public System.Single UpdateTime |
_cookingEntities# | private | private System.Collections.Generic.List<ServerBasicFurnaceController.CookingEntity> _cookingEntities |
Methods
CheckIfEntityIsValid
#
public System.Boolean CheckIfEntityIsValid(Shared.Entity.EntityWrapper entity, CandideServer.SimulationModels.BuildingSimulationModel building)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualTrue
- Hash
DA9D0A86465F1F2706920C22A259DE3A9DE640546A511DC6536B4EE33C841E9A - Body hash
2354431A87F9459696A8F66E966C9F9A0C5E71BE64827540F4217B029F789F55 - IL size73
Referenced calls
Shared.Helpers.WorldFlagsHelper::HasFlag(System.Collections.Generic.Dictionary<System.String, Shared.Models.WorldFlag>, System.String)System.String::op_Equality(System.String, System.String)Shared.Entity.EntityWrapper::get_ConstructionMaterials()Shared.Models.Construction.ConstructionMaterialsAggregate::GetAmountForResource(System.String)
Called by
String literals
worship_flag:volcanic_furnacesvolcanicresource:lumber
CookEntity
#
public System.Void CookEntity(Shared.Entity.EntityWrapper entity, System.Single timer)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
FE02D737DDBD766F328D47D99C2A261346A2B63D1B9BA1CD8C8F8F2500FE8D98 - Body hash
CCA5EA83D0E7E5A2A1F01730D3518E4D82B921AEA6999FF510D5FEA43D1A15A9 - IL size102
Referenced calls
System.Collections.Generic.List<ServerBasicFurnaceController.CookingEntity>::GetEnumerator()List.Enumerator<ServerBasicFurnaceController.CookingEntity>::get_Current()Shared.Entity.EntityWrapper::get_Id()System.Guid::op_Equality(System.Guid, System.Guid)List.Enumerator<ServerBasicFurnaceController.CookingEntity>::MoveNext()System.IDisposable::Dispose()ServerBasicFurnaceController.CookingEntity::.ctor()System.Collections.Generic.List<ServerBasicFurnaceController.CookingEntity>::Add(!0)
DefaultOff
#
private System.Void DefaultOff()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
0A4E2491ABC695CAA5848D49073225AFA6C074D4BD1BE13D9DFC2224FB9A2B94 - Body hash
DF4210C6ED933336E8CE4D8E2F440ED074C06810C842A3B299ACAC191E995BB0 - IL size17
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
BA08C30AF5EF3DF880EE1A16D20504C21D949971F2776CB5C9F79376433E5BCE - Body hash
F05BF616D42E4E663E38346C9579434B62B371F7590F831C4E97141E4DB9DA74 - IL size119
Referenced calls
CandideCreator.Shared.Helpers.Parameters::GetInt(System.String, System.Int32)Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)Shared.Entity.EntityWrapper::get_Position2()CandideServer.ServerTempState::get_CurrentlyUpdatingBuildingPosition()Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::op_Division(Microsoft.Xna.Framework.Vector2, System.Single)Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)CandideCreator.Shared.Models.RectangleF::.ctor(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)System.Collections.Generic.List<ServerBasicFurnaceController.CookingEntity>::.ctor()Shared.Entity.Base.AbstractController::OnServerSetState(System.Int32)
String literals
area_widtharea_height
OnServerSetState
#
public System.Void OnServerSetState(System.Int32 state)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
A837E64B1DB1F4DB8E3ED43BCE76835D76CA7CB6F34BF601F6431EAD438967BC - Body hash
47A9EC5849B5B1DBEF237E649983BBA5225069B11C86921385E4135547A9155F - IL size94
Referenced calls
Shared.Entity.Base.AbstractController::OnServerSetState(System.Int32)Shared.Entity.EntityWrapper::set_Frame(System.Int32)Shared.Entity.EntityWrapper::get_MaskRef()Shared.Entity.Components.ComponentExtension::SetFlag(Shared.Entity.Components.Component&, Shared.Entity.Components.Component)System.Collections.Generic.List<ServerBasicFurnaceController.CookingEntity>::Clear()Shared.Entity.Components.ComponentExtension::RemoveFlag(Shared.Entity.Components.Component&, Shared.Entity.Components.Component)
ThrowOut
#
public System.Void ThrowOut(Shared.Entity.EntityWrapper entity, System.Single height)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
6C2334AA1C224F2C721FEE29778C56E4940C6AABC64FA53CF97EE088B239A0E5 - Body hash
F820C60B8E8079A3D69C499771F3D10AC41DDE60B7CC2741573A04B085542D1B - IL size149
Referenced calls
CandideCreator.Shared.Helpers.RandomHelper::NextFloat(System.Random, System.Single, System.Single)Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)Shared.Entity.EntityWrapper::get_Position()Shared.Entity.EntityWrapper::set_Position(Microsoft.Xna.Framework.Vector3)Shared.Entity.EntityWrapper::set_Velocity(Microsoft.Xna.Framework.Vector3)
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
1F5FAC598A01D5830E615C24A0908BB9DF6A593D8884BD7DFBB7438CD0475771 - Body hash
B0A3352D9E6347FFEA618509C0AC072C985557F625AFB5056B7732EBF86EE77B - IL size911
Referenced calls
Shared.Entity.EntityWrapper::get_Fdt()System.Nullable<System.Guid>::get_HasValue()System.Collections.Generic.Dictionary<System.String, System.String>::TryGetValue(!0, !1&)System.String::op_Equality(System.String, System.String)Shared.Entity.Base.AbstractController::OnServerSetState(System.Int32)CandideServer.Entities.Controllers.ServerBasicFurnaceController::DefaultOff()System.Nullable<System.Guid>::get_Value()CandideServer.World.ServerWorldHandler::GetEntityCollisionsOrNull(System.Guid)System.Collections.Generic.List<Shared.Entity.EntityWrapper>::Clear()Shared.Collision.CollisionSpecialGroup::GetEntitiesInRectangleArea(CandideCreator.Shared.Models.RectangleF, System.Collections.Generic.List<Shared.Entity.EntityWrapper>)System.Collections.Generic.List<Shared.Entity.EntityWrapper>::GetEnumerator()List.Enumerator<Shared.Entity.EntityWrapper>::get_Current()Shared.Entity.EntityWrapper::get_Immovable()Shared.Entity.EntityWrapper::get_Id()System.Guid::op_Equality(System.Guid, System.Guid)CandideServer.Entities.Controllers.ServerBasicFurnaceController::CheckIfEntityIsValid(Shared.Entity.EntityWrapper, CandideServer.SimulationModels.BuildingSimulationModel)CandideServer.Entities.Controllers.ServerBasicFurnaceController::CookEntity(Shared.Entity.EntityWrapper, System.Single)Shared.Entity.EntityWrapper::get_VelocityZ()Shared.Entity.EntityWrapper::get_PositionZ()CandideServer.Entities.Controllers.ServerBasicFurnaceController::ThrowOut(Shared.Entity.EntityWrapper, System.Single)List.Enumerator<Shared.Entity.EntityWrapper>::MoveNext()System.IDisposable::Dispose()System.Collections.Generic.List<ServerBasicFurnaceController.CookingEntity>::get_Count()System.Collections.Generic.List<ServerBasicFurnaceController.CookingEntity>::GetEnumerator()List.Enumerator<ServerBasicFurnaceController.CookingEntity>::get_Current()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Entities.ServerEntityModel>::TryGetValue(!0, !1&)Shared.Entity.EntityWrapper::get_Mask()Shared.Entity.Components.ComponentExtension::HasFlags(Shared.Entity.Components.Component, Shared.Entity.Components.Component)Shared.Entity.EntityWrapper::get_DropTable()CandideServer.ServerManagers.LootServerManager::GenerateDroppedGoods(Shared.Models.DropTables.DropTableSystem, System.Single)CandideServer.ServerManagers.EntityServerManager::RemoveAndDropGoods(System.Guid, Shared.Models.DropTables.DroppedGoods, Shared.Entity.EntityRemoveInfo, System.Nullable<System.Int32>, System.Nullable<Microsoft.Xna.Framework.Vector3>)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)
String literals
furnaceonoffFailed too cook entity in furnace id:- base id: