Skip to content

Commit

Permalink
Merge pull request #32 from ben1222/new-gem
Browse files Browse the repository at this point in the history
New gem support in llnewautounit
  • Loading branch information
ben1222 authored Aug 4, 2018
2 parents 0ce8e5e + eb0ae11 commit 8d973f8
Show file tree
Hide file tree
Showing 3 changed files with 241 additions and 887 deletions.
11 changes: 6 additions & 5 deletions static/lldata.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@
* LLComponentCollection
* +- LLSkillContainer
* +- LLCardSelector
* LLGemStockComponent
*
* v0.6.0
* v0.7.0
* By ben1222
*/

Expand Down Expand Up @@ -2264,12 +2265,12 @@ var LLSaveData = (function () {
proto.serializeV11 = function() {
return JSON.stringify(this.getLegacyGemStock());
};
proto.serializeV102 = function() {
proto.serializeV102 = function(excludeTeam, excludeGemStock, excludeSubMember) {
return JSON.stringify({
'version': this.rawVersion,
'team': this.teamMember,
'gemstock': this.gemStock,
'submember': this.subMember
'team': (excludeTeam ? [] : this.teamMember),
'gemstock': (excludeGemStock ? {} : this.gemStock),
'submember': (excludeSubMember ? [] : this.subMember)
});
};
proto.mergeV10 = function (v10data) {
Expand Down
Loading

0 comments on commit 8d973f8

Please sign in to comment.