summaryrefslogtreecommitdiff
path: root/include/toBeSorted/actor_event.h
blob: f12f26782d4a87bf50e036baf13be3e6dffd39cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef ACTOR_EVENT_H
#define ACTOR_EVENT_H

#include "common.h"
#include "d/a/d_a_base.h"
#include "m/m_vec.h"
#include "toBeSorted/event.h"

class ActorEventRelated {
public:
    ActorEventRelated(dAcBase_c &owner, void *);
    ActorEventRelated(UNKWORD, void *);
    ~ActorEventRelated();

    bool isThisActorInEvent();
    void scheduleEvent(Event &, u32);
    u32 getCurrentEventCommand() const;
    void advanceNext();
    bool isAdvance();
    int getSomeEventRelatedNumber();

    int getSingleShortData(int *result, u32 code, u32);
    int getSingleIntData(int *result, u32 code, u32);
    int getSingleFloatData(f32 *result, u32 code, u32);
    int getSingleVecData(mVec3_c *result, u32 code, u32);

private:
    u8 field_0x00[0x50 - 0x00];
};

#endif