EvilEngine/ONEL: Difference between revisions
no edit summary
EnergyDrink (talk | contribs) No edit summary |
No edit summary |
||
(One intermediate revision by one other user 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''' ||
|-
| 0x04 ||
|-
| 0x08 ||
|-
| 0x0C ||
|-
| 0x10 ||
|-
| 0x14 ||
|-
| 0x18 ||
|-
| 0x1C ||
|-
| 0x20 ||
|-
| 0x24 ||
|-
| 0x28 || iSndGroupHandle || '''m_soundGroupHandle''' ||
Line 47 ⟶ 97:
| 0x2C || xOneLinerManager || '''m_pOLManager''' ||
|-
| 0x30 ||
|-
| 0x32 ||
|-
| 0x34 || BasicInform || '''m_pData''' ||
Line 55 ⟶ 105:
| 0x38 || ePlayerType || '''m_playerType''' ||
|-
| 0x3C ||
|-
| 0x40 ||
|}
|