This commit is contained in:
@@ -6,16 +6,16 @@
|
||||
|
||||
namespace PkmnLib::Battling {
|
||||
class WeatherChangeEvent : public CreatureLib::Battling::EventData {
|
||||
Arbutils::CaseInsensitiveConstString _weatherName;
|
||||
ArbUt::CaseInsensitiveConstString _weatherName;
|
||||
|
||||
public:
|
||||
explicit WeatherChangeEvent(const Arbutils::CaseInsensitiveConstString& name) : _weatherName(name) {}
|
||||
explicit WeatherChangeEvent(const ArbUt::CaseInsensitiveConstString& name) : _weatherName(name) {}
|
||||
|
||||
[[nodiscard]] CreatureLib::Battling::EventDataKind GetKind() const noexcept override {
|
||||
return static_cast<CreatureLib::Battling::EventDataKind>(PkmnEventDataKind::WeatherChange);
|
||||
}
|
||||
|
||||
const Arbutils::CaseInsensitiveConstString GetWeatherName() const noexcept { return _weatherName; }
|
||||
const ArbUt::CaseInsensitiveConstString GetWeatherName() const noexcept { return _weatherName; }
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user