Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
civilization-iii
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
5
Issues
5
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
true-history-committee
civilization-iii
Commits
3f4fa0b7
Commit
3f4fa0b7
authored
Mar 03, 2018
by
redsuncore
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ManagementUI Really Completed
생산 선택 큐 분리됨. 드디어 정상작동하는 선택 큐
parent
b7c2aca5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
2 deletions
+49
-2
ManagementUIController.cs
Assets/Scripts/ManagementUIController.cs
+49
-2
No files found.
Assets/Scripts/ManagementUIController.cs
View file @
3f4fa0b7
...
...
@@ -121,8 +121,55 @@ public class ManagementUIController : MonoBehaviour {
DeleteAllSQ
();
foreach
(
IProductionFactory
fac
in
facList
)
{
//여기서 분리
PartSelectionQ
(
EpicQlist
,
EpicQueue
,
fac
);
//여기서 분리
if
(
typeof
(
Unit
).
IsAssignableFrom
(
fac
.
ResultType
))
{
var
f
=
(
IActorProductionFactory
)
fac
;
switch
(
f
.
ActorConstants
.
BattleClassLevel
)
{
case
4
:
PartSelectionQ
(
EpicQlist
,
EpicQueue
,
fac
);
break
;
case
3
:
PartSelectionQ
(
HighQlist
,
HighQueue
,
fac
);
break
;
case
2
:
PartSelectionQ
(
IntermediateQlist
,
IntermediateQueue
,
fac
);
break
;
case
1
:
PartSelectionQ
(
LowQlist
,
LowQueue
,
fac
);
break
;
case
0
:
PartSelectionQ
(
LowQlist
,
LowQueue
,
fac
);
break
;
default
:
PartSelectionQ
(
LowQlist
,
LowQueue
,
fac
);
break
;
}
}
else
if
(
typeof
(
TileObject
).
IsAssignableFrom
(
fac
.
ResultType
))
{
if
(
typeof
(
CityBase
).
IsAssignableFrom
(
fac
.
ResultType
))
{
PartSelectionQ
(
CityQlist
,
CityQueue
,
fac
);
}
else
if
(
typeof
(
TileBuilding
).
IsAssignableFrom
(
fac
.
ResultType
))
{
PartSelectionQ
(
NormalBuildingQlist
,
NormalBuildingQueue
,
fac
);
}
else
{
throw
new
System
.
Exception
(
"Undefined Factory"
);
}
}
else
if
(
typeof
(
InteriorBuilding
).
IsAssignableFrom
(
fac
.
ResultType
))
{
PartSelectionQ
(
CityBuildingQlist
,
CityBuildingQueue
,
fac
);
}
else
{
throw
new
System
.
Exception
(
"Undefined Factory"
);
}
}
//내용물 없을 때 빈칸 채우기
foreach
(
var
qlist
in
ASQlist
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment