Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOProUnity_V2
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
赤子奈落
YGOProUnity_V2
Commits
3fa9ff59
Commit
3fa9ff59
authored
Apr 07, 2019
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change dash
parent
2df31b98
Changes
28
Hide whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
78 additions
and
78 deletions
+78
-78
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaBendEditor.cs
...ystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaBendEditor.cs
+1
-1
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaBubbleEditor.cs
...tem/arrow/Mega-Fiers/Editor/MegaFiers/MegaBubbleEditor.cs
+1
-1
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaDisplaceEditor.cs
...m/arrow/Mega-Fiers/Editor/MegaFiers/MegaDisplaceEditor.cs
+1
-1
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaFFDEditor.cs
...System/arrow/Mega-Fiers/Editor/MegaFiers/MegaFFDEditor.cs
+1
-1
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaHumpEditor.cs
...ystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaHumpEditor.cs
+1
-1
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaMeltEditor.cs
...ystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaMeltEditor.cs
+1
-1
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaNoiseEditor.cs
...stem/arrow/Mega-Fiers/Editor/MegaFiers/MegaNoiseEditor.cs
+1
-1
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaPageFlipEditor.cs
...m/arrow/Mega-Fiers/Editor/MegaFiers/MegaPageFlipEditor.cs
+1
-1
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaPushEditor.cs
...ystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaPushEditor.cs
+1
-1
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaRadialSkewEditor.cs
...arrow/Mega-Fiers/Editor/MegaFiers/MegaRadialSkewEditor.cs
+1
-1
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaRubberEditor.cs
...tem/arrow/Mega-Fiers/Editor/MegaFiers/MegaRubberEditor.cs
+1
-1
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaSelectionEditor.cs
.../arrow/Mega-Fiers/Editor/MegaFiers/MegaSelectionEditor.cs
+1
-1
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaSimpleEditor.cs
...tem/arrow/Mega-Fiers/Editor/MegaFiers/MegaSimpleEditor.cs
+1
-1
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaSinusCurveEditor.cs
...arrow/Mega-Fiers/Editor/MegaFiers/MegaSinusCurveEditor.cs
+1
-1
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaSqueezeEditor.cs
...em/arrow/Mega-Fiers/Editor/MegaFiers/MegaSqueezeEditor.cs
+1
-1
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaStretchEditor.cs
...em/arrow/Mega-Fiers/Editor/MegaFiers/MegaStretchEditor.cs
+1
-1
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaTaperEditor.cs
...stem/arrow/Mega-Fiers/Editor/MegaFiers/MegaTaperEditor.cs
+1
-1
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaTwistEditor.cs
...stem/arrow/Mega-Fiers/Editor/MegaFiers/MegaTwistEditor.cs
+1
-1
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaVertColSelectEditor.cs
...ow/Mega-Fiers/Editor/MegaFiers/MegaVertColSelectEditor.cs
+1
-1
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaVertNoiseEditor.cs
.../arrow/Mega-Fiers/Editor/MegaFiers/MegaVertNoiseEditor.cs
+1
-1
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaVolSelectEditor.cs
.../arrow/Mega-Fiers/Editor/MegaFiers/MegaVolSelectEditor.cs
+1
-1
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaWaveEditor.cs
...ystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaWaveEditor.cs
+1
-1
Assets/ArtSystem/gameInfo/barPngLoader.cs
Assets/ArtSystem/gameInfo/barPngLoader.cs
+1
-1
Assets/SibylSystem/Config.cs
Assets/SibylSystem/Config.cs
+1
-1
Assets/SibylSystem/Ocgcore/OCGobjects/gameCard.cs
Assets/SibylSystem/Ocgcore/OCGobjects/gameCard.cs
+2
-2
Assets/SibylSystem/Program.cs
Assets/SibylSystem/Program.cs
+11
-11
Assets/SibylSystem/ResourceManagers/GameTextureManager.cs
Assets/SibylSystem/ResourceManagers/GameTextureManager.cs
+37
-37
Assets/SibylSystem/selectServer/SelectServer.cs
Assets/SibylSystem/selectServer/SelectServer.cs
+4
-4
No files found.
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaBendEditor.cs
View file @
3fa9ff59
...
@@ -6,7 +6,7 @@ using UnityEditor;
...
@@ -6,7 +6,7 @@ using UnityEditor;
public
class
MegaBendEditor
:
MegaModifierEditor
public
class
MegaBendEditor
:
MegaModifierEditor
{
{
public
override
string
GetHelpString
()
{
return
"Bend Modifier by Chris West"
;
}
public
override
string
GetHelpString
()
{
return
"Bend Modifier by Chris West"
;
}
public
override
Texture
LoadImage
()
{
return
(
Texture
)
EditorGUIUtility
.
LoadRequired
(
"MegaFiers
\\
bend_help.png"
);
}
public
override
Texture
LoadImage
()
{
return
(
Texture
)
EditorGUIUtility
.
LoadRequired
(
"MegaFiers
/
bend_help.png"
);
}
public
override
bool
Inspector
()
public
override
bool
Inspector
()
{
{
...
...
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaBubbleEditor.cs
View file @
3fa9ff59
...
@@ -6,7 +6,7 @@ using UnityEditor;
...
@@ -6,7 +6,7 @@ using UnityEditor;
public
class
MegaBubbleEditor
:
MegaModifierEditor
public
class
MegaBubbleEditor
:
MegaModifierEditor
{
{
public
override
string
GetHelpString
()
{
return
"Bubble Modifier by Chris West"
;
}
public
override
string
GetHelpString
()
{
return
"Bubble Modifier by Chris West"
;
}
public
override
Texture
LoadImage
()
{
return
(
Texture
)
EditorGUIUtility
.
LoadRequired
(
"MegaFiers
\\
bubble_help.png"
);
}
public
override
Texture
LoadImage
()
{
return
(
Texture
)
EditorGUIUtility
.
LoadRequired
(
"MegaFiers
/
bubble_help.png"
);
}
public
override
bool
Inspector
()
public
override
bool
Inspector
()
{
{
...
...
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaDisplaceEditor.cs
View file @
3fa9ff59
...
@@ -6,7 +6,7 @@ using UnityEditor;
...
@@ -6,7 +6,7 @@ using UnityEditor;
public
class
MegaDisplaceEditor
:
MegaModifierEditor
public
class
MegaDisplaceEditor
:
MegaModifierEditor
{
{
public
override
string
GetHelpString
()
{
return
"Displace Modifier by Chris West"
;
}
public
override
string
GetHelpString
()
{
return
"Displace Modifier by Chris West"
;
}
//public override Texture LoadImage() { return (Texture)EditorGUIUtility.LoadRequired("MegaFiers
\\
bend_web.png"); }
//public override Texture LoadImage() { return (Texture)EditorGUIUtility.LoadRequired("MegaFiers
/
bend_web.png"); }
public
override
bool
Inspector
()
public
override
bool
Inspector
()
{
{
...
...
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaFFDEditor.cs
View file @
3fa9ff59
...
@@ -6,7 +6,7 @@ public class MegaFFDEditor : MegaModifierEditor
...
@@ -6,7 +6,7 @@ public class MegaFFDEditor : MegaModifierEditor
{
{
Vector3
pm
=
new
Vector3
();
Vector3
pm
=
new
Vector3
();
public
override
Texture
LoadImage
()
{
return
(
Texture
)
EditorGUIUtility
.
LoadRequired
(
"MegaFiers
\\
ffd_help.png"
);
}
public
override
Texture
LoadImage
()
{
return
(
Texture
)
EditorGUIUtility
.
LoadRequired
(
"MegaFiers
/
ffd_help.png"
);
}
bool
showpoints
=
true
;
bool
showpoints
=
true
;
...
...
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaHumpEditor.cs
View file @
3fa9ff59
...
@@ -6,7 +6,7 @@ using UnityEditor;
...
@@ -6,7 +6,7 @@ using UnityEditor;
public
class
MegaHumpEditor
:
MegaModifierEditor
public
class
MegaHumpEditor
:
MegaModifierEditor
{
{
public
override
string
GetHelpString
()
{
return
"Hump Modifier by Chris West"
;
}
public
override
string
GetHelpString
()
{
return
"Hump Modifier by Chris West"
;
}
public
override
Texture
LoadImage
()
{
return
(
Texture
)
EditorGUIUtility
.
LoadRequired
(
"MegaFiers
\\
hump_help.png"
);
}
public
override
Texture
LoadImage
()
{
return
(
Texture
)
EditorGUIUtility
.
LoadRequired
(
"MegaFiers
/
hump_help.png"
);
}
public
override
bool
Inspector
()
public
override
bool
Inspector
()
{
{
...
...
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaMeltEditor.cs
View file @
3fa9ff59
...
@@ -6,7 +6,7 @@ using UnityEditor;
...
@@ -6,7 +6,7 @@ using UnityEditor;
public
class
MegaMeltEditor
:
MegaModifierEditor
public
class
MegaMeltEditor
:
MegaModifierEditor
{
{
public
override
string
GetHelpString
()
{
return
"Melt Modifier by Chris West"
;
}
public
override
string
GetHelpString
()
{
return
"Melt Modifier by Chris West"
;
}
//public override Texture LoadImage() { return (Texture)EditorGUIUtility.LoadRequired("MegaFiers
\\
bend_help.png"); }
//public override Texture LoadImage() { return (Texture)EditorGUIUtility.LoadRequired("MegaFiers
/
bend_help.png"); }
public
override
bool
Inspector
()
public
override
bool
Inspector
()
{
{
...
...
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaNoiseEditor.cs
View file @
3fa9ff59
...
@@ -6,7 +6,7 @@ using UnityEditor;
...
@@ -6,7 +6,7 @@ using UnityEditor;
public
class
MegaNoiseEditor
:
MegaModifierEditor
public
class
MegaNoiseEditor
:
MegaModifierEditor
{
{
public
override
string
GetHelpString
()
{
return
"Noise Modifier by Chris West"
;
}
public
override
string
GetHelpString
()
{
return
"Noise Modifier by Chris West"
;
}
public
override
Texture
LoadImage
()
{
return
(
Texture
)
EditorGUIUtility
.
LoadRequired
(
"MegaFiers
\\
noise_help.png"
);
}
public
override
Texture
LoadImage
()
{
return
(
Texture
)
EditorGUIUtility
.
LoadRequired
(
"MegaFiers
/
noise_help.png"
);
}
public
override
bool
Inspector
()
public
override
bool
Inspector
()
{
{
...
...
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaPageFlipEditor.cs
View file @
3fa9ff59
...
@@ -6,7 +6,7 @@ using UnityEngine;
...
@@ -6,7 +6,7 @@ using UnityEngine;
public
class
MegaPageFlipEditor
:
MegaModifierEditor
public
class
MegaPageFlipEditor
:
MegaModifierEditor
{
{
public
override
string
GetHelpString
()
{
return
"Page Flip Modifier by Chris West"
;
}
public
override
string
GetHelpString
()
{
return
"Page Flip Modifier by Chris West"
;
}
//public override Texture LoadImage() { return (Texture)EditorGUIUtility.LoadRequired("MegaFiers
\\
bend_help.png"); }
//public override Texture LoadImage() { return (Texture)EditorGUIUtility.LoadRequired("MegaFiers
/
bend_help.png"); }
bool
advanced
=
false
;
bool
advanced
=
false
;
...
...
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaPushEditor.cs
View file @
3fa9ff59
...
@@ -6,7 +6,7 @@ using UnityEditor;
...
@@ -6,7 +6,7 @@ using UnityEditor;
public
class
MegaPushEditor
:
MegaModifierEditor
public
class
MegaPushEditor
:
MegaModifierEditor
{
{
public
override
string
GetHelpString
()
{
return
"Push Modifier by Chris West"
;
}
public
override
string
GetHelpString
()
{
return
"Push Modifier by Chris West"
;
}
public
override
Texture
LoadImage
()
{
return
(
Texture
)
EditorGUIUtility
.
LoadRequired
(
"MegaFiers
\\
push_help.png"
);
}
public
override
Texture
LoadImage
()
{
return
(
Texture
)
EditorGUIUtility
.
LoadRequired
(
"MegaFiers
/
push_help.png"
);
}
public
override
bool
Inspector
()
public
override
bool
Inspector
()
{
{
...
...
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaRadialSkewEditor.cs
View file @
3fa9ff59
...
@@ -6,7 +6,7 @@ using UnityEditor;
...
@@ -6,7 +6,7 @@ using UnityEditor;
public
class
MegaRadialSkewEditor
:
MegaModifierEditor
public
class
MegaRadialSkewEditor
:
MegaModifierEditor
{
{
public
override
string
GetHelpString
()
{
return
"Radial Skew Modifier by Chris West"
;
}
public
override
string
GetHelpString
()
{
return
"Radial Skew Modifier by Chris West"
;
}
public
override
Texture
LoadImage
()
{
return
(
Texture
)
EditorGUIUtility
.
LoadRequired
(
"MegaFiers
\\
skew_help.png"
);
}
public
override
Texture
LoadImage
()
{
return
(
Texture
)
EditorGUIUtility
.
LoadRequired
(
"MegaFiers
/
skew_help.png"
);
}
public
override
bool
Inspector
()
public
override
bool
Inspector
()
{
{
...
...
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaRubberEditor.cs
View file @
3fa9ff59
...
@@ -6,7 +6,7 @@ using UnityEditor;
...
@@ -6,7 +6,7 @@ using UnityEditor;
public
class
MegaRubberEditor
:
MegaModifierEditor
public
class
MegaRubberEditor
:
MegaModifierEditor
{
{
public
override
string
GetHelpString
()
{
return
"Rubber Modifier by Chris West"
;
}
public
override
string
GetHelpString
()
{
return
"Rubber Modifier by Chris West"
;
}
public
override
Texture
LoadImage
()
{
return
(
Texture
)
EditorGUIUtility
.
LoadRequired
(
"MegaFiers
\\
bend_help.png"
);
}
public
override
Texture
LoadImage
()
{
return
(
Texture
)
EditorGUIUtility
.
LoadRequired
(
"MegaFiers
/
bend_help.png"
);
}
public
override
bool
DisplayCommon
()
{
return
false
;
}
public
override
bool
DisplayCommon
()
{
return
false
;
}
public
override
bool
Inspector
()
public
override
bool
Inspector
()
...
...
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaSelectionEditor.cs
View file @
3fa9ff59
...
@@ -7,7 +7,7 @@ using UnityEditor;
...
@@ -7,7 +7,7 @@ using UnityEditor;
public
class
MegaSelectionEditor
:
MegaModifierEditor
public
class
MegaSelectionEditor
:
MegaModifierEditor
{
{
public
override
string
GetHelpString
()
{
return
"Selection Modifier by Chris West"
;
}
public
override
string
GetHelpString
()
{
return
"Selection Modifier by Chris West"
;
}
//public override Texture LoadImage() { return (Texture)EditorGUIUtility.LoadRequired("MegaFiers
\\
bend_help.png"); }
//public override Texture LoadImage() { return (Texture)EditorGUIUtility.LoadRequired("MegaFiers
/
bend_help.png"); }
public
override
bool
DisplayCommon
()
{
return
false
;
}
public
override
bool
DisplayCommon
()
{
return
false
;
}
...
...
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaSimpleEditor.cs
View file @
3fa9ff59
...
@@ -5,7 +5,7 @@ using UnityEditor;
...
@@ -5,7 +5,7 @@ using UnityEditor;
public
class
MegaSimpleEditor
:
MegaModifierEditor
public
class
MegaSimpleEditor
:
MegaModifierEditor
{
{
public
override
string
GetHelpString
()
{
return
"Simple Modifier by Chris West"
;
}
public
override
string
GetHelpString
()
{
return
"Simple Modifier by Chris West"
;
}
public
override
Texture
LoadImage
()
{
return
(
Texture
)
EditorGUIUtility
.
LoadRequired
(
"MegaFiers
\\
bend_help.png"
);
}
public
override
Texture
LoadImage
()
{
return
(
Texture
)
EditorGUIUtility
.
LoadRequired
(
"MegaFiers
/
bend_help.png"
);
}
public
override
bool
Inspector
()
public
override
bool
Inspector
()
{
{
...
...
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaSinusCurveEditor.cs
View file @
3fa9ff59
...
@@ -6,7 +6,7 @@ using UnityEditor;
...
@@ -6,7 +6,7 @@ using UnityEditor;
public
class
MegaSinusCurveEditor
:
MegaModifierEditor
public
class
MegaSinusCurveEditor
:
MegaModifierEditor
{
{
public
override
string
GetHelpString
()
{
return
"Sinus Curve Modifier by Unity"
;
}
public
override
string
GetHelpString
()
{
return
"Sinus Curve Modifier by Unity"
;
}
//public override Texture LoadImage() { return (Texture)EditorGUIUtility.LoadRequired("MegaFiers
\\
bend_help.png"); }
//public override Texture LoadImage() { return (Texture)EditorGUIUtility.LoadRequired("MegaFiers
/
bend_help.png"); }
public
override
bool
Inspector
()
public
override
bool
Inspector
()
{
{
...
...
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaSqueezeEditor.cs
View file @
3fa9ff59
...
@@ -6,7 +6,7 @@ using UnityEditor;
...
@@ -6,7 +6,7 @@ using UnityEditor;
public
class
MegaSqueezeEditor
:
MegaModifierEditor
public
class
MegaSqueezeEditor
:
MegaModifierEditor
{
{
public
override
string
GetHelpString
()
{
return
"Squeeze Modifier by Chris West"
;
}
public
override
string
GetHelpString
()
{
return
"Squeeze Modifier by Chris West"
;
}
//public override Texture LoadImage() { return (Texture)EditorGUIUtility.LoadRequired("MegaFiers
\\
taper_help.png"); }
//public override Texture LoadImage() { return (Texture)EditorGUIUtility.LoadRequired("MegaFiers
/
taper_help.png"); }
public
override
bool
Inspector
()
public
override
bool
Inspector
()
{
{
...
...
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaStretchEditor.cs
View file @
3fa9ff59
...
@@ -6,7 +6,7 @@ using UnityEditor;
...
@@ -6,7 +6,7 @@ using UnityEditor;
public
class
MegaStretchEditor
:
MegaModifierEditor
public
class
MegaStretchEditor
:
MegaModifierEditor
{
{
public
override
string
GetHelpString
()
{
return
"Stretch Modifier by Chris West"
;
}
public
override
string
GetHelpString
()
{
return
"Stretch Modifier by Chris West"
;
}
public
override
Texture
LoadImage
()
{
return
(
Texture
)
EditorGUIUtility
.
LoadRequired
(
"MegaFiers
\\
stretch_help.png"
);
}
public
override
Texture
LoadImage
()
{
return
(
Texture
)
EditorGUIUtility
.
LoadRequired
(
"MegaFiers
/
stretch_help.png"
);
}
public
override
bool
Inspector
()
public
override
bool
Inspector
()
{
{
...
...
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaTaperEditor.cs
View file @
3fa9ff59
...
@@ -6,7 +6,7 @@ using UnityEditor;
...
@@ -6,7 +6,7 @@ using UnityEditor;
public
class
MegaTaperEditor
:
MegaModifierEditor
public
class
MegaTaperEditor
:
MegaModifierEditor
{
{
public
override
string
GetHelpString
()
{
return
"Taper Modifier by Chris West"
;
}
public
override
string
GetHelpString
()
{
return
"Taper Modifier by Chris West"
;
}
public
override
Texture
LoadImage
()
{
return
(
Texture
)
EditorGUIUtility
.
LoadRequired
(
"MegaFiers
\\
taper_help.png"
);
}
public
override
Texture
LoadImage
()
{
return
(
Texture
)
EditorGUIUtility
.
LoadRequired
(
"MegaFiers
/
taper_help.png"
);
}
public
override
bool
Inspector
()
public
override
bool
Inspector
()
{
{
...
...
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaTwistEditor.cs
View file @
3fa9ff59
...
@@ -6,7 +6,7 @@ using UnityEditor;
...
@@ -6,7 +6,7 @@ using UnityEditor;
public
class
MegaTwistEditor
:
MegaModifierEditor
public
class
MegaTwistEditor
:
MegaModifierEditor
{
{
public
override
string
GetHelpString
()
{
return
"Twist Modifier by Chris West"
;
}
public
override
string
GetHelpString
()
{
return
"Twist Modifier by Chris West"
;
}
public
override
Texture
LoadImage
()
{
return
(
Texture
)
EditorGUIUtility
.
LoadRequired
(
"MegaFiers
\\
twist_help.png"
);
}
public
override
Texture
LoadImage
()
{
return
(
Texture
)
EditorGUIUtility
.
LoadRequired
(
"MegaFiers
/
twist_help.png"
);
}
public
override
bool
Inspector
()
public
override
bool
Inspector
()
{
{
...
...
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaVertColSelectEditor.cs
View file @
3fa9ff59
...
@@ -6,7 +6,7 @@ using UnityEditor;
...
@@ -6,7 +6,7 @@ using UnityEditor;
public
class
MegaVertColSelectEditor
:
MegaModifierEditor
public
class
MegaVertColSelectEditor
:
MegaModifierEditor
{
{
public
override
string
GetHelpString
()
{
return
"Vertex Color Select Modifier by Chris West"
;
}
public
override
string
GetHelpString
()
{
return
"Vertex Color Select Modifier by Chris West"
;
}
//public override Texture LoadImage() { return (Texture)EditorGUIUtility.LoadRequired("MegaFiers
\\
bend_help.png"); }
//public override Texture LoadImage() { return (Texture)EditorGUIUtility.LoadRequired("MegaFiers
/
bend_help.png"); }
public
override
bool
DisplayCommon
()
{
return
false
;
}
public
override
bool
DisplayCommon
()
{
return
false
;
}
...
...
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaVertNoiseEditor.cs
View file @
3fa9ff59
...
@@ -6,7 +6,7 @@ using UnityEditor;
...
@@ -6,7 +6,7 @@ using UnityEditor;
public
class
MegaVertNoiseEditor
:
MegaModifierEditor
public
class
MegaVertNoiseEditor
:
MegaModifierEditor
{
{
public
override
string
GetHelpString
()
{
return
"Vertical Noise Modifier by Chris West"
;
}
public
override
string
GetHelpString
()
{
return
"Vertical Noise Modifier by Chris West"
;
}
public
override
Texture
LoadImage
()
{
return
(
Texture
)
EditorGUIUtility
.
LoadRequired
(
"MegaFiers
\\
noise_help.png"
);
}
public
override
Texture
LoadImage
()
{
return
(
Texture
)
EditorGUIUtility
.
LoadRequired
(
"MegaFiers
/
noise_help.png"
);
}
public
override
bool
Inspector
()
public
override
bool
Inspector
()
{
{
...
...
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaVolSelectEditor.cs
View file @
3fa9ff59
...
@@ -6,7 +6,7 @@ using UnityEditor;
...
@@ -6,7 +6,7 @@ using UnityEditor;
public
class
MegaVolSelectEditor
:
MegaModifierEditor
public
class
MegaVolSelectEditor
:
MegaModifierEditor
{
{
public
override
string
GetHelpString
()
{
return
"Vol Select Modifier by Chris West"
;
}
public
override
string
GetHelpString
()
{
return
"Vol Select Modifier by Chris West"
;
}
//public override Texture LoadImage() { return (Texture)EditorGUIUtility.LoadRequired("MegaFiers
\\
bend_help.png"); }
//public override Texture LoadImage() { return (Texture)EditorGUIUtility.LoadRequired("MegaFiers
/
bend_help.png"); }
public
override
bool
DisplayCommon
()
{
return
false
;
}
public
override
bool
DisplayCommon
()
{
return
false
;
}
...
...
Assets/ArtSystem/arrow/Mega-Fiers/Editor/MegaFiers/MegaWaveEditor.cs
View file @
3fa9ff59
...
@@ -6,7 +6,7 @@ using UnityEditor;
...
@@ -6,7 +6,7 @@ using UnityEditor;
public
class
MegaWaveEditor
:
MegaModifierEditor
public
class
MegaWaveEditor
:
MegaModifierEditor
{
{
public
override
string
GetHelpString
()
{
return
"Wave Modifier by Chris West"
;
}
public
override
string
GetHelpString
()
{
return
"Wave Modifier by Chris West"
;
}
public
override
Texture
LoadImage
()
{
return
(
Texture
)
EditorGUIUtility
.
LoadRequired
(
"MegaFiers
\\
wave_help.png"
);
}
public
override
Texture
LoadImage
()
{
return
(
Texture
)
EditorGUIUtility
.
LoadRequired
(
"MegaFiers
/
wave_help.png"
);
}
public
override
bool
Inspector
()
public
override
bool
Inspector
()
{
{
...
...
Assets/ArtSystem/gameInfo/barPngLoader.cs
View file @
3fa9ff59
...
@@ -20,7 +20,7 @@ public class barPngLoader : MonoBehaviour {
...
@@ -20,7 +20,7 @@ public class barPngLoader : MonoBehaviour {
api_timeBar
.
mainTexture
=
GameTextureManager
.
time
;
api_timeBar
.
mainTexture
=
GameTextureManager
.
time
;
try
try
{
{
string
[]
allLines
=
(
File
.
ReadAllText
(
"texture
\\duel\\healthBar\\
config.txt"
).
Replace
(
"\r"
,
""
).
Replace
(
" "
,
""
).
Split
(
"\n"
));
string
[]
allLines
=
(
File
.
ReadAllText
(
"texture
/duel/healthBar/
config.txt"
).
Replace
(
"\r"
,
""
).
Replace
(
" "
,
""
).
Split
(
"\n"
));
foreach
(
var
item
in
allLines
)
foreach
(
var
item
in
allLines
)
{
{
string
[]
mats
=
item
.
Split
(
"="
);
string
[]
mats
=
item
.
Split
(
"="
);
...
...
Assets/SibylSystem/Config.cs
View file @
3fa9ff59
...
@@ -51,7 +51,7 @@ public static class Config
...
@@ -51,7 +51,7 @@ public static class Config
if
(
loaded
==
false
)
if
(
loaded
==
false
)
{
{
loaded
=
true
;
loaded
=
true
;
string
[]
lines
=
File
.
ReadAllText
(
"texture
\\ui\\
config.txt"
).
Replace
(
"\r"
,
""
).
Replace
(
" "
,
""
).
Split
(
"\n"
);
string
[]
lines
=
File
.
ReadAllText
(
"texture
/ui/
config.txt"
).
Replace
(
"\r"
,
""
).
Replace
(
" "
,
""
).
Split
(
"\n"
);
for
(
int
i
=
0
;
i
<
lines
.
Length
;
i
++)
for
(
int
i
=
0
;
i
<
lines
.
Length
;
i
++)
{
{
string
[]
mats
=
lines
[
i
].
Split
(
"="
);
string
[]
mats
=
lines
[
i
].
Split
(
"="
);
...
...
Assets/SibylSystem/Ocgcore/OCGobjects/gameCard.cs
View file @
3fa9ff59
...
@@ -2264,7 +2264,7 @@ public class gameCard : OCGobject
...
@@ -2264,7 +2264,7 @@ public class gameCard : OCGobject
}
}
else
if
(
show_off_shokewave
)
else
if
(
show_off_shokewave
)
{
{
if
(
Program
.
I
().
setting
.
setting
.
showoff
.
value
==
false
||
File
.
Exists
(
"picture
\\closeup\\
"
+
data
.
Id
.
ToString
()
+
".png"
)
==
false
||
(
data
.
Attack
<
Program
.
I
().
setting
.
atk
&&
data
.
Level
<
Program
.
I
().
setting
.
star
))
if
(
Program
.
I
().
setting
.
setting
.
showoff
.
value
==
false
||
File
.
Exists
(
"picture
/closeup/
"
+
data
.
Id
.
ToString
()
+
".png"
)
==
false
||
(
data
.
Attack
<
Program
.
I
().
setting
.
atk
&&
data
.
Level
<
Program
.
I
().
setting
.
star
))
{
{
refreshFunctions
.
Add
(
SOH_nSum
);
refreshFunctions
.
Add
(
SOH_nSum
);
Program
.
I
().
ocgcore
.
Sleep
(
30
);
Program
.
I
().
ocgcore
.
Sleep
(
30
);
...
@@ -2277,7 +2277,7 @@ public class gameCard : OCGobject
...
@@ -2277,7 +2277,7 @@ public class gameCard : OCGobject
}
}
else
else
{
{
if
(
Program
.
I
().
setting
.
setting
.
showoffWhenActived
.
value
==
false
||
File
.
Exists
(
"picture
\\closeup\\
"
+
data
.
Id
.
ToString
()
+
".png"
)
==
false
)
if
(
Program
.
I
().
setting
.
setting
.
showoffWhenActived
.
value
==
false
||
File
.
Exists
(
"picture
/closeup/
"
+
data
.
Id
.
ToString
()
+
".png"
)
==
false
)
{
{
refreshFunctions
.
Add
(
SOH_nAct
);
refreshFunctions
.
Add
(
SOH_nAct
);
Program
.
I
().
ocgcore
.
Sleep
(
42
);
Program
.
I
().
ocgcore
.
Sleep
(
42
);
...
...
Assets/SibylSystem/Program.cs
View file @
3fa9ff59
...
@@ -285,19 +285,19 @@ public class Program : MonoBehaviour
...
@@ -285,19 +285,19 @@ public class Program : MonoBehaviour
});
});
go
(
300
,
()
=>
go
(
300
,
()
=>
{
{
InterString
.
initialize
(
"config
\\
translation.conf"
);
InterString
.
initialize
(
"config
/
translation.conf"
);
GameTextureManager
.
initialize
();
GameTextureManager
.
initialize
();
Config
.
initialize
(
"config
\\
config.conf"
);
Config
.
initialize
(
"config
/
config.conf"
);
GameStringManager
.
initialize
(
"config
\\
strings.conf"
);
GameStringManager
.
initialize
(
"config
/
strings.conf"
);
if
(
File
.
Exists
(
"cdb
\\
strings.conf"
))
if
(
File
.
Exists
(
"cdb
/
strings.conf"
))
{
{
GameStringManager
.
initialize
(
"cdb
\\
strings.conf"
);
GameStringManager
.
initialize
(
"cdb
/
strings.conf"
);
}
}
if
(
File
.
Exists
(
"diy
\\
strings.conf"
))
if
(
File
.
Exists
(
"diy
/
strings.conf"
))
{
{
GameStringManager
.
initialize
(
"diy
\\
strings.conf"
);
GameStringManager
.
initialize
(
"diy
/
strings.conf"
);
}
}
YGOSharp
.
BanlistManager
.
initialize
(
"config
\\
lflist.conf"
);
YGOSharp
.
BanlistManager
.
initialize
(
"config
/
lflist.conf"
);
var
fileInfos
=
(
new
DirectoryInfo
(
"cdb"
)).
GetFiles
();
var
fileInfos
=
(
new
DirectoryInfo
(
"cdb"
)).
GetFiles
();
for
(
int
i
=
0
;
i
<
fileInfos
.
Length
;
i
++)
for
(
int
i
=
0
;
i
<
fileInfos
.
Length
;
i
++)
...
@@ -306,7 +306,7 @@ public class Program : MonoBehaviour
...
@@ -306,7 +306,7 @@ public class Program : MonoBehaviour
{
{
if
(
fileInfos
[
i
].
Name
.
Substring
(
fileInfos
[
i
].
Name
.
Length
-
4
,
4
)
==
".cdb"
)
if
(
fileInfos
[
i
].
Name
.
Substring
(
fileInfos
[
i
].
Name
.
Length
-
4
,
4
)
==
".cdb"
)
{
{
YGOSharp
.
CardsManager
.
initialize
(
"cdb
\\
"
+
fileInfos
[
i
].
Name
);
YGOSharp
.
CardsManager
.
initialize
(
"cdb
/
"
+
fileInfos
[
i
].
Name
);
}
}
}
}
}
}
...
@@ -320,7 +320,7 @@ public class Program : MonoBehaviour
...
@@ -320,7 +320,7 @@ public class Program : MonoBehaviour
{
{
if
(
fileInfos
[
i
].
Name
.
Substring
(
fileInfos
[
i
].
Name
.
Length
-
4
,
4
)
==
".cdb"
)
if
(
fileInfos
[
i
].
Name
.
Substring
(
fileInfos
[
i
].
Name
.
Length
-
4
,
4
)
==
".cdb"
)
{
{
YGOSharp
.
CardsManager
.
initialize
(
"diy
\\
"
+
fileInfos
[
i
].
Name
);
YGOSharp
.
CardsManager
.
initialize
(
"diy
/
"
+
fileInfos
[
i
].
Name
);
}
}
}
}
}
}
...
@@ -334,7 +334,7 @@ public class Program : MonoBehaviour
...
@@ -334,7 +334,7 @@ public class Program : MonoBehaviour
{
{
if
(
fileInfos
[
i
].
Name
.
Substring
(
fileInfos
[
i
].
Name
.
Length
-
3
,
3
)
==
".db"
)
if
(
fileInfos
[
i
].
Name
.
Substring
(
fileInfos
[
i
].
Name
.
Length
-
3
,
3
)
==
".db"
)
{
{
YGOSharp
.
PacksManager
.
initialize
(
"pack
\\
"
+
fileInfos
[
i
].
Name
);
YGOSharp
.
PacksManager
.
initialize
(
"pack
/
"
+
fileInfos
[
i
].
Name
);
}
}
}
}
}
}
...
...
Assets/SibylSystem/ResourceManagers/GameTextureManager.cs
View file @
3fa9ff59
...
@@ -269,9 +269,9 @@ public class GameTextureManager
...
@@ -269,9 +269,9 @@ public class GameTextureManager
private
static
void
ProcessingCardFeature
(
PictureResource
pic
)
private
static
void
ProcessingCardFeature
(
PictureResource
pic
)
{
{
if
(
File
.
Exists
(
"picture
\\closeup\\
"
+
pic
.
code
.
ToString
()
+
".png"
))
if
(
File
.
Exists
(
"picture
/closeup/
"
+
pic
.
code
.
ToString
()
+
".png"
))
{
{
string
path
=
"picture
\\closeup\\
"
+
pic
.
code
.
ToString
()
+
".png"
;
string
path
=
"picture
/closeup/
"
+
pic
.
code
.
ToString
()
+
".png"
;
BitmapHelper
bitmap
=
new
BitmapHelper
(
path
);
BitmapHelper
bitmap
=
new
BitmapHelper
(
path
);
int
left
;
int
left
;
int
right
;
int
right
;
...
@@ -309,16 +309,16 @@ public class GameTextureManager
...
@@ -309,16 +309,16 @@ public class GameTextureManager
}
}
else
else
{
{
string
path
=
"picture
\\card\\
"
+
pic
.
code
.
ToString
()
+
".png"
;
string
path
=
"picture
/card/
"
+
pic
.
code
.
ToString
()
+
".png"
;
if
(!
File
.
Exists
(
path
))
if
(!
File
.
Exists
(
path
))
{
{
path
=
"picture
\\card\\
"
+
pic
.
code
.
ToString
()
+
".jpg"
;
path
=
"picture
/card/
"
+
pic
.
code
.
ToString
()
+
".jpg"
;
}
}
bool
Iam8
=
false
;
bool
Iam8
=
false
;
if
(!
File
.
Exists
(
path
))
if
(!
File
.
Exists
(
path
))
{
{
Iam8
=
true
;
Iam8
=
true
;
path
=
"picture
\\cardIn8thEdition\\
"
+
pic
.
code
.
ToString
()
+
".jpg"
;
path
=
"picture
/cardIn8thEdition/
"
+
pic
.
code
.
ToString
()
+
".jpg"
;
}
}
if
(!
File
.
Exists
(
path
))
if
(!
File
.
Exists
(
path
))
{
{
...
@@ -567,19 +567,19 @@ public class GameTextureManager
...
@@ -567,19 +567,19 @@ public class GameTextureManager
private
static
void
ProcessingVerticleDrawing
(
PictureResource
pic
)
private
static
void
ProcessingVerticleDrawing
(
PictureResource
pic
)
{
{
string
path
=
"picture
\\closeup\\
"
+
pic
.
code
.
ToString
()
+
".png"
;
string
path
=
"picture
/closeup/
"
+
pic
.
code
.
ToString
()
+
".png"
;
if
(!
File
.
Exists
(
path
))
if
(!
File
.
Exists
(
path
))
{
{
path
=
"picture
\\card\\
"
+
pic
.
code
.
ToString
()
+
".png"
;
path
=
"picture
/card/
"
+
pic
.
code
.
ToString
()
+
".png"
;
if
(!
File
.
Exists
(
path
))
if
(!
File
.
Exists
(
path
))
{
{
path
=
"picture
\\card\\
"
+
pic
.
code
.
ToString
()
+
".jpg"
;
path
=
"picture
/card/
"
+
pic
.
code
.
ToString
()
+
".jpg"
;
}
}
bool
Iam8
=
false
;
bool
Iam8
=
false
;
if
(!
File
.
Exists
(
path
))
if
(!
File
.
Exists
(
path
))
{
{
Iam8
=
true
;
Iam8
=
true
;
path
=
"picture
\\cardIn8thEdition\\
"
+
pic
.
code
.
ToString
()
+
".jpg"
;
path
=
"picture
/cardIn8thEdition/
"
+
pic
.
code
.
ToString
()
+
".jpg"
;
}
}
if
(!
File
.
Exists
(
path
))
if
(!
File
.
Exists
(
path
))
{
{
...
@@ -707,14 +707,14 @@ public class GameTextureManager
...
@@ -707,14 +707,14 @@ public class GameTextureManager
private
static
void
ProcessingCardPicture
(
PictureResource
pic
)
private
static
void
ProcessingCardPicture
(
PictureResource
pic
)
{
{
string
path
=
"picture
\\card\\
"
+
pic
.
code
.
ToString
()
+
".png"
;
string
path
=
"picture
/card/
"
+
pic
.
code
.
ToString
()
+
".png"
;
if
(!
File
.
Exists
(
path
))
if
(!
File
.
Exists
(
path
))
{
{
path
=
"picture
\\card\\
"
+
pic
.
code
.
ToString
()
+
".jpg"
;
path
=
"picture
/card/
"
+
pic
.
code
.
ToString
()
+
".jpg"
;
}
}
if
(!
File
.
Exists
(
path
))
if
(!
File
.
Exists
(
path
))
{
{
path
=
"picture
\\cardIn8thEdition\\
"
+
pic
.
code
.
ToString
()
+
".jpg"
;
path
=
"picture
/cardIn8thEdition/
"
+
pic
.
code
.
ToString
()
+
".jpg"
;
}
}
if
(!
File
.
Exists
(
path
))
if
(!
File
.
Exists
(
path
))
{
{
...
@@ -874,30 +874,30 @@ public class GameTextureManager
...
@@ -874,30 +874,30 @@ public class GameTextureManager
opBack
=
UIHelper
.
getTexture2D
(
"texture/duel/opponent.jpg"
);
opBack
=
UIHelper
.
getTexture2D
(
"texture/duel/opponent.jpg"
);
unknown
=
UIHelper
.
getTexture2D
(
"texture/duel/unknown.jpg"
);
unknown
=
UIHelper
.
getTexture2D
(
"texture/duel/unknown.jpg"
);
negated
=
UIHelper
.
getTexture2D
(
"texture/duel/negated.png"
);
negated
=
UIHelper
.
getTexture2D
(
"texture/duel/negated.png"
);
bar
=
UIHelper
.
getTexture2D
(
"texture
\\duel\\healthBar\\
bg.png"
);
bar
=
UIHelper
.
getTexture2D
(
"texture
/duel/healthBar/
bg.png"
);
exBar
=
UIHelper
.
getTexture2D
(
"texture
\\duel\\healthBar\\
excited.png"
);
exBar
=
UIHelper
.
getTexture2D
(
"texture
/duel/healthBar/
excited.png"
);
time
=
UIHelper
.
getTexture2D
(
"texture
\\duel\\healthBar\\
t.png"
);
time
=
UIHelper
.
getTexture2D
(
"texture
/duel/healthBar/
t.png"
);
lp
=
UIHelper
.
getTexture2D
(
"texture
\\duel\\healthBar\\
lp.png"
);
lp
=
UIHelper
.
getTexture2D
(
"texture
/duel/healthBar/
lp.png"
);
L
=
UIHelper
.
getTexture2D
(
"texture
\\duel\\
L.png"
);
L
=
UIHelper
.
getTexture2D
(
"texture
/duel/
L.png"
);
R
=
UIHelper
.
getTexture2D
(
"texture
\\duel\\
R.png"
);
R
=
UIHelper
.
getTexture2D
(
"texture
/duel/
R.png"
);
LINK
=
UIHelper
.
getTexture2D
(
"texture
\\duel\\
link.png"
);
LINK
=
UIHelper
.
getTexture2D
(
"texture
/duel/
link.png"
);
LINKm
=
UIHelper
.
getTexture2D
(
"texture
\\duel\\
linkMask.png"
);
LINKm
=
UIHelper
.
getTexture2D
(
"texture
/duel/
linkMask.png"
);
Chain
=
UIHelper
.
getTexture2D
(
"texture
\\duel\\
chain.png"
);
Chain
=
UIHelper
.
getTexture2D
(
"texture
/duel/
chain.png"
);
Mask
=
UIHelper
.
getTexture2D
(
"texture
\\duel\\
mask.png"
);
Mask
=
UIHelper
.
getTexture2D
(
"texture
/duel/
mask.png"
);
nt
=
UIHelper
.
getTexture2D
(
"texture
\\duel\\phase\\
nt.png"
);
nt
=
UIHelper
.
getTexture2D
(
"texture
/duel/phase/
nt.png"
);
bp
=
UIHelper
.
getTexture2D
(
"texture
\\duel\\phase\\
bp.png"
);
bp
=
UIHelper
.
getTexture2D
(
"texture
/duel/phase/
bp.png"
);
ep
=
UIHelper
.
getTexture2D
(
"texture
\\duel\\phase\\
ep.png"
);
ep
=
UIHelper
.
getTexture2D
(
"texture
/duel/phase/
ep.png"
);
mp1
=
UIHelper
.
getTexture2D
(
"texture
\\duel\\phase\\
mp1.png"
);
mp1
=
UIHelper
.
getTexture2D
(
"texture
/duel/phase/
mp1.png"
);
mp2
=
UIHelper
.
getTexture2D
(
"texture
\\duel\\phase\\
mp2.png"
);
mp2
=
UIHelper
.
getTexture2D
(
"texture
/duel/phase/
mp2.png"
);
dp
=
UIHelper
.
getTexture2D
(
"texture
\\duel\\phase\\
dp.png"
);
dp
=
UIHelper
.
getTexture2D
(
"texture
/duel/phase/
dp.png"
);
sp
=
UIHelper
.
getTexture2D
(
"texture
\\duel\\phase\\
sp.png"
);
sp
=
UIHelper
.
getTexture2D
(
"texture
/duel/phase/
sp.png"
);
phase
=
UIHelper
.
getTexture2D
(
"texture
\\duel\\phase\\
phase.png"
);
phase
=
UIHelper
.
getTexture2D
(
"texture
/duel/phase/
phase.png"
);
rs
=
UIHelper
.
getTexture2D
(
"texture
\\duel\\phase\\
rs.png"
);
rs
=
UIHelper
.
getTexture2D
(
"texture
/duel/phase/
rs.png"
);
ts
=
UIHelper
.
getTexture2D
(
"texture
\\duel\\phase\\
ts.png"
);
ts
=
UIHelper
.
getTexture2D
(
"texture
/duel/phase/
ts.png"
);
N
=
new
Texture2D
(
10
,
10
);
N
=
new
Texture2D
(
10
,
10
);
for
(
int
i
=
0
;
i
<
10
;
i
++)
for
(
int
i
=
0
;
i
<
10
;
i
++)
...
@@ -910,7 +910,7 @@ public class GameTextureManager
...
@@ -910,7 +910,7 @@ public class GameTextureManager
N
.
Apply
();
N
.
Apply
();
try
try
{
{
ColorUtility
.
TryParseHtmlString
(
File
.
ReadAllText
(
"texture
\\duel\\
chainColor.txt"
),
out
chainColor
);
ColorUtility
.
TryParseHtmlString
(
File
.
ReadAllText
(
"texture
/duel/
chainColor.txt"
),
out
chainColor
);
}
}
catch
(
Exception
)
catch
(
Exception
)
{
{
...
...
Assets/SibylSystem/selectServer/SelectServer.cs
View file @
3fa9ff59
...
@@ -96,11 +96,11 @@ public class SelectServer : WindowServantSP
...
@@ -96,11 +96,11 @@ public class SelectServer : WindowServantSP
void
printFile
(
bool
first
)
void
printFile
(
bool
first
)
{
{
list
.
Clear
();
list
.
Clear
();
if
(
File
.
Exists
(
"config
\\
hosts.conf"
)
==
false
)
if
(
File
.
Exists
(
"config
/
hosts.conf"
)
==
false
)
{
{
File
.
Create
(
"config
\\
hosts.conf"
).
Close
();
File
.
Create
(
"config
/
hosts.conf"
).
Close
();
}
}
string
txtString
=
File
.
ReadAllText
(
"config
\\
hosts.conf"
);
string
txtString
=
File
.
ReadAllText
(
"config
/
hosts.conf"
);
string
[]
lines
=
txtString
.
Replace
(
"\r"
,
""
).
Split
(
"\n"
);
string
[]
lines
=
txtString
.
Replace
(
"\r"
,
""
).
Split
(
"\n"
);
for
(
int
i
=
0
;
i
<
lines
.
Length
;
i
++)
for
(
int
i
=
0
;
i
<
lines
.
Length
;
i
++)
{
{
...
@@ -171,7 +171,7 @@ public class SelectServer : WindowServantSP
...
@@ -171,7 +171,7 @@ public class SelectServer : WindowServantSP
{
{
all
+=
list
.
items
[
i
]
+
"\r\n"
;
all
+=
list
.
items
[
i
]
+
"\r\n"
;
}
}
File
.
WriteAllText
(
"config
\\
hosts.conf"
,
all
);
File
.
WriteAllText
(
"config
/
hosts.conf"
,
all
);
printFile
(
false
);
printFile
(
false
);
(
new
Thread
(()
=>
{
TcpHelper
.
join
(
ipString
,
name
,
portString
,
pswString
,
versionString
);
})).
Start
();
(
new
Thread
(()
=>
{
TcpHelper
.
join
(
ipString
,
name
,
portString
,
pswString
,
versionString
);
})).
Start
();
}
}
...
...
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