Skip to content

Native Library Structure

RoqueDeicide edited this page Dec 14, 2014 · 2 revisions

API Header Files

There 2 main header files that are used when interacting with CryCIL:

  1. IMonoInterface.h - Defines all interfaces that use virtual dispatch to allow communication with CryCIL from any DLL within CryEngine process.
  2. CryCilHeader.h - Defines a convenient global function InitializeCryCil that does all actions needed to make CryCIL work with CryEngine.

Implementation Files

Implementation files are divided into several major groups:

  1. Mono API - implements most of the interfaces that basically wrap Mono functionality to make available to everyone.
  2. Run-Time API - implements IMonoInterface type that provides top-level access to CryCIL native interface, along with a number of satellite types.

Extra Files

An assortment of files that provide utilitarian functionality. Most of them are small and self-explanatory, there are however 3 files that are a bit more special:

  1. List.h - contains a definition for a simple and reliable std::vector equivalent.
  2. SortedList.h - contains a definition for a simple and reliable std::map equivalent.
  3. Text.h - Contains some simple types for working with text information.