mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-16 07:12:27 +02:00
* Improved click detection supporting features: Clickable removed from engine Texture/RSI load hooks for content New sprite layer API * Fix tests.
25 lines
741 B
C#
25 lines
741 B
C#
using System.Collections.Generic;
|
|
using Robust.Client.Graphics;
|
|
using Robust.Shared.Maths;
|
|
using Robust.Shared.Utility;
|
|
using SixLabors.ImageSharp;
|
|
|
|
namespace Robust.Client.ResourceManagement
|
|
{
|
|
public readonly struct RsiLoadedEventArgs
|
|
{
|
|
internal RsiLoadedEventArgs(ResourcePath path, RSIResource resource, Image atlas, Dictionary<RSI.StateId, Vector2i[][]> atlasOffsets)
|
|
{
|
|
Path = path;
|
|
Resource = resource;
|
|
Atlas = atlas;
|
|
AtlasOffsets = atlasOffsets;
|
|
}
|
|
|
|
public ResourcePath Path { get; }
|
|
public RSIResource Resource { get; }
|
|
public Image Atlas { get; }
|
|
public Dictionary<RSI.StateId, Vector2i[][]> AtlasOffsets { get; }
|
|
}
|
|
}
|