EvilEngine/ONEL
(Redirected from ONEL)
ONEL | |
---|---|
One-Liner | |
Type | Binary |
Games used | The Incredibles |
Format
xOneLinerAsset
class xOneLinerAsset
{
public:
unsigned int oneLinerPlayerCount;
xOneLiner player;
};
Offset | Type | Variable | Description |
---|---|---|---|
0x00 | u32 | oneLinerPlayerCount | Amount of entries. |
xOneLiner
class xOneLiner
{
public:
unsigned int m_soundGroupNameHash;
float m_fSoundStartDelay;
float m_fTimeSpan;
float m_fTimeLastPlayed;
unsigned int m_uNumPlays;
float m_fDelayBetweenPlays;
float m_fProbability;
float m_fDefaultDuration;
float m_fLastDuration;
unsigned int m_uMaxPlays;
iSndGroupHandle m_soundGroupHandle;
xOneLinerManager* m_pOLManager;
signed short m_eventType;
signed short m_bPlaysInMusicChannel;
BasicInform* m_pData;
ePlayerType m_playerType;
testerPlayer m_testerData;
};
enum ePlayerType
{
eALWAYS,
eCOUNTER,
eCHECKER,
eTESTER,
ePLAYER_TYPE_SIZE
};
class testerPlayer
{
public:
signed int firstParam;
float secondParam;
};
Offset | Type | Variable | Description |
---|---|---|---|
0x00 | AssetID | m_soundGroupNameHash | SGRP |
0x04 | f32 | m_fSoundStartDelay | |
0x08 | f32 | m_fTimeSpan | |
0x0C | f32 | m_fTimeLastPlayed | |
0x10 | u32 | m_uNumPlays | Number of plays. |
0x14 | f32 | m_fDelayBetweenPlays | |
0x18 | f32 | m_fProbability | |
0x1C | f32 | m_fDefaultDuration | |
0x20 | f32 | m_fLastDuration | |
0x24 | u32 | m_uMaxPlays | Max amount of plays. |
0x28 | iSndGroupHandle | m_soundGroupHandle | |
0x2C | xOneLinerManager | m_pOLManager | |
0x30 | s16 | m_eventType | |
0x32 | s16 | m_bPlaysInMusicChannel | |
0x34 | BasicInform | m_pData | |
0x38 | ePlayerType | m_playerType | |
0x3C | s32 | firstParam | |
0x40 | f32 | secondParam |