Phrozen Library Wiki
Advertisement

A struct is a structured piece of data.

Our struct naming conventions are as follows:

  • CamelCase for the wiki page title
  • lowercase for the struct name

Note that due to this mismatch it is advised to create redirects from the lowercase pages to the capitalized pages.

There are a few common alternatives, most notably, 'D2<CamelCase>Strc'.

Finally we give the struct in C notation in preformatted style, including fields, field names, and (in C comments) displacement of the indiviual fields. If possible, link the field types to their wiki entry.

For good examples on how struct pages should look like, consider unit and playerdata.

All items (24)

Advertisement