Candide.MainMenu.Ui.Steps.CreateCharacterWindow
Type JSONpublic class in Candide.MainMenu.Ui.Steps
Type metadata
- Assembly
Romestead - Namespace
Candide.MainMenu.Ui.Steps - Base type
Candide.MainMenu.Ui.Steps.AbstractStepsWindow - Hash
55B1E27ED3F48EFD8C9C5C1AFFACE195782CB681650AD4F6741680CB593B0DA8
Relationships
Fields
Methods
AddItemToInventory
#
private System.Void AddItemToInventory(System.String itemId, System.Int32 itemAmount, Shared.Models.Items.ItemInstanceModel[] inventory)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
3543D3DBDF57D7F64680E01CD7B82A3ABF66A126396A83B58D796F656E9E1BA7 - Body hash
DD51C2323DF08EBFD4225C42EE9894E575A72E44E69808EF19383800DE9492E4 - IL size48
Referenced calls
Shared.Models.Items.ItemInstanceModel::.ctor(System.String)System.Guid::NewGuid()
CreateDisplayModelSelection
#
private Candide.MainMenu.Ui.Components.CandideDisplayModelSelection CreateDisplayModelSelection(System.Int32 i, System.Collections.Generic.List<Candide.GameModels.Managers.PlayerSkinPart> optionsList, System.String name, System.Collections.Generic.Dictionary<System.Int32, Microsoft.Xna.Framework.Color> colorIndices, System.Boolean randomSelectedOption, System.Boolean randomSelectedColor)
Method metadata
- Visibilityprivate
- Return type
Candide.MainMenu.Ui.Components.CandideDisplayModelSelection - StaticFalse
- VirtualFalse
- Hash
85B5DEBB7CFAE4DC72B8EB473AA444F523E3B62E7C45B33B3299C96162384185 - Body hash
7F5A986E2D9F5750A59598BC861B6CD57369C61D28AA94AFEC009C1733582F92 - IL size84
Referenced calls
System.Collections.Generic.List<Candide.GameModels.Managers.PlayerSkinPart>::get_Count()System.Random::Next(System.Int32)Candide.MainMenu.Ui.Components.CandideDisplayModelSelection::.ctor(System.Int32, System.Collections.Generic.List<Candide.GameModels.Managers.PlayerSkinPart>, System.String, System.Collections.Generic.Dictionary<System.Int32, Microsoft.Xna.Framework.Color>, System.Boolean)Candide.CandideUI.CandideUiElement::set_HorizontalAlignment(Candide.CandideUI.HorizontalAlignment)Candide.MainMenu.Ui.Steps.CreateCharacterWindow::<CreateDisplayModelSelection>b__15_0(System.Object, Candide.GameModels.Managers.PlayerSkinPart)System.EventHandler<Candide.GameModels.Managers.PlayerSkinPart>::.ctor(System.Object, System.IntPtr)Candide.MainMenu.Ui.Components.CandideDisplayModelSelection::add_OnValueChanged(System.EventHandler<Candide.GameModels.Managers.PlayerSkinPart>)Candide.CandideUI.CandideUiContainerMultipleItems::AddChild(Candide.CandideUI.CandideUiElement, System.Boolean)
CreatePlayerClassSelection
#
private Candide.MainMenu.Ui.Components.CandideDisplayModelSelection CreatePlayerClassSelection(System.Int32 i, System.Collections.Generic.List<Shared.Data.DataModels.PlayerClassModel> optionsList, System.String name)
Method metadata
- Visibilityprivate
- Return type
Candide.MainMenu.Ui.Components.CandideDisplayModelSelection - StaticFalse
- VirtualFalse
- Hash
F595A6211439444EAC53F6FF10DA82D3C976660D3FEA44775B4312DA5878F308 - Body hash
FFCEBBB3B7E9B7AA87C0A5565401576AC17F624201DCD81B236855751C0D9D38 - IL size76
Referenced calls
System.Collections.Generic.List<Shared.Data.DataModels.PlayerClassModel>::get_Count()System.Random::Next(System.Int32)Candide.MainMenu.Ui.Components.CandideDisplayModelSelection::.ctor(System.Int32, System.Collections.Generic.List<Shared.Data.DataModels.PlayerClassModel>, System.String)Candide.CandideUI.CandideUiElement::set_HorizontalAlignment(Candide.CandideUI.HorizontalAlignment)Candide.MainMenu.Ui.Steps.CreateCharacterWindow::<CreatePlayerClassSelection>b__16_0(System.Object, Shared.Data.DataModels.PlayerClassModel)System.EventHandler<Shared.Data.DataModels.PlayerClassModel>::.ctor(System.Object, System.IntPtr)Candide.MainMenu.Ui.Components.CandideDisplayModelSelection::add_OnClassValueChanged(System.EventHandler<Shared.Data.DataModels.PlayerClassModel>)Candide.CandideUI.CandideUiContainerMultipleItems::AddChild(Candide.CandideUI.CandideUiElement, System.Boolean)
OnCharacterDisplayUpdate
#
private System.Void OnCharacterDisplayUpdate()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
25F81EA551838B6EB9E6731B8B9A5A83F37B474F997515B7664DE3A8CAC0A525 - Body hash
9B981A3D80BDE11B81A3CD6C57A8B88D64E689E2A20F36378B0791F3E60554A7 - IL size691
Referenced calls
Candide.MainMenu.Ui.Components.CandideDisplayModelSelection::GetSelectedByte()Candide.MainMenu.Ui.Components.CandideDisplayModelSelection::get_SelectedPaletteIndex()Candide.MainMenu.Ui.Components.CandideDisplayModelSelection::get_SelectedClass()Shared.Text.StringExtensions::GetTranslation(Shared.Text.StringId)System.String::ToUpper()Candide.CandideUI.Components.TranslationCenteredLabel::set_Text(System.String)Candide.GameModels.Managers.PlayerSkinManager::ApplySkin(CandideCreator.Shared.Models.SpritesAnimationCollections.SpacSkins, Shared.Models.Player.PlayerAppearanceData, System.Collections.Generic.List<System.String>)Candide.CandideUI.Containers.CandideGrid::ClearChildren()Shared.Data.SkillsDataBase::GetSkillOrMissing(System.String)Candide.CandideUI.Components.TranslationCenteredTextLayout::.ctor()System.Int32::ToString()Shared.Text.StringDefinitions::GetFormatString(System.String, System.String, System.String)Candide.CandideUI.Components.CandideTextLabel::set_Text(System.String)Candide.CandideUI.CandideThickness::.ctor(System.Int32, System.Int32, System.Int32, System.Int32)Candide.CandideUI.CandideUiElement::set_Margin(Candide.CandideUI.CandideThickness)Candide.CandideUI.CandideUiContainerMultipleItems::AddChild(Candide.CandideUI.CandideUiElement, System.Boolean)System.Collections.Generic.List<System.String>::GetEnumerator()List.Enumerator<System.String>::get_Current()CreateCharacterWindow.<>c__DisplayClass20_0::.ctor()Shared.Data.ItemDataBase::GetItemDataOrMissing(System.String)System.Nullable<System.Int32>::.ctor(!0)Candide.CandideUI.Components.TranslationCenteredIconLabel::.ctor(CandideCreator.Shared.Graphics.IconFlag, System.Nullable<System.Int32>, System.Boolean)Candide.CandideUI.Components.TranslationCenteredIconLabel::set_Icon(System.String)Candide.CandideUI.Components.TranslationCenteredIconLabel::set_StringId(Shared.Text.StringId)CreateCharacterWindow.<>c__DisplayClass20_0::<OnCharacterDisplayUpdate>b__0()System.Func<System.Collections.Generic.IEnumerable<Candide.CandideUI.CandideUiElement>>::.ctor(System.Object, System.IntPtr)Candide.CandideUI.Components.TranslationCenteredIconLabel::set_GetTooltipContent(System.Func<System.Collections.Generic.IEnumerable<Candide.CandideUI.CandideUiElement>>)List.Enumerator<System.String>::MoveNext()System.IDisposable::Dispose()System.Collections.Generic.List<Shared.Models.Items.ItemAmount>::GetEnumerator()List.Enumerator<Shared.Models.Items.ItemAmount>::get_Current()CreateCharacterWindow.<>c__DisplayClass20_1::.ctor()
String literals
CreateCharacter_SkillBonusCreateCharacter_ItemBonus
OnCharacterSaveError
#
private System.Void OnCharacterSaveError(System.String msg)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
C8F7E828CAA0F0552A8681AB5C3B22F82165C47322D483D0F60B47BF3ED31542 - Body hash
366C786DEC2D2A384D05464B2937E8511C7E5EFD86B112C4DE402817E01833A6 - IL size40
Referenced calls
Candide.CandideUI.CandideUiElement::get_Desktop()Shared.Text.StringDefinitions::GetString(System.String)Candide.CandideUI.Windows.CandideModalWindow::ShowErrorModal(Candide.CandideUI.CandideDesktop, System.String)
String literals
CreateCharacter_Error
SaveNewCharacter
#
private System.Void SaveNewCharacter()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
DADE30AB90332016155A6002F0410FCB8318678E64C21B16665EB76D4EFCC019 - Body hash
D383919AD0DF3BAB67CE1EECB088435AB4A926FCCE3DA76F0E01E864C85F288B - IL size976
Referenced calls
Candide.MainMenu.Ui.Components.CandideDisplayModelSelection::get_SelectedClass()Candide.CandideUI.Input.CandideTextInputBox::get_Text()System.String::IsNullOrWhiteSpace(System.String)System.IO.Path::GetInvalidFileNameChars()System.String::IndexOfAny(System.Char[])Shared.Text.StringDefinitions::GetString(System.String)Candide.MainMenu.Ui.Steps.CreateCharacterWindow::OnCharacterSaveError(System.String)Candide.Save.CharacterSaveManager::GetCharacterSavePath(System.String)System.IO.File::Exists(System.String)Shared.Models.Player.PlayerCharacterModel::.ctor()System.DateTime::get_Now()System.Guid::NewGuid()Shared.Models.Skill.Skills::.ctor()Candide.CandideUI.Input.CandideCheckbox::get_IsToggledOn()Shared.Data.SkillsDataBase::GetAllSkills()System.Collections.Generic.IEnumerable<Shared.Data.SkillData>::GetEnumerator()System.Collections.Generic.IEnumerator<Shared.Data.SkillData>::get_Current()Shared.Models.Skill.CharacterSkill::.ctor(System.String)System.Collections.Generic.Dictionary<System.String, Shared.Models.Skill.CharacterSkill>::Add(!0, !1)System.Collections.IEnumerator::MoveNext()System.IDisposable::Dispose()System.Collections.Generic.Dictionary<System.String, Shared.Models.Skill.CharacterSkill>::get_Item(!0)System.Collections.Generic.List<System.ValueTuple<System.String, System.Int32>>::GetEnumerator()List.Enumerator<System.ValueTuple<System.String, System.Int32>>::get_Current()List.Enumerator<System.ValueTuple<System.String, System.Int32>>::MoveNext()System.Nullable<System.Int32>::get_HasValue()System.Nullable<System.Int32>::get_Value()CandideServer.Helpers.SecondaryEquipmentSimpleInventoryHelper::get_SecondaryEquipmentSlotsCount()CandideServer.Helpers.EquipmentSimpleInventoryHelper::get_EquipmentSlotsCount()Shared.Models.Player.PlayerCharacterSaveModel::.ctor()System.Collections.Generic.List<System.String>::GetEnumerator()List.Enumerator<System.String>::get_Current()
String literals
CreateCharacter_ErrorNameCreateCharacter_ErrorNameExists
TryEquipItem
#
private System.Boolean TryEquipItem(System.String itemId, System.Int32 itemAmount, Shared.Models.Items.ItemInstanceModel[] equipment)
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
0414F789A3491E418D558C8D2020FA344102B9C4EBE0F660E316DC4D9E6C10FF - Body hash
07B0E31787D09C06B91FF616B6971E40F35FADC2094314BA50635C8FB42D6D08 - IL size89
Referenced calls
Shared.Data.ItemDataBase::GetItemDataOrNull(System.String)Shared.Models.Items.ItemInstanceModel::.ctor(System.String)System.Guid::NewGuid()
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
65493BF8E0D1A43FF63B5147C27F2138CC4FF8FE154CE7C85E41EC3E8256BC95 - Body hash
770A8CA8BEFFFE5760C5BFA4E7E06FE56A805D0B4AF245BBB04AFA2C3F559BEB - IL size128
Referenced calls
Candide.MainMenu.Ui.Steps.AbstractStepsWindow::Update(Microsoft.Xna.Framework.GameTime)Microsoft.Xna.Framework.GameTime::get_ElapsedGameTime()System.TimeSpan::get_TotalSeconds()System.MathF::Sin(System.Single)CandideCreator.Shared.Helpers.CandideMathHelper::From0To1Between(System.Single, System.Single, System.Single)CandideCreator.Shared.Helpers.CandideMathHelper::InterpolateBetween(System.Single, System.Single, System.Single)CandideCreator.Shared.Helpers.VectorExtension::DirectionTo8IntDirection(System.Single)Candide.Entities.Animations.AnimationStateMachine::Update(Shared.Entity.EntityWrapper, System.Single)