OutfitCreate
Creates a new empty garment.
Python C++ C#
Python
BwApi.OutfitCreate(outfitProperties)
C++
BwApiOutfitCreate(outfitProperties);
C#
BwApi.OutfitCreate(outfitProperties);
Parameters
Param | Variable | Description |
In | outfitProperties | The properties json for creating new outfit (see Schema/create_outfit.json schema) |
Out | garmentIDOut | The created garment ID |
Error/success code (see BwApiErrorCodes enum).
OutfitReadGarmentProperties
Partially reads the garment file at path and returns the garment info for oufit state usage.
Python C++ C#
Python
BwApi.OutfitReadGarmentProperties(path)
C++
BwApiOutfitReadGarmentProperties(path);
C#
BwApi.OutfitReadGarmentProperties(path);
Parameters
Param | Variable | Description |
In | path | Full path to the garment file |
Out | garmentPropertiesOut | The garment json for outfit state object usage |
Error/success code (see BwApiErrorCodes enum).