Candide.Entities.Controllers.Other.JobInteractionAreaController
Type JSONpublic class in Candide.Entities.Controllers.Other
Type metadata
- Assembly
Romestead - Namespace
Candide.Entities.Controllers.Other - Base type
Shared.Entity.Base.AbstractController - Hash
19789D299FF182E71613FAC8891D3FF5482A9DBCE16033B7A4E3C5EB306CA684
Relationships
Base type
Fields
| Name | Visibility | Signature |
|---|---|---|
_buildingOffset# | private | private Microsoft.Xna.Framework.Vector3 _buildingOffset |
_citizenSlotId# | private | private System.Nullable<System.Guid> _citizenSlotId |
_targetCitizenSlotIndex# | private | private System.Int32 _targetCitizenSlotIndex |
Methods
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
840F432D6B2D2F003F09990D6C0996AB3D437FFA0A256C955CEFF71322174D81 - Body hash
8F1F1B7C9E1285E7D3D051C3EDE54C92994473646DF250B7972E5F2DDE9C2C24 - IL size24
String literals
target_citizen_slot_index
GetInteraction
#
public Shared.Models.Interaction.Interaction GetInteraction(Shared.Entity.EntityWrapper otherEntity)
Method metadata
- Visibilitypublic
- Return type
Shared.Models.Interaction.Interaction - StaticFalse
- VirtualTrue
- Hash
F91809946B5A1CABF6318F7E55E2B71C14ABAE8EDC11B12FA70657FD64319728 - Body hash
76E4C0034CAFB4E9222B8A629D967DD2B2E918CAAAA1A859FB720E9925E3AB56 - IL size124
Referenced calls
System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::get_Value()Candide.GameModels.GameState::TryGetCitizenSlot(System.Guid, Candide.GameModels.Models.Citizens.CitizenSlot&)Shared.Entity.EntityWrapper::get_Shape()Shared.Entity.EntityWrapper::get_Position2()CandideCreator.Shared.Helpers.VectorExtension::ToScreenSpace(Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)CandideCreator.Shared.Collision.CollisionShape::GetBoundingBoxRectangle(Microsoft.Xna.Framework.Vector2)CandideCreator.Shared.Models.RectangleF::Contains(Microsoft.Xna.Framework.Vector2)Shared.Entity.Base.AbstractController::GetInteraction(Shared.Entity.EntityWrapper)
OnInteract
#
public System.Void OnInteract(Shared.Entity.EntityWrapper otherEntity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
728FB84B4AE24953D847F0C50E0EAD065183B35CA566A95B40DEBDCB8C344FDC - Body hash
4E9B162D1218A2000E75A61343316141EC268BFA34F1474DE94DFAE8C04E2465 - IL size143
Referenced calls
System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::get_Value()Candide.GameModels.GameState::TryGetCitizenSlot(System.Guid, Candide.GameModels.Models.Citizens.CitizenSlot&)CandideCreator.Shared.Helpers.WarningHelper::Warning(System.String)Shared.Entity.EntityWrapper::get_Shape()Shared.Entity.EntityWrapper::get_Position2()CandideCreator.Shared.Helpers.VectorExtension::ToScreenSpace(Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)CandideCreator.Shared.Collision.CollisionShape::GetBoundingBoxRectangle(Microsoft.Xna.Framework.Vector2)CandideCreator.Shared.Models.RectangleF::Inflate(System.Single, System.Single)Candide.CandideUI.PlayerUi::ShowJobWindow(System.Guid, CandideCreator.Shared.Models.RectangleF, System.Guid)
String literals
Citizen slot doesn't have a job ID
TryGetCitizenSlot
#
private System.Boolean TryGetCitizenSlot(out Candide.GameModels.Models.Citizens.CitizenSlot& citizenSlot)
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
03A329FCAB1B2E0F8EA7D8A5AD7A75C95E86FCFB53C8923AEAEBC5570D4CD815 - Body hash
3E53CA4C767408FE19A796F3C7626D7B3EFF1B801126F74B13868C27CF833EAB - IL size95
Referenced calls
System.Collections.Generic.List<Candide.GameModels.Models.Citizens.CitizenSlot>::get_Count()CandideCreator.Shared.Helpers.WarningHelper::Warning(System.String)System.Collections.Generic.List<Candide.GameModels.Models.Citizens.CitizenSlot>::get_Item(System.Int32)
String literals
Tried to get slot index for interaction but slot index was out of range.
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
618C2C72562E7254352F268F3B5830F807022C7E313B71B45DF1C6C8FEC1CEE4 - Body hash
24B5A4A053B054FB9699F98667DA941231FB7F272077E6FFBB79F1032DECC17D - IL size91
Referenced calls
Candide.Entities.Controllers.Other.JobInteractionAreaController::TryGetCitizenSlot(Candide.GameModels.Models.Citizens.CitizenSlot&)Shared.Entity.EntityWrapper::get_MaskRef()Shared.Entity.Components.ComponentExtension::RemoveFlag(Shared.Entity.Components.Component&, Shared.Entity.Components.Component)Shared.Entity.Components.ComponentExtension::SetFlag(Shared.Entity.Components.Component&, Shared.Entity.Components.Component)System.Nullable<System.Guid>::.ctor(!0)