Files
Toy/game-engine/box-version-info-library.md
2025-01-11 14:22:55 +01:00

36 lines
817 B
Markdown

# Box Version Info Library
The box_version_info library simply provides version info about the current build of Box.
The box_version_info library can usually be accessed with the `import` keyword:
```
import box_version_info;
import box_version_info as box_version_info; //can be aliased
```
## Defined Variables
### major
This variable is the major version number of `Box` at the time of compilation.
### minor
This variable is the minor version number of `Box` at the time of compilation.
### patch
This variable is the patch version number of `Box` at the time of compilation.
### build
This variable is a string representing the date and time that the engine was compiled.
### author
This variable contains the name of `Box`'s lead author, and his game studio.