Plugin Classes
:::caution modification DO NOT modify any of the default content (*.uasset) that comes with the plugin. You must make a new copy in your Project’s Content folder and then modify the copy instead of the original uasset files. :::
Operating System Simulator contains various classes that make up your virtual Operating System. Following is a breakdown of some of the core classes.
| **Name ** | Class | Description |
|---|---|---|
| Device Actor | AOperatingSystemDeviceActor | Main actor class where everything begins. You assign your custom device here which will then construct the device upon gameplay. |
| Portable Device Actor | AOperatingSystemPortableDeviceActor | Inherited from Device Actor and represents a portable device with battery management. |
| Device | UOperatingSystemBaseDevice | Simulates a full device which contains your virtual Operating System. Think of device as PC, Mobile, Laptop etc. To boot a device, you need proper hardware. |
| Operating System | UOperatingSystem | This class simulates the Operating System including installed programs, taskbar etc. |
| Motherboard | UOperatingSystemMBB | Main board which references other hardware. |
| CPU | UOperatingSystemCPU | Simulates the CPU for your device. You can define your own socket types (which can be read from Blueprints), Speed etc. |
| RAM | UOperatingSystemRAM | Memory hardware. You can configure the size of the memory. |
| HDD | UOperatingSystemHDD | This is the hard disk class. It can have multiple partitions (Non-Unix OS only) and you can specify the size in GB. |
| GPU | UOperatingSystemGPU | GPU hardware. There is no real implementation. |
| PSU | UOperatingSystemPSU | Power supply. There are no properties to set at the moment. |
| Directory | UOperatingSystemDirectory | Base class for all directories that can contain files and other sub directories. There are special system directories like Desktop, Music, Pictures and more. |
| File | UOperatingSystemFile | Base class for all files. Files are owned by directory. |