RhythmGame 1.4.3
Loading...
Searching...
No Matches
Lr2SkinElementDescriptorValue.h
Go to the documentation of this file.
1#pragma once
2
3#include <QMetaType>
4#include <QtGlobal>
5#include <QtQml/qqmlregistration.h>
6
8 Q_GADGET
9 QML_VALUE_TYPE(lr2SkinElementDescriptor)
10 Q_PROPERTY(bool valid MEMBER valid)
11 Q_PROPERTY(int index MEMBER index)
12 Q_PROPERTY(int type MEMBER type)
13 Q_PROPERTY(qreal z MEMBER z)
14 Q_PROPERTY(bool usesActiveOptions MEMBER usesActiveOptions)
15 Q_PROPERTY(bool usesDstSkinTime MEMBER usesDstSkinTime)
16 Q_PROPERTY(bool usesSkinTime MEMBER usesSkinTime)
27 Q_PROPERTY(bool usesLiveDstClock MEMBER usesLiveDstClock)
39 Q_PROPERTY(bool sourceMouseCursor MEMBER sourceMouseCursor)
40 Q_PROPERTY(bool dstOffsetsEnabled MEMBER dstOffsetsEnabled)
41 Q_PROPERTY(int dstOffsetSide MEMBER dstOffsetSide)
43 Q_PROPERTY(int dstTimer MEMBER dstTimer)
44 Q_PROPERTY(int srcTimer MEMBER srcTimer)
45 Q_PROPERTY(int sourceTextId MEMBER sourceTextId)
46 Q_PROPERTY(bool selectScrollSlider MEMBER selectScrollSlider)
47 Q_PROPERTY(bool genericSlider MEMBER genericSlider)
50 Q_PROPERTY(bool numberRefSlider MEMBER numberRefSlider)
51 Q_PROPERTY(int buttonId MEMBER buttonId)
53
54public:
55 bool valid = false;
56 int index = -1;
57 int type = -1;
58 qreal z = 0.0;
59 bool usesActiveOptions = false;
60 bool usesDstSkinTime = false;
61 bool usesSkinTime = false;
62 bool usesElementSkinTime = false;
63 bool useDirectElementSkinClock = false;
64 bool needsManualElementSkinTime = false;
66 bool sourceHasFrameAnimation = false;
67 bool sourceTreeHasFrameAnimation = false;
68 bool sourceTreeUsesChartAsset = false;
71 bool usesSelectHeldButtonTimer = false;
72 bool usesLiveDstClock = false;
73 bool usesLiveSourceClock = false;
74 bool usesLiveSelectClock = false;
75 bool usesDynamicDstTimer = false;
76 bool usesDynamicSrcTimer = false;
77 bool spriteUsesDirectSkinClock = false;
78 int spriteSkinClockMode = 0;
81 bool usesSpriteStateOverride = false;
82 bool usesSpriteForceHidden = false;
83 bool usesButtonFrameOverride = false;
84 bool sourceMouseCursor = false;
85 bool dstOffsetsEnabled = false;
86 int dstOffsetSide = 1;
87 int scratchRotationSide = 0;
88 int dstTimer = 0;
89 int srcTimer = 0;
90 int sourceTextId = -1;
91 bool selectScrollSlider = false;
92 bool genericSlider = false;
93 bool gameplayProgressSlider = false;
94 bool gameplayLaneCoverSlider = false;
95 bool numberRefSlider = false;
96 int buttonId = 0;
98};
99
100Q_DECLARE_METATYPE(Lr2SkinElementDescriptorValue)
Definition Lr2SkinElementDescriptorValue.h:7
bool barDistributionGraphSourceHasFrameAnimation
Definition Lr2SkinElementDescriptorValue.h:25
bool gameplayProgressSlider
Definition Lr2SkinElementDescriptorValue.h:48
bool usesDynamicDstTimer
Definition Lr2SkinElementDescriptorValue.h:30
bool usesElementSkinTime
Definition Lr2SkinElementDescriptorValue.h:17
bool usesSkinTime
Definition Lr2SkinElementDescriptorValue.h:16
bool gameplayLaneCoverSlider
Definition Lr2SkinElementDescriptorValue.h:49
bool sourceTreeUsesChartAsset
Definition Lr2SkinElementDescriptorValue.h:23
bool usesSpriteForceHidden
Definition Lr2SkinElementDescriptorValue.h:37
int type
Definition Lr2SkinElementDescriptorValue.h:12
bool dstOffsetsEnabled
Definition Lr2SkinElementDescriptorValue.h:40
int spriteSourceSkinClockMode
Definition Lr2SkinElementDescriptorValue.h:34
bool usesDstSkinTime
Definition Lr2SkinElementDescriptorValue.h:15
bool valid
Definition Lr2SkinElementDescriptorValue.h:10
bool spriteUsesDirectSkinClock
Definition Lr2SkinElementDescriptorValue.h:32
bool usesLiveSelectClock
Definition Lr2SkinElementDescriptorValue.h:29
bool needsManualElementSkinTime
Definition Lr2SkinElementDescriptorValue.h:19
bool usesLiveDstClock
Definition Lr2SkinElementDescriptorValue.h:27
int dstOffsetSide
Definition Lr2SkinElementDescriptorValue.h:41
bool usesSpriteStateOverride
Definition Lr2SkinElementDescriptorValue.h:36
int index
Definition Lr2SkinElementDescriptorValue.h:11
qreal z
Definition Lr2SkinElementDescriptorValue.h:13
int scratchRotationSide
Definition Lr2SkinElementDescriptorValue.h:42
int srcTimer
Definition Lr2SkinElementDescriptorValue.h:44
bool selectScrollSlider
Definition Lr2SkinElementDescriptorValue.h:46
int sourceTextId
Definition Lr2SkinElementDescriptorValue.h:45
bool numberRefSlider
Definition Lr2SkinElementDescriptorValue.h:50
int spriteStateOverrideKind
Definition Lr2SkinElementDescriptorValue.h:35
bool sourceHasFrameAnimation
Definition Lr2SkinElementDescriptorValue.h:21
bool usesLiveSourceClock
Definition Lr2SkinElementDescriptorValue.h:28
bool usesDynamicSrcTimer
Definition Lr2SkinElementDescriptorValue.h:31
int spriteSkinClockMode
Definition Lr2SkinElementDescriptorValue.h:33
bool usesSelectHeldButtonTimer
Definition Lr2SkinElementDescriptorValue.h:26
bool numberUsesFocusedSelectState
Definition Lr2SkinElementDescriptorValue.h:52
bool sourceTreeHasFrameAnimation
Definition Lr2SkinElementDescriptorValue.h:22
bool useDirectElementSkinClock
Definition Lr2SkinElementDescriptorValue.h:18
int elementSkinClockMode
Definition Lr2SkinElementDescriptorValue.h:20
int buttonId
Definition Lr2SkinElementDescriptorValue.h:51
int dstTimer
Definition Lr2SkinElementDescriptorValue.h:43
bool genericSlider
Definition Lr2SkinElementDescriptorValue.h:47
bool usesActiveOptions
Definition Lr2SkinElementDescriptorValue.h:14
int directChartAssetSourceType
Definition Lr2SkinElementDescriptorValue.h:24
bool sourceMouseCursor
Definition Lr2SkinElementDescriptorValue.h:39
bool usesButtonFrameOverride
Definition Lr2SkinElementDescriptorValue.h:38