![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Typedefs | |
| typedef func | FindFilesCallback |
| typedef func | ScreenshotRawDataCallback |
| typedef func | ScreenshotTextureCallback |
| typedef func | GetTextureRawDataCallback |
Enumerations | |
| enum | EPlatform { WINDOWS = 1 << EPlatform.WINDOWS , LINUX = 1 << EPlatform.LINUX , XBOX_ONE = 1 << EPlatform.XBOX_ONE , XBOX_ONE_S = 1 << EPlatform.XBOX_ONE_S , XBOX_ONE_X = 1 << EPlatform.XBOX_ONE_X , XBOX_SERIES_S = 1 << EPlatform.XBOX_SERIES_S , XBOX_SERIES_X = 1 << EPlatform.XBOX_SERIES_X , PS4 = 1 << EPlatform.PS4 , PS5 = 1 << EPlatform.PS5 , PS5_PRO = 1 << EPlatform.PS5_PRO , UNKNOWN = 1 << EPlatform.UNKNOWN , WINDOWS = 1 << EPlatform.WINDOWS , LINUX = 1 << EPlatform.LINUX , XBOX_ONE = 1 << EPlatform.XBOX_ONE , XBOX_ONE_S = 1 << EPlatform.XBOX_ONE_S , XBOX_ONE_X = 1 << EPlatform.XBOX_ONE_X , XBOX_SERIES_S = 1 << EPlatform.XBOX_SERIES_S , XBOX_SERIES_X = 1 << EPlatform.XBOX_SERIES_X , PS4 = 1 << EPlatform.PS4 , PS5 = 1 << EPlatform.PS5 , PS5_PRO = 1 << EPlatform.PS5_PRO , UNKNOWN = 1 << EPlatform.UNKNOWN } |
| enum | EPlatform { WINDOWS = 1 << EPlatform.WINDOWS , LINUX = 1 << EPlatform.LINUX , XBOX_ONE = 1 << EPlatform.XBOX_ONE , XBOX_ONE_S = 1 << EPlatform.XBOX_ONE_S , XBOX_ONE_X = 1 << EPlatform.XBOX_ONE_X , XBOX_SERIES_S = 1 << EPlatform.XBOX_SERIES_S , XBOX_SERIES_X = 1 << EPlatform.XBOX_SERIES_X , PS4 = 1 << EPlatform.PS4 , PS5 = 1 << EPlatform.PS5 , PS5_PRO = 1 << EPlatform.PS5_PRO , UNKNOWN = 1 << EPlatform.UNKNOWN , WINDOWS = 1 << EPlatform.WINDOWS , LINUX = 1 << EPlatform.LINUX , XBOX_ONE = 1 << EPlatform.XBOX_ONE , XBOX_ONE_S = 1 << EPlatform.XBOX_ONE_S , XBOX_ONE_X = 1 << EPlatform.XBOX_ONE_X , XBOX_SERIES_S = 1 << EPlatform.XBOX_SERIES_S , XBOX_SERIES_X = 1 << EPlatform.XBOX_SERIES_X , PS4 = 1 << EPlatform.PS4 , PS5 = 1 << EPlatform.PS5 , PS5_PRO = 1 << EPlatform.PS5_PRO , UNKNOWN = 1 << EPlatform.UNKNOWN } |
| enum | FileAttribute { DIRECTORY , HIDDEN , READONLY , COMPRESSED , ARCHIVE , SYSTEM , NOINDEXED , ENCRYPTED , ISCREATOR , INVALID , DIRECTORY , HIDDEN , READONLY , COMPRESSED , ARCHIVE , SYSTEM , NOINDEXED , ENCRYPTED , ISCREATOR , INVALID } |
| File attributes. See FileDescription. More... | |
| enum | FileAttribute { DIRECTORY , HIDDEN , READONLY , COMPRESSED , ARCHIVE , SYSTEM , NOINDEXED , ENCRYPTED , ISCREATOR , INVALID , DIRECTORY , HIDDEN , READONLY , COMPRESSED , ARCHIVE , SYSTEM , NOINDEXED , ENCRYPTED , ISCREATOR , INVALID } |
| enum | FileMode { READ , OPENW , WRITE , APPEND , MASK , FILEFLAGS_NO_PREREAD , READ , OPENW , WRITE , APPEND , MASK , FILEFLAGS_NO_PREREAD } |
| Mode for opening file. See FileSystem::Open. More... | |
| enum | FileMode { READ , OPENW , WRITE , APPEND , MASK , FILEFLAGS_NO_PREREAD , READ , OPENW , WRITE , APPEND , MASK , FILEFLAGS_NO_PREREAD } |
Functions | |
| void | SearchResourcesCallback (ResourceName resourceName, string exactPath="") |
| void | FindFilesCallback (string fileName, FileAttribute attributes=0, string filesystem=string.Empty) |
| void | ScreenshotRawDataCallback (PixelRawData data, int imageWidth, int imageHeight, int stride) |
| void | ScreenshotTextureCallback (ScreenshotTextureData data) |
| void | GetTextureRawDataCallback (PixelRawData data, int imageWidth, int imageHeight, int stride) |
Variables | |
| SearchResourcesFilter | SearchResourcesCallback |
| Callback used for processing results from ResourceDatabase.SearchResources() method. | |
Enforce script system methods
| typedef func FindFilesCallback |
| typedef func GetTextureRawDataCallback |
| typedef func ScreenshotRawDataCallback |
screenshot callback API, returned data are in RGBA8 format -> each channel has 8 bits and four channels are used thus size in bytes for one pixel is 4 and the int type can be used for simpler work
example how to access pixel data on further c++ side:
for (int y = 0; y < height; y++)
{
int const* row = (int const*) (((char const*) data) + stride);
for (int x = 0; x < width; x++)
{
int pixel = row[x];
...
}
}
| pixels | pointer to raw pixels |
| width | width of image data |
| height | height of image data |
| stride | stride is offset to next row - it doesn't need to be same like image width due to GPU data alignment rules |
| typedef func ScreenshotTextureCallback |
| enum EPlatform |
Definition at line 12 of file EPlatform.c.
| enum EPlatform |
Definition at line 12 of file EPlatform.c.
| enum FileAttribute |
File attributes. See FileDescription.
Definition at line 13 of file FileAttribute.c.
| enum FileAttribute |
Definition at line 13 of file FileAttribute.c.
| enum FileMode |
Mode for opening file. See FileSystem::Open.
Definition at line 13 of file FileMode.c.
| enum FileMode |
Definition at line 13 of file FileMode.c.
| void FindFilesCallback | ( | string | fileName, |
| FileAttribute | attributes = 0, | ||
| string | filesystem = string.Empty ) |
| void GetTextureRawDataCallback | ( | PixelRawData | data, |
| int | imageWidth, | ||
| int | imageHeight, | ||
| int | stride ) |
| void ScreenshotRawDataCallback | ( | PixelRawData | data, |
| int | imageWidth, | ||
| int | imageHeight, | ||
| int | stride ) |
| void ScreenshotTextureCallback | ( | ScreenshotTextureData | data | ) |
| void SearchResourcesCallback | ( | ResourceName | resourceName, |
| string | exactPath = "" ) |
| SearchResourcesFilter SearchResourcesCallback |
Callback used for processing results from ResourceDatabase.SearchResources() method.