Skip to content

Naming Conventions

Ruslan Mustakov edited this page May 16, 2016 · 1 revision

For type and boolean names nimue4 enforces conventions of UE4, specifically:

  • Classes that inherit from UObject are prefixed by U.
  • Classes that inherit from AActor are prefixed by A.
  • Classes that inherit from SWidget are prefixed by S.
  • Classes that are abstract interfaces are prefixed by I.
  • Enums are prefixed by E.
  • Boolean variables must be prefixed by b (e.g. "bPendingDestruction", or "bHasFadedIn").
  • Other classes are prefixed by F.

File names should be named after the (primary) class the file contains, but without the prefix letter. For example, if a file defines APerson class, it should be named Person.nim.

For all other names follow Nim Style Guide.

Clone this wiki locally