Class: object

Description:

Abilities: name
Parent classes:

This is the basic class. Every class inherits this class, directly or indirectly. You will probably never need to inehrit it explicitly, unless you are making a new class that does not inherit any other class.

Usage:

If your object inherits from any other class, you need not inherit this. If your object does not inherit antyhing else, you should talk to someone more experienced than you.

#include <class.h>

inherit OBJECT;

void create() {
  object::create();

  // initializations from ability name:
  set_name("name"); // required
  set_alias(({"alias1", ..., "aliasN"}));  // optional
}

Functions:

All functions defined in ability name.

Source code:

/class/object.c

See also:

Ability: name