Candide.CandideUI.TownOverview.Components.CitizenSlotHolder
Type JSONpublic class in Candide.CandideUI.TownOverview.Components
Type metadata
- Assembly
Romestead - Namespace
Candide.CandideUI.TownOverview.Components - Base type
Candide.CandideUI.Components.Holder.CandideHolderBase - Hash
D012BC9E88DAD2F89D609F9C56E6B4A9150786A32234B7DF339AB41470B37BD3
Relationships
Base type
Referenced by types
Fields
| Name | Visibility | Signature |
|---|---|---|
Panel# | protected | protected Candide.CandideUI.Containers.CandidePanel Panel |
_citizenSlot# | private | private Candide.GameModels.Models.Citizens.CitizenSlot _citizenSlot |
_icon# | private | private Candide.CandideUI.Components.CandideIcon _icon |
_townOverviewControl# | private | private Candide.CandideUI.TownOverview.TownOverviewControl _townOverviewControl |
Properties
| Name | Visibility | Signature |
|---|---|---|
CitizenSlot# | public | public Candide.GameModels.Models.Citizens.CitizenSlot CitizenSlot |
Type# | public | public Candide.CandideUI.Components.Holder.CandideHolderType Type |
Methods
GetPickupContent
#
public Candide.CandideUI.Components.Holder.ICandideDraggableHolderContent GetPickupContent()
Method metadata
- Visibilitypublic
- Return type
Candide.CandideUI.Components.Holder.ICandideDraggableHolderContent - StaticFalse
- VirtualTrue
- Hash
24AAED3E24ABEFC683518AB7BFCA2D104641FF077F0AF54FC14C2E4CE3586F1A - Body hash
7D208AB67EBF679A7F67F8B9BC925AFD8926E53EEC52C6347501FFF77CFC4897 - IL size93
Referenced calls
Candide.CandideUI.CandideUiElement::get_Enabled()System.Nullable<System.Guid>::get_HasValue()Candide.Toolkit.SamuelDevelopmentException::.ctor(System.String)System.Nullable<System.Guid>::get_Value()Candide.CandideUI.TownOverview.Components.CitizenDraggableHolderContent::.ctor(Candide.CandideUI.Components.Holder.CandideHolderBase, System.Guid, System.String)
String literals
CitizenId was set but Citizen was null? Client has missed updating the values
InternalDraw
#
protected System.Void InternalDraw(Candide.CandideUI.UiRenderContext context)
Method metadata
- Visibilityprotected
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
29878581D4018AB498D62FE9D8423DA574AEE2F7524D2681D2095EB218EFCC73 - Body hash
C779B9A292B8D88CB4BDE50A9AA406DCF50923409D67688CF872BFB7CC89790B - IL size558
Referenced calls
Candide.CandideUI.TownOverview.Components.CitizenSlotHolder::get_CitizenSlot()Candide.CandideUI.TownOverview.TownOverviewControl::get_HoveredCitizen()System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::get_Value()System.Nullable<System.Guid>::GetValueOrDefault()System.Guid::op_Equality(System.Guid, System.Guid)System.Guid::op_Inequality(System.Guid, System.Guid)Candide.CandideUI.CandideUiElement::get_BorderBounds()Microsoft.Xna.Framework.Rectangle::get_Location()Microsoft.Xna.Framework.Point::ToVector2()Microsoft.Xna.Framework.Vector2::get_One()Candide.CandideUI.UiRenderContext::DrawSprite9Box(System.Single, System.Single, CandideCreator.Shared.Graphics.SpriteSheet, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Candide.CandideUI.CandideUiElement::Draw(Candide.CandideUI.UiRenderContext)Candide.CandideUI.CandideUiElement::get_IsHovered()Candide.CandideUI.Components.Holder.CandideHolderBase::InternalDraw(Candide.CandideUI.UiRenderContext)
OnCitizenSlotChanged
#
private System.Void OnCitizenSlotChanged()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
CD744E3E8F1C4D4C35AB13A3C28AA428D8C3E6B074E2B808CC5AD1697EB090E3 - Body hash
F87B9AACFA99C6369903A89857F027E27F7FA0FF3963B7920F981BEB4E0CB5EA - IL size112
Referenced calls
CitizenSlotHolder.<>c__DisplayClass10_0::.ctor()Shared.Data.JobDataBase::GetJobOrNull(System.String)CandideServer.Database.CitizenDataBase::GetCitizenOrMissing(System.String)Candide.CandideUI.Components.CandideIcon::set_Icon(System.String)CitizenSlotHolder.<>c__DisplayClass10_0::<OnCitizenSlotChanged>b__0()System.Func<System.Collections.Generic.IEnumerable<Candide.CandideUI.CandideUiElement>>::.ctor(System.Object, System.IntPtr)Candide.CandideUI.Components.Holder.CandideHolderBase::set_GetTooltipContent(System.Func<System.Collections.Generic.IEnumerable<Candide.CandideUI.CandideUiElement>>)
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
F190996F0EA561DF823D0794365CC4AFBC87B6706574389F95317C95659FC3C0 - Body hash
7692666F742A44D645563516754055D33CC7575DF41F13CC0AB026B6764D2E9A - IL size106
Referenced calls
Candide.CandideUI.CandideUiElement::get_IsHovered()System.Nullable<System.Guid>::.ctor(!0)Candide.GameModels.Models.Citizens.CitizenSlot::get_IsOccupied()Candide.CandideUI.CandideUiElement::set_Opacity(System.Single)Candide.CandideUI.CandideUiContainerSingleItem::Update(Microsoft.Xna.Framework.GameTime)