mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 22:57:45 +00:00
fix incorrect type used for action object
This commit is contained in:
parent
cc70d83d06
commit
84073363a8
2 changed files with 5 additions and 5 deletions
|
@ -37,12 +37,12 @@ uint32_t Sapphire::Action::Action::getId() const
|
|||
return m_id;
|
||||
}
|
||||
|
||||
Sapphire::Common::ActionType Sapphire::Action::Action::getType() const
|
||||
Sapphire::Common::HandleActionType Sapphire::Action::Action::getType() const
|
||||
{
|
||||
return m_type;
|
||||
}
|
||||
|
||||
void Sapphire::Action::Action::setType( Sapphire::Common::ActionType type )
|
||||
void Sapphire::Action::Action::setType( Sapphire::Common::HandleActionType type )
|
||||
{
|
||||
m_type = type;
|
||||
}
|
||||
|
|
|
@ -24,8 +24,8 @@ namespace Sapphire::Action
|
|||
|
||||
uint32_t getId() const;
|
||||
|
||||
Common::ActionType getType() const;
|
||||
void setType( Common::ActionType type );
|
||||
Common::HandleActionType getType() const;
|
||||
void setType( Common::HandleActionType type );
|
||||
|
||||
void setTargetChara( Entity::CharaPtr chara );
|
||||
Entity::CharaPtr getTargetChara() const;
|
||||
|
@ -55,7 +55,7 @@ namespace Sapphire::Action
|
|||
protected:
|
||||
uint32_t m_id;
|
||||
|
||||
Common::ActionType m_type;
|
||||
Common::HandleActionType m_type;
|
||||
|
||||
uint64_t m_startTime;
|
||||
uint32_t m_castTime;
|
||||
|
|
Loading…
Add table
Reference in a new issue