Revised the redeem system, activated via channel point redeems. Added OBS transformation to redeems. Logs changed & writes to logs folder as well. Removed most use of IServiceProvider.
This commit is contained in:
8
OBS/Socket/Data/OBSAlignment.cs
Normal file
8
OBS/Socket/Data/OBSAlignment.cs
Normal file
@ -0,0 +1,8 @@
|
||||
namespace TwitchChatTTS.OBS.Socket.Data
|
||||
{
|
||||
public enum OBSAlignment
|
||||
{
|
||||
Center = 0,
|
||||
TopLeft = 5
|
||||
}
|
||||
}
|
24
OBS/Socket/Data/TransformationData.cs
Normal file
24
OBS/Socket/Data/TransformationData.cs
Normal file
@ -0,0 +1,24 @@
|
||||
namespace TwitchChatTTS.OBS.Socket.Data
|
||||
{
|
||||
public class OBSTransformationData
|
||||
{
|
||||
public int Alignment { get; set; }
|
||||
public int BoundsAlignment { get; set; }
|
||||
public double BoundsHeight { get; set; }
|
||||
public string BoundsType { get; set; }
|
||||
public double BoundsWidth { get; set; }
|
||||
public int CropBottom { get; set; }
|
||||
public int CropLeft { get; set; }
|
||||
public int CropRight { get; set; }
|
||||
public int CropTop { get; set; }
|
||||
public double Height { get; set; }
|
||||
public double PositionX { get; set; }
|
||||
public double PositionY { get; set; }
|
||||
public double Rotation { get; set; }
|
||||
public double ScaleX { get; set; }
|
||||
public double ScaleY { get; set; }
|
||||
public double SourceHeight { get; set; }
|
||||
public double SourceWidth { get; set; }
|
||||
public double Width { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user