Candide.CandideUI.JobUiNew.UserControls.FurnitureRecipeDetailsUserControl
Type JSONpublic class in Candide.CandideUI.JobUiNew.UserControls
Type metadata
- Assembly
Romestead - Namespace
Candide.CandideUI.JobUiNew.UserControls - Base type
Candide.CandideUI.Containers.CandidePanel - Hash
FDEE0AF8AA22CA9FFBCE1FA94C605E7CAC77E4B7FE24B41C3536220AD172A8F2
Relationships
Base type
Referenced by types
Fields
| Name | Visibility | Signature |
|---|---|---|
OrderPanel# | public | public Candide.CandideUI.Containers.CandideGrid OrderPanel |
RequirementsGrid# | public | public Candide.CandideUI.Containers.CandideGrid RequirementsGrid |
_addButton# | private | private Candide.CandideUI.Components.Buttons.CandideLabelButton _addButton |
_crafted# | private | private System.Int32 _crafted |
_craftingBar# | private | private Candide.CandideUI.Components.CandideHorizontalProgressBar _craftingBar |
_craftingBarLabel# | private | private Candide.CandideUI.Components.CandideTextLabel _craftingBarLabel |
_craftingTimer# | private | private System.Single _craftingTimer |
_craftStopButton# | private | private Candide.CandideUI.Components.Buttons.CandideIconButton _craftStopButton |
_furnitureId# | private | private System.String _furnitureId |
_furnitureListView# | private | private Candide.PlayerMode.Furniture.FurnitureListView _furnitureListView |
_ghost# | private | private System.Boolean _ghost |
_ghostTime# | private | private System.Single _ghostTime |
_ghostTimer# | private | private System.Single _ghostTimer |
_queuedAmount# | private | private System.Int32 _queuedAmount |
_recipeTitle# | private | private Candide.CandideUI.Components.TranslationCenteredLabel _recipeTitle |
_sentCraftRequest# | private | private System.Boolean _sentCraftRequest |
_spinner# | private | private Candide.CandideUI.Input.CandideIntSpinner _spinner |
_verticalStackPanel# | private | private Candide.CandideUI.Containers.CandideVerticalStackPanel _verticalStackPanel |
Properties
| Name | Visibility | Signature |
|---|---|---|
Crafting# | public | public System.Boolean Crafting |
Methods
AddCrafts
#
private System.Void AddCrafts(System.Int32 amount)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
85697DF84DD03E08D308A7F7B83B05D568DD5AB7AB269D4CB2B3FFA7689B2EAB - Body hash
60DFA15272344B78740EF1B31A7EA24475685961EA76522C06B92870CD1A8C7F - IL size15
CheckForInputs
#
private System.Collections.Generic.List<System.String> CheckForInputs(System.Collections.Generic.List<System.Guid> inputConnectionIds, Candide.GameModels.Models.Jobs.Job job)
Method metadata
- Visibilityprivate
- Return type
System.Collections.Generic.List<System.String> - StaticFalse
- VirtualFalse
- Hash
C90FC631D998F4251B0AC76CFCA772904EB1E0A1DA9C1420481E4D4E75F46D8D - Body hash
91758A6F2269F4059711B3AF0828AE246CA5AA37E2334FD242F605758ECDF9D4 - IL size260
Referenced calls
System.Collections.Generic.List<System.String>::.ctor()System.Collections.Generic.List<System.Guid>::GetEnumerator()List.Enumerator<System.Guid>::get_Current()Candide.GameModels.GameState::TryGetLogisticsConnection(System.Guid, CandideServer.Models.Logistics.LogisticsConnectionModel&)System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::GetValueOrDefault()System.Guid::op_Inequality(System.Guid, System.Guid)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()CandideCreator.Shared.Helpers.WarningHelper::Warning(System.String)System.Nullable<System.Guid>::.ctor(!0)Candide.GameModels.GameState::TryGetBuilding(System.Nullable<System.Guid>, Candide.GameModels.Models.Constructions.Building&)System.Nullable<Shared.Models.Buildings.BuildingLogisticsConfig>::get_HasValue()System.Collections.Generic.List<System.String>::Add(!0)List.Enumerator<System.Guid>::MoveNext()System.IDisposable::Dispose()
String literals
Connection had destination building IDbut the job has building ID
InternalDraw
#
protected System.Void InternalDraw(Candide.CandideUI.UiRenderContext context)
Method metadata
- Visibilityprotected
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
6102F2246358FACCEC52519612DE796C19F6843D5AB3DD912AB07816AE20E9EA - Body hash
0EB203AB4D4548EB340646E2B0480A46E6E501EAE736330CE3F571CC5D80F51A - IL size21
Referenced calls
Candide.CandideUI.CandideUiContainerMultipleItems::InternalDraw(Candide.CandideUI.UiRenderContext)Candide.CandideUI.JobUiNew.UserControls.FurnitureRecipeDetailsUserControl::UpdateCraft()Candide.CandideUI.JobUiNew.UserControls.FurnitureRecipeDetailsUserControl::UpdateGhost(Candide.CandideUI.UiRenderContext)
OnCurrentRecipeChanged
#
private System.Void OnCurrentRecipeChanged()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
74233CDD426FE99DC6B7C8693E24FAB3F0E4E4996424A57BA75CFE2AECCB5D2F - Body hash
5D01C40752CE16EEBBB9ADB64ABBD1689222BBBCCB8F10F3F4A3B8BB42E5AAC3 - IL size1020
Referenced calls
FurnitureRecipeDetailsUserControl.<>c__DisplayClass28_0::.ctor()Candide.CandideUI.JobUiNew.UserControls.FurnitureRecipeDetailsUserControl::StopCrafting()System.String::IsNullOrEmpty(System.String)Candide.CandideUI.JobUiNew.JobUiContext::get_State()Candide.GameModels.GameState::TryGetActiveJob(System.Guid, Candide.GameModels.Models.Jobs.Job&)System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::get_Value()Candide.GameModels.GameState::TryGetActiveCitizen(System.Guid, Candide.GameModels.Models.Citizens.Citizen&)Candide.GameModels.GameState::TryGetBuilding(System.Nullable<System.Guid>, Candide.GameModels.Models.Constructions.Building&)Shared.Data.Furniture.FurnitureDataBase::GetOrNull(System.String)System.Nullable<FurnitureData.FurnitureRecipe>::get_HasValue()System.Nullable<FurnitureData.FurnitureRecipe>::GetValueOrDefault()Candide.CandideUI.CandideUiElement::set_Visible(System.Boolean)CandideServer.Models.Citizen.CitizenModel::GetCurrentJobLevel()Candide.CandideUI.CandideUiElement::set_Enabled(System.Boolean)System.Int32::ToString()Shared.Text.StringDefinitions::GetFormatString(System.String, System.String)Candide.CandideUI.Components.Buttons.CandideLabelButton::set_Text(System.String)Shared.Text.StringDefinitions::GetString(System.String)Candide.CandideUI.Components.TranslationCenteredLabel::set_StringId(Shared.Text.StringId)System.Nullable<Shared.Text.StringId>::get_HasValue()FurnitureRecipeDetailsUserControl.<>c__DisplayClass28_0::<OnCurrentRecipeChanged>b__0()System.Func<System.Collections.Generic.IEnumerable<Candide.CandideUI.CandideUiElement>>::.ctor(System.Object, System.IntPtr)Candide.CandideUI.Components.TranslationCenteredLabel::set_GetTooltipContent(System.Func<System.Collections.Generic.IEnumerable<Candide.CandideUI.CandideUiElement>>)FurnitureRecipeDetailsUserControl.<>c::<OnCurrentRecipeChanged>b__28_1()System.Func<Candide.CandideUI.Tooltip.CandideTooltipGrowthDirection>::.ctor(System.Object, System.IntPtr)Candide.CandideUI.Components.TranslationCenteredLabel::set_GetPreferredTooltipGrowthDirection(System.Func<Candide.CandideUI.Tooltip.CandideTooltipGrowthDirection>)Candide.GameModels.GameState::TryGetActiveInventory(System.Guid, Candide.GameModels.Models.Items.SimpleInventory&)Candide.GameModels.GameState::TryGetActiveInternalResourceStorage(System.Guid, Candide.GameModels.Models.InternalResourceStorage&)Candide.CandideUI.Containers.CandideGrid::ClearChildren()Candide.CandideUI.Components.Displays.WorkRecipeItemIngredientDisplay::.ctor(Candide.GameModels.Models.Jobs.Job, CandideCreator.Shared.Graphics.IconFlag, FontStashSharp.RichText.TextHorizontalAlignment)Candide.CandideUI.CandideUiElement::set_GridRow(System.Int32)
Called by
String literals
Buildings_CitizenSkillRequiredBuildings_FurnitureCraft
OnError
#
private System.Void OnError(System.Byte obj)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
AC059AE2F6F16BBF9FBC085EABBD38FD27B938B81F45EA4128D2B14C835C8FF7 - Body hash
5FF95FC0CFE51BB560D4F0711C72598C42571D3EC8E4A4CBA6E83D90030B3562 - IL size7
Referenced calls
OnSuccess
#
private System.Void OnSuccess()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
5F414B035D4C914927C77AA091A74516D8B83C4399B0E47D9C612E04C5932B7B - Body hash
44588E18FB237F211016E4E6A2A5073DDD0C886DDFEC920ABAAC3A69E4668BE7 - IL size30
SelectedFurnitureChanged
#
public System.Void SelectedFurnitureChanged(Candide.PlayerMode.Furniture.FurnitureListView furnitureListView, System.Boolean canSelect)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
9364DAC44741B6EB4B7F13A656B897338C98801ED4C2227481D6822C6B0CDC22 - Body hash
5944B1D5D7F34246B5769435C816EE5B6BDCE008850A65F079EEFA546CE295D5 - IL size48
Referenced calls
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()Candide.CandideUI.JobUiNew.UserControls.FurnitureRecipeDetailsUserControl::SelectedFurnitureChanged(System.String)
SelectedFurnitureChanged
#
public System.Void SelectedFurnitureChanged(System.String selectedFurniture)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
61A868BB766C25B89329E936267F1C8869E510AC5981AF48A65BDB8ABFF117BD - Body hash
37495EEAF744E436918CB53E746C1180AFF099C1F8C939F591FC41EE1C166580 - IL size14
Referenced calls
SetInventoryState
#
public System.Void SetInventoryState(Candide.CandideUI.JobUiNew.State.JobInventoryStorageState inventoryStorageState, Candide.CandideUI.JobUiNew.State.JobResourceStorageState resourceStorageState, Candide.CandideUI.JobUiNew.State.JobPlayerInventoryState playerInventoryState)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
5D373FD9C89D6A8EE5361D36724FBFA29A77CBEA41149BE89DFD03A4B8B76A59 - Body hash
67533BBE0368A74985CA43F7E17F55DEDB472CCE38D4DD89E7EA40BA3A5A2C7F - IL size176
Referenced calls
Candide.CandideUI.CandideUiContainerMultipleItems::get_ChildrenEnumerable()System.Collections.Generic.IEnumerable<Candide.CandideUI.CandideUiElement>::GetEnumerator()System.Collections.Generic.IEnumerator<Candide.CandideUI.CandideUiElement>::get_Current()System.Nullable<System.Guid>::.ctor(!0)Candide.CandideUI.Components.Displays.WorkRecipeItemIngredientDisplay::set_CharacterInventoryId(System.Nullable<System.Guid>)Candide.CandideUI.Components.Displays.WorkRecipeItemIngredientDisplay::set_StorageInventoryId(System.Nullable<System.Guid>)Candide.CandideUI.Components.Displays.WorkRecipeItemIngredientDisplay::InvalidateData()Candide.CandideUI.Components.Displays.WorkRecipeResourceIngredientDisplay::set_ResourceStorageId(System.Nullable<System.Guid>)Candide.CandideUI.Components.Displays.WorkRecipeResourceIngredientDisplay::InvalidateData()System.Collections.IEnumerator::MoveNext()System.IDisposable::Dispose()
StopCrafting
#
public System.Void StopCrafting()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
4B838B3053110214EA39D123628FF4B87F7E9354B328CA7A0CE8A96BA2F24F06 - Body hash
4756A869D097B19A562967EC65354C0F255D0CFC0F89EBAEDD4103051042A82D - IL size33
Called by
Candide.CandideUI.JobUiNew.UserControls.FurnitureRecipeDetailsUserControl::OnCurrentRecipeChangedCandide.CandideUI.JobUiNew.UserControls.FurnitureRecipeDetailsUserControl::OnErrorCandide.CandideUI.JobUiNew.UserControls.FurnitureRecipeDetailsUserControl::UpdateCraftCandide.CandideUI.JobUiNew.UserControls.MiddleFurnitureUserControl::OnUiClosePressed
UpdateCraft
#
private System.Void UpdateCraft()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
E1DB55D601C3FFFF204706A2D76D52A9A2171DE4A5BC86CDCA9A3346A19CDE02 - Body hash
B8AECAA23802902C91C28F8559949B5EFFCC498EC0A56C972953A9CFA52E9182 - IL size392
Referenced calls
Candide.CandideUI.Components.CandideHorizontalProgressBar::set_Progress(System.Single)Candide.CandideUI.Components.CandideTextLabel::set_Text(System.String)Candide.CandideUI.CandideUiElement::set_Enabled(System.Boolean)Microsoft.Xna.Framework.GameTime::get_ElapsedGameTime()System.TimeSpan::get_TotalSeconds()CandideCreator.Shared.Helpers.CandideMathHelper::From0To1Between(System.Single, System.Single, System.Single)CandideCreator.Shared.Helpers.InterpolationHelperExtemsion::QuadIn(System.Single)CandideCreator.Shared.Helpers.CandideMathHelper::InterpolateBetween(System.Single, System.Single, System.Single)Candide.CandideUI.JobUiNew.UserControls.FurnitureRecipeDetailsUserControl::OnSuccess()System.Action::.ctor(System.Object, System.IntPtr)Candide.CandideUI.JobUiNew.UserControls.FurnitureRecipeDetailsUserControl::OnError(System.Byte)System.Action<System.Byte>::.ctor(System.Object, System.IntPtr)Candide.CandideUI.JobUiNew.JobUiContext::OnClientFurnitureCraft(System.String, System.Action, System.Action<System.Byte>)Candide.CandideUI.JobUiNew.UserControls.FurnitureRecipeDetailsUserControl::StopCrafting()System.Int32::ToString()Shared.Text.StringDefinitions::GetFormatString(System.String, System.String)
String literals
Buildings_FurnitureCrafting
UpdateGhost
#
private System.Void UpdateGhost(Candide.CandideUI.UiRenderContext context)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
EE25C8C944906ABC254805EC9A95D39DAEB996111656F3BAFCE0180A14AFDB80 - Body hash
C759DCC9DE27CEBEF30F3B1FDA6E7726EAC798F265F6E3B5E489925AC0A5E486 - IL size452
Referenced calls
CandideCreator.Shared.Helpers.CandideMathHelper::From0To1Between(System.Single, System.Single, System.Single)CandideCreator.Shared.Helpers.InterpolationHelperExtemsion::QuadIn(System.Single)CandideCreator.Shared.Helpers.CandideMathHelper::InterpolateBetween(System.Single, System.Single, System.Single)Microsoft.Xna.Framework.GameTime::get_ElapsedGameTime()System.TimeSpan::get_TotalSeconds()System.Collections.Generic.Dictionary<System.String, Shared.Data.Furniture.FurnitureData>::TryGetValue(!0, !1&)Candide.Database.Doodad.DoodadDatabaseManager::TryGetEntityBaseData(System.Guid, Shared.Entity.EntityWrapper&)Candide.CandideUI.CandideUiElement::CalculateScreenPosition()Candide.CandideUI.CandideUiElement::get_BorderBounds()Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Candide.PlayerMode.Furniture.FurnitureListView::GetSelectionScreenPosition()Shared.Entity.EntityWrapper::get_SpriteSheet()CandideCreator.Shared.Graphics.SpriteSheet::GetFrame(System.Int32)CandideCreator.Shared.Helpers.InterpolationHelperExtemsion::QuadOut(System.Single)Microsoft.Xna.Framework.Vector2::Lerp(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, System.Single)Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)System.Nullable<Microsoft.Xna.Framework.Rectangle>::.ctor(!0)Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)Microsoft.Xna.Framework.Vector2::get_One()Microsoft.Xna.Framework.Vector2::get_Zero()Microsoft.Xna.Framework.Color::.ctor(System.Int32, System.Int32, System.Int32, System.Int32)Candide.CandideUI.UiRenderContext::DrawSprite(CandideCreator.Shared.Graphics.SpriteSheet, System.Nullable<Microsoft.Xna.Framework.Rectangle>, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, System.Single, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Color, Microsoft.Xna.Framework.Graphics.SpriteEffects)