DI-Guy SDK Documentation  13.8
diguyMaterialType.h File Reference
#include <declspec_diguy.h>

Go to the source code of this file.

Macros

#define CPLUSPLUS_ONLY
 

Enumerations

enum  diguyMaterialType {
  DIGUY_MATERIAL_TYPE_UNKNOWN = -1, DIGUY_MATERIAL_TYPE_GENERIC = 0, DIGUY_MATERIAL_TYPE_FIRE, DIGUY_MATERIAL_TYPE_SMOKE,
  DIGUY_MATERIAL_TYPE_METAL, DIGUY_MATERIAL_TYPE_SKIN, DIGUY_MATERIAL_TYPE_DUST, DIGUY_MATERIAL_TYPE_FLARE,
  DIGUY_MATERIAL_TYPE_PLUME, DIGUY_MATERIAL_TYPE_COUNT
}
 

Functions

const char * diguy_material_type_to_string (diguyMaterialType material)
 This function converts the passed material enumeration into a NULL-terminated C-style string. More...
 
diguyMaterialType diguy_material_type_from_string (const char *string)
 This function converts the passed C-style string into an enumerated value. More...
 

Macro Definition Documentation

#define CPLUSPLUS_ONLY

Enumeration Type Documentation

Enumerator
DIGUY_MATERIAL_TYPE_UNKNOWN 
DIGUY_MATERIAL_TYPE_GENERIC 
DIGUY_MATERIAL_TYPE_FIRE 
DIGUY_MATERIAL_TYPE_SMOKE 
DIGUY_MATERIAL_TYPE_METAL 
DIGUY_MATERIAL_TYPE_SKIN 
DIGUY_MATERIAL_TYPE_DUST 
DIGUY_MATERIAL_TYPE_FLARE 
DIGUY_MATERIAL_TYPE_PLUME 
DIGUY_MATERIAL_TYPE_COUNT 

Function Documentation

const char* diguy_material_type_to_string ( diguyMaterialType  material)

This function converts the passed material enumeration into a NULL-terminated C-style string.

Returns:

C-style string identifying variant

Callable From:

  • C++
  • Script
diguyMaterialType diguy_material_type_from_string ( const char *  string)

This function converts the passed C-style string into an enumerated value.

Returns:

enumeration value of material

Callable From:

  • C++
  • Script