XJ music engine  1.9.6
In-game runtime engine for XJ music.
SegmentChoiceArrangementPick.h
Go to the documentation of this file.
1 // Copyright (c) XJ Music Inc. (https://xjmusic.com) All Rights Reserved.
2 
3 #ifndef SEGMENT_CHOICE_ARRANGEMENT_PICK_H
4 #define SEGMENT_CHOICE_ARRANGEMENT_PICK_H
5 
6 #include <string>
7 #include <utility>
8 
10 #include "SegmentEntity.h"
11 
12 namespace XJ {
13 
15  public:
17 
23  long lengthMicros{};
24  float amplitude{};
25  std::string tones;
26  std::string event;
27 
33  [[nodiscard]] bool equals(const SegmentChoiceArrangementPick &segmentChoiceArrangementPick) const;
34 
39  [[nodiscard]] unsigned long long hashCode() const;
40 
41  };
42 
43 }// namespace XJ
44 
45 #endif//SEGMENT_CHOICE_ARRANGEMENT_PICK_H
Definition: SegmentChoiceArrangementPick.h:14
UUID segmentChoiceArrangementId
Definition: SegmentChoiceArrangementPick.h:18
float amplitude
Definition: SegmentChoiceArrangementPick.h:24
bool equals(const SegmentChoiceArrangementPick &segmentChoiceArrangementPick) const
Definition: SegmentChoiceArrangementPick.cpp:8
unsigned long long hashCode() const
Definition: SegmentChoiceArrangementPick.cpp:23
std::string event
Definition: SegmentChoiceArrangementPick.h:26
std::string tones
Definition: SegmentChoiceArrangementPick.h:25
long lengthMicros
Definition: SegmentChoiceArrangementPick.h:23
UUID programSequencePatternEventId
Definition: SegmentChoiceArrangementPick.h:21
long startAtSegmentMicros
Definition: SegmentChoiceArrangementPick.h:22
UUID segmentChordVoicingId
Definition: SegmentChoiceArrangementPick.h:19
UUID instrumentAudioId
Definition: SegmentChoiceArrangementPick.h:20
Definition: SegmentEntity.h:15
Definition: ActiveAudio.h:11
std::string UUID
Definition: EntityUtils.h:28