BSKAddAttributeDef

Module: BSKAttributeDef
BSKAttributeDef* BSKAddAttributeDef( BSKAttributeDef* list,
                                     BSKUI32 id,
                                     BSKUI8 type );
Inputs: Returns: The new (or existing) BSKAttributeDef object, or 0.

Description: Creates a new BSKAttributeDef object with the given id and type, and adds it to the front of the given list. The new object is returned. If an attribute definition already exists in the list with the given id and type, that object is returned and no new object is added. If the attribute already exists with the same id but a different type, this function returns 0.

Return to the API
Return to the function listing


Last updated on 9 Feb 2001 by Jamis Buck (minam@rpgplanet.com)