Skip to content

ItemSchema functions

Papawy edited this page Feb 24, 2015 · 4 revisions

ItemSchema functions


  • CreateItemSchema

    CreateItemSchema(schemaName[], typeID, modelID)

Create an item schema.

return : ID of the new created item schema.

  • SetItemSchemaName

    SetItemSchemaName(itemSchemaID, schemaName[])

Set a new name for an item schema.

return : 0 if itemSchema is not found, or 1 otherwise

  • SetItemSchemaType

    SetItemSchemaType(itemSchemaID, typeID)

Set a new type for an item schema.

return : 0 if itemSchema is not found, or 1 otherwise

  • SetItemSchemaModel

    SetItemSchemaModel(itemSchemaID, modelID)

Set a new 3d model for an item schema.

return : 0 if itemSchema is not found, or 1 otherwise

Clone this wiki locally