Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
UFrameIT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FrameIT
UFrameIT
Commits
d67c5ca5
Commit
d67c5ca5
authored
4 years ago
by
John Schihada
Browse files
Options
Downloads
Patches
Plain Diff
Fixed bug
parent
320d5295
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Assets/Scripts/InventoryStuff/Scroll.cs
+7
-0
7 additions, 0 deletions
Assets/Scripts/InventoryStuff/Scroll.cs
Assets/Scripts/InventoryStuff/ScrollDetails.cs
+8
-3
8 additions, 3 deletions
Assets/Scripts/InventoryStuff/ScrollDetails.cs
with
15 additions
and
3 deletions
Assets/Scripts/InventoryStuff/Scroll.cs
+
7
−
0
View file @
d67c5ca5
...
...
@@ -104,6 +104,13 @@ public class ScrollAssignment
public
OMS
assignment
;
}
public
class
ScrollApplicationInfo
{
public
Boolean
valid
;
public
ScrollApplicationCheckingError
[]
errors
;
public
List
<
Scroll
.
ScrollFact
>
acquiredFacts
;
}
public
class
ScrollDynamicInfo
{
public
Scroll
original
;
...
...
This diff is collapsed.
Click to expand it.
Assets/Scripts/InventoryStuff/ScrollDetails.cs
+
8
−
3
View file @
d67c5ca5
...
...
@@ -72,8 +72,9 @@ public void magicButton()
PushoutFactFailEvent
.
Invoke
(
null
);
return
;
}
List
<
Scroll
.
ScrollFact
>
pushoutFacts
=
JsonConvert
.
DeserializeObject
<
List
<
Scroll
.
ScrollFact
>>(
answer
);
readPushout
(
pushoutFacts
);
Scroll
.
ScrollApplicationInfo
pushout
=
JsonConvert
.
DeserializeObject
<
Scroll
.
ScrollApplicationInfo
>(
answer
);
readPushout
(
pushout
.
acquiredFacts
);
}
public
void
newAssignment
()
...
...
@@ -148,7 +149,11 @@ private void readPushout(List<Scroll.ScrollFact> pushoutFacts)
}
public
void
processScrollDynamicInfo
(
Scroll
.
ScrollDynamicInfo
scrollDynamicInfo
)
{
LatestCompletions
=
scrollDynamicInfo
.
completions
[
0
];
if
(
scrollDynamicInfo
.
completions
.
Count
!=
0
)
LatestCompletions
=
scrollDynamicInfo
.
completions
[
0
];
else
LatestCompletions
=
new
List
<
Scroll
.
ScrollAssignment
>();
List
<
string
>
completionUris
=
new
List
<
string
>();
foreach
(
Scroll
.
ScrollAssignment
currentCompletion
in
LatestCompletions
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment