api: add object composition map setters

This commit is contained in:
Adam
2022-05-05 19:19:55 -04:00
parent a551464180
commit d110a3c28e

View File

@@ -56,12 +56,26 @@ public interface ObjectComposition extends ParamHolder
*/ */
int getMapSceneId(); int getMapSceneId();
/**
* Set the map scene index into the {@link Client#getMapScene()}
* array, or -1 if it has no map scene icon
* @param mapSceneId
*/
void setMapSceneId(int mapSceneId);
/** /**
* Gets the index of this object in the {@link Client#getMapIcons()} * Gets the index of this object in the {@link Client#getMapIcons()}
* array, or -1 if it has no full map icon * array, or -1 if it has no full map icon
*/ */
int getMapIconId(); int getMapIconId();
/**
* Set the index of the object in the {@link Client#getMapIcons()}
* array, or -1 if it has no map icon
* @param mapIconId
*/
void setMapIconId(int mapIconId);
/** /**
* Get the {@link ObjectID}s of objects this can transform into, depending * Get the {@link ObjectID}s of objects this can transform into, depending
* on a {@link Varbits} or {@link VarPlayer} * on a {@link Varbits} or {@link VarPlayer}