Palettizer/src/GMSprite.cs

38 lines
828 B
C#
Raw Normal View History

2021-11-30 02:04:25 +00:00
namespace Palettizer
{
public struct GMTextureGroupID
{
public string Name { get; set; }
public string Path { get; set; } // this doesnt seem to be used lol
}
public struct GMSpriteFrameID
{
public string Name { get; set; } // this is actually a GUID lol
}
public struct GMSpriteCompositeImage
{
public GMSpriteFrameID FrameID { get; set; }
}
public struct GMSpriteFrame
{
public GMSpriteCompositeImage CompositeImage { get; set; }
}
2021-12-02 04:39:10 +00:00
public struct GMSpriteLayer
{
public string Name { get; set; } // this is actually a GUID lol
}
2021-11-30 02:04:25 +00:00
public struct GMSprite
{
public GMTextureGroupID TextureGroupID { get; set; }
public GMSpriteFrame[] Frames { get; set; }
2021-12-02 04:39:10 +00:00
public GMSpriteLayer[] Layers { get; set; }
public string ResourceType { get; set; }
2021-11-30 02:04:25 +00:00
public string Name { get; set; }
}
}