Crossfire Server, Trunk
arch_types_valid.c File Reference
#include <global.h>
#include <libproto.h>
+ Include dependency graph for arch_types_valid.c:

Go to the source code of this file.

Functions

int is_type_valid (uint8_t type)
 

Function Documentation

◆ is_type_valid()

int is_type_valid ( uint8_t  type)

Checks if the specified type is a valid one for a Crossfire object.

Parameters
typevalue to check.
Returns
1 if the type is valid, 0 else.

Definition at line 17 of file arch_types_valid.c.

Referenced by check_loaded_object().

+ Here is the caller graph for this function: