mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
25 lines
731 B
C#
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; }
|
|
}
|
|
}
|