Candide.PlayerMode.Furniture.FurnitureModeManager
Type JSONpublic class in Candide.PlayerMode.Furniture
Type metadata
- Assembly
Romestead - Namespace
Candide.PlayerMode.Furniture - Base type
Candide.PlayerMode.AbstractModeManager - Hash
436EF8DDF777ED50138869EEB68D5C5038705CC2EF0002DB3AD3FB1830090FD4
Relationships
Base type
Fields
| Name | Visibility | Signature |
|---|---|---|
Controller_ShowingUi# | public | public System.Boolean Controller_ShowingUi |
Desktop# | public | public Candide.PlayerMode.Furniture.FurnitureDesktop Desktop |
DisablePlacingTimer# | public | public System.Single DisablePlacingTimer |
EntityWrapperReuseList# | public | public System.Collections.Generic.List<Shared.Entity.EntityWrapper> EntityWrapperReuseList |
GroupPlacing# | public | public System.Collections.Generic.List<System.ValueTuple<System.ValueTuple<Shared.Data.Furniture.FurnitureData, System.Int32, System.Int32, System.Int32>, Microsoft.Xna.Framework.Vector3>> GroupPlacing |
HighlightedEntities# | public | public System.Collections.Generic.HashSet<System.Guid> HighlightedEntities |
Instance# | public | public Candide.PlayerMode.Furniture.FurnitureModeManager Instance |
InWorkbench# | public | public System.Boolean InWorkbench |
LastSelectedFurnitureEntityId# | public | public System.Nullable<System.Guid> LastSelectedFurnitureEntityId |
Mode# | public | public FurnitureModeManager.FurnitureModeManagerMode Mode |
MouseCollision# | public | public CandideCreator.Shared.Collision.CollisionCircle MouseCollision |
ReuseCollisionDataList# | private | private System.Collections.Generic.List<CandideCreator.Shared.Collision.CollisionData> ReuseCollisionDataList |
SelectedFurnitureAlternateIndex# | public | public System.Int32 SelectedFurnitureAlternateIndex |
SelectedFurnitureEntities# | public | public System.Collections.Generic.HashSet<System.Guid> SelectedFurnitureEntities |
SelectedFurnitureIsPlacable# | public | public System.Boolean SelectedFurnitureIsPlacable |
SelectedFurnitureRotationIndex# | public | public System.Int32 SelectedFurnitureRotationIndex |
SelectedFurnitureStyleIndex# | public | public System.Int32 SelectedFurnitureStyleIndex |
SelectedPlacingFurnitureId# | public | public System.String SelectedPlacingFurnitureId |
SkipHighlights# | public | public System.Collections.Generic.HashSet<System.Guid> SkipHighlights |
TownId# | public | public System.Nullable<System.Guid> TownId |
_currentPlacingEntityData# | private | private Shared.Entity.EntityWrapper _currentPlacingEntityData |
_currentPlacingFurnitureData# | private | private Shared.Data.Furniture.FurnitureData _currentPlacingFurnitureData |
_currentPlacingPosition# | private | private Microsoft.Xna.Framework.Vector3 _currentPlacingPosition |
_goBackToSelectingAfterPlacing# | private | private System.Boolean _goBackToSelectingAfterPlacing |
_groupPlacingPickedUpPosition# | private | private System.Nullable<Microsoft.Xna.Framework.Vector3> _groupPlacingPickedUpPosition |
_initialized# | private | private System.Boolean _initialized |
_lastMousePlacingPosition# | private | private Microsoft.Xna.Framework.Vector2 _lastMousePlacingPosition |
_lastWorldPlacingPosition# | private | private Microsoft.Xna.Framework.Vector3 _lastWorldPlacingPosition |
_moveEditWindowOnStyleWindowOpen# | private | private System.Boolean _moveEditWindowOnStyleWindowOpen |
_multiSelectDragging# | private | private System.Boolean _multiSelectDragging |
_multiSelectDragStart# | private | private Microsoft.Xna.Framework.Vector2 _multiSelectDragStart |
_placingBlocked# | private | private System.Boolean _placingBlocked |
_placingCollisionAllowance# | private | private System.Single _placingCollisionAllowance |
Properties
| Name | Visibility | Signature |
|---|---|---|
CandideDesktop# | public | public Candide.CandideUI.CandideDesktop CandideDesktop |
CursorWindowPos# | private | private Microsoft.Xna.Framework.Vector2 CursorWindowPos |
CursorWorldPos# | private | private Microsoft.Xna.Framework.Vector2 CursorWorldPos |
DisableMouseInput# | public | public System.Boolean DisableMouseInput |
Methods
AlternateSelection
#
private System.Void AlternateSelection(System.Int32 direction)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
BD3441E2FBEAFAC4B534544A0E9C59BDB971422BDABC843DD89F8196C63B7E88 - Body hash
3513B084D11AFA84860628970B91BF8B24D820D158FB4D3E185ADBEA9578C39B - IL size134
Referenced calls
ChangeFrame
#
private System.Void ChangeFrame(System.Int32 direction)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
6A49B37BD30247EDA52922B7AE55E94282BCACC17217AC5CD7120BC14BB0AB1A - Body hash
D2A3323C8353D2215539AE93B89788CCF04FCD9EC7ED1549F858A273276F51F3 - IL size100
Referenced calls
CheckForFloorTiles
#
private System.Boolean CheckForFloorTiles(Shared.Entity.EntityWrapper entityData, System.Boolean debug)
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
356BCBA83E31D227E12F4B5871351000E5E7526C8ED0B7DC3C98198F1C83D1E9 - Body hash
9997EC89BF6FA33C199B7D59991C52841833F5AC1383BBE0FD37142E6687DEC9 - IL size292
Referenced calls
Candide.World.InteriorWorldHandler::get_World()CandideCreator.Shared.Helpers.VectorExtension::ToVector2(Microsoft.Xna.Framework.Vector3)Candide.PlayerMode.Furniture.FurnitureModeManager::<CheckForFloorTiles>g__CheckPos|66_0(Microsoft.Xna.Framework.Vector2, FurnitureModeManager.<>c__DisplayClass66_0&)System.Math::Abs(System.Int32)Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)
CheckForWallTiles
#
private System.Boolean CheckForWallTiles(Shared.Entity.EntityWrapper entityData, System.Boolean debug)
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
A1AE0D4B299D8ABBF499EDC7770E250CA5443AA6C632FE4DB573374DB103DB2E - Body hash
9DAC6658436DA264D12CA3D6695373DAD0B9A8EB704038AF170A0A1C60B653FF - IL size474
Referenced calls
Candide.World.InteriorWorldHandler::get_World()CandideCreator.Shared.Helpers.VectorExtension::ToVector2(Microsoft.Xna.Framework.Vector3)Candide.PlayerMode.Furniture.FurnitureModeManager::<CheckForWallTiles>g__CheckPos|65_0(Microsoft.Xna.Framework.Vector2, FurnitureModeManager.<>c__DisplayClass65_0&)System.Math::Abs(System.Int32)Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)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::ToPoint()Shared.Models.InteriorTile[,]::Get(System.Int32, System.Int32)System.Int32::ToString()Candide.Graphics.VisualDebug.VisualDebugText::Draw(Microsoft.Xna.Framework.Vector2, System.String, System.Single)Shared.Entity.EntityWrapper::get_Shape()Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)
ClearHighlightedEntities
#
private System.Void ClearHighlightedEntities()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
8400D39DA3466F25B5A70C33DB2404B8B458CAD86A62B72739E18DBBBD960A65 - Body hash
549E391159CA40B2B1FB8D6A0D3E000024CBB260280EC75E23E2E26DF46978AF - IL size104
Referenced calls
System.Collections.Generic.HashSet<System.Guid>::GetEnumerator()HashSet.Enumerator<System.Guid>::get_Current()System.Collections.Generic.Dictionary<System.Guid, Shared.Entity.EntityWrapper>::TryGetValue(!0, !1&)Shared.Entity.EntityWrapper::set_Highlight(System.Single)Microsoft.Xna.Framework.Vector4::get_Zero()Shared.Entity.EntityWrapper::set_FlashColor(Microsoft.Xna.Framework.Vector4)HashSet.Enumerator<System.Guid>::MoveNext()System.IDisposable::Dispose()System.Collections.Generic.HashSet<System.Guid>::Clear()
ClearSelection
#
public System.Void ClearSelection()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
E93072DCF9E4AE165C5527CD9BE732B44985A6498A2F3F8458968BC47B7F7DDB - Body hash
1E1636A2431DAB09750C67127470390D3449B40D0EA047A7220F413A455C4D14 - IL size115
Referenced calls
Candide.PlayerMode.Furniture.FurnitureListView::Clear()System.Collections.Generic.HashSet<System.Guid>::Clear()System.Collections.Generic.List<Shared.Entity.EntityWrapper>::Clear()System.Collections.Generic.List<System.ValueTuple<System.ValueTuple<Shared.Data.Furniture.FurnitureData, System.Int32, System.Int32, System.Int32>, Microsoft.Xna.Framework.Vector3>>::Clear()Candide.PlayerMode.Furniture.FurnitureModeManager::SetMode(FurnitureModeManager.FurnitureModeManagerMode)
Called by
Candide.PlayerMode.Furniture.FurnitureModeManager::DeselectButtonOnClickActionCandide.PlayerMode.Furniture.FurnitureModeManager::FindPlacingPositionAndCheckIsOkCandide.PlayerMode.Furniture.FurnitureModeManager::OnLeavingCandide.PlayerMode.Furniture.FurnitureModeManager::UpdateCandide.PlayerMode.Furniture.FurnitureModeManager::UpdatePlacingModeCandide.PlayerMode.Furniture.FurnitureModeManager::UpdateSelectingMode
CopySelection
#
private System.Void CopySelection()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
CAAD8BB2C6F357DFD6EB3812B71AB60764E18D56919A700EAC52A6C72D66A5CB - Body hash
198441546FE81CC785186DB3B83F811CB523A81758F0AAD124474FC24371262B - IL size331
Referenced calls
Candide.GameModels.GameState::TryGetEntity(System.Nullable<System.Guid>)Shared.Entity.EntityWrapper::get_Position()System.Collections.Generic.List<System.ValueTuple<System.ValueTuple<Shared.Data.Furniture.FurnitureData, System.Int32, System.Int32, System.Int32>, Microsoft.Xna.Framework.Vector3>>::Clear()System.Collections.Generic.HashSet<System.Guid>::GetEnumerator()HashSet.Enumerator<System.Guid>::get_Current()System.Nullable<System.Guid>::.ctor(!0)Shared.Entity.EntityWrapper::get_BaseGuid()Shared.Entity.EntityWrapper::get_Frame()System.Nullable<System.Int32>::.ctor(!0)Shared.Data.Furniture.FurnitureDataBase::TryGetFurnitureIdFromEntity(System.Guid, System.Nullable<System.Int32>, System.String&)System.Collections.Generic.Dictionary<System.String, Shared.Data.Furniture.FurnitureData>::TryGetValue(!0, !1&)Candide.PlayerMode.Furniture.FurnitureModeManager::GetFurnitureSettingsForEntity(Shared.Data.Furniture.FurnitureData, Shared.Entity.EntityWrapper)Shared.Entity.EntityWrapper::get_Id()System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::GetValueOrDefault()System.Guid::op_Inequality(System.Guid, System.Guid)System.ValueTuple<Shared.Data.Furniture.FurnitureData, System.Int32, System.Int32, System.Int32>::.ctor(!0, !1, !2, !3)Microsoft.Xna.Framework.Vector3::op_Subtraction(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)System.ValueTuple<System.ValueTuple<Shared.Data.Furniture.FurnitureData, System.Int32, System.Int32, System.Int32>, Microsoft.Xna.Framework.Vector3>::.ctor(!0, !1)System.Collections.Generic.List<System.ValueTuple<System.ValueTuple<Shared.Data.Furniture.FurnitureData, System.Int32, System.Int32, System.Int32>, Microsoft.Xna.Framework.Vector3>>::Add(!0)Candide.PlayerMode.Furniture.FurnitureModeManager::UpdateSelectedPlacingStyle(System.String, System.Int32, System.Int32, System.Int32, System.Boolean)HashSet.Enumerator<System.Guid>::MoveNext()System.IDisposable::Dispose()Candide.PlayerMode.Furniture.FurnitureModeManager::SetMode(FurnitureModeManager.FurnitureModeManagerMode)System.Nullable<Microsoft.Xna.Framework.Vector3>::.ctor(!0)
CycleStyle
#
private System.Void CycleStyle(System.Int32 direction)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
DC764CF2CF45DA9557B6D77460C696E1FDCA468591D85D7764DA300174D9FDEA - Body hash
4B5581863ECA77640DB1DC9E81AB74466D8B753BEE1091002A959FA984235261 - IL size219
Referenced calls
DeselectButtonOnClickAction
#
private System.Void DeselectButtonOnClickAction()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
18A816AFB472E60B3FDD3C6C7AE51C84A6942BF30AA943093E581B55DE245B53 - Body hash
A27A5AE2DF2F81D60D2C46CAA6B0DC5B482246BF15B91DCF3884E200FC56DF88 - IL size27
Referenced calls
String literals
event:/buildings/furniture_entity_deselect
DoesFurnitureCollide
#
private System.Boolean DoesFurnitureCollide(Microsoft.Xna.Framework.Vector3 testPosition, Shared.Entity.EntityWrapper entityData, Shared.Entity.EntityWrapper ignoreEntity)
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
49FA427CF739541819EEAE2092E8BF4E6697060C0E210ADD951E1C673D7BA5AC - Body hash
253182F41EEFAAF78CBB07C3059E761E7B5323F82448D702BBD9772F2824703E - IL size570
Referenced calls
Shared.Entity.EntityWrapper::get_Shape()CandideCreator.Shared.Collision.CollisionCircle::.ctor(System.Single)Microsoft.Xna.Framework.Vector2::get_Zero()Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)CandideCreator.Shared.Models.RectangleF::.ctor(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)CandideCreator.Shared.Models.RectangleF::InflateSafe(System.Single, System.Single, System.Single, System.Single)CandideCreator.Shared.Collision.CollisionRectangle::.ctor(System.Single, System.Single)CandideCreator.Shared.Models.RectangleF::get_TopLeft()Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)System.Linq.Enumerable::ToArray(System.Collections.Generic.IEnumerable<!!0>)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.Helpers.VectorExtension::NormalizeSafe(Microsoft.Xna.Framework.Vector2&)Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)CandideCreator.Shared.Collision.CollisionPolygon::.ctor(Microsoft.Xna.Framework.Vector2[])System.Collections.Generic.List<CandideCreator.Shared.Collision.CollisionData>::Clear()Candide.World.WorldHandler::CheckCollisions(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector2, CandideCreator.Shared.Collision.CollisionShape, CandideCreator.Shared.Collision.CollisionMasks, System.Single, System.Collections.Generic.List<CandideCreator.Shared.Collision.CollisionData>)System.Collections.Generic.List<CandideCreator.Shared.Collision.CollisionData>::GetEnumerator()List.Enumerator<CandideCreator.Shared.Collision.CollisionData>::get_Current()System.Object::Equals(System.Object, System.Object)List.Enumerator<CandideCreator.Shared.Collision.CollisionData>::MoveNext()System.IDisposable::Dispose()System.Collections.Generic.List<CandideCreator.Shared.Collision.CollisionData>::get_Count()
DrawInWorldUi
#
public System.Void DrawInWorldUi(Microsoft.Xna.Framework.Graphics.SpriteBatch batch)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
29734DCFFE540933FF55AB0A7BDCD522361B108D7E3E34DC1842791B1684C2AE - Body hash
9EA80D7B3BEEC4E1366372B9E72439626983A473E1C283AD8D78AFC7A2A6A678 - IL size329
Referenced calls
System.String::op_Equality(System.String, System.String)Candide.PlayerMode.AbstractModeManager::get_IsMouseOverGui()Candide.PlayerMode.Furniture.FurnitureModeManager::<DrawInWorldUi>g__DrawPlacingFurniture|76_0(Shared.Entity.EntityWrapper, System.Int32, Microsoft.Xna.Framework.Vector3, System.Boolean)System.Collections.Generic.List<System.ValueTuple<System.ValueTuple<Shared.Data.Furniture.FurnitureData, System.Int32, System.Int32, System.Int32>, Microsoft.Xna.Framework.Vector3>>::GetEnumerator()List.Enumerator<System.ValueTuple<System.ValueTuple<Shared.Data.Furniture.FurnitureData, System.Int32, System.Int32, System.Int32>, Microsoft.Xna.Framework.Vector3>>::get_Current()Candide.Database.Doodad.DoodadDatabaseManager::TryGetEntityBaseData(System.Guid, Shared.Entity.EntityWrapper&)Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Candide.PlayerMode.Furniture.FurnitureModeManager::DoesFurnitureCollide(Microsoft.Xna.Framework.Vector3, Shared.Entity.EntityWrapper, Shared.Entity.EntityWrapper)List.Enumerator<System.ValueTuple<System.ValueTuple<Shared.Data.Furniture.FurnitureData, System.Int32, System.Int32, System.Int32>, Microsoft.Xna.Framework.Vector3>>::MoveNext()System.IDisposable::Dispose()
DrawUI
#
public System.Void DrawUI(Candide.CandideUI.UiRenderContext renderContext)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
BCC6B709BB688DCCA9678B8CC363F5990637258830A97A6A64770BAAC93118EB - Body hash
678F90CD6956F9B232BA6CE9C5E1B9825E668356820FDA82816EE7A2BAA29EF1 - IL size60
Referenced calls
Candide.CandideUI.CandideUiSystem::get_ControllerEnabled()Candide.Globals::get_CenterOfScreen()Candide.CandideUI.CandideUiSystem::get_Scale()Microsoft.Xna.Framework.Color::get_White()CandideCreator.Shared.Graphics.ShapeExtensions::DrawCircle(Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.Vector2, System.Single, System.Int32, Microsoft.Xna.Framework.Color, System.Single, System.Single)
EditStyleButtonOnClickAction
#
private System.Void EditStyleButtonOnClickAction()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
EB63AEBD23A02F79D8BF218211EAECBE473DE812938850CF413C7E907512D1F3 - Body hash
E8BBEAE2ED13C7120517ACFA31240E0E3CE30D6804572BDCBA771A164ABEEC89 - IL size484
Referenced calls
System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::GetValueOrDefault()System.Collections.Generic.HashSet<System.Guid>::get_Count()System.Collections.Generic.Dictionary<System.Guid, Shared.Entity.EntityWrapper>::TryGetValue(!0, !1&)Shared.Entity.EntityWrapper::get_BaseGuid()Shared.Entity.EntityWrapper::get_Frame()System.Nullable<System.Int32>::.ctor(!0)Shared.Data.Furniture.FurnitureDataBase::TryGetFurnitureIdFromEntity(System.Guid, System.Nullable<System.Int32>, System.String&)System.Collections.Generic.Dictionary<System.String, Shared.Data.Furniture.FurnitureData>::TryGetValue(!0, !1&)Candide.CandideUI.CandideUiElement::get_Visible()Candide.Sound.SoundPlayer::PlayEventOneShot(System.String, System.Single, System.Single)Candide.CandideUI.Containers.CandideWindow::Close()Candide.CandideUI.Containers.CandideWindow::Show(Candide.CandideUI.CandideDesktop, System.Nullable<System.Int32>, System.Nullable<System.Int32>)Candide.PlayerMode.Furniture.FurnitureModeManager::get_CursorWindowPos()Candide.CandideUI.CandideUiSystem::get_Scale()Candide.CandideUI.CandideUiElement::set_Left(System.Int32)Candide.CandideUI.CandideUiElement::set_Top(System.Int32)Candide.PlayerMode.Furniture.FurnitureModeManager::MoveWindowInsideBounds(Candide.CandideUI.Containers.CandideWindow)Candide.CandideUI.CandideUiElement::get_Left()Candide.CandideUI.CandideUiElement::get_Top()Candide.PlayerMode.Furniture.FurnitureModeManager::GetFurnitureSettingsForEntity(Shared.Data.Furniture.FurnitureData, Shared.Entity.EntityWrapper)Candide.PlayerMode.Furniture.FurnitureListView::SetUpStyleView(System.String, System.Int32, System.Int32, System.Int32)Candide.CandideUI.CandideUiElement::RequestFocus()
String literals
event:/interface/furniture/ui_furniture_style_closeevent:/interface/furniture/ui_furniture_style_open
Exit
#
public System.Void Exit()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
711564590B622042E9E2CEF3BA92E7BFE46E1CCB61944B44316AD734DCD842BF - Body hash
D041CF1AABD66397533711F6B1FAF5CC6ED2215889E185C68A464DAEFD5D3F7F - IL size27
Referenced calls
System.Collections.Generic.List<System.ValueTuple<System.ValueTuple<Shared.Data.Furniture.FurnitureData, System.Int32, System.Int32, System.Int32>, Microsoft.Xna.Framework.Vector3>>::Clear()Candide.CandideUI.CandideUiSystem::SetDesktop(Candide.CandideUI.CandideDesktop)Candide.PlayerMode.BigModeManager::Exit()
FindPlacingPositionAndCheckIsOk
#
private System.Void FindPlacingPositionAndCheckIsOk(Microsoft.Xna.Framework.Vector2 mousePlacingPosition, Microsoft.Xna.Framework.Vector2 placingOffset, Shared.Data.Furniture.FurnitureData furnitureData, Shared.Entity.EntityWrapper entityData, System.Boolean debug)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
6E9BBDAF5B90D24E7927DFFCED1522E0E40F5A9C65BA0687B33984FFF754DD09 - Body hash
21FAD61FF00B940726BA7CECDA223C32BF641D0FB3E83D87C27C21D504E072A8 - IL size819
Referenced calls
Candide.Input.InputManager::Down(Microsoft.Xna.Framework.Input.Keys)Candide.Input.InputManager::Down(Microsoft.Xna.Framework.Input.Buttons)Microsoft.Xna.Framework.Vector2::op_Division(Microsoft.Xna.Framework.Vector2, System.Single)Microsoft.Xna.Framework.Vector2::Round(Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::op_Multiply(System.Single, Microsoft.Xna.Framework.Vector2)Candide.PlayerMode.Furniture.FurnitureModeManager::ClearSelection()Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector3::.ctor(Microsoft.Xna.Framework.Vector2, System.Single)Candide.PlayerMode.Furniture.FurnitureModeManager::CheckForFloorTiles(Shared.Entity.EntityWrapper, System.Boolean)Candide.PlayerMode.Furniture.FurnitureModeManager::CheckForWallTiles(Shared.Entity.EntityWrapper, System.Boolean)CandideCreator.Shared.Helpers.VectorExtension::ToVector2(Microsoft.Xna.Framework.Vector3)FurnitureModeManager.<>c::<FindPlacingPositionAndCheckIsOk>b__63_0(Shared.Entity.EntityWrapper, System.String)System.Func<Shared.Entity.EntityWrapper, System.String, System.Boolean>::.ctor(System.Object, System.IntPtr)Candide.PlayerMode.Furniture.FurnitureModeManager::GetEntityUnderMouse(Microsoft.Xna.Framework.Vector2, System.Func<Shared.Entity.EntityWrapper, System.String, System.Boolean>)Shared.Entity.EntityWrapper::get_PositionZ()Shared.Entity.EntityWrapper::get_Shape()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)Microsoft.Xna.Framework.Vector4::.ctor(System.Single, System.Single, System.Single, System.Single)Candide.PlayerMode.Furniture.FurnitureModeManager::HighlightEntity(Shared.Entity.EntityWrapper, Microsoft.Xna.Framework.Vector4, System.Boolean)FurnitureModeManager.<>c::<FindPlacingPositionAndCheckIsOk>b__63_1(Shared.Entity.EntityWrapper, System.String)Shared.Entity.EntityWrapper::get_PositionY()Candide.World.WorldHandler::HeightAtPoint(Microsoft.Xna.Framework.Vector2, System.Single)Candide.PlayerMode.Furniture.FurnitureModeManager::DoesFurnitureCollide(Microsoft.Xna.Framework.Vector3, Shared.Entity.EntityWrapper, Shared.Entity.EntityWrapper)
GetEntitiesInMultiSelect
#
private System.Void GetEntitiesInMultiSelect(Microsoft.Xna.Framework.Vector2 startPos, Microsoft.Xna.Framework.Vector2 currentPos, System.Collections.Generic.List<Shared.Entity.EntityWrapper> outEntities)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
2D8D0DB7A0E9991F87F94EFFA1C402DEA2F1654BB1BAD28AACA7341B5E74E2FA - Body hash
891150284ACA03E58996D9E67A9BF4A9312FC9E1E2C210134F9951DB57E88F88 - IL size167
Referenced calls
CandideCreator.Shared.Models.RectangleF::CreateFromPoints(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)System.Collections.Generic.List<Shared.Entity.EntityWrapper>::Clear()Candide.World.WorldHandler::GetEntitiesInRectangleArea(CandideCreator.Shared.Models.RectangleF)System.Collections.Generic.List<Shared.Entity.EntityWrapper>::GetEnumerator()List.Enumerator<Shared.Entity.EntityWrapper>::get_Current()Candide.Input.SuperKeybind::Up()Shared.Entity.EntityWrapper::get_Id()System.Collections.Generic.HashSet<System.Guid>::Contains(!0)Shared.Entity.EntityWrapper::get_BaseGuid()Shared.Entity.EntityWrapper::get_Frame()System.Nullable<System.Int32>::.ctor(!0)Shared.Data.Furniture.FurnitureDataBase::TryGetFurnitureIdFromEntity(System.Guid, System.Nullable<System.Int32>, System.String&)Shared.Entity.EntityWrapper::get_Position()CandideCreator.Shared.Helpers.VectorExtension::ToScreenSpace(Microsoft.Xna.Framework.Vector3)CandideCreator.Shared.Models.RectangleF::Contains(Microsoft.Xna.Framework.Vector2)System.Collections.Generic.List<Shared.Entity.EntityWrapper>::Add(!0)List.Enumerator<Shared.Entity.EntityWrapper>::MoveNext()System.IDisposable::Dispose()
GetEntityUnderMouse
#
private System.ValueTuple<Shared.Entity.EntityWrapper, System.Boolean, System.Single> GetEntityUnderMouse(Microsoft.Xna.Framework.Vector2 mousePos, System.Func<Shared.Entity.EntityWrapper, System.String, System.Boolean> filter)
Method metadata
- Visibilityprivate
- Return type
System.ValueTuple<Shared.Entity.EntityWrapper, System.Boolean, System.Single> - StaticFalse
- VirtualFalse
- Hash
BF6D7B782C91EA848826E785D3A3B079151A70089EEA5119D3E297BA1E79E9F9 - Body hash
3B96771BA86DC4CFE23BE38EBE49DBAC47DB7B355FA83E0718588F6955AD19FE - IL size392
Referenced calls
CandideCreator.Shared.Models.RectangleF::.ctor(Microsoft.Xna.Framework.Vector2)CandideCreator.Shared.Models.RectangleF::Inflate(System.Single, System.Single, System.Single, System.Single)Candide.World.WorldHandler::GetEntitiesTouchingRectangleArea(CandideCreator.Shared.Models.RectangleF, System.Single, System.Single)System.Collections.Generic.List<Shared.Entity.EntityWrapper>::GetEnumerator()List.Enumerator<Shared.Entity.EntityWrapper>::get_Current()Candide.Input.SuperKeybind::Up()Shared.Entity.EntityWrapper::get_Id()System.Collections.Generic.HashSet<System.Guid>::Contains(!0)Shared.Entity.EntityWrapper::get_BaseGuid()Shared.Entity.EntityWrapper::get_Frame()System.Nullable<System.Int32>::.ctor(!0)Shared.Data.Furniture.FurnitureDataBase::TryGetFurnitureIdFromEntity(System.Guid, System.Nullable<System.Int32>, System.String&)System.Func<Shared.Entity.EntityWrapper, System.String, System.Boolean>::Invoke(!0, !1)Shared.Entity.EntityWrapper::get_Position()Shared.Entity.EntityWrapper::get_Shape()Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)CandideCreator.Shared.Helpers.VectorExtension::ToScreenSpace(Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)CandideCreator.Shared.Collision.CollisionShape::GetCollision(Microsoft.Xna.Framework.Vector2, CandideCreator.Shared.Collision.CollisionCircle)List.Enumerator<Shared.Entity.EntityWrapper>::MoveNext()System.IDisposable::Dispose()System.ValueTuple<Shared.Entity.EntityWrapper, System.Boolean, System.Single>::.ctor(!0, !1, !2)
GetFurnitureSettingsForEntity
#
private System.ValueTuple<System.Int32, System.Int32, System.Int32> GetFurnitureSettingsForEntity(Shared.Data.Furniture.FurnitureData furnitureData, Shared.Entity.EntityWrapper entity)
Method metadata
- Visibilityprivate
- Return type
System.ValueTuple<System.Int32, System.Int32, System.Int32> - StaticFalse
- VirtualFalse
- Hash
B96A880E00AB0AE74FA6B841004A95133D5A72E6327E3D1C926C830318C8A5EA - Body hash
C30EA22E817D92D743C6A4A49D48AB2D75178A45B280D83A3017D1171DC1AF80 - IL size19
Referenced calls
Shared.Entity.EntityWrapper::get_BaseGuid()Shared.Entity.EntityWrapper::get_Frame()Shared.Data.Furniture.FurnitureDataBase::GetFurnitureSettingsForEntity(Shared.Data.Furniture.FurnitureData, System.Guid, System.Int32)
Called by
Candide.PlayerMode.Furniture.FurnitureModeManager::CopySelectionCandide.PlayerMode.Furniture.FurnitureModeManager::EditStyleButtonOnClickActionCandide.PlayerMode.Furniture.FurnitureModeManager::MoveButtonOnClickActionCandide.PlayerMode.Furniture.FurnitureModeManager::NewEntitySelectedCandide.PlayerMode.Furniture.FurnitureModeManager::RotateButtonOnClickAction
HighlightEntity
#
private System.Void HighlightEntity(Shared.Entity.EntityWrapper entity, Microsoft.Xna.Framework.Vector4 highlightColor, System.Boolean outline)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
5D49B6629278656B0BF710FB5EFB42EED26FEEF53E810D0982998AE6E672EAF2 - Body hash
141108616C0778B53A80CE22CF520712B2D8EA43A5364A4BDC96DA343ECC7D7D - IL size99
Referenced calls
Shared.Entity.EntityWrapper::get_Id()System.Collections.Generic.HashSet<System.Guid>::Add(!0)Shared.Entity.EntityWrapper::set_Highlight(System.Single)Microsoft.Xna.Framework.GameTime::get_TotalGameTime()System.TimeSpan::get_TotalSeconds()System.MathF::Sin(System.Single)Shared.Entity.EntityWrapper::set_FlashColor(Microsoft.Xna.Framework.Vector4)
MoveButtonOnClickAction
#
private System.Void MoveButtonOnClickAction()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
98F960CF16875C48F85EA9DA99C064BBA554FB425187423256A72700A46BDD20 - Body hash
232B82DC3EC3D46F94C9E16D492251A2F058B53E421B8B5DCFF452062F526214 - IL size393
Referenced calls
Candide.GameModels.GameState::TryGetEntity(System.Nullable<System.Guid>)Shared.Entity.EntityWrapper::get_Position()System.Collections.Generic.List<System.ValueTuple<System.ValueTuple<Shared.Data.Furniture.FurnitureData, System.Int32, System.Int32, System.Int32>, Microsoft.Xna.Framework.Vector3>>::Clear()System.Collections.Generic.HashSet<System.Guid>::GetEnumerator()HashSet.Enumerator<System.Guid>::get_Current()System.Nullable<System.Guid>::.ctor(!0)Shared.Entity.EntityWrapper::get_BaseGuid()Shared.Entity.EntityWrapper::get_Frame()System.Nullable<System.Int32>::.ctor(!0)Shared.Data.Furniture.FurnitureDataBase::TryGetFurnitureIdFromEntity(System.Guid, System.Nullable<System.Int32>, System.String&)System.Collections.Generic.Dictionary<System.String, Shared.Data.Furniture.FurnitureData>::TryGetValue(!0, !1&)Candide.PlayerMode.Furniture.FurnitureModeManager::GetFurnitureSettingsForEntity(Shared.Data.Furniture.FurnitureData, Shared.Entity.EntityWrapper)Shared.Entity.EntityWrapper::get_Id()Candide.GameModels.Managers.FurnitureManager::PickupFurniture(System.Guid)System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::GetValueOrDefault()System.Guid::op_Inequality(System.Guid, System.Guid)System.ValueTuple<Shared.Data.Furniture.FurnitureData, System.Int32, System.Int32, System.Int32>::.ctor(!0, !1, !2, !3)Microsoft.Xna.Framework.Vector3::op_Subtraction(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)System.ValueTuple<System.ValueTuple<Shared.Data.Furniture.FurnitureData, System.Int32, System.Int32, System.Int32>, Microsoft.Xna.Framework.Vector3>::.ctor(!0, !1)System.Collections.Generic.List<System.ValueTuple<System.ValueTuple<Shared.Data.Furniture.FurnitureData, System.Int32, System.Int32, System.Int32>, Microsoft.Xna.Framework.Vector3>>::Add(!0)Candide.PlayerMode.Furniture.FurnitureModeManager::UpdateSelectedPlacingStyle(System.String, System.Int32, System.Int32, System.Int32, System.Boolean)HashSet.Enumerator<System.Guid>::MoveNext()System.IDisposable::Dispose()Candide.Sound.SoundPlayer::PlayEventOneShot(System.String, System.Single, System.Single)Candide.PlayerMode.Furniture.FurnitureModeManager::SetMode(FurnitureModeManager.FurnitureModeManagerMode)System.Nullable<Microsoft.Xna.Framework.Vector3>::.ctor(!0)
String literals
event:/buildings/furniture_style_move
MoveWindowInsideBounds
#
private System.Void MoveWindowInsideBounds(Candide.CandideUI.Containers.CandideWindow window)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
A02F42EE0C774393D7C44A5BB90345E531B57A71ADB569BD4227E1CFF13A7448 - Body hash
9DFE0DCFC194959CDB5E0B34FE848574BFB812A11786A26610A5E9BA7DB18535 - IL size164
Referenced calls
Candide.CandideUI.CandideUiElement::get_Left()Candide.CandideUI.CandideUiElement::get_Top()Candide.CandideUI.CandideUiElement::get_Bounds()System.MathF::Round(System.Single)Candide.CandideUI.CandideUiElement::set_Left(System.Int32)Candide.CandideUI.CandideUiElement::set_Top(System.Int32)
NewEntitySelected
#
private System.Void NewEntitySelected(Shared.Entity.EntityWrapper entity)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
B294A4A80262558F2E3D188242F118D95131770584F7A47AADB60D9DE292D0B7 - Body hash
8438F36DCC7199FD5CA8C7996F999ABF905F12852E90101867A5E414858245D6 - IL size462
Referenced calls
Candide.CandideUI.CandideUiElement::get_Visible()Candide.CandideUI.Containers.CandideWindow::Close()Shared.Entity.EntityWrapper::get_BaseGuid()Shared.Entity.EntityWrapper::get_Frame()System.Nullable<System.Int32>::.ctor(!0)Shared.Data.Furniture.FurnitureDataBase::TryGetFurnitureIdFromEntity(System.Guid, System.Nullable<System.Int32>, System.String&)Shared.Data.Furniture.FurnitureDataBase::GetOrNull(System.String)Candide.Sound.SoundPlayer::PlayEventOneShot(System.String, System.Single, System.Single)Shared.Entity.EntityWrapper::get_Id()System.Collections.Generic.HashSet<System.Guid>::Add(!0)System.Nullable<System.Guid>::.ctor(!0)Candide.CandideUI.Containers.CandideWindow::Show(Candide.CandideUI.CandideDesktop, System.Nullable<System.Int32>, System.Nullable<System.Int32>)Candide.CandideUI.CandideUiElement::RequestFocus()Candide.PlayerMode.Furniture.FurnitureModeManager::get_CursorWindowPos()Candide.CandideUI.CandideUiSystem::get_Scale()Candide.CandideUI.CandideUiElement::set_Left(System.Int32)Candide.CandideUI.CandideUiElement::set_Top(System.Int32)Candide.PlayerMode.Furniture.FurnitureModeManager::GetFurnitureSettingsForEntity(Shared.Data.Furniture.FurnitureData, Shared.Entity.EntityWrapper)Candide.CandideUI.CandideUiElement::set_Enabled(System.Boolean)
Called by
String literals
event:/buildings/furniture_entity_select
NewSidebarSelection
#
private System.Void NewSidebarSelection(System.String selectedFurnitureId, System.Int32 rotation, System.Int32 alternate, System.Int32 style)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
E7A7DD91BF2FB24B6BA71A2C9D36197C7492D45A4041B1FEBDA16DC053928FB9 - Body hash
F3678C8DDB274906EDFD5D50068EF3D97BD4826377D50BC34FCE40032AFFD0E8 - IL size147
Referenced calls
Candide.CandideUI.CandideUiSystem::get_ControllerEnabled()Candide.PlayerMode.Furniture.FurnitureModeManager::SetMode(FurnitureModeManager.FurnitureModeManagerMode)System.ValueTuple<System.String, System.Int32, System.Int32, System.Int32>::.ctor(!0, !1, !2, !3)Candide.PlayerMode.Furniture.FurnitureListView::CanSelectOption(System.ValueTuple<System.String, System.Int32, System.Int32, System.Int32>)Candide.PlayerMode.Furniture.FurnitureListView::SetUpRotationAndStyleView(System.String, System.Int32, System.Int32, System.Int32, System.Boolean)
OnEntering
#
public System.Void OnEntering()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
53B2E982826F8A7CF482B195F2A85A250C4BB583F4146CE7DC81777515EE2198 - Body hash
4FA22401E7AB183F5D91F4EC66F3149F768AD42E20DC19AF6CA998E67A6DD0C0 - IL size528
Referenced calls
Candide.CandideUI.CandideExtendedInteractionsHandler::ResetDraggedContent()Shared.Entity.EntityWrapper::get_Position2()Candide.GameModels.Managers.TownsManager::GetClosestTown(Microsoft.Xna.Framework.Vector2)System.Nullable<System.Guid>::.ctor(!0)Candide.PlayerMode.Furniture.FurnitureModeManager::VerifyCanAccessFurnitureMode(System.Nullable<System.Guid>)Candide.PlayerMode.Furniture.FurnitureModeManager::Exit()Candide.PlayerMode.AbstractModeManager::get_CandideDesktop()Candide.CandideUI.CandideUiSystem::SetDesktop(Candide.CandideUI.CandideDesktop)Candide.CandideUI.ControllerUiInputSystem::set_DisableUiTemporarily(System.Boolean)Candide.Sound.SoundPlayer::PlayEventOneShot(System.String, System.Single, System.Single)Candide.PlayerMode.Furniture.FurnitureModeManager::SetMode(FurnitureModeManager.FurnitureModeManagerMode)Candide.PlayerMode.Furniture.FurnitureModeManager::EditStyleButtonOnClickAction()System.Action::.ctor(System.Object, System.IntPtr)Candide.PlayerMode.Furniture.FurnitureModeManager::RotateButtonOnClickAction()Candide.PlayerMode.Furniture.FurnitureModeManager::MoveButtonOnClickAction()Candide.PlayerMode.Furniture.FurnitureModeManager::RemoveButtonOnClickAction()Candide.PlayerMode.Furniture.FurnitureModeManager::DeselectButtonOnClickAction()Candide.Input.RtsPlayerInputController::Activate()Candide.CandideUI.CandideUiSystem::get_ControllerEnabled()Candide.PlayerMode.Furniture.FurnitureModeManager::SetShowingUi(System.Boolean)FurnitureModeManager.<>c::<OnEntering>b__42_0(System.Object, System.EventArgs)System.EventHandler::.ctor(System.Object, System.IntPtr)Candide.CandideUI.Containers.CandideWindow::add_Showed(System.EventHandler)Candide.PlayerMode.Furniture.FurnitureModeManager::<OnEntering>b__42_1(System.Object, System.EventArgs)Candide.CandideUI.Containers.CandideWindow::add_Closed(System.EventHandler)Candide.PlayerMode.Furniture.FurnitureModeManager::<OnEntering>b__42_2()Candide.CandideUI.JobUiNew.UserControls.FurnitureUserControl::add_EnterSelection(System.Action)Candide.PlayerMode.Furniture.FurnitureModeManager::<OnEntering>b__42_3()
String literals
event:/interface/furniture/ui_furniture_mode_enter
OnLeaving
#
public System.Void OnLeaving()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
CFDC414CC4389865D3D9324B24E6EDDFE535F32090D837A1EAEDDD299181A1F3 - Body hash
5435A551028021FCC1AA6A59BB56F32983D7AD9A58D4D8AAE8EDA8B5AED67335 - IL size46
Referenced calls
Candide.PlayerMode.Furniture.FurnitureModeManager::ClearSelection()Candide.PlayerMode.Furniture.FurnitureModeManager::ClearHighlightedEntities()Candide.CandideUI.ControllerUiInputSystem::set_DisableUiTemporarily(System.Boolean)Candide.PlayerMode.AbstractModeManager::get_CandideDesktop()Candide.CandideUI.CandideDesktop::CloseAll()
Place
#
private System.Void Place(Microsoft.Xna.Framework.Vector3 position)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
51F6721DE566143082C6D8CB9787D4AAAF297EA3EADE13154B69BDBC9221844B - Body hash
4F973A0E3F0AAFC2DECC966BCCDFADC87C4C12CBE92F67C12D02DCCE24252008 - IL size256
Referenced calls
Candide.PlayerMode.Furniture.FurnitureModeManager::DoesFurnitureCollide(Microsoft.Xna.Framework.Vector3, Shared.Entity.EntityWrapper, Shared.Entity.EntityWrapper)Candide.GameModels.Managers.FurnitureManager::TryPlaceFurniture(System.String, Microsoft.Xna.Framework.Vector3, System.Int32, System.Int32, System.Int32)System.Collections.Generic.List<System.ValueTuple<System.ValueTuple<Shared.Data.Furniture.FurnitureData, System.Int32, System.Int32, System.Int32>, Microsoft.Xna.Framework.Vector3>>::GetEnumerator()List.Enumerator<System.ValueTuple<System.ValueTuple<Shared.Data.Furniture.FurnitureData, System.Int32, System.Int32, System.Int32>, Microsoft.Xna.Framework.Vector3>>::get_Current()Candide.Database.Doodad.DoodadDatabaseManager::TryGetEntityBaseData(System.Guid, Shared.Entity.EntityWrapper&)Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)List.Enumerator<System.ValueTuple<System.ValueTuple<Shared.Data.Furniture.FurnitureData, System.Int32, System.Int32, System.Int32>, Microsoft.Xna.Framework.Vector3>>::MoveNext()System.IDisposable::Dispose()Candide.Sound.SoundPlayer::PlayEventOneShot(System.String, System.Single, System.Single)
Called by
String literals
event:/buildings/furniture_place
RemoveButtonOnClickAction
#
private System.Void RemoveButtonOnClickAction()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
E1D56DF6E8434F7F2EB6500C58D29281CA7963FC5DF4C9A17403C396F7233633 - Body hash
FEB5EED082EE89CE416AF7818A712344CEBBC7D67BFA63A554D46A6C87570868 - IL size37
Referenced calls
System.Linq.Enumerable::ToArray(System.Collections.Generic.IEnumerable<!!0>)Candide.GameModels.Managers.FurnitureManager::PickupFurniture(System.Guid[])Candide.CandideUI.Components.Buttons.CandideImageButton::DisableForTime(System.Single)
RotateButtonOnClickAction
#
private System.Void RotateButtonOnClickAction()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
631D6096C0309F96B42151463F0F41F0E7C2DD8DF298C05D9FC80AD2318B1938 - Body hash
0C5ECA9D9D190AC4BDEAA7345D7CAAEC26E84B5555463714E7BE80EE963C04E9 - IL size493
Referenced calls
Candide.GameModels.GameState::TryGetEntity(System.Nullable<System.Guid>)Shared.Entity.EntityWrapper::get_BaseGuid()Shared.Entity.EntityWrapper::get_Frame()System.Nullable<System.Int32>::.ctor(!0)Shared.Data.Furniture.FurnitureDataBase::TryGetFurnitureIdFromEntity(System.Guid, System.Nullable<System.Int32>, System.String&)System.Collections.Generic.Dictionary<System.String, Shared.Data.Furniture.FurnitureData>::TryGetValue(!0, !1&)Candide.PlayerMode.Furniture.FurnitureModeManager::GetFurnitureSettingsForEntity(Shared.Data.Furniture.FurnitureData, Shared.Entity.EntityWrapper)Candide.PlayerMode.Furniture.FurnitureModeManager::RotateSelection(System.Int32, System.Boolean)Candide.CandideUI.CandideUiElement::get_Visible()Candide.PlayerMode.Furniture.FurnitureListView::SetUpStyleView(System.String, System.Int32, System.Int32, System.Int32)System.Guid::op_Equality(System.Guid, System.Guid)Candide.GameModels.Managers.FurnitureManager::ChangeFurnitureStyle(Shared.Entity.EntityWrapper, Shared.Data.Furniture.FurnitureData, System.Int32, System.Int32, System.Int32, System.Int32, System.Int32)Candide.Database.Doodad.DoodadDatabaseManager::TryGetEntityBaseData(System.Guid, Shared.Entity.EntityWrapper&)Microsoft.Xna.Framework.Vector2::get_Zero()Shared.Entity.EntityWrapper::get_Position()CandideCreator.Shared.Helpers.VectorExtension::ToVector3Xy(Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Candide.PlayerMode.Furniture.FurnitureModeManager::DoesFurnitureCollide(Microsoft.Xna.Framework.Vector3, Shared.Entity.EntityWrapper, Shared.Entity.EntityWrapper)Candide.PlayerMode.Furniture.FurnitureModeManager::UpdateSelectedPlacingStyle(System.String, System.Int32, System.Int32, System.Int32, System.Boolean)Shared.Entity.EntityWrapper::get_Id()Candide.GameModels.Managers.FurnitureManager::PickupFurniture(System.Guid)Candide.PlayerMode.Furniture.FurnitureModeManager::SetMode(FurnitureModeManager.FurnitureModeManagerMode)Candide.PlayerMode.Furniture.FurnitureListView::Select(System.String)System.Nullable<Microsoft.Xna.Framework.Vector3>::.ctor(!0)
RotateSelection
#
private System.Void RotateSelection(System.Int32 direction, System.Boolean updateSelection)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
0429251CC7B72A686B463C16EF18CFAF2CAB3FF5509551CED89E90E2100A720A - Body hash
F232286F0B1D6F17FE7A4DB7EEFAF1E8383E71637C1D3303413D992B6C507035 - IL size197
Referenced calls
Shared.Data.Furniture.FurnitureDataBase::GetOrNull(System.String)CandideCreator.Shared.Helpers.MathExtension::Mod(System.Int32, System.Int32)Candide.Sound.SoundPlayer::PlayEventOneShot(System.String, System.Single, System.Single)Candide.PlayerMode.Furniture.FurnitureModeManager::UpdateSelectedPlacingStyle(System.String, System.Int32, System.Int32, System.Int32, System.Boolean)
Called by
String literals
event:/buildings/furniture_rotate
SetMode
#
public System.Void SetMode(FurnitureModeManager.FurnitureModeManagerMode mode)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
5C2D25B3120100A3079341273CA139088920A69C49D745B78F468584DC6D7D2A - Body hash
0D5D6CD5A191F06CB16AC6160795A053A738A776C4A9854AEE986CEF8CAF2C72 - IL size141
Referenced calls
Candide.CandideUI.CandideUiElement::get_Visible()Candide.CandideUI.Containers.CandideWindow::Close()Microsoft.Xna.Framework.Vector2::.ctor(System.Single)Microsoft.Xna.Framework.Vector3::.ctor(System.Single)
Called by
Candide.PlayerMode.Furniture.FurnitureModeManager::ClearSelectionCandide.PlayerMode.Furniture.FurnitureModeManager::CopySelectionCandide.PlayerMode.Furniture.FurnitureModeManager::MoveButtonOnClickActionCandide.PlayerMode.Furniture.FurnitureModeManager::NewSidebarSelectionCandide.PlayerMode.Furniture.FurnitureModeManager::OnEnteringCandide.PlayerMode.Furniture.FurnitureModeManager::RotateButtonOnClickActionCandide.PlayerMode.Furniture.FurnitureModeManager::SetShowingUiCandide.PlayerMode.Furniture.FurnitureModeManager::UpdatePlacingMode
SetShowingUi
#
public System.Void SetShowingUi(System.Boolean showUi)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
53ADF48F9514B9CDBD0F7B3DD8396DE114DD28711C94A87571AADC303B5E03F2 - Body hash
F995F59F7606C1EF1AC788805588BFFC31786F4740CBBA2D063B587A306CA958 - IL size194
Referenced calls
Candide.CandideUI.ControllerUiInputSystem::set_DisableUiTemporarily(System.Boolean)Candide.CandideUI.CandideUiElement::get_Visible()Candide.PlayerMode.Furniture.FurnitureModeManager::SetMode(FurnitureModeManager.FurnitureModeManagerMode)Candide.CandideUI.Containers.CandideWindow::Show(Candide.CandideUI.CandideDesktop, System.Nullable<System.Int32>, System.Nullable<System.Int32>)Candide.PlayerMode.Furniture.FurnitureListView::TrySelectFirstElement()Candide.CandideUI.Containers.CandideVerticalScrollViewer::ScrollIntoPosition(CandideCreator.Shared.Models.RectangleF)Candide.CandideUI.Containers.CandideWindow::Close()
UnselectEntity
#
private System.Void UnselectEntity(Shared.Entity.EntityWrapper entity)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
8859EEF1CED39BF25EDD4468BEB122732382AD3D56AAABC1A6884B7AC1CFF28C - Body hash
2D4057A7468156DF591DC2AC2A9B39EC53C1099687BF4BD245CF5F4182205B8C - IL size130
Referenced calls
Candide.Sound.SoundPlayer::PlayEventOneShot(System.String, System.Single, System.Single)Shared.Entity.EntityWrapper::get_Id()System.Collections.Generic.HashSet<System.Guid>::Remove(!0)System.Collections.Generic.HashSet<System.Guid>::get_Count()Candide.PlayerMode.Furniture.FurnitureModeManager::get_CursorWindowPos()Candide.CandideUI.CandideUiSystem::get_Scale()Candide.CandideUI.CandideUiElement::set_Left(System.Int32)Candide.CandideUI.CandideUiElement::set_Top(System.Int32)Candide.PlayerMode.Furniture.FurnitureModeManager::NewEntitySelected(Shared.Entity.EntityWrapper)
String literals
event:/buildings/furniture_entity_deselect
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
4F08C83C773228841F75BFB17B445CA978E9D8BE1EA37F84DD3847F47558C660 - Body hash
C5E35A643E21918D288761C6C4ADC7839EC8645F04CE11BA741A024F1AE5E945 - IL size916
Referenced calls
Candide.PlayerMode.Furniture.FurnitureModeManager::VerifyCanAccessFurnitureMode(System.Nullable<System.Guid>)Candide.PlayerMode.Furniture.FurnitureModeManager::Exit()Shared.Entity.EntityWrapper::get_Immovable()Shared.Entity.EntityWrapper::get_Position()Microsoft.Xna.Framework.Vector3::op_Subtraction(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector3::LengthSquared()Candide.Input.SuperKeybind::Pressed()Candide.CandideUI.CandideUiElement::OnControllerNextWindowNavigation(System.Boolean)Candide.CandideUI.CandideUiSystem::get_ControllerEnabled()Candide.CandideUI.CandideUiElement::get_Visible()Candide.CandideUI.Windows.CandideModalWindow::ModalAlreadyExists(Candide.CandideUI.CandideDesktop)Candide.CandideUI.CandideUiSystem::get_InputFocusableElement()Candide.PlayerMode.Furniture.FurnitureModeManager::SetShowingUi(System.Boolean)Candide.CandideUI.ControllerUiInputSystem::get_DisableUiTemporarily()Candide.Input.SuperKeybind::HeldRepeating(System.Double)Candide.Graphics.Camera::MoveImmediately(System.Single, System.Single)Candide.PlayerMode.Furniture.FurnitureModeManager::ClearHighlightedEntities()System.Nullable<System.ValueTuple<System.String, System.Int32, System.Int32, System.Int32>>::get_HasValue()System.Nullable<System.ValueTuple<System.String, System.Int32, System.Int32, System.Int32>>::GetValueOrDefault()System.String::op_Inequality(System.String, System.String)Candide.PlayerMode.Furniture.FurnitureModeManager::NewSidebarSelection(System.String, System.Int32, System.Int32, System.Int32)Candide.PlayerMode.Furniture.FurnitureModeManager::ClearSelection()Candide.PlayerMode.AbstractModeManager::get_CandideDesktop()Candide.CandideUI.Containers.CandideWindow::Close()System.Nullable<Microsoft.Xna.Framework.Vector3>::get_HasValue()System.Nullable<Microsoft.Xna.Framework.Vector3>::GetValueOrDefault()Candide.PlayerMode.Furniture.FurnitureModeManager::Place(Microsoft.Xna.Framework.Vector3)System.Collections.Generic.HashSet<System.Guid>::get_Count()Candide.Sound.SoundPlayer::PlayEventOneShot(System.String, System.Single, System.Single)Candide.PlayerMode.Construction.ConstructionContext::SetSubMode(Candide.PlayerMode.SubMode)Candide.PlayerMode.Furniture.FurnitureModeManager::UpdatePlacingMode()Candide.PlayerMode.Furniture.FurnitureModeManager::UpdateSelectingMode()
String literals
event:/buildings/furniture_entity_deselect
UpdatePlacingMode
#
private System.Void UpdatePlacingMode()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
FBF5213ACA98FFB6F5C8AFE961CEF780689A227F475B6249493FC4CAAB4C1CB0 - Body hash
0276C4E67A42F25BF94F223721C663FAE1D0B39D3DD853196CAF9F9DF315639C - IL size615
Referenced calls
Candide.PlayerMode.Furniture.FurnitureModeManager::ClearSelection()System.Nullable<System.ValueTuple<System.String, System.Int32, System.Int32, System.Int32>>::get_HasValue()System.Nullable<System.ValueTuple<System.String, System.Int32, System.Int32, System.Int32>>::GetValueOrDefault()System.String::op_Inequality(System.String, System.String)Candide.PlayerMode.Furniture.FurnitureModeManager::UpdateSelectedPlacingStyle(System.String, System.Int32, System.Int32, System.Int32, System.Boolean)Candide.PlayerMode.Furniture.FurnitureModeManager::get_DisableMouseInput()Candide.Scene.GameScene::get_IsActive()Microsoft.Xna.Framework.GameTime::get_ElapsedGameTime()System.TimeSpan::get_TotalSeconds()Candide.Input.InputManager::Pressed(Candide.Input.MouseButtons)Shared.Data.Furniture.FurnitureDataBase::GetOrNull(System.String)Candide.Input.InputManager::Pressed(Microsoft.Xna.Framework.Input.Keys)Candide.Input.InputManager::Pressed(Microsoft.Xna.Framework.Input.Buttons)Candide.PlayerMode.Furniture.FurnitureModeManager::RotateSelection(System.Int32, System.Boolean)Candide.PlayerMode.Furniture.FurnitureModeManager::CycleStyle(System.Int32)Candide.Database.Doodad.DoodadDatabaseManager::TryGetEntityBaseData(System.Guid, Shared.Entity.EntityWrapper&)Candide.PlayerMode.Furniture.FurnitureModeManager::get_CursorWorldPos()Microsoft.Xna.Framework.Vector2::op_Equality(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Candide.PlayerMode.Furniture.FurnitureModeManager::FindPlacingPositionAndCheckIsOk(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Shared.Data.Furniture.FurnitureData, Shared.Entity.EntityWrapper, System.Boolean)Microsoft.Xna.Framework.Vector3::op_Equality(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Candide.Input.SuperKeybind::Pressed()Candide.Sound.SoundPlayer::PlayEventOneShot(System.String, System.Single, System.Single)Candide.PlayerMode.Furniture.FurnitureModeManager::Place(Microsoft.Xna.Framework.Vector3)Candide.PlayerMode.Furniture.FurnitureModeManager::SetMode(FurnitureModeManager.FurnitureModeManagerMode)
String literals
event:/buildings/furniture_fail_place
UpdateSelectedPlacingStyle
#
public System.Void UpdateSelectedPlacingStyle(System.String furnitureId, System.Int32 rotation, System.Int32 alternate, System.Int32 style, System.Boolean silent)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
8803524651725775B897619D51DF065F122F50EFE1C0410E040803FFD702E840 - Body hash
1F38E663F4B378B193D84353C4E8E26606C29243436AA43BAE04831A48E1A9B2 - IL size441
Referenced calls
Candide.Sound.SoundPlayer::PlayEventOneShot(System.String, System.Single, System.Single)System.ValueTuple<System.String, System.Int32, System.Int32, System.Int32>::.ctor(!0, !1, !2, !3)System.Collections.Generic.List<System.ValueTuple<System.ValueTuple<System.String, System.Int32, System.Int32, System.Int32>, CandideCreator.Shared.Models.RectangleF>>::get_Count()Candide.PlayerMode.Furniture.FurnitureListView::SetUpRotationAndStyleView(System.String, System.Int32, System.Int32, System.Int32, System.Boolean)System.Nullable<System.ValueTuple<System.String, System.Int32, System.Int32, System.Int32>>::.ctor(!0)Candide.PlayerMode.Furniture.FurnitureListView::Select(System.String)System.Nullable<System.ValueTuple<System.String, System.Int32, System.Int32, System.Int32>>::get_HasValue()System.Nullable<System.ValueTuple<System.String, System.Int32, System.Int32, System.Int32>>::GetValueOrDefault()System.String::op_Inequality(System.String, System.String)System.Collections.Generic.List<System.ValueTuple<System.ValueTuple<System.String, System.Int32, System.Int32, System.Int32>, CandideCreator.Shared.Models.RectangleF>>::get_Item(System.Int32)System.String::op_Equality(System.String, System.String)System.ValueTuple<System.ValueTuple<System.String, System.Int32, System.Int32, System.Int32>, CandideCreator.Shared.Models.RectangleF>::.ctor(!0, !1)System.Collections.Generic.List<System.ValueTuple<System.ValueTuple<System.String, System.Int32, System.Int32, System.Int32>, CandideCreator.Shared.Models.RectangleF>>::set_Item(System.Int32, !0)
Called by
Candide.PlayerMode.Furniture.FurnitureModeManager::AlternateSelectionCandide.PlayerMode.Furniture.FurnitureModeManager::ChangeFrameCandide.PlayerMode.Furniture.FurnitureModeManager::CopySelectionCandide.PlayerMode.Furniture.FurnitureModeManager::CycleStyleCandide.PlayerMode.Furniture.FurnitureModeManager::MoveButtonOnClickActionCandide.PlayerMode.Furniture.FurnitureModeManager::RotateButtonOnClickActionCandide.PlayerMode.Furniture.FurnitureModeManager::RotateSelectionCandide.PlayerMode.Furniture.FurnitureModeManager::UpdatePlacingMode
String literals
event:/buildings/furniture_style_change
UpdateSelectingMode
#
private System.Void UpdateSelectingMode()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
F86B80474F34BF961E00934EE6B8C7FED69EB5E26EC5CF82E51CC42416AA3E93 - Body hash
A1EF9278653997A88CD38226187A4B1BD2FBA33B39945F31856533388AC751FA - IL size1363
Referenced calls
Candide.PlayerMode.Furniture.FurnitureModeManager::get_CursorWorldPos()Candide.PlayerMode.Furniture.FurnitureModeManager::get_DisableMouseInput()Candide.PlayerMode.Furniture.FurnitureModeManager::GetEntityUnderMouse(Microsoft.Xna.Framework.Vector2, System.Func<Shared.Entity.EntityWrapper, System.String, System.Boolean>)Microsoft.Xna.Framework.Vector4::.ctor(System.Single, System.Single, System.Single, System.Single)Candide.PlayerMode.Furniture.FurnitureModeManager::HighlightEntity(Shared.Entity.EntityWrapper, Microsoft.Xna.Framework.Vector4, System.Boolean)Candide.Input.SuperKeybind::Pressed()Candide.Input.SuperKeybind::Up()Candide.PlayerMode.Furniture.FurnitureModeManager::ClearSelection()Candide.PlayerMode.Furniture.FurnitureModeManager::NewEntitySelected(Shared.Entity.EntityWrapper)Shared.Entity.EntityWrapper::get_Id()System.Collections.Generic.HashSet<System.Guid>::Contains(!0)Candide.PlayerMode.Furniture.FurnitureModeManager::UnselectEntity(Shared.Entity.EntityWrapper)System.Collections.Generic.HashSet<System.Guid>::Add(!0)Candide.Input.SuperKeybind::Down()Candide.Input.InputManager::Pressed(Microsoft.Xna.Framework.Input.Keys)Candide.PlayerMode.Furniture.FurnitureModeManager::CopySelection()System.Collections.Generic.List<Shared.Entity.EntityWrapper>::Clear()Candide.PlayerMode.Furniture.FurnitureModeManager::GetEntitiesInMultiSelect(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, System.Collections.Generic.List<Shared.Entity.EntityWrapper>)System.Collections.Generic.List<Shared.Entity.EntityWrapper>::GetEnumerator()List.Enumerator<Shared.Entity.EntityWrapper>::get_Current()List.Enumerator<Shared.Entity.EntityWrapper>::MoveNext()System.IDisposable::Dispose()CandideCreator.Shared.Models.RectangleF::CreateFromPoints(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Color::.ctor(System.Int32, System.Int32, System.Int32, System.Int32)CandideCreator.Shared.Graphics.VisualDebug::Rectangle(CandideCreator.Shared.Models.RectangleF, Microsoft.Xna.Framework.Color, System.Single, System.Single)System.Collections.Generic.HashSet<System.Guid>::Remove(!0)Candide.PlayerMode.Furniture.FurnitureModeManager::RemoveButtonOnClickAction()Candide.CandideUI.CandideUiElement::get_Visible()System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::GetValueOrDefault()System.Collections.Generic.Dictionary<System.Guid, Shared.Entity.EntityWrapper>::TryGetValue(!0, !1&)Shared.Entity.EntityWrapper::get_BaseGuid()
String literals
event:/buildings/furniture_style_change_clickevent:/buildings/furniture_style_change
VerifyCanAccessFurnitureMode
#
public System.Boolean VerifyCanAccessFurnitureMode(System.Nullable<System.Guid> townId)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
B4C8994B0B8DD4BDC62A190E30E595A226E4F8059B98E917CD122E1F6505A763 - Body hash
2D8950776CAEE6AF9706CBA71EDED7E31A8F66BC73F15792509B9B38594AEF2C - IL size128
Referenced calls
System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::get_Value()System.Collections.Generic.Dictionary<System.Guid, Candide.GameModels.Models.Constructions.Building>::TryGetValue(!0, !1&)Shared.Data.BuildingDataBase::GetBuildingOrNull(System.String)System.Collections.Generic.Dictionary<System.Guid, Candide.GameModels.Models.ClientTownModel>::ContainsKey(!0)