EvilEngine/ONEL: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 11:
==Format==
===xOneLinerAsset===
<source lang=cpp>
class xOneLinerAsset
{
public:
unsigned int oneLinerPlayerCount;
xOneLiner player;
};
</source>
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x00 ||
|}
===xOneLiner===
<source lang=cpp>
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;
};
</source>
<source lang=cpp>
enum ePlayerType
{
eALWAYS,
eCOUNTER,
eCHECKER,
eTESTER,
ePLAYER_TYPE_SIZE
};
</source>
<source lang=cpp>
class testerPlayer
{
public:
signed int firstParam;
float secondParam;
};
</source>
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x00 || [[AssetID]] || '''m_soundGroupNameHash''' || [[SGRP]]
|-
| 0x04 || f32 || '''m_fSoundStartDelay''' ||
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
| 0x34 ||
|-
| 0x38 ||
|-
| 0x3C ||
|-
| 0x40 ||
|}
|