Files
RobustToolbox/Robust.Client/ResourceManagement/RsiLoadedEventArgs.cs

25 lines
731 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(ResPath path, RSIResource resource, Image atlas, Dictionary<RSI.StateId, Vector2i[][]> atlasOffsets)
{
Path = path;
Resource = resource;
Atlas = atlas;
AtlasOffsets = atlasOffsets;
}
public ResPath Path { get; }
public RSIResource Resource { get; }
public Image Atlas { get; }
public Dictionary<RSI.StateId, Vector2i[][]> AtlasOffsets { get; }
}
}