mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-13 02:28:44 +08:00
Add missing const-qualifiers (#1732)
This commit is contained in:
parent
9bfe314aeb
commit
e1692353f2
@ -48,27 +48,27 @@ public:
|
||||
/// The name of the event, which is unique within the skeleton.
|
||||
const String &getName() const;
|
||||
|
||||
int getIntValue();
|
||||
int getIntValue() const;
|
||||
|
||||
void setIntValue(int inValue);
|
||||
|
||||
float getFloatValue();
|
||||
float getFloatValue() const;
|
||||
|
||||
void setFloatValue(float inValue);
|
||||
|
||||
const String &getStringValue();
|
||||
const String &getStringValue() const;
|
||||
|
||||
void setStringValue(const String &inValue);
|
||||
|
||||
const String &getAudioPath();
|
||||
const String &getAudioPath() const;
|
||||
|
||||
void setAudioPath(const String &inValue);
|
||||
|
||||
float getVolume();
|
||||
float getVolume() const;
|
||||
|
||||
void setVolume(float inValue);
|
||||
|
||||
float getBalance();
|
||||
float getBalance() const;
|
||||
|
||||
void setBalance(float inValue);
|
||||
|
||||
|
||||
@ -51,7 +51,7 @@ const spine::String &spine::EventData::getName() const {
|
||||
return _name;
|
||||
}
|
||||
|
||||
int spine::EventData::getIntValue() {
|
||||
int spine::EventData::getIntValue() const {
|
||||
return _intValue;
|
||||
}
|
||||
|
||||
@ -59,7 +59,7 @@ void spine::EventData::setIntValue(int inValue) {
|
||||
_intValue = inValue;
|
||||
}
|
||||
|
||||
float spine::EventData::getFloatValue() {
|
||||
float spine::EventData::getFloatValue() const {
|
||||
return _floatValue;
|
||||
}
|
||||
|
||||
@ -67,7 +67,7 @@ void spine::EventData::setFloatValue(float inValue) {
|
||||
_floatValue = inValue;
|
||||
}
|
||||
|
||||
const spine::String &spine::EventData::getStringValue() {
|
||||
const spine::String &spine::EventData::getStringValue() const {
|
||||
return _stringValue;
|
||||
}
|
||||
|
||||
@ -75,7 +75,7 @@ void spine::EventData::setStringValue(const spine::String &inValue) {
|
||||
this->_stringValue = inValue;
|
||||
}
|
||||
|
||||
const spine::String &spine::EventData::getAudioPath() {
|
||||
const spine::String &spine::EventData::getAudioPath() const {
|
||||
return _audioPath;
|
||||
}
|
||||
|
||||
@ -84,7 +84,7 @@ void spine::EventData::setAudioPath(const spine::String &inValue) {
|
||||
}
|
||||
|
||||
|
||||
float spine::EventData::getVolume() {
|
||||
float spine::EventData::getVolume() const {
|
||||
return _volume;
|
||||
}
|
||||
|
||||
@ -92,7 +92,7 @@ void spine::EventData::setVolume(float inValue) {
|
||||
_volume = inValue;
|
||||
}
|
||||
|
||||
float spine::EventData::getBalance() {
|
||||
float spine::EventData::getBalance() const {
|
||||
return _balance;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user