Skip to content

Commit e8e059b

Browse files
committed
Add Missing datastorage operations.
1 parent c82fd97 commit e8e059b

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

src/main/java/gg/archipelago/client/network/client/SetPacket.java

+19-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,25 @@ public enum Operation {
173173
* Applies a bitwise right-shift to the current value of the key on the server by @value.
174174
*/
175175
@SerializedName("right_shift")
176-
RIGHT_SHIFT
176+
RIGHT_SHIFT,
177+
178+
/**
179+
* List only: removes the first instance of @value found in the list.
180+
*/
181+
@SerializedName("remove")
182+
REMOVE,
183+
184+
/**
185+
* List or Dict: for lists it will remove the index of the @value given. for dicts it removes the element with the specified key of value.
186+
*/
187+
@SerializedName("pop")
188+
POP,
189+
190+
/**
191+
* Dict only: Updates the dictionary with the specified elements given in @value creating new keys, or updating old ones if they previously existed.
192+
*/
193+
@SerializedName("update")
194+
UPDATE
177195

178196
}
179197
}

0 commit comments

Comments
 (0)