wavelength
1.0.0
Loading...
Searching...
No Matches
avatarbodyanimateaction.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
game/triggeraction.h
"
4
#include "
script/dataarray.h
"
5
12
class
AvatarBodyAnimateAction
:
public
TriggerAction
{
13
public
:
20
~AvatarBodyAnimateAction
()
override
=
default
;
21
29
explicit
AvatarBodyAnimateAction
(
DataArray
*pAction);
30
37
void
Exec
()
override
;
38
39
private
:
40
const
char
*mAnim;
41
int
mFlags;
42
};
AvatarBodyAnimateAction::Exec
void Exec() override
Give the animation to the avatar of TriggerMgr::mPlayer.
AvatarBodyAnimateAction::~AvatarBodyAnimateAction
~AvatarBodyAnimateAction() override=default
Destroy the object.
AvatarBodyAnimateAction::AvatarBodyAnimateAction
AvatarBodyAnimateAction(DataArray *pAction)
Read the action.
DataArray
Reference-counted array of script data nodes.
Definition
dataarray.h:20
TriggerAction
Something a trigger does when its conditions hold.
Definition
triggeraction.h:15
dataarray.h
triggeraction.h
src
game
avatarbodyanimateaction.h
Generated by
1.15.0