-
Notifications
You must be signed in to change notification settings - Fork 0
ItemSchema functions
Papawy edited this page Feb 24, 2015
·
4 revisions
-
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