Collin Smith
03484882d3
Added more tests
2020-09-05 14:49:21 -07:00
Collin Smith
e81af4dece
Added assertion validations to GemGenerator
...
Added assertion validations to GemGenerator to make sure property list indexes are correct
Renamed StatListBuilder#index() to #listIndex() to clarify
2020-09-05 14:38:45 -07:00
Collin Smith
273b434c7c
Renamed GemUtils to GemGenerator
2020-09-05 14:33:17 -07:00
Collin Smith
f61af7414e
Added AttributesUpdater#add to append StatList lists to an aggregate
2020-09-05 14:30:10 -07:00
Collin Smith
554553888c
Created PropertiesGenerator, GemUtils and tests
...
GemUtils may be rolled into PropertiesGenerator
PropertiesGenerator may belong with item generation
More validation for behavior on a larger variety of items required
Disabled an assertion in StatListLabeler which prevented creating labels for Attributes#list()
Above assertion only necessary to enforce label creation only works for Attribute collections
2020-09-05 02:20:03 -07:00
Collin Smith
0548514a9e
Added improved support for injection during tests
2020-09-04 21:48:26 -07:00
Collin Smith
b7dcf0f4fe
Modified logging parameters to show only StatListLabeler trace
2020-09-04 20:44:31 -07:00
Collin Smith
030564a5a6
Created StatListLabeler and tests
...
Encoded stats may require StatGetter#asString instead of value
Changed visibility of StatList#MAX_LISTS and StatList#MAX_STATS to package-private
2020-09-04 20:42:23 -07:00
Collin Smith
7c54483e12
Created AttributesUpdater and tests to fold attributes into each other
2020-09-04 20:40:43 -07:00
Collin Smith
04b9ed785c
Created StatFormatter and tests, testing as-needed
2020-09-03 20:43:28 -07:00
Collin Smith
bd278e3c82
Changed Attriutes#base() to return StatListGetter instead of StatList
...
Changed Attriutes#base() to return StatListGetter instead of StatList
Unsure if this will change, but all calls require #first()
Attribute returns are all asserted to be StatLists of numLists = 1
StatList is by default delegated, or in the case of AggregatedAttributes, lazily initialized
Added support for retrieving StatListGetter parent StatList
Added support for creating a StatListBuilder from StatListGetter
Added support for clearing a StatList list from StatListGetter
2020-09-03 17:52:36 -07:00
Collin Smith
f929a99ab4
Renamed StatListBuilder#build() to #index()
2020-09-03 02:16:06 -07:00
Collin Smith
5313629f27
Committing item writer test cases
2020-09-02 20:34:15 -07:00
Collin Smith
2193040a6d
Added println to help differentiate between hex dumps
2020-09-02 20:33:43 -07:00
Collin Smith
f0ea202ff3
Implemented character save writing and tests
2020-09-02 20:31:21 -07:00
Collin Smith
3e5a49943c
Additional tests to validate StatListWriter
...
Validation that a reasonable number of item stat lists write correctly
2020-09-02 20:13:51 -07:00
Collin Smith
d3cbca6b6f
Added boolean parameter to read/write StatList functions
...
entry.Saved was not appropriate for determining this feature
Implemented prop list flags into StatListWriterTest tests
Added additional logging to help with organizing encoded stats
2020-09-02 19:47:05 -07:00
Collin Smith
ca829a4025
Created StatListWriter and tests
...
Additional testing required, but workable code
2020-09-02 18:20:30 -07:00
Collin Smith
e6f4a8b222
Changed to skip bits only (bytes included)
2020-09-02 18:19:22 -07:00
Collin Smith
4397ee742a
Removed extra test case
2020-09-02 17:09:28 -07:00
Collin Smith
0daa272752
Fixed formatting
2020-09-02 17:08:35 -07:00
Collin Smith
a5b90dc868
Added test case for decoding grief stat list
2020-09-02 16:20:34 -07:00
Collin Smith
a9cdd18309
Created StatListReader
2020-09-02 02:16:40 -07:00
Collin Smith
fc01a7dea9
First iteration of attributes revision
2020-09-01 23:47:16 -07:00
Collin Smith
575ba39b2d
Updated API calls to not cast raw int types
2020-08-17 19:26:25 -07:00
Collin Smith
90564f39a3
Committing JUnit tests for BitOutput and interoperability
2020-08-10 18:43:01 -07:00
Collin Smith
7ed92b1f49
Replaced com.riiablo.io classes with com.riiablo.io.nio classes
2020-08-08 14:49:23 -07:00
Collin Smith
dd1444ad9a
Created com.riiablo.io with BitInput
...
Version 1 without full functionality
2020-08-07 12:17:54 -07:00
Collin Smith
cfb2850d92
Created more robust BitStream implementation
...
Pending validation, will deprecate and replace com.riiablo.codec.util.BitStream
2020-08-05 19:57:54 -07:00