Class PaperDoll
Implements character paper doll.
Inherited Members
Namespace: DaggerfallWorkshop.Game.UserInterface
Assembly: Assembly-CSharp.dll
Syntax
public class PaperDoll : Panel, IDisposable
Constructors
| Improve this Doc View SourcePaperDoll(Boolean)
Declaration
public PaperDoll(bool showArmorValues = true)
Parameters
Type | Name | Description |
---|---|---|
Boolean | showArmorValues |
Properties
| Improve this Doc View SourceMaskColor
Declaration
public static Color32 MaskColor { get; }
Property Value
Type | Description |
---|---|
Color32 |
Methods
| Improve this Doc View SourceGetEquipIndex(Int32, Int32)
Gets equip index at position.
Declaration
public byte GetEquipIndex(int x, int y)
Parameters
Type | Name | Description |
---|---|---|
Int32 | x | X position to sample. |
Int32 | y | Y position to sample. |
Returns
Type | Description |
---|---|
Byte | Equip index or 0xff if point empty. |
Refresh(PlayerEntity)
Redraws paper doll image and selection mask. Call this after changing equipment, loading a new game, etc. Only call when required as constructing paper doll image is expensive.
Declaration
public void Refresh(PlayerEntity playerEntity = null)
Parameters
Type | Name | Description |
---|---|---|
PlayerEntity | playerEntity |
Update()
Declaration
public override void Update()