Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
MDPro2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaoye
MDPro2
Commits
96450ae0
Commit
96450ae0
authored
Jun 14, 2023
by
赤子奈落
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix ai select deck
parent
f20f545b
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2657 additions
and
7438 deletions
+2657
-7438
Assets/MD/main.unity
Assets/MD/main.unity
+2642
-7432
Assets/Plugins/Editor.meta
Assets/Plugins/Editor.meta
+8
-0
Assets/SibylSystem/Room/AIRoom.cs
Assets/SibylSystem/Room/AIRoom.cs
+5
-4
Assets/transUI/prefab/trans_AIroom.prefab
Assets/transUI/prefab/trans_AIroom.prefab
+2
-2
No files found.
Assets/MD/main.unity
View file @
96450ae0
This diff is collapsed.
Click to expand it.
Assets/Plugins/Editor.meta
0 → 100644
View file @
96450ae0
fileFormatVersion: 2
guid: 5a77bc2b88f800841a2e00c4c97f214b
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Assets/SibylSystem/Room/AIRoom.cs
View file @
96450ae0
...
@@ -71,8 +71,10 @@ public class AIRoom : WindowServantSP
...
@@ -71,8 +71,10 @@ public class AIRoom : WindowServantSP
ReadBots
(
"config/bot.conf"
);
ReadBots
(
"config/bot.conf"
);
aideck_
=
GameObject
.
Find
(
"aideck_"
);
aideck_
=
GameObject
.
Find
(
"aideck_"
);
aideck_
.
SetActive
(
false
);
aideck_
.
SetActive
(
false
);
//perfectdicky read deck ydk name
foreach
(
var
deck
in
UIHelper
.
GetDecks
())
//ReadDecks();
{
aideck_
.
GetComponent
<
UIPopupList
>().
AddItem
(
deck
);
}
SetActiveFalse
();
SetActiveFalse
();
}
}
void
onSelected
()
void
onSelected
()
...
@@ -177,8 +179,7 @@ public class AIRoom : WindowServantSP
...
@@ -177,8 +179,7 @@ public class AIRoom : WindowServantSP
serverProcess
.
StartInfo
.
RedirectStandardOutput
=
true
;
serverProcess
.
StartInfo
.
RedirectStandardOutput
=
true
;
serverProcess
.
Start
();
serverProcess
.
Start
();
string
port
=
serverProcess
.
StandardOutput
.
ReadLine
();
string
port
=
serverProcess
.
StandardOutput
.
ReadLine
();
//perfectdicky change DeckFile path
command
+=
" Port="
+
port
+
" DeckFile=\"deck/"
+
aideck_
.
GetComponent
<
UIPopupList
>().
value
+
".ydk\""
;
command
+=
" Port="
+
port
+
" DeckFile=\"deck/cyberdragon.ydk\""
;
botProcess
=
new
System
.
Diagnostics
.
Process
();
botProcess
=
new
System
.
Diagnostics
.
Process
();
botProcess
.
StartInfo
.
UseShellExecute
=
false
;
botProcess
.
StartInfo
.
UseShellExecute
=
false
;
...
...
Assets/transUI/prefab/trans_AIroom.prefab
View file @
96450ae0
...
@@ -2401,7 +2401,7 @@ Transform:
...
@@ -2401,7 +2401,7 @@ Transform:
m_PrefabAsset
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
179250
}
m_GameObject
:
{
fileID
:
179250
}
m_LocalRotation
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
1
}
m_LocalRotation
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
1
}
m_LocalPosition
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_LocalPosition
:
{
x
:
0
,
y
:
-58
,
z
:
0
}
m_LocalScale
:
{
x
:
1
,
y
:
1
,
z
:
1
}
m_LocalScale
:
{
x
:
1
,
y
:
1
,
z
:
1
}
m_Children
:
[]
m_Children
:
[]
m_Father
:
{
fileID
:
493164
}
m_Father
:
{
fileID
:
493164
}
...
@@ -2841,7 +2841,7 @@ MonoBehaviour:
...
@@ -2841,7 +2841,7 @@ MonoBehaviour:
anchorOffset
:
0
anchorOffset
:
0
softBorderPadding
:
1
softBorderPadding
:
1
renderQueue
:
0
renderQueue
:
0
startingRenderQueue
:
301
1
startingRenderQueue
:
301
0
mClipTexture
:
{
fileID
:
0
}
mClipTexture
:
{
fileID
:
0
}
mAlpha
:
1
mAlpha
:
1
mClipping
:
3
mClipping
:
3
...
...
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