mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-26 18:17:12 +03:00
* mass clean up
(cherry picked from commit 12bb873b02c1ef50e20763542b030452cc0613da)
* Revert "Centrifuge buff (#393)"
This reverts commit 2a59a18230.
(cherry picked from commit 9ee495ab4bb365e1ccd3dc627ecb55114fea6944)
* Shoving merge conflict
* fix rich traitor
* fix test
* yml
* fix test
* fix test
* ohh
30 lines
827 B
C#
30 lines
827 B
C#
using Robust.Client.Graphics;
|
|
|
|
namespace Content.Client._White.ItemSlotRenderer;
|
|
|
|
[RegisterComponent]
|
|
public sealed partial class ItemSlotRendererComponent : Component
|
|
{
|
|
// [slotId] = layer mapping (in string form)
|
|
[DataField("mapping")]
|
|
public Dictionary<string, string> PrototypeLayerMappings = new();
|
|
|
|
// [mapkey] = slotId
|
|
[ViewVariables]
|
|
public List<(object, string)> LayerMappings = new();
|
|
|
|
// [slotId] = entity uid
|
|
[ViewVariables(VVAccess.ReadOnly)]
|
|
public Dictionary<string, EntityUid?> CachedEntities = new();
|
|
|
|
// [slotId] = IRenderTexture
|
|
[ViewVariables(VVAccess.ReadOnly)]
|
|
public Dictionary<string, IRenderTexture> CachedRT = new();
|
|
|
|
[DataField]
|
|
public bool ErrorOnMissing = true;
|
|
|
|
[DataField]
|
|
public Vector2i RenderTargetSize = new Vector2i(32, 32);
|
|
}
|