EvilEngine/PGRS: Difference between revisions
no edit summary
m (Seil moved page PGRS to EvilEngine/PGRS) |
No edit summary |
||
Line 10:
{{AutoAssetInfobox}}
Progress
==Format==
===xProgressScriptAsset===
xProgressScriptAsset is the data structure that defines the format for PGRS assets. It inherits from xBaseAsset (8 bytes long).
<source lang=cpp>
class xProgressScriptAsset : public xBaseAsset
{
public:
unsigned int eventCount;
};
</source>
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x08 ||
|}
===xProgressScriptEventAsset===
xProgressScriptEventAsset defines the format for events in PGRS assets.
<source lang=cpp>
class xProgressScriptEventAsset
{
public:
float percent;
signed int flags;
unsigned int widget;
unsigned int paramEvent;
float param[4];
unsigned int paramWidget;
};
</source>
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x00 ||
|-
| 0x04 ||
|-
| 0x08 || [[AssetID]] || '''widget''' || Asset to send this asset to.
|-
| 0x0C ||
|-
| 0x10 ||
|-
| 0x20 || [[AssetID]] || '''paramWidget''' || Asset ID parameter.
|