Archiviert
13
0

Added a convenience method for boolean structure modifiers.

Dieser Commit ist enthalten in:
Kristian S. Stangeland 2013-01-11 00:07:15 +01:00
Ursprung 29709c4159
Commit 17a5f59c0d

Datei anzeigen

@ -175,6 +175,14 @@ public class PacketContainer implements Serializable {
return structureModifier.withType(byte.class);
}
/**
* Retrieves a read/write structure for every boolean field.
* @return A modifier for every boolean field.
*/
public StructureModifier<Boolean> getBooleans() {
return structureModifier.withType(boolean.class);
}
/**
* Retrieves a read/write structure for every short field.
* @return A modifier for every short field.