mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2026-02-20 06:27:43 +01:00
Make states work.
This commit is contained in:
parent
25ddbb1310
commit
a4de13f228
27 changed files with 787 additions and 857 deletions
|
|
@ -44,8 +44,8 @@ public ref struct EquipDrawData(EquipSlot slot, in DesignData designData)
|
|||
public static EquipDrawData FromState(StateManager manager, ActorState state, EquipSlot slot)
|
||||
=> new(slot, state.ModelData)
|
||||
{
|
||||
ItemSetter = i => manager.ChangeItem(state, slot, i, StateSource.Manual),
|
||||
StainSetter = i => manager.ChangeStain(state, slot, i, StateSource.Manual),
|
||||
ItemSetter = i => manager.ChangeItem(state, slot, i, ApplySettings.Manual),
|
||||
StainSetter = i => manager.ChangeStain(state, slot, i, ApplySettings.Manual),
|
||||
Locked = state.IsLocked,
|
||||
DisplayApplication = false,
|
||||
GameItem = state.BaseData.Item(slot),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue