Crossfire Server, Trunk  R21246
describe.c File Reference
#include "global.h"
#include <stdlib.h>
#include <string.h>
#include "ob_methods.h"
#include "ob_types.h"
+ Include dependency graph for describe.c:

Go to the source code of this file.


void common_ob_describe (const ob_methods *context, const object *op, const object *observer, char *buf, size_t size)

Detailed Description

This file contains description-related methods that are common to many classes of objects.

Definition in file describe.c.

Function Documentation

◆ common_ob_describe()

void common_ob_describe ( const ob_methods context,
const object op,
const object observer,
char *  buf,
size_t  size 

Describes an object, seen by a given observer.

contextThe method context
opThe object to describe
observerThe object to make the description to
bufBuffer that will contain the description
sizebuf's size.

Definition at line 36 of file describe.c.

References describe_item(), query_name(), and stringbuffer_finish().

Referenced by legacy_ob_describe().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: