Atrinik Server  4.0
Functions
sound_ambient.h File Reference

Go to the source code of this file.

Functions

const char * sound_ambient_match_str (object *op)
 
bool sound_ambient_match (object *op)
 
void sound_ambient_match_parse (object *op, const char *str)
 

Detailed Description

Ambient sound related header file.

Definition in file sound_ambient.h.

Function Documentation

bool sound_ambient_match ( object op)

Check if all the rules specified in the ambient sound object are met.

Parameters
opAmbient sound object.
Returns
True if all the rules are met, false otherwise.

Definition at line 398 of file sound_ambient.c.

void sound_ambient_match_parse ( object op,
const char *  str 
)

Parse string representation of ambient sound rules into the specified object.

Parameters
opAmbient sound object.
strThe string to parse.

Definition at line 414 of file sound_ambient.c.

const char* sound_ambient_match_str ( object op)

Acquire a string representation of the specified ambient sound object matching rules.

Parameters
opAmbient sound object.
Returns
String representation.

Definition at line 378 of file sound_ambient.c.