Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
MDPro3
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
monocard
MDPro3
Commits
ecd6769f
Commit
ecd6769f
authored
Apr 24, 2024
by
SherryChaos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.gitignore update
parent
df15d9b5
Changes
94
Hide whitespace changes
Inline
Side-by-side
Showing
94 changed files
with
10951 additions
and
42 deletions
+10951
-42
.gitignore
.gitignore
+15
-17
Assets/Addressables/AddressableAssetsData/Android/addressables_content_state.bin
...ressableAssetsData/Android/addressables_content_state.bin
+0
-0
Assets/Addressables/AddressableAssetsData/Android/addressables_content_state.bin.meta
...bleAssetsData/Android/addressables_content_state.bin.meta
+7
-0
Assets/Fonts/SourceHanSansSC-Medium SDF.asset
Assets/Fonts/SourceHanSansSC-Medium SDF.asset
+73
-25
Assets/Plugins/Android/mainTemplate.gradle.DISABLED
Assets/Plugins/Android/mainTemplate.gradle.DISABLED
+41
-0
Assets/Plugins/Android/mainTemplate.gradle.DISABLED.meta
Assets/Plugins/Android/mainTemplate.gradle.DISABLED.meta
+7
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/BatchDismantleDialog.cs
.../Scripts/MasterDuel/YgomGame/Deck/BatchDismantleDialog.cs
+188
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/BatchDismantleDialog.cs.meta
...pts/MasterDuel/YgomGame/Deck/BatchDismantleDialog.cs.meta
+13
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/CardActionMenu.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/CardActionMenu.cs
+1011
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/CardActionMenu.cs.meta
...s/Scripts/MasterDuel/YgomGame/Deck/CardActionMenu.cs.meta
+13
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/CardBase.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/CardBase.cs
+143
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/CardBase.cs.meta
Assets/Scripts/MasterDuel/YgomGame/Deck/CardBase.cs.meta
+13
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/CardBaseData.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/CardBaseData.cs
+129
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/CardBaseData.cs.meta
Assets/Scripts/MasterDuel/YgomGame/Deck/CardBaseData.cs.meta
+11
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/CardCollectionView.cs
...ts/Scripts/MasterDuel/YgomGame/Deck/CardCollectionView.cs
+1366
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/CardCollectionView.cs.meta
...ripts/MasterDuel/YgomGame/Deck/CardCollectionView.cs.meta
+13
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/CardCraftDialog.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/CardCraftDialog.cs
+327
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/CardCraftDialog.cs.meta
.../Scripts/MasterDuel/YgomGame/Deck/CardCraftDialog.cs.meta
+13
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/CardData.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/CardData.cs
+117
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/CardData.cs.meta
Assets/Scripts/MasterDuel/YgomGame/Deck/CardData.cs.meta
+13
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/CardDetailView.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/CardDetailView.cs
+1031
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/CardDetailView.cs.meta
...s/Scripts/MasterDuel/YgomGame/Deck/CardDetailView.cs.meta
+13
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/CardParameterWidget.cs
...s/Scripts/MasterDuel/YgomGame/Deck/CardParameterWidget.cs
+88
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/CardParameterWidget.cs.meta
...ipts/MasterDuel/YgomGame/Deck/CardParameterWidget.cs.meta
+13
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/CardStrip.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/CardStrip.cs
+99
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/CardStrip.cs.meta
Assets/Scripts/MasterDuel/YgomGame/Deck/CardStrip.cs.meta
+13
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/CardUtilWidget.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/CardUtilWidget.cs
+131
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/CardUtilWidget.cs.meta
...s/Scripts/MasterDuel/YgomGame/Deck/CardUtilWidget.cs.meta
+13
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/CategoryReference.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/CategoryReference.cs
+21
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/CategoryReference.cs.meta
...cripts/MasterDuel/YgomGame/Deck/CategoryReference.cs.meta
+11
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/CraftCompensation.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/CraftCompensation.cs
+19
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/CraftCompensation.cs.meta
...cripts/MasterDuel/YgomGame/Deck/CraftCompensation.cs.meta
+11
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/CraftEffect.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/CraftEffect.cs
+78
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/CraftEffect.cs.meta
Assets/Scripts/MasterDuel/YgomGame/Deck/CraftEffect.cs.meta
+13
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckBox.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckBox.cs
+158
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckBox.cs.meta
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckBox.cs.meta
+13
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckCard.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckCard.cs
+60
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckCard.cs.meta
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckCard.cs.meta
+13
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckEditCard.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckEditCard.cs
+108
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckEditCard.cs.meta
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckEditCard.cs.meta
+13
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckEditFooter.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckEditFooter.cs
+71
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckEditFooter.cs.meta
...s/Scripts/MasterDuel/YgomGame/Deck/DeckEditFooter.cs.meta
+13
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckEditUtil.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckEditUtil.cs
+53
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckEditUtil.cs.meta
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckEditUtil.cs.meta
+13
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckInfo.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckInfo.cs
+1027
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckInfo.cs.meta
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckInfo.cs.meta
+13
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckNameEditDialog.cs
...ts/Scripts/MasterDuel/YgomGame/Deck/DeckNameEditDialog.cs
+39
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckNameEditDialog.cs.meta
...ripts/MasterDuel/YgomGame/Deck/DeckNameEditDialog.cs.meta
+13
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckView.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckView.cs
+1364
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckView.cs.meta
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckView.cs.meta
+13
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/DragCard.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/DragCard.cs
+24
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/DragCard.cs.meta
Assets/Scripts/MasterDuel/YgomGame/Deck/DragCard.cs.meta
+13
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/DropArea.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/DropArea.cs
+47
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/DropArea.cs.meta
Assets/Scripts/MasterDuel/YgomGame/Deck/DropArea.cs.meta
+13
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/ElementWidget.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/ElementWidget.cs
+24
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/ElementWidget.cs.meta
...ts/Scripts/MasterDuel/YgomGame/Deck/ElementWidget.cs.meta
+11
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/FilterDialog.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/FilterDialog.cs
+524
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/FilterDialog.cs.meta
Assets/Scripts/MasterDuel/YgomGame/Deck/FilterDialog.cs.meta
+13
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/FilterToggle.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/FilterToggle.cs
+97
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/FilterToggle.cs.meta
Assets/Scripts/MasterDuel/YgomGame/Deck/FilterToggle.cs.meta
+13
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/InDeckNumInfo.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/InDeckNumInfo.cs
+25
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/InDeckNumInfo.cs.meta
...ts/Scripts/MasterDuel/YgomGame/Deck/InDeckNumInfo.cs.meta
+11
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/LootSourceItem.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/LootSourceItem.cs
+154
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/LootSourceItem.cs.meta
...s/Scripts/MasterDuel/YgomGame/Deck/LootSourceItem.cs.meta
+13
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/OptionToggle.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/OptionToggle.cs
+72
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/OptionToggle.cs.meta
Assets/Scripts/MasterDuel/YgomGame/Deck/OptionToggle.cs.meta
+13
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/PublicDeckBox.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/PublicDeckBox.cs
+69
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/PublicDeckBox.cs.meta
...ts/Scripts/MasterDuel/YgomGame/Deck/PublicDeckBox.cs.meta
+13
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/ScrollableInputField.cs
.../Scripts/MasterDuel/YgomGame/Deck/ScrollableInputField.cs
+23
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/ScrollableInputField.cs.meta
...pts/MasterDuel/YgomGame/Deck/ScrollableInputField.cs.meta
+13
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/SearchBoxDialog.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/SearchBoxDialog.cs
+47
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/SearchBoxDialog.cs.meta
.../Scripts/MasterDuel/YgomGame/Deck/SearchBoxDialog.cs.meta
+13
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/SearchCategory.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/SearchCategory.cs
+54
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/SearchCategory.cs.meta
...s/Scripts/MasterDuel/YgomGame/Deck/SearchCategory.cs.meta
+13
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/SearchFilter.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/SearchFilter.cs
+513
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/SearchFilter.cs.meta
Assets/Scripts/MasterDuel/YgomGame/Deck/SearchFilter.cs.meta
+13
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/SecretPackEffect.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/SecretPackEffect.cs
+54
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/SecretPackEffect.cs.meta
...Scripts/MasterDuel/YgomGame/Deck/SecretPackEffect.cs.meta
+13
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/SecretPackList.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/SecretPackList.cs
+40
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/SecretPackList.cs.meta
...s/Scripts/MasterDuel/YgomGame/Deck/SecretPackList.cs.meta
+13
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/SoloDeckUtil.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/SoloDeckUtil.cs
+53
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/SoloDeckUtil.cs.meta
Assets/Scripts/MasterDuel/YgomGame/Deck/SoloDeckUtil.cs.meta
+13
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/SortDialog.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/SortDialog.cs
+61
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/SortDialog.cs.meta
Assets/Scripts/MasterDuel/YgomGame/Deck/SortDialog.cs.meta
+13
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/SorterToggle.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/SorterToggle.cs
+69
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/SorterToggle.cs.meta
Assets/Scripts/MasterDuel/YgomGame/Deck/SorterToggle.cs.meta
+13
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/TournamentDeckBox.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/TournamentDeckBox.cs
+21
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/TournamentDeckBox.cs.meta
...cripts/MasterDuel/YgomGame/Deck/TournamentDeckBox.cs.meta
+13
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/TransitionCard.cs
Assets/Scripts/MasterDuel/YgomGame/Deck/TransitionCard.cs
+169
-0
Assets/Scripts/MasterDuel/YgomGame/Deck/TransitionCard.cs.meta
...s/Scripts/MasterDuel/YgomGame/Deck/TransitionCard.cs.meta
+13
-0
Tools/YGO Classes/build/android/jni/Android.mk
Tools/YGO Classes/build/android/jni/Android.mk
+14
-0
Tools/YGO Classes/build/android/jni/Application.mk
Tools/YGO Classes/build/android/jni/Application.mk
+7
-0
Tools/YGO Classes/build/windows/premake5.lua
Tools/YGO Classes/build/windows/premake5.lua
+19
-0
Tools/YGO Classes/event/android/event2/event-config.h
Tools/YGO Classes/event/android/event2/event-config.h
+464
-0
No files found.
.gitignore
View file @
ecd6769f
...
@@ -22,8 +22,7 @@ ExportedObj/
...
@@ -22,8 +22,7 @@ ExportedObj/
[Ll]ibrary/
[Ll]ibrary/
[Tt]emp/
[Tt]emp/
[Oo]bj/
[Oo]bj/
[Bb]uild/
/[Bb]uild/
[Bb]uilds/
Logs/
Logs/
UserSettings/
UserSettings/
*.pidb.meta
*.pidb.meta
...
@@ -35,22 +34,21 @@ sysinfo.txt
...
@@ -35,22 +34,21 @@ sysinfo.txt
*.unitypackage
*.unitypackage
# MDPro3 Assets
# MDPro3 Assets
Android/
/Android/
Art/
/Art/
Art2/
/Art2/
AssetsUnused/
/AssetsUnused/
CardGenerated/
/CardGenerated/
[Dd]ata/
/[Dd]ata/
[Dd]eck/
/[Dd]eck/
[Dd]IY/
/[Dd]IY/
[Ee]xpansions/
/[Ee]xpansions/
[Pp]uzzle/
/[Pp]uzzle/
[Rr]eplay/
/[Rr]eplay/
StandaloneWindows64/
/StandaloneWindows64/
Tools/YGO Classes/build/android/obj/
/TempFolder/
Tools/YGO Classes/build/windows/build/
Tools/YGO Classes/build/android/libs/
Tools/YGO Classes/build/android/libs/
Tools/YGO Classes/windows/build/
TempFolder/
Assets/Spine/
Assets/Spine/
Assets/SpineWallpaper/
Assets/SpineWallpaper/
...
...
Assets/Addressables/AddressableAssetsData/Android/addressables_content_state.bin
0 → 100644
View file @
ecd6769f
File added
Assets/Addressables/AddressableAssetsData/Android/addressables_content_state.bin.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: 2da5ac4ef8e33234f826ef84915b7e04
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Assets/Fonts/SourceHanSansSC-Medium SDF.asset
View file @
ecd6769f
This source diff could not be displayed because it is too large. You can
view the blob
instead.
Assets/Plugins/Android/mainTemplate.gradle.DISABLED
0 → 100644
View file @
ecd6769f
// GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN
apply plugin: 'com.android.library'
**APPLY_PLUGINS**
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
**DEPS**}
android {
compileSdkVersion **APIVERSION**
buildToolsVersion '**BUILDTOOLS**'
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
defaultConfig {
minSdkVersion **MINSDKVERSION**
targetSdkVersion **TARGETSDKVERSION**
ndk {
abiFilters **ABIFILTERS**
}
versionCode **VERSIONCODE**
versionName '**VERSIONNAME**'
consumerProguardFiles 'proguard-unity.txt'**USER_PROGUARD**
}
lintOptions {
abortOnError false
}
aaptOptions {
noCompress = ['.ress', '.resource', '.obb'] + unityStreamingAssets.tokenize(', ')
ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~"
}**PACKAGING_OPTIONS**
}**REPOSITORIES**
**IL_CPP_BUILD_SETUP**
**SOURCE_BUILD_SETUP**
**EXTERNAL_SOURCES**
Assets/Plugins/Android/mainTemplate.gradle.DISABLED.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: e63635bc7e5c63a48bf3e94ff30035dd
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/BatchDismantleDialog.cs
0 → 100644
View file @
ecd6769f
using
System
;
using
System.Collections.Generic
;
using
UnityEngine
;
using
YgomGame.Card
;
using
YgomGame.Menu
;
using
YgomSystem.UI
;
using
YgomSystem.YGomTMPro
;
namespace
YgomGame.Deck
{
public
class
BatchDismantleDialog
:
SelectDialogViewControllerBase
<
bool
>,
IBokeSupported
{
private
const
string
PREFAB_PATH_BATCHDISMANTLEDIALOG
=
"DeckEdit/BatchDismantleDialog"
;
private
const
string
LABEL_SBN_CANCELBUTTON
=
"ButtonFooter0"
;
private
const
string
LABEL_SBN_DISMANTLEBUTTON
=
"ButtonFooter1"
;
private
const
string
LABEL_EOM_TEMPLATE
=
"Template"
;
private
const
string
LABEL_TXT_CANCELBUTTONLABEL
=
"TextButtonFooter0"
;
private
const
string
LABEL_TXT_DISMANTLEBUTTONLABEL
=
"TextButtonFooter1"
;
private
const
string
LABEL_TXT_POINTSGAINEDHEADER
=
"TextGetCP"
;
private
const
string
LABEL_TXT_NPOINTSGAINED
=
"TextGetCPNum0"
;
private
const
string
LABEL_TXT_RPOINTSGAINED
=
"TextGetCPNum1"
;
private
const
string
LABEL_TXT_SRPOINTSGAINED
=
"TextGetCPNum2"
;
private
const
string
LABEL_TXT_URPOINTSGAINED
=
"TextGetCPNum3"
;
private
const
string
LABEL_TXT_TOTALPOINTSHEADER
=
"TextCP"
;
private
const
string
LABEL_TXT_NTOTALPOINTS
=
"TextCPNum0"
;
private
const
string
LABEL_TXT_RTOTALPOINTS
=
"TextCPNum1"
;
private
const
string
LABEL_TXT_SRTOTALPOINTS
=
"TextCPNum2"
;
private
const
string
LABEL_TXT_URTOTALPOINTS
=
"TextCPNum3"
;
private
const
string
LABEL_TXT_DESC0
=
"TextDescription0"
;
private
const
string
LABEL_TXT_DESC1
=
"TextDescription1"
;
private
const
string
LABEL_TXT_DESC2
=
"TextDescription2"
;
private
const
string
LABEL_TXT_DIALOGTITLE
=
"TextTitle"
;
private
const
string
LABEL_RT_LISTAREA
=
"ListArea"
;
private
const
string
LABEL_TXT_TEXTNUM
=
"TextCardNum"
;
private
const
string
LABEL_TXT_TEXTRARITY
=
"TextRarity"
;
private
ExtendedTextMeshProUGUI
m_CancelButtonLabel
;
private
ExtendedTextMeshProUGUI
m_DismanlteButtonLabel
;
private
ExtendedTextMeshProUGUI
m_PointsGainedHeader
;
private
ExtendedTextMeshProUGUI
m_NPointsGained
;
private
ExtendedTextMeshProUGUI
m_RPointsGained
;
private
ExtendedTextMeshProUGUI
m_SRPointsGained
;
private
ExtendedTextMeshProUGUI
m_URPointsGained
;
private
ExtendedTextMeshProUGUI
m_TotalPointsHeader
;
private
ExtendedTextMeshProUGUI
m_NTotalPoints
;
private
ExtendedTextMeshProUGUI
m_RTotalPoints
;
private
ExtendedTextMeshProUGUI
m_SRTotalPoints
;
private
ExtendedTextMeshProUGUI
m_URTotalPoints
;
private
ExtendedTextMeshProUGUI
m_Desc0
;
private
ExtendedTextMeshProUGUI
m_Desc1
;
private
ExtendedTextMeshProUGUI
m_Desc2
;
private
ExtendedTextMeshProUGUI
m_DialogTitle
;
private
SelectionButton
m_DismantleButton
;
private
SelectionButton
m_CancelButton
;
private
RectTransform
m_ListArea
;
private
Dictionary
<
int
,
CraftCompensation
>
m_CraftCompensations
;
private
Dictionary
<
string
,
object
>
m_Compensations
;
private
Dictionary
<
int
,
int
>
m_CompensationsRarities
;
private
List
<
int
>
m_CompensationIds
;
public
const
string
k_ArgKeyDialogTitle
=
"title"
;
public
const
string
k_ArgKeyDismantleCards
=
"dismantleCards"
;
public
const
string
k_ArgKeyOnCompleteCallback
=
"onCompleteCallback"
;
public
const
string
k_ArgKeyCreateCards
=
"createCards"
;
public
const
string
k_ArgKeyCreateCardsMessage
=
"createCardsMessage"
;
private
const
string
CP_TEXT_MAX
=
"99999+"
;
private
const
string
CP_TEXT_MIN
=
"0"
;
private
string
m_Title
;
private
List
<
CardBaseData
>
m_DismantleCards
;
private
Action
<
bool
>
OnCompleteCallback
;
private
Dictionary
<
int
,
int
>
m_CreateCards
;
private
string
m_CreatedCardsMessage
;
private
Dictionary
<
string
,
object
>
formatedCards
;
private
bool
isSelectMode
;
private
bool
isCreateMode
;
private
Dictionary
<
CardCollectionInfo
.
Rarity
,
bool
>
SufficientCheck
;
private
void
InitializeElements
()
{
}
public
static
void
Open
(
Action
<
bool
>
callback
=
null
)
{
}
public
static
void
Open
(
Dictionary
<
string
,
object
>
args
=
null
)
{
}
public
override
void
NotificationStackEntry
()
{
}
private
void
InitCompensation
()
{
}
protected
override
void
OnCreatedView
()
{
}
private
void
InitilizeCreateMode
()
{
}
private
void
Dismauntle
()
{
}
private
void
Create
()
{
}
private
List
<
CardBaseData
>
FormatCreateCards
(
Dictionary
<
int
,
int
>
lackCards
)
{
return
null
;
}
private
bool
CompensationCheck
(
Dictionary
<
string
,
object
>
data
)
{
return
false
;
}
public
BatchDismantleDialog
()
{
//((SelectDialogViewControllerBase<>)(object)this)._002Ector();
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/BatchDismantleDialog.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: 2e4d76e1b63d126e677262762b76ed51
timeCreated: 1698741461
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/CardActionMenu.cs
0 → 100644
View file @
ecd6769f
using
System
;
using
System.Collections
;
using
System.Collections.Generic
;
using
System.Runtime.CompilerServices
;
using
UnityEngine
;
using
UnityEngine.UI
;
using
YgomGame.Card
;
using
YgomSystem.ElementSystem
;
using
YgomSystem.UI
;
using
YgomSystem.YGomTMPro
;
namespace
YgomGame.Deck
{
public
class
CardActionMenu
:
CardUtilWidget
{
public
enum
TweenType
{
Open
=
0
,
Close
=
1
,
Update
=
2
,
Prev
=
3
,
Next
=
4
}
private
class
TitleArea
:
ElementWidget
{
public
RubyTextGX
m_CardName
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
RectTransform
m_NameArea
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
Image
m_NameAreaBG
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
Image
m_AttrIcon
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
protected
override
void
InitializeElements
()
{
}
}
private
class
ParameterArea
:
ElementWidget
{
public
class
ParamIcon
:
ElementWidget
{
public
Image
m_IconImage
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
ExtendedTextMeshProUGUI
m_IconText
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
protected
override
void
InitializeElements
()
{
}
}
public
ParamIcon
m_TunerIcon
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
ParamIcon
m_TypeIcon
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
ParamIcon
m_PendScaleIcon
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
ParamIcon
m_LvlIcon
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
ParamIcon
m_RankIcon
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
ParamIcon
m_LinkIcon
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
ParamIcon
m_AtkIcon
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
ParamIcon
m_DefIcon
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
RectTransform
m_SpellTrapType
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
Image
m_SpellTrapIconImage
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
ExtendedTextMeshProUGUI
m_SpellTrapIconText
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
protected
override
void
InitializeElements
()
{
}
}
private
class
DescriptionArea
:
ElementWidget
{
public
ExtendedScrollRect
m_PendulumTextArea
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
RectTransform
m_PendulumDescArea
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
ExtendedTextMeshProUGUI
m_CardDescPend
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
ExtendedTextMeshProUGUI
m_CardDescHeadingPendulum
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
ExtendedScrollRect
m_TextArea
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
ExtendedTextMeshProUGUI
m_CardDesc
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
ExtendedTextMeshProUGUI
m_CardDescHeading
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
Image
m_DescAreaBG
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
Image
m_PendulumDescAreaBG
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
protected
override
void
InitializeElements
()
{
}
}
private
class
CardArea
:
ElementWidget
{
private
int
m_CardID
;
private
CardCollectionInfo
.
Premium
m_Premium
;
private
Image
m_RentalImage
;
private
bool
m_IsRental
;
private
ElementObjectManager
m_PremiumNumGroupEom
;
private
ElementObject
m_DismantleCardNumGroup
;
private
ElementObject
m_RentalCardTextGroup
;
private
ExtendedTextMeshProUGUI
m_PremNum0
;
private
ExtendedTextMeshProUGUI
m_PremNum1
;
private
ExtendedTextMeshProUGUI
m_PremNum2
;
private
Image
m_PremSelector0
;
private
Image
m_PremSelector1
;
private
Image
m_PremSelector2
;
private
Image
m_IndicatorRental
;
private
Image
m_Indicator0
;
private
Image
m_Indicator1
;
private
Image
m_Indicator2
;
private
int
inDeckR
;
private
int
inDeckN
;
private
int
inDeckP1
;
private
int
inDeckP2
;
private
List
<
Image
>
m_IndicatorsR
;
private
List
<
Image
>
m_IndicatorsN
;
private
List
<
Image
>
m_IndicatorsP1
;
private
List
<
Image
>
m_IndicatorsP2
;
private
int
inDeckAlterR
;
private
int
inDeckAlterN
;
private
int
inDeckAlterP1
;
private
int
inDeckAlterP2
;
private
List
<
Image
>
m_IndicatorsAlterR
;
private
List
<
Image
>
m_IndicatorsAlterN
;
private
List
<
Image
>
m_IndicatorsAlterP1
;
private
List
<
Image
>
m_IndicatorsAlterP2
;
public
RawImage
m_CardImage
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
Image
m_LimitIcon
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
Image
m_RarityIcon
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
ExtendedTextMeshProUGUI
m_CardTotalText
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
ExtendedTextMeshProUGUI
m_NonPrizeCardTotalText
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
void
SetCard
(
int
cardId
,
CardCollectionInfo
.
Premium
premium
,
bool
isRental
)
{
}
protected
override
void
InitializeElements
()
{
}
private
void
InitializeCardImage
()
{
}
public
void
SetRentalImage
(
bool
isRental
)
{
}
private
void
InitializeCardNumText
()
{
}
public
void
SetPrems
()
{
}
private
void
InitializeIndicator
()
{
}
public
void
SetInDeckSum
(
int
numN
,
int
alterN
,
int
numP1
,
int
alterP1
,
int
numP2
,
int
alterP2
,
int
numR
,
int
alterR
)
{
}
private
void
AdjustIndicator
(
int
oldNum
,
int
newNum
,
List
<
Image
>
list
,
Image
template
,
bool
isAlter
=
false
)
{
}
public
void
SetInDeckIndicatorColor
(
bool
isFull
)
{
}
}
private
class
CraftArea
:
ElementWidget
{
private
class
CraftButtonWidget
:
ElementWidget
{
public
SelectionButton
m_Button
;
public
ExtendedTextMeshProUGUI
m_ButtonText
;
public
Image
m_IconCP
;
public
ExtendedTextMeshProUGUI
m_TextCP
;
public
Image
m_IconEnabled
;
public
Image
m_IconDisabled
;
protected
override
void
InitializeElements
()
{
}
}
private
CraftButtonWidget
CraftCreateButton
;
private
CraftButtonWidget
CraftDismantleButton
;
public
SelectionButton
CreateButton
=>
null
;
public
SelectionButton
DismantleButton
=>
null
;
protected
override
void
InitializeElements
()
{
}
public
void
SetCraftable
(
bool
craftable
,
int
rarityID
)
{
}
public
void
SetDismantable
(
bool
dismantable
,
int
rarityID
,
CardCollectionInfo
.
Premium
premium
)
{
}
}
private
class
MenuArea
:
ElementWidget
{
private
RectTransform
m_BookmarkOn
;
private
RectTransform
m_BookmarkOff
;
public
SelectionButton
m_BookmarkButton
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
SelectionButton
m_HowToGetButton
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
SelectionButton
m_RelatedCardButton
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
SelectionButton
m_AddCardButton
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
SelectionButton
m_RemoveCardButton
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
Selector
m_Selector
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
protected
override
void
InitializeElements
()
{
}
public
void
ToggleBookmark
(
bool
isBookmarked
)
{
}
public
void
SetActiveAddCardButtons
(
bool
isActive
)
{
}
}
private
ElementObjectManager
m_Eom
;
private
bool
isIni
;
private
const
string
tweenLabelIn
=
"In"
;
private
const
string
tweenLabelOut
=
"Out"
;
private
SelectionButton
m_PrevButton
;
private
SelectionButton
m_NextButton
;
private
SelectionButton
m_FlickButton
;
private
bool
horizontalSwipe
;
private
Vector2
pressedPoint
;
private
CardBaseData
m_PrevCard
;
private
CardBaseData
m_NextCard
;
private
DeckView
m_DeckView
;
private
CardCollectionView
m_CollectionView
;
private
bool
fromDeck
;
private
int
regulationID
;
private
int
rentalID
;
private
Action
<
CardActionMenu
,
CardBaseData
>
onInitAction
;
private
CardCollectionInfo
.
Premium
m_CurrentPremium
;
private
bool
m_CurrentRental
;
private
int
m_CurrentIdx
;
private
TitleArea
m_TitleArea
;
private
ParameterArea
m_ParameterArea
;
private
DescriptionArea
m_DescriptionArea
;
private
CardArea
m_CardArea
;
private
CraftArea
m_CraftArea
;
private
MenuArea
m_MenuArea
;
public
CanvasGroup
m_Window
;
public
SelectionItem
m_WindowItem
;
private
SelectionButton
m_ButtonBack
;
protected
override
Image
m_AttrIcon
=>
null
;
protected
override
Image
m_TunerIcon
=>
null
;
protected
override
Image
m_TypeIcon
=>
null
;
protected
override
Image
m_SpellTrapTypeIcon
=>
null
;
protected
override
Image
m_PendScaleIcon
=>
null
;
protected
override
ExtendedTextMeshProUGUI
m_PendScaleText
=>
null
;
protected
override
Image
m_LvlIcon
=>
null
;
protected
override
ExtendedTextMeshProUGUI
m_LvlText
=>
null
;
protected
override
Image
m_RankIcon
=>
null
;
protected
override
ExtendedTextMeshProUGUI
m_RankText
=>
null
;
protected
override
Image
m_LinkIcon
=>
null
;
protected
override
ExtendedTextMeshProUGUI
m_LinkText
=>
null
;
protected
override
Image
m_AtkIcon
=>
null
;
protected
override
ExtendedTextMeshProUGUI
m_AtkText
=>
null
;
protected
override
Image
m_DefIcon
=>
null
;
protected
override
ExtendedTextMeshProUGUI
m_DefText
=>
null
;
protected
override
RectTransform
m_SpellTrapType
=>
null
;
protected
override
ExtendedTextMeshProUGUI
m_SpellTrapTypeText
=>
null
;
protected
override
Image
m_RegulationIcon
=>
null
;
protected
override
Image
m_RarityIcon
=>
null
;
protected
override
ExtendedScrollRect
m_TextArea
=>
null
;
protected
override
ExtendedTextMeshProUGUI
m_CardDesc
=>
null
;
protected
override
ExtendedTextMeshProUGUI
m_CardDescHeading
=>
null
;
protected
override
Image
m_DescAreaBG
=>
null
;
protected
override
SelectionButton
m_CreateButton
=>
null
;
protected
override
SelectionButton
m_DismantleButton
=>
null
;
protected
override
SelectionButton
m_AddCardButton
=>
null
;
protected
override
SelectionButton
m_RemoveCardButton
=>
null
;
protected
override
SelectionButton
m_BookmarkButton
=>
null
;
protected
override
SelectionButton
m_HowToGetButton
=>
null
;
protected
override
SelectionButton
m_RelatedCardButton
=>
null
;
protected
override
Image
m_NameAreaBG
=>
null
;
protected
override
RubyTextGX
m_CardName
=>
null
;
private
ExtendedScrollRect
m_PendulumTextArea
=>
null
;
private
RectTransform
m_PendulumDescArea
=>
null
;
private
ExtendedTextMeshProUGUI
m_CardDescPend
=>
null
;
private
ExtendedTextMeshProUGUI
m_CardDescHeadingPendulum
=>
null
;
private
Image
m_PendulumDescAreaBG
=>
null
;
public
Action
onClickPrevButton
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
public
Action
onClickNextButton
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
private
int
m_CurrentCardID
{
[
CompilerGenerated
]
get
{
return
0
;
}
[
CompilerGenerated
]
set
{
}
}
public
void
SetActiveAddCardArea
(
bool
isActive
)
{
}
public
void
SetActiveButtonCraftCreate
(
bool
active
)
{
}
public
void
SetActiveButtonAddCard
(
bool
active
)
{
}
public
void
SetActiveButtonRemoveCard
(
bool
active
)
{
}
public
void
SetActiveButtonCraftDismantle
(
bool
active
)
{
}
protected
void
SetCraftPoint
()
{
}
public
void
UpdateCraftPoint
()
{
}
public
void
ToggleBookmark
(
bool
isBookmarked
)
{
}
public
void
SetActiveSubMenuButton
(
bool
activeRelatedCard
,
bool
activeSourceButton
)
{
}
public
void
InitializeElements
()
{
}
private
void
OnDestroy
()
{
}
private
void
Awake
()
{
}
private
void
InnerOpen
(
int
id
,
int
inDeckN
,
int
inDeckAlterN
,
int
inDeckP1
,
int
inDeckAlterP1
,
int
inDeckP2
,
int
inDeckAlterP2
,
int
inDeckR
,
int
inDeckAlterR
,
bool
isFull
,
CardCollectionInfo
.
Premium
prem
,
bool
isRental
,
bool
isBatchDismantleMode
,
int
reg
,
int
rent
,
TweenType
tweenType
=
TweenType
.
Open
)
{
}
public
void
Open
(
TweenType
tweenType
=
TweenType
.
Open
,
Action
onUpdate
=
null
)
{
}
public
void
Open
(
int
cardID
,
int
inDeckN
,
int
inDeckAlterN
,
int
inDeckP1
,
int
inDeckAlterP1
,
int
inDeckP2
,
int
inDeckAlterP2
,
int
inDeckR
,
int
inDeckAlterR
,
CardCollectionInfo
.
Premium
prem
,
bool
isFull
,
bool
isBatchDismantleMode
,
int
regulationID
,
int
rentalID
)
{
}
public
void
OpenFromCollectionView
(
int
cardID
,
int
premID
,
InDeckNumInfo
inDeckInfo
,
bool
isFull
,
bool
isBatchDismantleMode
,
int
regulationID
,
int
rentalID
,
DeckView
deckView
,
CardCollectionView
collectionView
,
Action
<
CardActionMenu
,
CardBaseData
>
initAction
,
TweenType
tweenType
=
TweenType
.
Open
)
{
}
public
void
OpenFromDeckView
(
int
idx
,
InDeckNumInfo
inDeckInfo
,
bool
isFull
,
bool
isBatchDismantleMode
,
int
regulationID
,
int
rentalID
,
DeckView
deckView
,
CardCollectionView
collectionView
,
Action
<
CardActionMenu
,
CardBaseData
>
initAction
,
TweenType
tweenType
=
TweenType
.
Open
)
{
}
public
void
Close
()
{
}
private
IEnumerator
yPlayPaging
(
TweenType
tweenType
=
TweenType
.
Next
,
Action
onFinish
=
null
,
Action
onUpdate
=
null
)
{
return
null
;
}
public
void
PagingCheck
(
CardBaseData
baseData
,
bool
added
)
{
}
public
void
SetBatchDismantleMode
(
bool
active
)
{
}
public
void
SetInteractableWindow
(
bool
b
)
{
}
private
new
void
setDescriptionHeading
()
{
}
protected
void
setCardText
()
{
}
protected
new
void
setDescAreaBG
()
{
}
public
void
SetInDeckIndicators
(
int
numN
,
int
alterN
,
int
numP1
,
int
alterP1
,
int
numP2
,
int
alterP2
,
int
numR
,
int
alterR
,
bool
isFull
)
{
}
public
void
SetInDeckIndicators
(
InDeckNumInfo
inDeckInfo
,
bool
isFull
)
{
}
public
void
SetPremiums
()
{
}
public
void
SetCardPremiumType
(
CardCollectionInfo
.
Premium
prem
)
{
}
public
void
SetCardTotals
(
int
rentalID
=
0
,
bool
isRental
=
false
)
{
}
public
RectTransform
GetCardImageRectTransform
()
{
return
null
;
}
protected
new
void
setRarity
(
bool
b
=
true
)
{
}
public
void
SetRentalImageOverlay
(
bool
active
)
{
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/CardActionMenu.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: fb59c200a09521a4ef08b9d02c2da4a3
timeCreated: 1698741462
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/CardBase.cs
0 → 100644
View file @
ecd6769f
using
System.Runtime.CompilerServices
;
using
UnityEngine
;
using
UnityEngine.Events
;
using
UnityEngine.UI
;
using
YgomSystem.ElementSystem
;
using
YgomSystem.UI
;
namespace
YgomGame.Deck
{
public
class
CardBase
:
MonoBehaviour
{
protected
ElementObjectManager
m_eom
;
protected
const
string
LABEL_IMG_CARDIMAGE
=
"ImageCard"
;
protected
const
string
LABEL_IMG_NOCARD
=
"NoCard"
;
protected
const
string
LABEL_IMG_RENTALCARD
=
"RentalCard"
;
public
SelectionButton
m_ImageCardButton
;
public
Image
m_ImageNoCard
;
public
Image
m_ImageRentalCard
;
protected
RawImage
m_CardImage
;
protected
UnityAction
m_OnClickAction
;
protected
UnityAction
m_OnSelectedAction
;
protected
UnityAction
m_OnDeselectedAction
;
protected
UnityAction
<
bool
>
m_OnRightClickAction
;
protected
UnityAction
m_SelectedKeyL2Action
;
protected
UnityAction
<
Vector2
>
m_DragBeginAction
;
protected
UnityAction
<
Vector2
>
m_DragAction
;
protected
UnityAction
<
Vector2
>
m_DragEndAction
;
private
bool
isIni
;
public
CardBaseData
m_BaseData
{
[
CompilerGenerated
]
get
{
return
default
(
CardBaseData
);
}
[
CompilerGenerated
]
set
{
}
}
protected
void
InitializeElemnts
()
{
}
private
void
Awake
()
{
}
private
void
Start
()
{
}
public
virtual
void
SetData
(
CardBaseData
data
,
int
regulationID
=
-
1
)
{
}
public
void
SetCardImage
(
Texture
image
)
{
}
public
void
SetCardImageMaterial
(
Material
mat
)
{
}
public
void
SetMonochrome
(
bool
b
)
{
}
public
void
SetRentalImage
(
bool
b
)
{
}
public
void
UnsetCardImagTexture
()
{
}
public
void
SetDisp
(
bool
disp
)
{
}
public
void
SetOnSelectedCallback
(
UnityAction
callback
)
{
}
public
void
SetOnDeselectedCallback
(
UnityAction
callback
)
{
}
public
void
SetOnClickCallback
(
UnityAction
callback
)
{
}
public
void
SetOnRightClickCallback
(
UnityAction
<
bool
>
callback
)
{
}
public
void
SetOnSelectedKeyL2Callback
(
UnityAction
callback
)
{
}
public
void
SetDragBeginCallback
(
UnityAction
<
Vector2
>
callback
)
{
}
public
void
SetDragCallback
(
UnityAction
<
Vector2
>
callback
)
{
}
public
void
SetDragEndCallback
(
UnityAction
<
Vector2
>
callback
)
{
}
public
void
InvokeDragBeginCallback
(
Vector2
screenPoint
)
{
}
public
void
InvokeDragCallback
(
Vector2
screenPoint
)
{
}
public
void
InvokeDragEndCallback
(
Vector2
screenPoint
)
{
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/CardBase.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: 4a5df1c1d921b0764af7742051f71688
timeCreated: 1698741462
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/CardBaseData.cs
0 → 100644
View file @
ecd6769f
using
System
;
using
System.Runtime.CompilerServices
;
namespace
YgomGame.Deck
{
[
Serializable
]
public
struct
CardBaseData
:
IEquatable
<
CardBaseData
>
{
public
int
CardID
{
[
CompilerGenerated
]
readonly
get
{
return
0
;
}
[
CompilerGenerated
]
set
{
}
}
public
int
PremiumID
{
[
CompilerGenerated
]
readonly
get
{
return
0
;
}
[
CompilerGenerated
]
set
{
}
}
public
bool
IsOwned
{
[
CompilerGenerated
]
readonly
get
{
return
false
;
}
[
CompilerGenerated
]
set
{
}
}
public
int
Obtained
{
[
CompilerGenerated
]
readonly
get
{
return
0
;
}
[
CompilerGenerated
]
set
{
}
}
public
int
Inventory
{
[
CompilerGenerated
]
readonly
get
{
return
0
;
}
[
CompilerGenerated
]
set
{
}
}
public
int
Rarity
{
[
CompilerGenerated
]
readonly
get
{
return
0
;
}
[
CompilerGenerated
]
set
{
}
}
public
bool
IsRental
{
[
CompilerGenerated
]
readonly
get
{
return
false
;
}
[
CompilerGenerated
]
set
{
}
}
public
CardBaseData
(
int
c_id
=
0
,
int
p_id
=
0
,
bool
owned
=
true
,
bool
rental
=
false
)
{
}
public
static
bool
operator
==(
CardBaseData
a
,
CardBaseData
b
)
{
return
false
;
}
public
static
bool
operator
!=(
CardBaseData
a
,
CardBaseData
b
)
{
return
false
;
}
public
override
bool
Equals
(
object
obj
)
{
return
false
;
}
public
bool
Equals
(
CardBaseData
data
)
{
return
false
;
}
public
override
int
GetHashCode
()
{
return
0
;
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/CardBaseData.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: fbee7d21b9f351f478943e1e3d14f66a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/CardCollectionView.cs
0 → 100644
View file @
ecd6769f
using
System
;
using
System.Collections
;
using
System.Collections.Generic
;
using
System.Runtime.CompilerServices
;
using
UnityEngine
;
using
UnityEngine.Events
;
using
UnityEngine.UI
;
using
YgomGame.Card
;
using
YgomSystem.ElementSystem
;
using
YgomSystem.UI
;
using
YgomSystem.UI.ElementWidget
;
using
YgomSystem.UI.InfinityScroll
;
using
YgomSystem.YGomTMPro
;
namespace
YgomGame.Deck
{
public
class
CardCollectionView
:
MonoBehaviour
{
public
abstract
class
PartialView
{
protected
ElementObjectManager
m_Eom
;
protected
bool
isInitialized
;
public
GameObject
gameObject
=>
null
;
protected
abstract
void
InitializeElements
();
protected
void
Initialize
(
ElementObjectManager
eom
)
{
}
}
public
enum
Area
{
Collection
=
0
,
Bookmark
=
1
,
History
=
2
}
public
class
TabArea
:
PartialView
{
private
class
TabButton
:
PartialView
{
public
SelectionButton
button
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
RectTransform
imageOn
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
RectTransform
imageOff
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
ShortcutIcon
shortcutIcon
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
TabButton
(
ElementObjectManager
eom
)
{
}
protected
override
void
InitializeElements
()
{
}
public
void
Toggle
(
bool
isOn
)
{
}
}
private
const
string
k_ELabelImageOn
=
"ImageOn"
;
private
const
string
k_ELabelImageOff
=
"ImageOff"
;
private
const
string
k_ELabelShortcutIcon
=
"ShortcutIcon"
;
private
const
string
k_ELabelCardListButton
=
"CardListButton"
;
private
const
string
k_ELabelBookmarkButton
=
"BookmarkButton"
;
private
const
string
k_ELabelHistoryButton
=
"HistoryButton"
;
private
TabButton
m_CardListTab
;
private
TabButton
m_BookmarkTab
;
private
TabButton
m_HistoryTab
;
private
Dictionary
<
Area
,
TabButton
>
m_Tabs
;
private
Action
OnClickCardListButtonCallback
;
private
Action
OnClickBookmarkButtonCallback
;
private
Action
OnClickHistoryButtonCallback
;
public
SelectionButton
m_CardListButton
=>
null
;
public
SelectionButton
m_BookmarkButton
=>
null
;
public
SelectionButton
m_HistoryButton
=>
null
;
public
Action
<
Area
>
onChagedAreaCallback
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
public
TabArea
(
ElementObjectManager
eom
)
{
}
protected
override
void
InitializeElements
()
{
}
public
void
SetOnOnClickCardListButtonCallback
(
Action
callback
)
{
}
public
void
SetOnOnClickBookmarkButtonCallback
(
Action
callback
)
{
}
public
void
SetOnOnClickHistoryButtonCallback
(
Action
callback
)
{
}
public
void
ToggleByArea
(
Area
area
)
{
}
public
void
DispShotcutIconByArea
(
Area
area
)
{
}
public
void
DispShortcutIcons
(
bool
isDisp
)
{
}
public
void
SetShortcutIcons
(
SelectorManager
.
KeyType
main
,
SelectorManager
.
KeyType
sub
)
{
}
}
public
class
FilterAndSearchArea
:
PartialView
{
private
const
string
k_ELabelInputField
=
"InputField"
;
private
const
string
k_ELabelNotOwnedButton
=
"NotOwnedButton"
;
private
const
string
k_ELabelSortButton
=
"SortButton"
;
private
const
string
k_ELabelFilterButton
=
"FilterButton"
;
private
const
string
k_ELabelClearButton
=
"ClearButton"
;
private
ElementObjectManager
m_SortButtonEom
;
private
const
string
k_ELabelSortIconAsc
=
"IconAsc"
;
private
const
string
k_ELabelSortIconDesc
=
"IconDesc"
;
private
const
string
k_ELabelSortText
=
"TextTMP"
;
private
RectTransform
m_SortIconAsc
;
private
RectTransform
m_SortIconDesc
;
private
ExtendedTextMeshProUGUI
m_SortText
;
private
Action
OnClickSortButtonCallback
;
private
ElementObjectManager
m_FilterButtonEom
;
private
const
string
k_ELabelFilterOnIcon
=
"IconOn"
;
private
const
string
k_ELabelFilterOffIcon
=
"IconOff"
;
private
const
string
k_ELabelFilterOnImage
=
"On"
;
private
const
string
k_ELabelFilterOffImage
=
"Off"
;
private
RectTransform
m_FilterButtonImageOn
;
private
RectTransform
m_FilterButtonImageOff
;
private
RectTransform
m_FilterButtonIconOn
;
private
RectTransform
m_FilterButtonIconOff
;
private
Action
OnClickFilterButtonCallback
;
private
Action
<
string
>
OnEndSubmitEditCallback
;
private
ElementObjectManager
m_ClearButtonEom
;
private
Action
OnClickClearButtonCallback
;
private
ElementObjectManager
m_NotOwnButtonEom
;
private
const
string
k_ELabelNotOwnOnIcon
=
"IconOn"
;
private
const
string
k_ELabelNotOwnOffIcon
=
"IconOff"
;
private
const
string
k_ELabelNotOwnOnImage
=
"On"
;
private
const
string
k_ELabelNotOwnOffImage
=
"Off"
;
private
RectTransform
m_NotOwnButtonImageOn
;
private
RectTransform
m_NotOwnButtonImageOff
;
private
RectTransform
m_NotOwnButtonIconOn
;
private
RectTransform
m_NotOwnButtonIconOff
;
private
Action
OnClickNotOwnButtonCallback
;
public
SelectionButton
m_SortButton
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
SelectionButton
m_FilterButton
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
InputFieldWidget
m_InputField
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
SelectionButton
m_ClearButton
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
SelectionButton
m_NotOwnButton
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
DeviceIcon
m_SortShortcutIcon
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
DeviceIcon
m_FilterShortcutIcon
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
DeviceIcon
m_InputFieldShortcutIcon
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
DeviceIcon
m_ClearShortcutIcon
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
DeviceIcon
m_NotOwnShortcutIcon
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
FilterAndSearchArea
(
ElementObjectManager
eom
)
{
}
protected
override
void
InitializeElements
()
{
}
private
void
InitializeSortButtonElements
()
{
}
public
void
SetOnOnClickSortButtonCallback
(
Action
callback
)
{
}
public
void
SetSortIcon
(
SortComparer
.
Sorter
s
)
{
}
private
void
InitializeDispButtonElements
()
{
}
public
void
SetOnOnClickFilterButtonCallback
(
Action
callback
)
{
}
public
void
ToggleFilterButton
(
bool
isFiltered
)
{
}
private
void
InitializeInputFieldElements
()
{
}
public
void
SetOnEndSubmitCallback
(
Action
<
string
>
callback
)
{
}
public
void
ClearKeyword
()
{
}
private
void
InitializeClearButtonElements
()
{
}
public
void
SetOnOnClickClearButtonCallback
(
Action
callback
)
{
}
private
void
InitializeNotOwnButtonElements
()
{
}
public
void
SetOnOnClickNotOwnButtonCallback
(
Action
callback
)
{
}
public
void
ToggleNotOwnButton
(
bool
isDispNotOwned
)
{
}
public
void
SetInteractableButtons
(
bool
isInteractable
)
{
}
public
void
SetShortcutIcons
(
bool
isActivate
)
{
}
}
public
class
RelatedArea
:
PartialView
{
private
const
string
k_ELabelRelatedCardRoot
=
"RelatedCard"
;
private
const
string
k_ELabelRelatedCardText
=
"RelatedCardText"
;
private
const
string
k_ELabelRelatedCardButton
=
"RelatedCardButton"
;
private
ElementObjectManager
m_RelatedCardEom
;
private
Transform
m_CardRoot
;
private
RawImage
m_CardImage
;
private
ExtendedTextMeshProUGUI
m_CardText
;
private
int
relatedCardID
;
private
Action
OnSetRelatedCardCallback
;
private
Action
OnDispRelatedCardCallback
;
private
Action
<
int
>
OnClickRelatedCardButtonCallback
;
private
Action
<
int
>
OnSelectdRelatedCardButtonCallback
;
private
Action
<
int
>
OnSelectdRelatedCardButtonKetyDownCallback
;
private
const
string
k_ELabelCloseButton
=
"CloseButton"
;
private
Action
OnClickCloseButtonCallback
;
private
Action
OnSelectdCloseButtonCallback
;
public
SelectionButton
m_CardButton
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
SelectionButton
m_CloseButton
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
private
bool
isActive
=>
false
;
public
bool
isSet
=>
false
;
public
RelatedArea
(
ElementObjectManager
eom
)
{
}
protected
override
void
InitializeElements
()
{
}
private
void
InitializeRelatedCardElements
()
{
}
public
void
SetRelatedCardId
(
int
cardId
)
{
}
public
void
SetOnSetRelatedCardCallback
(
Action
callback
)
{
}
public
void
DispRelatedCard
(
bool
b
)
{
}
public
void
SetOnDispRelatedCardCallback
(
Action
callback
)
{
}
public
void
SetOnOnClickRelatedCardButtonCallback
(
Action
<
int
>
callback
)
{
}
public
void
SetOnSelectedRelatedCardButtonCallback
(
Action
<
int
>
callback
)
{
}
public
void
SetOnSelectdRelatedCardButtonKetyDownCallback
(
SelectorManager
.
KeyType
main
,
SelectorManager
.
KeyType
sub
,
Action
<
int
>
callback
)
{
}
private
void
InitializeCloseButtonElement
()
{
}
public
void
SetOnClickCloseButtonCallback
(
Action
callback
)
{
}
public
void
SetOnSelectCloseButtonCallback
(
Action
callback
)
{
}
}
public
class
CardDropArea
:
PartialView
{
private
const
string
k_ELabelAddBookmarkImage
=
"AddBookmarkImage"
;
private
const
string
k_ELabelRemoveDeckImage
=
"RemoveDeckImage"
;
private
const
string
k_ELabelDropAreaOver
=
"DropAreaOver"
;
public
DropArea
m_DropArea
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
RectTransform
m_RemoveDeckImage
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
RectTransform
m_AddBookmarkImage
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
RectTransform
m_DropAreaOver
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
CardDropArea
(
ElementObjectManager
eom
)
{
}
protected
override
void
InitializeElements
()
{
}
}
public
class
CardListArea
:
PartialView
{
private
const
int
numPreLoad
=
12
;
private
const
string
k_ELabelInfinityScroll
=
"CardList"
;
private
const
string
k_ELabelLoadingIcon
=
"Loading"
;
private
const
string
k_ELabelNoItemButton
=
"NoItemButton"
;
private
const
string
k_ELabelNoItemText
=
"NoItemText"
;
private
const
string
k_ELabelCollection
=
"CollectionAreaCenter"
;
private
GridLayoutGroup
m_GridLayout
;
private
CanvasGroup
m_CardListCanavsGroup
;
private
EntityPoolController
entityPoolController
;
public
CardCollectionView
cardCollectionView
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
public
InfinityScrollView
m_InfinityScroll
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
RectTransform
m_LoadingIcon
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
SelectionButton
m_NoItemButton
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
ExtendedTextMeshProUGUI
m_NoItemText
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
ExtendedScrollRect
m_ExtendedScrollRect
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
RectTransform
m_CollectionAreaCenter
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
private
int
constraintCount
=>
0
;
private
int
constraintCount2
=>
0
;
private
List
<
CardBaseData
>
m_CardList
=>
null
;
private
int
regulationId
=>
0
;
private
DeckEditViewController2
.
DisplayMode
displayMode
=>
default
(
DeckEditViewController2
.
DisplayMode
);
private
Area
currentArea
=>
default
(
Area
);
public
Action
<
CardStrip
,
bool
>
onCreateCardCallback
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
public
Action
<
SelectionItem
>
onSelectedCardCallback
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
public
Action
<
bool
,
CardBaseData
>
onUpdateViewCallback
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
public
Action
<
SelectionItem
>
onInputLeftEdge
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
public
Action
onInputUpEdge
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
public
CardListArea
(
ElementObjectManager
eom
)
{
}
protected
override
void
InitializeElements
()
{
}
public
void
InitializeTemplate
()
{
}
public
void
InitializeScroll
()
{
}
private
void
OnCreateEntity
(
GameObject
obj
)
{
}
private
void
OnUpdateEntity
(
GameObject
obj
,
int
idx
)
{
}
private
void
OnRemoveEntity
(
GameObject
obj
,
int
idx
,
bool
isTop
)
{
}
public
void
UpdateView
(
bool
updateDataCount
,
bool
select
=
true
)
{
}
public
int
GetIndex
(
int
cardID
,
int
premiumID
=
-
1
)
{
return
0
;
}
public
void
CursorJumpUp
()
{
}
public
void
CursorJumpDown
()
{
}
public
void
CursorJumpRight
()
{
}
public
void
CursorJumpLeft
()
{
}
public
void
FocusItemAt
(
int
index
,
bool
immediate
,
bool
select
)
{
}
private
bool
OnCustomEdgeTransition
(
SelectionItem
selectionItem
,
PadInputDirection
direction
)
{
return
false
;
}
public
void
SelectLeftEdgeClosestItem
(
Vector2
screenPoint
,
float
angleDot
,
bool
isIni
=
false
)
{
}
public
void
StopScroll
()
{
}
private
void
SetDispNoItem
(
bool
disp
)
{
}
public
void
DispLoadingIcon
(
bool
disp
)
{
}
private
void
InitilizeNoItem
()
{
}
}
private
ElementObjectManager
m_Eom
;
private
static
Content
m_cci
;
private
const
string
k_ELabelShortcutIconGroup
=
"ShortcutIconGroup"
;
private
const
string
k_ELabelShortcutIcon0
=
"Icon0"
;
private
const
string
k_ELabelShortcutIcon1
=
"Icon1"
;
private
const
string
k_ELabelShortcutIconPlus
=
"IconPlus"
;
private
const
string
k_ELabelFilterAndSortArea
=
"FilterAndSortArea"
;
private
const
string
k_ELabelRelatedArea
=
"RelatedArea"
;
private
const
string
k_ELabelTabArea
=
"TabArea"
;
private
const
string
k_ELabelDropArea
=
"DropArea"
;
private
const
string
k_ELabelCardListArea
=
"CardListArea"
;
private
const
string
k_ELabelSelectedWindowCursor
=
"SelectedWindowCursor"
;
private
ElementObjectManager
m_FilterAndSortEom
;
private
ElementObjectManager
m_RelatedEom
;
private
ElementObjectManager
m_TabEom
;
private
ElementObjectManager
m_DropEom
;
private
ElementObjectManager
m_CardListEom
;
private
RectTransform
m_SelectedWindowCursor
;
protected
List
<
int
>
pooledHistoryCardIDs
;
protected
List
<
int
>
pooledBookmarkCardIDs
;
private
SelectionItem
currentItem
;
private
DeckEditViewController2
.
DisplayMode
displayMode
;
private
int
regulationID
;
private
bool
isModified
;
private
bool
isCurrentView
;
public
FilterAndSearchArea
m_FilterAndSearchArea
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
RelatedArea
m_RelatedArea
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
TabArea
m_TabArea
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
CardDropArea
m_CardDropArea
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
CardListArea
m_CardListArea
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
Func
<
List
<
CardBaseData
>>
m_CollectionCardGetter
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
public
Func
<
List
<
CardBaseData
>>
m_BookmarkCardGetter
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
public
Func
<
List
<
CardBaseData
>>
m_HistoryCardGetter
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
public
List
<
CardBaseData
>
m_DataList
=>
null
;
public
bool
isRelatedCardActive
{
[
CompilerGenerated
]
get
{
return
false
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
Area
m_Area
{
[
CompilerGenerated
]
get
{
return
default
(
Area
);
}
[
CompilerGenerated
]
private
set
{
}
}
public
bool
isDismantleMode
{
[
CompilerGenerated
]
get
{
return
false
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
SelectionButton
m_CollectionTab
=>
null
;
public
bool
isLoading
=>
false
;
public
RectTransform
m_CollectionAreaLayoutGroup
=>
null
;
public
void
SetReguration
(
int
regulationID
)
{
}
public
void
SetDirty
()
{
}
public
bool
IsModified
()
{
return
false
;
}
public
void
OnSaved
()
{
}
private
void
Awake
()
{
}
private
void
Start
()
{
}
public
void
ToggleTabAndArea
(
Area
a
)
{
}
private
void
ToggleTab
(
Area
a
)
{
}
public
void
ToggleNextTabAndArea
()
{
}
public
void
SetupTabShortcutIcon
(
Area
currentArea
)
{
}
public
void
HideTabShortcutIcon
()
{
}
public
void
SetOnClickCollectionTabButton
(
UnityAction
callback
)
{
}
public
void
SetOnClickBookmarkTabButton
(
UnityAction
callback
)
{
}
public
void
SetOnClickHistoryTabButton
(
UnityAction
callback
)
{
}
public
void
SetTabChangeShortcutKey
(
SelectorManager
.
KeyType
main
,
SelectorManager
.
KeyType
sub
)
{
}
public
void
ToggleFilterButton
(
bool
filtered
)
{
}
public
void
ToggleShowAllCardsButton
(
bool
showNotOwned
)
{
}
public
void
SetInteractableFilterSort
(
bool
interactable
)
{
}
public
void
SetSearchKeyWord
(
string
s
)
{
}
public
void
SetOnSubmitSearch
(
UnityAction
<
string
>
callback
)
{
}
public
void
SetOnClickResetSearchButton
(
UnityAction
callback
)
{
}
public
void
SetOnClickFilterButton
(
UnityAction
callback
)
{
}
public
void
SetOnClickShowAllCardsButton
(
UnityAction
callback
)
{
}
public
void
SetOnClickSortButton
(
UnityAction
callback
)
{
}
public
void
SetFilterButtonShortcutKey
(
SelectorManager
.
KeyType
main
,
SelectorManager
.
KeyType
sub
)
{
}
public
void
SetSortButtonShortcutKey
(
SelectorManager
.
KeyType
main
,
SelectorManager
.
KeyType
sub
)
{
}
public
void
SetResetSearchButtonShortcutKey
(
SelectorManager
.
KeyType
main
,
SelectorManager
.
KeyType
sub
)
{
}
public
void
SetShowAllCardsButtonShortcutKey
(
SelectorManager
.
KeyType
main
,
SelectorManager
.
KeyType
sub
)
{
}
public
void
ActivateSearchInput
()
{
}
public
void
SetTextSearchShortcutKey
(
SelectorManager
.
KeyType
main
,
SelectorManager
.
KeyType
sub
)
{
}
public
void
SetUncurrentView
()
{
}
public
void
SetCurrentView
()
{
}
public
void
SetDismantleMode
(
bool
b
)
{
}
public
void
SetSortButtonLabel
(
SortComparer
.
Sorter
sorter
)
{
}
public
void
SetOnSelectCloseRelatedCard
(
UnityAction
callback
)
{
}
public
void
SetOnClickCloseRelatedCard
(
UnityAction
callback
)
{
}
public
void
SetActiveRelatedCard
(
bool
b
,
int
id
=
0
)
{
}
private
void
SetDispRelatedCard
(
bool
disp
)
{
}
public
void
SetOnSelectRelatedCard
(
UnityAction
<
int
>
callback
)
{
}
public
void
SetOnClickRelatedCard
(
UnityAction
<
int
>
callback
)
{
}
public
void
SetSelectedShortcutRelatedCard
(
SelectorManager
.
KeyType
main
,
SelectorManager
.
KeyType
sub
,
Action
<
int
>
callback
)
{
}
private
void
SetShortcut
(
SelectionButton
button
,
DeviceIcon
deviceIcon
,
SelectorManager
.
KeyType
main
,
SelectorManager
.
KeyType
sub
)
{
}
public
void
SetDispDropArea
(
bool
disp
)
{
}
public
void
SetDispDropAreaOver
(
bool
disp
)
{
}
public
void
CursorJumpUp
()
{
}
public
void
CursorJumpDown
()
{
}
public
void
CursorJumpRight
()
{
}
public
void
CursorJumpLeft
()
{
}
public
void
FocusItemAt
(
int
index
,
bool
immediate
,
bool
select
)
{
}
public
int
GetIndex
(
int
cardID
,
int
premiumID
=
-
1
)
{
return
0
;
}
public
void
UpdateDisplayMode
(
DeckEditViewController2
.
DisplayMode
mode
,
bool
updateScroll
=
true
)
{
}
public
void
UpdateView
(
bool
updateDataCount
,
bool
select
=
true
)
{
}
public
void
ShowLoading
()
{
}
public
void
HideLoading
()
{
}
public
void
SelectLeftEdgeClosestItem
(
Vector2
screenPoint
,
float
angleDot
,
bool
isIni
=
false
)
{
}
public
void
SetActiveScroll
(
bool
condition
)
{
}
private
IEnumerator
waitDecrementDragCounter
()
{
return
null
;
}
public
void
SelectLeftUpEdgeItem
(
bool
isIni
=
true
)
{
}
public
void
SetOnSelectNoItemButton
(
UnityAction
callback
)
{
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/CardCollectionView.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: 33aefb08308b86c0cd539344139ad1d6
timeCreated: 1698741462
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/CardCraftDialog.cs
0 → 100644
View file @
ecd6769f
using
System
;
using
System.Collections.Generic
;
using
System.Runtime.CompilerServices
;
using
TMPro
;
using
UnityEngine.UI
;
using
YgomGame.Card
;
using
YgomGame.Menu
;
using
YgomSystem.ElementSystem
;
using
YgomSystem.UI
;
namespace
YgomGame.Deck
{
public
class
CardCraftDialog
:
SelectDialogViewControllerBase
<
CardCraftDialog
.
CraftMode
,
int
,
CardCollectionInfo
.
Premium
,
int
>,
IBokeSupported
{
public
enum
CraftMode
{
Create
=
0
,
Dismantle
=
1
}
private
class
CraftGroup
:
ElementWidget
{
private
ElementObjectManager
m_OperationEom
;
private
ElementObjectManager
m_ResultEom
;
//public RawImage m_CardImage
//{
// [CompilerGenerated]
// get
// {
// return null;
// }
// [CompilerGenerated]
// private set
// {
// }
//}
//public Image m_Rarity
//{
// [CompilerGenerated]
// get
// {
// return null;
// }
// [CompilerGenerated]
// private set
// {
// }
//}
public
SelectionButton
m_IncrementButton
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
SelectionButton
m_DecrementButton
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
TMP_Text
m_TextNum
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
TMP_Text
m_TextBeforeNum
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
TMP_Text
m_TextAfterNum
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
TMP_Text
m_TextPremiumNum
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
//public Image m_CPIcon
//{
// [CompilerGenerated]
// get
// {
// return null;
// }
// [CompilerGenerated]
// private set
// {
// }
//}
public
TMP_Text
m_TextBeforeCP
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
TMP_Text
m_TextAfterCP
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
TMP_Text
m_TextCompensation
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
private
void
InitializeOperationUI
()
{
}
private
void
InitializeResultUI
()
{
}
protected
override
void
InitializeElements
()
{
}
}
private
const
string
PREFAB_PATH_CARDCRAFTDIALOG
=
"DeckEdit/CraftDialog"
;
private
CraftMode
mode
;
private
int
currentCardNum
;
private
int
currentCraftPoint
;
private
int
createPoint
;
private
int
dismantlePoint
;
private
int
craftNum
;
private
bool
isCompensation
;
private
int
compensationId
;
private
int
compensationPoint
;
private
int
compensationNumMax
;
private
string
strEndTime
;
private
Dictionary
<
int
,
CraftCompensation
>
m_CraftCompensations
;
private
Dictionary
<
string
,
object
>
m_Compensations
;
private
const
string
LABEL_SBN_CANCELBUTTON
=
"ButtonFooter0"
;
private
const
string
LABEL_SBN_CRAFTBUTTON
=
"ButtonFooter1"
;
private
const
string
LABEL_TXT_CRAFTBUTTONLABEL
=
"TextButtonFooter1"
;
private
const
string
LABEL_TXT_CANCELBUTTONLABEL
=
"TextButtonFooter0"
;
private
const
string
LABEL_TXT_CONFIRMATIONPROMPT
=
"TextDescription"
;
private
const
string
LABEL_TXT_CONFIRMATIONMESSAGE1
=
"TextMessage1"
;
private
const
string
LABEL_TXT_CONFIRMATIONMESSAGE2
=
"TextMessage2"
;
private
const
string
LABEL_TXT_DIALOGTITLE
=
"TextTitle"
;
private
TMP_Text
m_Title
;
private
TMP_Text
m_CraftPrompt
;
private
TMP_Text
m_CraftMessage1
;
private
TMP_Text
m_CraftMessage2
;
private
TMP_Text
m_CraftButtonLabel
;
private
TMP_Text
m_CancelButtonLabel
;
private
SelectionButton
m_CraftButton
;
private
SelectionButton
m_CancelButton
;
private
const
int
CREATE_NUM_MIN
=
1
;
private
const
int
CREATE_NUM_MAX
=
3
;
private
const
int
DISMANTLE_NUM_MIN
=
1
;
private
const
int
DISMANTLE_NUM_MAX
=
99
;
private
Action
<
int
,
int
>
OnDicidedCallback
;
private
CraftGroup
m_CraftGroup
;
private
int
m_CurrentCardID
{
[
CompilerGenerated
]
get
{
return
0
;
}
[
CompilerGenerated
]
set
{
}
}
private
CardCollectionInfo
.
Premium
m_CurrentPremium
{
[
CompilerGenerated
]
get
{
return
default
(
CardCollectionInfo
.
Premium
);
}
[
CompilerGenerated
]
set
{
}
}
private
void
InitializeElements
()
{
}
public
static
void
Open
(
CraftMode
mode
,
int
cardID
,
CardCollectionInfo
.
Premium
prem
,
Action
<
int
,
int
>
callback
=
null
)
{
}
public
override
void
NotificationStackEntry
()
{
}
protected
override
void
OnCreatedView
()
{
}
private
void
SetCraftNum
(
int
craftNum
)
{
}
private
void
SetNumPremiums
()
{
}
private
void
CompensationCheck
()
{
}
public
CardCraftDialog
()
{
//((SelectDialogViewControllerBase<, , , >)(object)this)._002Ector();
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/CardCraftDialog.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: b3d79c341466dd34509efea7b804c4b6
timeCreated: 1698741461
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/CardData.cs
0 → 100644
View file @
ecd6769f
using
System.Collections.Generic
;
using
YgomGame.Card
;
namespace
YgomGame.Deck
{
public
static
class
CardData
{
public
enum
INFOKIND
{
Monster
=
0
,
Spell
=
1
,
Trap
=
2
,
ExMon
=
3
,
Error
=
4
}
private
static
int
refCount
;
private
static
bool
created
;
private
static
List
<
int
>
allCardList
;
private
static
bool
allCardListReq
;
public
static
bool
IsValid
=>
false
;
public
static
bool
IsReady
=>
false
;
public
static
void
AddRef
()
{
}
public
static
void
Release
()
{
}
public
static
Content
.
Frame
GetFrame
(
int
mrk
)
{
return
default
(
Content
.
Frame
);
}
public
static
Content
.
Attribute
GetAttr
(
int
mrk
)
{
return
default
(
Content
.
Attribute
);
}
public
static
Content
.
Type
GetType
(
int
mrk
)
{
return
default
(
Content
.
Type
);
}
public
static
int
GetStar
(
int
mrk
)
{
return
0
;
}
public
static
Content
.
Icon
GetIcon
(
int
mrk
)
{
return
default
(
Content
.
Icon
);
}
public
static
int
GetOriginalID2
(
int
mrk
)
{
return
0
;
}
public
static
bool
IsMainDeck
(
int
mrk
)
{
return
false
;
}
public
static
bool
IsMainDeck
(
Content
.
Frame
f
,
int
mrk
=
-
1
)
{
return
false
;
}
public
static
bool
IsMonster
(
int
mrk
)
{
return
false
;
}
public
static
bool
IsMonster
(
Content
.
Frame
f
,
int
mrk
=
-
1
)
{
return
false
;
}
public
static
bool
HasLevel
(
int
mrk
)
{
return
false
;
}
public
static
bool
HasLevel
(
Content
.
Frame
f
,
int
mrk
=
-
1
)
{
return
false
;
}
public
static
bool
IsValidCard
(
int
mrk
)
{
return
false
;
}
public
static
INFOKIND
GetInfoKind
(
int
mrk
)
{
return
default
(
INFOKIND
);
}
public
static
INFOKIND
GetInfoKind
(
Content
.
Frame
f
,
int
mrk
=
-
1
)
{
return
default
(
INFOKIND
);
}
public
static
List
<
int
>
GetAllCardList
()
{
return
null
;
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/CardData.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: 01005bf21a6402bce569fb53fbdcad81
timeCreated: 1698741462
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/CardDetailView.cs
0 → 100644
View file @
ecd6769f
using
System.Runtime.CompilerServices
;
using
UnityEngine
;
using
UnityEngine.Events
;
using
UnityEngine.UI
;
using
YgomGame.Card
;
using
YgomSystem.ElementSystem
;
using
YgomSystem.UI
;
using
YgomSystem.UI.ElementWidget
;
using
YgomSystem.YGomTMPro
;
namespace
YgomGame.Deck
{
public
class
CardDetailView
:
MonoBehaviour
{
public
abstract
class
ElementWidget
:
MonoBehaviour
{
protected
ElementObjectManager
m_Eom
;
protected
bool
isInitialized
;
public
bool
isIni
=>
false
;
public
void
Initialize
()
{
}
private
void
Awake
()
{
}
protected
abstract
void
InitializeElements
();
}
private
class
TitleArea
:
ElementWidget
{
public
RubyTextGX
m_CardName
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
RectTransform
m_NameArea
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
Image
m_NameAreaBG
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
Image
m_AttrIcon
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
protected
override
void
InitializeElements
()
{
}
}
public
class
CardArea
:
ElementWidget
{
private
int
m_CardID
;
private
CardCollectionInfo
.
Premium
m_Premium
;
public
RawImage
m_CardImage
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
Image
m_LimitIcon
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
Image
m_RarityIcon
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
SelectionButton
m_CardButton
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
Image
m_RentalImage
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
ExtendedTextMeshProUGUI
m_CardTotalText
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
ExtendedTextMeshProUGUI
m_NonPrizeCardTotalText
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
RectTransform
m_CardNumRoot
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
void
SetCard
(
int
cardId
,
CardCollectionInfo
.
Premium
premium
)
{
}
protected
override
void
InitializeElements
()
{
}
private
void
InitializeCardImage
()
{
}
private
void
InitializeCardNumText
()
{
}
}
private
class
ParameterArea
:
ElementWidget
{
public
class
ParamIcon
:
ElementWidget
{
public
Image
m_IconImage
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
ExtendedTextMeshProUGUI
m_IconText
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
protected
override
void
InitializeElements
()
{
}
}
public
GameObject
m_RentalCardText
;
private
ElementObjectManager
m_PremiumNumGroupEom
;
private
ExtendedTextMeshProUGUI
m_PremNum0
;
private
ExtendedTextMeshProUGUI
m_PremNum1
;
private
ExtendedTextMeshProUGUI
m_PremNum2
;
private
Image
m_PremSelector0
;
private
Image
m_PremSelector1
;
private
Image
m_PremSelector2
;
public
ParamIcon
m_TunerIcon
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
ParamIcon
m_TypeIcon
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
ParamIcon
m_PendScaleIcon
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
ParamIcon
m_LvlIcon
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
ParamIcon
m_RankIcon
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
ParamIcon
m_LinkIcon
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
ParamIcon
m_AtkIcon
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
ParamIcon
m_DefIcon
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
RectTransform
m_SpellTrapTypeRoot
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
Image
m_SpellTrapIconImage
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
ExtendedTextMeshProUGUI
m_SpellTrapIconText
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
RectTransform
m_DismantleableRoot
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
ExtendedTextMeshProUGUI
m_DismantleableValueText
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
void
SetAsRental
(
bool
isRental
,
bool
dispDismantleableText
=
false
)
{
}
public
void
SetPrems
(
int
cardId
,
CardCollectionInfo
.
Premium
prem
,
bool
isRental
)
{
}
protected
override
void
InitializeElements
()
{
}
}
private
class
MenuArea
:
ElementWidget
{
private
class
CraftButtonWidget
:
ElementWidget
{
public
SelectionButton
m_Button
;
public
Transform
m_CPGroup
;
public
ExtendedTextMeshProUGUI
m_ButtonText
;
public
Image
m_IconCP
;
public
ExtendedTextMeshProUGUI
m_TextCP
;
public
Image
m_IconEnabled
;
public
Image
m_IconDisabled
;
protected
override
void
InitializeElements
()
{
}
}
private
RectTransform
m_BookmarkOn
;
private
RectTransform
m_BookmarkOff
;
private
CraftButtonWidget
m_CraftCreateButton
;
private
CraftButtonWidget
m_CraftDismantleButton
;
public
SelectionButton
m_BookmarkButton
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
SelectionButton
m_HowToGetButton
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
SelectionButton
m_RelatedCardButton
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
SelectionButton
m_AddCardButton
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
SelectionButton
m_RemoveCardButton
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
SelectionButton
m_CreateButton
=>
null
;
public
SelectionButton
m_DismantleButton
=>
null
;
public
RectTransform
m_CardGroupRoot
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
RectTransform
m_MenuGroupRoot
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
RectTransform
m_CraftGroupRoot
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
protected
override
void
InitializeElements
()
{
}
public
void
ToggleBookmark
(
bool
isBookmarked
)
{
}
private
void
InitializeCraftElements
()
{
}
public
void
SetCraftable
(
bool
craftable
,
int
rarityID
)
{
}
public
void
SetDismantable
(
bool
dismantable
,
int
rarityID
,
CardCollectionInfo
.
Premium
premium
)
{
}
}
private
ElementObjectManager
m_Eom
;
private
ElementObjectManager
m_eom
;
private
bool
isIni
;
protected
int
m_Rarity
;
protected
CardIconSprites
m_CardIconSprites
;
private
TitleArea
m_TitleArea
;
protected
CardArea
m_CardArea
;
private
ParameterArea
m_ParameterArea
;
private
MenuArea
m_MenuArea
;
private
const
string
LABEL_SB_WINDOW
=
"Window"
;
protected
const
string
LABEL_Tween_AutoScroll
=
"AutoScroll"
;
protected
Material
m_TextBGMaterial
;
protected
ContentSizeFitter
m_DescTextSizeFitter
;
protected
SelectionButtonUntouchable
m_Window
;
private
UnityAction
m_OnClickCraftCreate
;
private
UnityAction
m_OnClickCraftDismantle
;
private
UnityAction
m_OnClickRelatedCards
;
private
UnityAction
m_OnClickButtonBookmark
;
private
UnityAction
m_OnClickCheckSource
;
private
UnityAction
m_OnClickAddCard
;
private
UnityAction
m_OnClickRemoveCard
;
private
UnityAction
m_OnClickCardButton
;
public
ToggleWidget
bookmarkToggle
;
protected
int
m_CardID
{
[
CompilerGenerated
]
get
{
return
0
;
}
[
CompilerGenerated
]
set
{
}
}
public
CardBaseData
card
=>
default
(
CardBaseData
);
protected
CardCollectionInfo
.
Premium
m_Premium
{
[
CompilerGenerated
]
get
{
return
default
(
CardCollectionInfo
.
Premium
);
}
[
CompilerGenerated
]
set
{
}
}
protected
bool
m_IsRental
{
[
CompilerGenerated
]
get
{
return
false
;
}
[
CompilerGenerated
]
set
{
}
}
private
static
Content
m_cci
=>
null
;
protected
Image
m_AttrIcon
=>
null
;
protected
Image
m_NameAreaBG
=>
null
;
protected
RubyTextGX
m_CardName
=>
null
;
protected
RectTransform
m_NameArea
=>
null
;
protected
SelectionButton
m_CardButton
=>
null
;
protected
RawImage
m_CardImage
=>
null
;
protected
Image
m_RarityIcon
=>
null
;
protected
Image
m_RegulationIcon
=>
null
;
protected
ExtendedTextMeshProUGUI
m_CardTotalText
=>
null
;
protected
RectTransform
m_CardNumRoot
=>
null
;
protected
Image
m_TunerIcon
=>
null
;
protected
Image
m_TypeIcon
=>
null
;
protected
Image
m_PendScaleIcon
=>
null
;
protected
Image
m_LvlIcon
=>
null
;
protected
Image
m_RankIcon
=>
null
;
protected
Image
m_LinkIcon
=>
null
;
protected
Image
m_AtkIcon
=>
null
;
protected
Image
m_DefIcon
=>
null
;
protected
ExtendedTextMeshProUGUI
m_PendScaleText
=>
null
;
protected
ExtendedTextMeshProUGUI
m_LvlText
=>
null
;
protected
ExtendedTextMeshProUGUI
m_RankText
=>
null
;
protected
ExtendedTextMeshProUGUI
m_LinkText
=>
null
;
protected
ExtendedTextMeshProUGUI
m_AtkText
=>
null
;
protected
ExtendedTextMeshProUGUI
m_DefText
=>
null
;
protected
RectTransform
m_SpellTrapType
=>
null
;
protected
Image
m_SpellTrapTypeIcon
=>
null
;
protected
ExtendedTextMeshProUGUI
m_SpellTrapTypeText
=>
null
;
protected
RectTransform
m_DismantleableRoot
=>
null
;
protected
ExtendedTextMeshProUGUI
m_DismantleableValue
=>
null
;
protected
SelectionButton
m_AddCardButton
=>
null
;
protected
SelectionButton
m_RemoveCardButton
=>
null
;
protected
SelectionButton
m_BookmarkButton
=>
null
;
protected
SelectionButton
m_HowToGetButton
=>
null
;
protected
SelectionButton
m_RelatedCardButton
=>
null
;
protected
SelectionButton
m_CreateButton
=>
null
;
protected
SelectionButton
m_DismantleButton
=>
null
;
protected
RectTransform
m_MenuGroup
=>
null
;
protected
RectTransform
m_CraftGroup
=>
null
;
protected
ExtendedTextMeshProUGUI
m_DescText
=>
null
;
protected
ExtendedTextMeshProUGUI
m_DescTitleText
=>
null
;
protected
Image
m_DescAreaBG
=>
null
;
protected
ExtendedScrollRect
m_TextAreaScroll
=>
null
;
private
ExtendedScrollRect
m_TextArea
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
private
ExtendedTextMeshProUGUI
m_CardDesc
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
private
ExtendedTextMeshProUGUI
m_CardDescHeading
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
private
Image
m_DescAreaBG_
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
public
void
SetActiveButtonCraftCreate
(
bool
active
)
{
}
public
void
SetActiveButtonCraftDismantle
(
bool
active
)
{
}
protected
void
setCraftPoint
(
bool
isRental
=
false
)
{
}
public
void
UpdateCraftPoint
()
{
}
protected
void
SetPrems
(
int
cardId
,
CardCollectionInfo
.
Premium
prem
,
bool
isRental
)
{
}
private
void
OnDestroy
()
{
}
private
void
InitializeElements
()
{
}
private
void
Awake
()
{
}
private
void
Start
()
{
}
protected
void
setCardImage
()
{
}
protected
void
setRentalCardImage
(
bool
isRental
,
bool
dispDismantleableText
=
false
)
{
}
protected
void
setCardName
()
{
}
protected
void
setTextBGMat
()
{
}
protected
void
setCardText
()
{
}
protected
void
setAttribute
()
{
}
protected
void
setAttack
()
{
}
protected
void
setDefence
()
{
}
protected
void
setTuner
()
{
}
protected
void
setPendulumScale
()
{
}
protected
void
setLevel
()
{
}
protected
void
setRank
()
{
}
protected
void
setLinkRating
()
{
}
protected
void
setType
()
{
}
protected
void
setSpellTrapType
()
{
}
protected
void
setRarity
()
{
}
protected
void
setDescriptionTitle
()
{
}
public
void
SetInventory
(
int
rentalID
=
0
,
bool
isRental
=
false
)
{
}
protected
void
setDismantleableValue
()
{
}
protected
void
setRegulationIcon
(
int
id
)
{
}
public
void
SetActiveButtons
(
bool
b
)
{
}
public
void
SetBookmark
(
bool
b
)
{
}
public
void
SetBlank
(
bool
b
)
{
}
public
virtual
void
SetCard
(
CardBaseData
data
,
int
rent
=
0
,
int
reg
=
-
1
,
bool
bookmark
=
false
,
bool
dispDismantleableText
=
false
)
{
}
public
void
SetOnClickBookmarkCallBack
(
UnityAction
callback
)
{
}
public
void
SetOnClickCreateCallBack
(
UnityAction
callback
)
{
}
public
void
SetOnClickDismantleCallBack
(
UnityAction
callback
)
{
}
public
void
SetOnClickRelatedCardsCallBack
(
UnityAction
callback
)
{
}
public
void
SetOnClickCheckSourceCallBack
(
UnityAction
callback
)
{
}
public
void
SetOnClickAddCardCallBack
(
UnityAction
callback
)
{
}
public
void
SetActiveAddCard
(
bool
enabled
)
{
}
public
void
SetOnClickRemoveCardCallBack
(
UnityAction
callback
)
{
}
public
void
SetActiveRemove
(
bool
enabled
)
{
}
public
void
SetOnClickCardImage
(
UnityAction
callback
)
{
}
public
void
SetCardButtonShortcutKey
(
SelectorManager
.
KeyType
keyMain
,
SelectorManager
.
KeyType
keySub
)
{
}
public
RectTransform
GetCardImageRectTransform
()
{
return
null
;
}
public
void
SetDimsmantleMode
(
bool
b
)
{
}
public
void
SetActiveSubMenuButton
(
bool
activeRelatedCard
,
bool
activeSourceButton
)
{
}
public
void
SetActiveCardMenu
(
bool
b
)
{
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/CardDetailView.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: 33aa1b8739945af4570c851124aba40b
timeCreated: 1698741462
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/CardParameterWidget.cs
0 → 100644
View file @
ecd6769f
using
UnityEngine.UI
;
using
YgomGame.Card
;
using
YgomSystem.UI
;
using
YgomSystem.YGomTMPro
;
namespace
YgomGame.Deck
{
public
abstract
class
CardParameterWidget
:
CardBase
{
public
SelectionButton
m_BodyButton
;
protected
CardIconSprites
m_CardIconSprites
;
protected
static
Content
m_cci
=>
null
;
protected
abstract
Image
m_AttrIcon
{
get
;
}
protected
abstract
Image
m_TunerIcon
{
get
;
}
protected
abstract
Image
m_PendScaleIcon
{
get
;
}
protected
abstract
ExtendedTextMeshProUGUI
m_PendScaleText
{
get
;
}
protected
abstract
Image
m_LvlIcon
{
get
;
}
protected
abstract
ExtendedTextMeshProUGUI
m_LvlText
{
get
;
}
protected
abstract
Image
m_RankIcon
{
get
;
}
protected
abstract
ExtendedTextMeshProUGUI
m_RankText
{
get
;
}
protected
abstract
Image
m_LinkIcon
{
get
;
}
protected
abstract
ExtendedTextMeshProUGUI
m_LinkText
{
get
;
}
protected
abstract
Image
m_TypeIcon
{
get
;
}
protected
abstract
Image
m_SpellTrapTypeIcon
{
get
;
}
protected
abstract
Image
m_RegulationIcon
{
get
;
}
protected
abstract
Image
m_RarityIcon
{
get
;
}
protected
void
setRegulationIcon
(
int
id
)
{
}
protected
void
setRegulationVisible
(
bool
b
)
{
}
protected
void
setAttribute
(
bool
b
=
true
)
{
}
protected
void
setTuner
(
bool
b
=
true
)
{
}
protected
void
setPendulumScale
(
bool
b
=
true
)
{
}
protected
void
setLevel
(
bool
b
=
true
)
{
}
protected
void
setRank
(
bool
b
=
true
)
{
}
protected
void
setLinkRating
(
bool
b
=
true
)
{
}
protected
void
setType
(
bool
b
=
true
)
{
}
protected
void
setSpellTrapType
(
bool
b
=
true
)
{
}
protected
void
setRarity
(
bool
b
=
true
)
{
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/CardParameterWidget.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: 86cf451be0c4be65fab86a0ecef6c304
timeCreated: 1698741462
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/CardStrip.cs
0 → 100644
View file @
ecd6769f
using
System.Collections.Generic
;
using
UnityEngine.UI
;
using
YgomSystem.UI
;
using
YgomSystem.YGomTMPro
;
namespace
YgomGame.Deck
{
public
class
CardStrip
:
DeckEditCard
{
private
ExtendedTextMeshProUGUI
m_CardInventory
;
private
Image
m_InDeckIndicatorRental
;
private
Image
m_InDeckIndicator1
;
private
Image
m_InDeckIndicator2
;
private
Image
m_InDeckIndicator3
;
private
int
inDeckR
;
private
int
inDeckN
;
private
int
inDeckP1
;
private
int
inDeckP2
;
private
List
<
Image
>
m_IndicatorsR
;
private
List
<
Image
>
m_IndicatorsN
;
private
List
<
Image
>
m_IndicatorsP1
;
private
List
<
Image
>
m_IndicatorsP2
;
private
int
inDeckAlterR
;
private
int
inDeckAlterN
;
private
int
inDeckAlterP1
;
private
int
inDeckAlterP2
;
private
List
<
Image
>
m_IndicatorsAlterR
;
private
List
<
Image
>
m_IndicatorsAlterN
;
private
List
<
Image
>
m_IndicatorsAlterP1
;
private
List
<
Image
>
m_IndicatorsAlterP2
;
private
bool
isIni
;
protected
new
void
InitializeElemnts
()
{
}
private
void
Awake
()
{
}
private
void
Start
()
{
}
public
void
SetCardInventory
(
bool
nonPrizeOnly
=
false
)
{
}
public
void
SetCardInventory
(
int
num
)
{
}
public
void
SetInDeckSum
(
int
numN
,
int
alterN
,
int
numP1
,
int
alterP1
,
int
numP2
,
int
alterP2
,
int
numRental
,
int
alterR
)
{
}
private
void
AdjustIndicator
(
int
oldNum
,
int
newNum
,
List
<
Image
>
list
,
Image
template
,
bool
isAlter
=
false
)
{
}
public
void
SetInDeckIndicatorColor
(
bool
isFull
)
{
}
public
override
void
SetData
(
CardBaseData
baseData
,
int
regulationID
,
DeckEditViewController2
.
DisplayMode
mode
=
DeckEditViewController2
.
DisplayMode
.
Simple
)
{
}
public
new
void
ScalingIcons
(
float
scale
=
1.5f
)
{
}
public
SelectionItem
GetSelectionItem
()
{
return
null
;
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/CardStrip.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: ec4ecdb452685e252458169acf0da886
timeCreated: 1698741461
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/CardUtilWidget.cs
0 → 100644
View file @
ecd6769f
using
UnityEngine
;
using
UnityEngine.Events
;
using
UnityEngine.UI
;
using
YgomSystem.UI
;
using
YgomSystem.YGomTMPro
;
namespace
YgomGame.Deck
{
public
abstract
class
CardUtilWidget
:
CardParameterWidget
{
protected
Material
m_TextBGMaterial
;
protected
UnityAction
m_OnClickCraftCreate
;
protected
UnityAction
m_OnClickCraftDismantle
;
protected
UnityAction
m_OnClickRelatedCards
;
protected
UnityAction
m_OnClickButtonAddCard
;
protected
UnityAction
m_OnClickButtonRemoveCard
;
protected
UnityAction
m_OnClickBackButton
;
protected
UnityAction
m_OnClickButtonBookmark
;
protected
UnityAction
m_OnClickLootSource
;
protected
abstract
Image
m_AtkIcon
{
get
;
}
protected
abstract
ExtendedTextMeshProUGUI
m_AtkText
{
get
;
}
protected
abstract
Image
m_DefIcon
{
get
;
}
protected
abstract
ExtendedTextMeshProUGUI
m_DefText
{
get
;
}
protected
abstract
RectTransform
m_SpellTrapType
{
get
;
}
protected
abstract
ExtendedTextMeshProUGUI
m_SpellTrapTypeText
{
get
;
}
protected
abstract
ExtendedScrollRect
m_TextArea
{
get
;
}
protected
abstract
ExtendedTextMeshProUGUI
m_CardDesc
{
get
;
}
protected
abstract
ExtendedTextMeshProUGUI
m_CardDescHeading
{
get
;
}
protected
abstract
Image
m_NameAreaBG
{
get
;
}
protected
abstract
Image
m_DescAreaBG
{
get
;
}
protected
abstract
RubyTextGX
m_CardName
{
get
;
}
protected
abstract
SelectionButton
m_CreateButton
{
get
;
}
protected
abstract
SelectionButton
m_DismantleButton
{
get
;
}
protected
abstract
SelectionButton
m_AddCardButton
{
get
;
}
protected
abstract
SelectionButton
m_RemoveCardButton
{
get
;
}
protected
abstract
SelectionButton
m_BookmarkButton
{
get
;
}
protected
abstract
SelectionButton
m_HowToGetButton
{
get
;
}
protected
abstract
SelectionButton
m_RelatedCardButton
{
get
;
}
protected
void
setCardName
()
{
}
protected
void
setAttack
()
{
}
protected
void
setDefence
()
{
}
protected
void
setDescriptionHeading
()
{
}
private
void
setCardText
()
{
}
protected
void
setCardNameBG
()
{
}
protected
void
setDescAreaBG
()
{
}
protected
void
setSpellTrapType
()
{
}
public
void
SetOnClickAddToMainButtonCallBack
(
UnityAction
callback
)
{
}
public
void
SetOnClickRemoveFromMainButtonCallBack
(
UnityAction
callback
)
{
}
public
void
SetOnClickBookmarkButtonCallBack
(
UnityAction
callback
)
{
}
public
void
SetOnClickCraftCreateButtonCallBack
(
UnityAction
callback
)
{
}
public
void
SetOnClickCraftDismantleButtonCallBack
(
UnityAction
callback
)
{
}
public
void
SetOnClickRelatedCardsButton
(
UnityAction
callback
)
{
}
public
void
SetOnClickLootSourceButton
(
UnityAction
callback
)
{
}
public
void
SetOnClickBackButton
(
UnityAction
callback
)
{
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/CardUtilWidget.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: f566b3cfe5880f3926592afc0fe3080a
timeCreated: 1698741461
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/CategoryReference.cs
0 → 100644
View file @
ecd6769f
namespace
YgomGame.Deck
{
internal
class
CategoryReference
{
public
int
id
;
public
string
name
;
public
string
kana
;
public
override
bool
Equals
(
object
obj
)
{
return
false
;
}
public
override
int
GetHashCode
()
{
return
0
;
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/CategoryReference.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: 2b9297189e958414489ecac2a3a2df53
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/CraftCompensation.cs
0 → 100644
View file @
ecd6769f
namespace
YgomGame.Deck
{
public
class
CraftCompensation
{
public
int
id
;
public
int
cardId
;
public
int
point
;
public
int
maxNum
;
public
string
openDate
;
public
string
endDate
;
public
long
endTime
;
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/CraftCompensation.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: 9db0b48e28249864db328bbd2a172834
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/CraftEffect.cs
0 → 100644
View file @
ecd6769f
using
System
;
using
System.Collections
;
using
System.Collections.Generic
;
using
UnityEngine
;
using
YgomGame.Duel
;
using
YgomGame.Effect
;
namespace
YgomGame.Deck
{
public
class
CraftEffect
{
public
enum
Mode
{
Create
=
0
,
Dismantle
=
1
}
private
enum
Step
{
Loading
=
0
,
CardEffect
=
1
,
TrailEffect
=
2
,
PointEffect
=
3
,
Finished
=
4
}
private
Mode
mode
;
private
const
string
prefabPathCraftEffectCreateCard
=
"Prefabs/UI/DeckEdit/fxp_DeckEditUI/fxp_DeckEditUI_generate_001"
;
private
const
string
prefabPathCraftEffectDismantleCard
=
"Prefabs/UI/DeckEdit/fxp_DeckEditUI/fxp_DeckEditUI_dismantle_001"
;
private
const
string
prefabPathCraftEffectTrail
=
"Prefabs/UI/DeckEdit/fxp_DeckEditUI/fxp_DeckEditUI_trail_001"
;
private
const
string
prefabPathCraftEffectPoint
=
"Prefabs/UI/DeckEdit/fxp_DeckEditUI/fxp_DeckEditUI_point_001"
;
private
EffectHandler
effectCard
;
private
EffectHandler
effectTrail
;
private
EffectHandler
effectPoint
;
private
ChainedBezierMotion
motion
;
private
float
time
;
private
Step
step
;
private
Action
onFinished
;
public
static
CraftEffect
Create
(
Mode
mode
,
Transform
parent
,
RectTransform
targetCard
,
RectTransform
targetPoint
,
List
<
BezierMotionSetting
>
motionList
,
bool
actionMenu
)
{
return
null
;
}
private
void
Initialize
(
Mode
mode
,
Transform
parent
,
RectTransform
targetCard
,
RectTransform
targetPoint
,
List
<
BezierMotionSetting
>
motionList
,
bool
actionMenu
)
{
}
public
void
StartEffect
(
Action
onPlayPointEffect
,
Action
onFinished
)
{
}
private
IEnumerator
UpdateCreateEffect
(
Action
onPlayPointEffect
)
{
return
null
;
}
private
IEnumerator
UpdateDismantleEffect
(
Action
onPlayPointEffect
)
{
return
null
;
}
public
void
Finish
()
{
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/CraftEffect.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: baed43e5fad091893eeba6d28752870b
timeCreated: 1698741461
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckBox.cs
0 → 100644
View file @
ecd6769f
using
System
;
using
System.Runtime.CompilerServices
;
using
TMPro
;
using
UnityEngine
;
using
UnityEngine.Events
;
using
UnityEngine.UI
;
using
YgomGame.Menu.Common
;
using
YgomSystem.ElementSystem
;
using
YgomSystem.UI
;
namespace
YgomGame.Deck
{
public
class
DeckBox
:
MonoBehaviour
{
protected
ElementObjectManager
m_eom
;
protected
ElementObjectManager
m_body
;
protected
TextMeshProUGUI
m_DeckNameText
;
protected
GameObject
m_CreateDeckIcon
;
protected
GameObject
m_DisabledIcon
;
protected
GameObject
m_CurrentDeckIcon
;
protected
SelectionButton
m_button
;
private
ElementObjectManager
m_SelectionToggle
;
private
GameObject
m_ToggleOn
;
public
Image
m_regImage
;
protected
GameObject
m_deckCaseObj
;
protected
UnityAction
m_OnClickAction
;
protected
int
m_deckID
;
public
Action
onSelectedTweenCallback
;
public
Action
onDeSelectedTweenCallback
;
protected
string
m_deckName
;
protected
DeckCaseWidget
m_deckCaseWidget
;
public
bool
m_isSelected
{
get
{
return
false
;
}
set
{
}
}
public
string
SoundLabelClick
{
set
{
}
}
public
int
deckID
{
get
{
return
0
;
}
set
{
}
}
public
SelectionButton
button
=>
null
;
public
string
deckName
{
get
{
return
null
;
}
set
{
}
}
public
DeckCaseWidget
deckCaseWidget
=>
null
;
public
DeckSelectViewController2
.
DeckCondition
m_Condition
{
[
CompilerGenerated
]
get
{
return
default
(
DeckSelectViewController2
.
DeckCondition
);
}
[
CompilerGenerated
]
set
{
}
}
private
void
Awake
()
{
}
public
void
Initialize
()
{
}
protected
void
SetTweenCallback
()
{
}
public
IAsyncProgressContainer
SetAsCreateButton
()
{
return
null
;
}
public
IAsyncProgressContainer
SetAsDeck
(
int
id
,
string
name
,
int
case_id
,
int
protector_id
,
int
[]
pickup_ids
,
int
[]
pickup_decos
,
bool
opened
=
false
,
bool
setAsNewButton
=
false
,
bool
isDeletemode
=
false
,
bool
isSelected
=
false
)
{
return
null
;
}
private
IAsyncProgressContainer
SetData
(
int
id
,
string
name
,
int
case_id
,
int
protector_id
,
int
[]
pickup_ids
,
int
[]
pickup_decos
,
bool
opened
=
false
,
bool
setAsNewButton
=
false
,
bool
isDeletemode
=
false
,
bool
isSelected
=
false
)
{
return
null
;
}
public
void
SetOnClickCallback
(
UnityAction
callback
)
{
}
public
void
SetCurrentDeckIcon
(
bool
disp
)
{
}
public
bool
GetCurrentDeckIconDisp
()
{
return
false
;
}
public
void
SetDisableDeckIcon
(
bool
disp
)
{
}
private
void
Start
()
{
}
private
void
Update
()
{
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckBox.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: dc8bec44edce1ca37186e6bc1c9bb407
timeCreated: 1698741462
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckCard.cs
0 → 100644
View file @
ecd6769f
using
System.Runtime.CompilerServices
;
using
UnityEngine
;
namespace
YgomGame.Deck
{
public
class
DeckCard
:
DeckEditCard
{
public
enum
LocationInDeck
{
NA
=
0
,
M
=
1
,
E
=
2
,
S
=
3
,
T
=
4
,
D
=
5
}
public
LocationInDeck
m_Location
{
[
CompilerGenerated
]
get
{
return
default
(
LocationInDeck
);
}
[
CompilerGenerated
]
set
{
}
}
private
void
Awake
()
{
}
public
void
Initialize
()
{
}
private
void
Start
()
{
}
public
static
DeckCard
Create
(
Transform
parent
)
{
return
null
;
}
public
void
SetRarity
(
bool
b
)
{
}
public
void
SetRegulation
(
int
regurationID
)
{
}
public
void
SetRegulationVisible
(
bool
b
)
{
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckCard.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: e8f1434591eac8cf0f1ecf6499570583
timeCreated: 1698741461
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckEditCard.cs
0 → 100644
View file @
ecd6769f
using
UnityEngine.UI
;
using
YgomSystem.YGomTMPro
;
namespace
YgomGame.Deck
{
public
class
DeckEditCard
:
CardParameterWidget
{
protected
const
string
LABEL_SBN_BODY
=
"ImageCard"
;
private
const
string
LABEL_IMG_ATTRIBUTEICON
=
"IconAttribute"
;
private
const
string
LABEL_IMG_LEVELICON
=
"IconLevel"
;
private
const
string
LABEL_TXT_LEVEL
=
"TextLevel"
;
protected
const
string
LABEL_IMG_REGULATIONICON
=
"IconLimit"
;
private
const
string
LABEL_IMG_LINKICON
=
"IconLink"
;
private
const
string
LABEL_TXT_LINK
=
"TextLink"
;
private
const
string
LABEL_IMG_PENDULUMICON
=
"IconPendulumScale"
;
private
const
string
LABEL_TXT_PENDULUM_SCALE
=
"TextPendulumScale"
;
private
const
string
LABEL_IMG_RANKICON
=
"IconRank"
;
private
const
string
LABEL_TXT_RANK
=
"TextRank"
;
private
const
string
LABEL_IMG_TUNERICON
=
"IconTuner"
;
private
const
string
LABEL_IMG_TYPEICON
=
"IconType"
;
private
const
string
LABEL_IMG_SPELLTRAPTYPEICON
=
"IconSpellTrapType"
;
private
const
string
LABEL_IMG_RARITYICON
=
"IconRarity"
;
private
Image
AttrIcon
;
private
Image
TunerIcon
;
private
Image
PendScaleIcon
;
private
ExtendedTextMeshProUGUI
PendScaleText
;
private
Image
LvlIcon
;
private
ExtendedTextMeshProUGUI
LvlText
;
private
Image
RankIcon
;
private
ExtendedTextMeshProUGUI
RankText
;
private
Image
LinkIcon
;
private
ExtendedTextMeshProUGUI
LinkText
;
private
Image
TypeIcon
;
private
Image
SpellTrapTypeIcon
;
private
Image
RegulationIcon
;
private
Image
RarityIcon
;
private
bool
isIni
;
protected
override
Image
m_AttrIcon
=>
null
;
protected
override
Image
m_TunerIcon
=>
null
;
protected
override
Image
m_TypeIcon
=>
null
;
protected
override
Image
m_SpellTrapTypeIcon
=>
null
;
protected
override
Image
m_PendScaleIcon
=>
null
;
protected
override
ExtendedTextMeshProUGUI
m_PendScaleText
=>
null
;
protected
override
Image
m_LvlIcon
=>
null
;
protected
override
ExtendedTextMeshProUGUI
m_LvlText
=>
null
;
protected
override
Image
m_RankIcon
=>
null
;
protected
override
ExtendedTextMeshProUGUI
m_RankText
=>
null
;
protected
override
Image
m_LinkIcon
=>
null
;
protected
override
ExtendedTextMeshProUGUI
m_LinkText
=>
null
;
protected
override
Image
m_RegulationIcon
=>
null
;
protected
override
Image
m_RarityIcon
=>
null
;
protected
new
void
InitializeElemnts
()
{
}
public
virtual
void
SetData
(
CardBaseData
baseData
,
int
regulationID
,
DeckEditViewController2
.
DisplayMode
mode
=
DeckEditViewController2
.
DisplayMode
.
Simple
)
{
}
public
void
ScalingIcons
(
float
scale
=
1.5f
)
{
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckEditCard.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: 25bad63708485d05701e888206264d56
timeCreated: 1698741462
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckEditFooter.cs
0 → 100644
View file @
ecd6769f
using
System.Collections.Generic
;
using
UnityEngine
;
using
YgomSystem.ElementSystem
;
using
YgomSystem.UI
;
using
YgomSystem.Utility
;
namespace
YgomGame.Deck
{
public
class
DeckEditFooter
{
public
enum
FooterType
{
CursorJump
=
0
,
OptionL1
=
1
,
OptionR1
=
2
,
AddDeckCard
=
3
,
RemoveDeckCard
=
4
,
CardDetail
=
5
,
ChangeActiveWindow
=
6
}
private
class
DisplayRequest
{
public
bool
display
;
}
private
ElementObjectManager
template
;
private
Transform
parent
;
private
KeyConfigContainer
keyConfig
;
private
Dictionary
<
FooterType
,
GameObject
>
footerList
;
private
Dictionary
<
FooterType
,
DisplayRequest
>
dispRequest
;
private
bool
requestUpdateDisplay
;
public
void
Setup
(
ElementObjectManager
template
,
Transform
parent
,
KeyConfigContainer
keyConfig
)
{
}
public
void
CreateFooterDescription
(
FooterType
footerType
,
string
keyLabel
,
string
text
)
{
}
public
void
CreateFooterDescription
(
FooterType
footerType
,
SelectorManager
.
KeyType
keyType
,
string
text
)
{
}
public
void
CreateFooterDescription
(
FooterType
footerType
,
int
buttonID
,
string
text
)
{
}
private
void
SetDisp
(
FooterType
footerType
,
bool
disp
)
{
}
public
void
Update
()
{
}
public
void
RequestDisplay
(
FooterType
footerType
,
bool
disp
)
{
}
public
void
RequestHideAll
()
{
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckEditFooter.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: b72fb7c5a61a2344779147eee47b5b87
timeCreated: 1698741462
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckEditUtil.cs
0 → 100644
View file @
ecd6769f
using
System.Collections.Generic
;
using
System.Runtime.CompilerServices
;
namespace
YgomGame.Deck
{
public
static
class
DeckEditUtil
{
public
enum
SelectorPriority
{
DeckEditor
=
0
,
ActionMenu
=
1
,
CardDetail
=
2
}
private
static
SortComparer
.
Sorter
deckSorter
;
public
static
int
selectorPriorityBase
{
[
CompilerGenerated
]
get
{
return
0
;
}
[
CompilerGenerated
]
set
{
}
}
public
static
int
GetSelectorPriority
(
int
priority
)
{
return
0
;
}
public
static
int
GetSelectorPriority
(
SelectorPriority
priority
)
{
return
0
;
}
public
static
void
SortCardDataList
(
List
<
CardBaseData
>
list
)
{
}
public
static
void
SortCardDataList
(
List
<
CardBaseData
>
list
,
SortComparer
.
Sorter
sorter
)
{
}
public
static
bool
IsDifferentCardList
(
List
<
CardBaseData
>
deckA
,
List
<
CardBaseData
>
deckB
)
{
return
false
;
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckEditUtil.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: 4e97234de2bddc866d1a45fe3a9ea299
timeCreated: 1698741462
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckInfo.cs
0 → 100644
View file @
ecd6769f
using
System.Collections.Generic
;
using
UnityEngine
;
using
YgomSystem.ElementSystem
;
namespace
YgomGame.Deck
{
public
class
DeckInfo
{
public
enum
DeckType
{
M
=
0
,
E
=
1
,
S
=
2
,
T
=
3
}
public
abstract
class
BaseDeckInfo
{
protected
const
string
KEY_M
=
"m"
;
protected
const
string
KEY_E
=
"e"
;
protected
const
string
KEY_S
=
"s"
;
protected
const
string
KEY_T
=
"t"
;
protected
const
string
KEY_IDS
=
"ids"
;
protected
const
string
KEY_R
=
"r"
;
protected
const
string
KEY_DECKID
=
"deck_id"
;
protected
const
string
KEY_NAME
=
"name"
;
protected
const
string
KEY_ACCESSORY
=
"accessory"
;
protected
const
string
KEY_PICKCARDS
=
"pick_cards"
;
protected
const
string
KEY_EDITTIME
=
"et"
;
protected
const
string
KEY_CREATETIME
=
"ct"
;
protected
const
string
KEY_REG
=
"regulation_id"
;
protected
const
string
KEY_NAME_REG_ID
=
"name_reg_id"
;
protected
string
deckPath
;
protected
string
listPath
;
protected
string
GetStrDeckType
(
DeckType
type
)
{
return
null
;
}
public
virtual
Dictionary
<
int
,
string
>
GetDeckIDAndName
()
{
return
null
;
}
public
virtual
string
GetDeckNameByID
(
int
id
)
{
return
null
;
}
public
virtual
List
<
int
>
GetDeckListByID
(
int
id
,
DeckType
type
)
{
return
null
;
}
public
virtual
List
<
int
>
GetCardPremiumByID
(
int
id
,
DeckType
type
)
{
return
null
;
}
public
virtual
Dictionary
<
string
,
object
>
GetDeckDictByID
(
int
deckID
,
DeckType
type
)
{
return
null
;
}
public
virtual
Dictionary
<
string
,
object
>
GetDeckDictByID
(
int
deckID
,
int
eventID
,
DeckType
type
)
{
return
null
;
}
public
virtual
List
<
CardBaseData
>
GetCardBaseListByID
(
int
id
,
DeckType
type
)
{
return
null
;
}
public
virtual
Dictionary
<
string
,
object
>
GetAccessory
(
int
id
)
{
return
null
;
}
public
virtual
int
[]
GetPickUpCardIDs
(
int
id
)
{
return
null
;
}
public
virtual
int
[]
GetPickUpCardPremiums
(
int
id
)
{
return
null
;
}
public
virtual
Dictionary
<
string
,
object
>
GetPickUpCardIDs2
(
int
id
)
{
return
null
;
}
public
virtual
Dictionary
<
string
,
object
>
GetPickUpCardPremiums2
(
int
id
)
{
return
null
;
}
public
virtual
Dictionary
<
string
,
object
>
GetPickUps
(
int
id
)
{
return
null
;
}
public
virtual
long
GetEditTime
(
int
id
)
{
return
0L
;
}
public
virtual
long
GetDeckCreateTime
(
int
id
)
{
return
0L
;
}
}
public
class
MyDeckInfo
:
BaseDeckInfo
{
public
int
GetDeckRegByID
(
int
id
)
{
return
0
;
}
}
public
class
ExhibitionDeckInfo
:
BaseDeckInfo
{
}
public
class
DuelistCupDeckInfo
:
BaseDeckInfo
{
public
void
SetQualifierCupPath
()
{
}
public
new
Dictionary
<
int
,
string
>
GetDeckIDAndName
()
{
return
null
;
}
public
string
GetDeckName
()
{
return
null
;
}
public
virtual
Dictionary
<
string
,
object
>
GetDeckDict
(
DeckType
type
)
{
return
null
;
}
public
List
<
int
>
GetDeckListByID
(
DeckType
type
)
{
return
null
;
}
public
List
<
int
>
GetCardPremiumByID
(
DeckType
type
)
{
return
null
;
}
public
List
<
CardBaseData
>
GetCardBaseListByID
(
DeckType
type
)
{
return
null
;
}
public
Dictionary
<
string
,
object
>
GetAccessory
()
{
return
null
;
}
public
Dictionary
<
string
,
object
>
GetPickUpCardIDs
()
{
return
null
;
}
public
Dictionary
<
string
,
object
>
GetPickUpCardPremiums
()
{
return
null
;
}
public
Dictionary
<
string
,
object
>
GetPickUps
()
{
return
null
;
}
public
int
GetStage
()
{
return
0
;
}
}
public
class
WCSDeckInfo
:
DuelistCupDeckInfo
{
public
new
Dictionary
<
int
,
string
>
GetDeckIDAndName
()
{
return
null
;
}
}
public
class
WCSFinalDeckInfo
:
WCSDeckInfo
{
public
new
Dictionary
<
int
,
string
>
GetDeckIDAndName
()
{
return
null
;
}
public
Dictionary
<
string
,
object
>
GetDeckDict
(
DeckType
type
,
int
index
,
int
slot
)
{
return
null
;
}
}
public
class
RankEventDeckInfo
:
BaseDeckInfo
{
}
public
class
DuelTrialDeckInfo
:
BaseDeckInfo
{
public
string
GetDeckNameByID
(
int
trialID
,
int
deckID
=
1
)
{
return
null
;
}
public
Dictionary
<
string
,
object
>
GetAccessory
(
int
trialID
,
int
deckID
=
1
)
{
return
null
;
}
public
Dictionary
<
string
,
object
>
GetPickUpCardIDs
(
int
trialID
,
int
deckID
=
1
)
{
return
null
;
}
public
Dictionary
<
string
,
object
>
GetPickUpCardDecorations
(
int
trialID
,
int
deckID
=
1
)
{
return
null
;
}
public
Dictionary
<
string
,
object
>
GetPickUps
(
int
trialID
,
int
deckID
=
1
)
{
return
null
;
}
public
new
Dictionary
<
KeyValuePair
<
int
,
int
>,
string
>
GetDeckIDAndName
()
{
return
null
;
}
public
Dictionary
<
int
,
string
>
GetDeckIDAndNameByTrialID
(
int
trialID
)
{
return
null
;
}
public
List
<
int
>
GetDeckListByID
(
int
trialID
,
int
deckID
,
DeckType
type
)
{
return
null
;
}
public
List
<
int
>
GetCardPremiumByID
(
int
trialID
,
int
deckID
,
DeckType
type
)
{
return
null
;
}
public
List
<
CardBaseData
>
GetCardBaseListByID
(
int
trialID
,
int
deckID
,
DeckType
type
)
{
return
null
;
}
}
public
class
VersusDeckInfo
:
BaseDeckInfo
{
public
new
Dictionary
<
KeyValuePair
<
int
,
int
>,
string
>
GetDeckIDAndName
()
{
return
null
;
}
public
List
<
CardBaseData
>
GetCardBaseListByID
(
int
versusId
,
int
groupId
,
DeckType
type
)
{
return
null
;
}
public
List
<
int
>
GetDeckListByID
(
int
versusId
,
int
groupId
,
DeckType
type
)
{
return
null
;
}
public
List
<
int
>
GetCardPremiumByID
(
int
versusId
,
int
groupId
,
DeckType
type
)
{
return
null
;
}
public
Dictionary
<
string
,
object
>
GetAccessory
(
int
versusId
,
int
versusGroupId
)
{
return
null
;
}
public
Dictionary
<
string
,
object
>
GetPickUps
(
int
versusId
,
int
versusGroupId
)
{
return
null
;
}
public
Dictionary
<
string
,
object
>
GetPickUpCardIDs
(
int
versusId
,
int
versusGroupId
)
{
return
null
;
}
public
Dictionary
<
string
,
object
>
GetPickUpCardPremiums
(
int
versusId
,
int
versusGroupId
)
{
return
null
;
}
public
string
GetDeckNameByID
(
int
versusID
,
int
groupID
=
1
)
{
return
null
;
}
}
public
class
RentalDeckInfo
:
BaseDeckInfo
{
public
static
List
<
int
>
GetRentalDeckIDs
(
int
exhid
)
{
return
null
;
}
public
string
GetDeckNameByID
(
int
eventID
,
int
deckID
)
{
return
null
;
}
public
static
string
GetDeckDesc
(
int
eventID
,
int
deckID
)
{
return
null
;
}
public
new
Dictionary
<
string
,
object
>
GetDeckDictByID
(
int
deckID
,
int
eventID
,
DeckType
type
)
{
return
null
;
}
public
Dictionary
<
string
,
object
>
GetAccessory
(
int
eventID
,
int
deckID
)
{
return
null
;
}
public
Dictionary
<
string
,
object
>
GetPickUpCardIDs
(
int
eventID
,
int
deckID
)
{
return
null
;
}
public
Dictionary
<
string
,
object
>
GetPickUpCardDecorations
(
int
eventID
,
int
deckID
)
{
return
null
;
}
public
Dictionary
<
string
,
object
>
GetPickUps
(
int
eventID
,
int
deckID
)
{
return
null
;
}
}
public
class
DuelTrialRentalDeckInfo
:
BaseDeckInfo
{
public
static
List
<
int
>
GetRentalDeckIDs
(
int
exhid
)
{
return
null
;
}
public
string
GetDeckNameByID
(
int
eventID
,
int
deckID
)
{
return
null
;
}
public
static
string
GetDeckDesc
(
int
eventID
,
int
deckID
)
{
return
null
;
}
public
new
Dictionary
<
string
,
object
>
GetDeckDictByID
(
int
deckID
,
int
eventID
,
DeckType
type
)
{
return
null
;
}
public
Dictionary
<
string
,
object
>
GetAccessory
(
int
eventID
,
int
deckID
)
{
return
null
;
}
public
Dictionary
<
string
,
object
>
GetPickUpCardIDs
(
int
eventID
,
int
deckID
)
{
return
null
;
}
public
Dictionary
<
string
,
object
>
GetPickUpCardDecorations
(
int
eventID
,
int
deckID
)
{
return
null
;
}
public
Dictionary
<
string
,
object
>
GetPickUps
(
int
eventID
,
int
deckID
)
{
return
null
;
}
}
public
class
VersusRentalDeckInfo
:
BaseDeckInfo
{
public
static
List
<
int
>
GetRentalDeckIDs
(
int
vid
,
int
groupId
)
{
return
null
;
}
public
string
GetDeckNameByID
(
int
eventID
,
int
deckID
)
{
return
null
;
}
public
new
Dictionary
<
string
,
object
>
GetDeckDictByID
(
int
deckID
,
int
eventID
,
DeckType
type
)
{
return
null
;
}
public
Dictionary
<
string
,
object
>
GetAccessory
(
int
eventID
,
int
deckID
)
{
return
null
;
}
public
Dictionary
<
string
,
object
>
GetPickUpCardIDs
(
int
eventID
,
int
deckID
)
{
return
null
;
}
public
Dictionary
<
string
,
object
>
GetPickUpCardDecorations
(
int
eventID
,
int
deckID
)
{
return
null
;
}
public
Dictionary
<
string
,
object
>
GetPickUps
(
int
eventID
,
int
deckID
)
{
return
null
;
}
}
public
class
ReplayDeckInfo
:
BaseDeckInfo
{
}
private
const
string
CLIENTWORK_PATH_DECK_LISTS
=
"$.Deck.list"
;
private
const
string
CLIENTWORK_PATH_DECKLIST
=
"$.DeckList"
;
private
const
string
CLIENTWORK_PATH_TOURNAMENT
=
"$.TDeckList"
;
private
const
string
CLIENTWORK_PATH_TOURNAMENT_DECK_LIST
=
"$.TDeck.list"
;
private
const
string
CLIENTWORK_PATH_EXHIBITION
=
"$.EXHDeckList"
;
private
const
string
CLIENTWORK_PATH_EXHIBITION_DECK_LIST
=
"$.EXHDeck.list"
;
private
const
string
CLIENTWORK_PATH_CUP
=
"$.CUPDeckList"
;
private
const
string
CLIENTWORK_PATH_CUP_DECK_LIST
=
"$.CUPDeck"
;
private
const
string
CLIENTWORK_PATH_RANKEVENT
=
"$.REDeckList"
;
private
const
string
CLIENTWORK_PATH_RANKEVENT_DECK_LIST
=
"$.REDeck.list"
;
private
const
string
CLIENTWORK_PATH_DUELTRIAL
=
"$.DTDeckList"
;
private
const
string
CLIENTWORK_PATH_DUELTRIAL_DECK_LIST
=
"$.DTDeck.list"
;
private
const
string
CLIENTWORK_PATH_VERSUS
=
"$.VDeckList"
;
private
const
string
CLIENTWORK_PATH_VERSUS_DECK_LIST
=
"$.VDeck.list"
;
private
const
string
CLIENTWORK_PATH_CARD_FAVORITE
=
"$.Cards.favorite."
;
private
const
string
KEY_DECK_COUNT
=
"num"
;
private
const
string
KEY_DECK_MAX
=
"empty"
;
private
const
string
KEY_DECK_ID
=
"deck_id"
;
private
const
string
KEY_DECK_NAME
=
"name"
;
private
const
string
KEY_DECK_REG
=
"regulation_id"
;
private
const
string
KEY_DECKLIST_MAIN
=
"m"
;
private
const
string
KEY_DECKLIST_EXTRA
=
"e"
;
private
const
string
KEY_DECKLIST_SIDE
=
"s"
;
private
const
string
KEY_DECKLIST_TRAY
=
"t"
;
private
const
string
KEY_DECKLIST_CARDIDS
=
"ids"
;
private
const
string
KEY_DECKLIST_PREMIUMIDS
=
"r"
;
private
const
string
KEY_TOURNAMENT_DECKLIST
=
"DeckList.1"
;
private
const
string
KEY_CARD_FAVOTITE_CARDIDS
=
"ids"
;
private
const
string
KEY_CARD_FAVOTITE_PREMIUMIDS
=
"r"
;
private
const
string
KEY_CARD_FAVOTITE_CARDLIST
=
"card_list"
;
public
static
readonly
int
PICKUPCARDS_NUM
;
public
static
MyDeckInfo
myDeckInfo
;
public
static
ExhibitionDeckInfo
exhibitionDeckInfo
;
public
static
DuelistCupDeckInfo
duelistCupDeckInfo
;
public
static
WCSDeckInfo
wcsCupDeckInfo
;
public
static
WCSFinalDeckInfo
wcsFinalDeckInfo
;
public
static
RankEventDeckInfo
rankEventDeckInfo
;
public
static
DuelTrialDeckInfo
duelTrialDeckInfo
;
public
static
VersusDeckInfo
versusDeckInfo
;
public
static
RentalDeckInfo
rentalDeckInfo
;
public
static
DuelTrialRentalDeckInfo
duelTrialRentalDeckInfo
;
public
static
VersusRentalDeckInfo
versusRentalDeckInfo
;
public
static
ReplayDeckInfo
replayDeckInfo
;
public
const
string
k_ArgsKeyDeckCase
=
"box"
;
public
const
string
k_ArgsKeyProtector
=
"sleeve"
;
public
const
string
k_ArgsKeyField
=
"field"
;
public
const
string
k_ArgsKeyObject
=
"object"
;
public
const
string
k_ArgsKeyMateBase
=
"av_base"
;
public
const
string
k_ArgsKeyPickIds
=
"pickIds"
;
public
const
string
k_ArgsKeyPickDecos
=
"pickDecos"
;
public
const
string
k_ArgsKeyRegulation
=
"regulation"
;
public
const
string
k_ArgsKeyEvent
=
"event"
;
public
const
string
k_ArgsKeyLogo
=
"logo"
;
public
const
string
k_ArgsKeyStage
=
"stage"
;
public
const
string
k_ArgsKeyName
=
"name"
;
public
static
bool
isReachDeckNumLimit
=>
false
;
public
static
int
GetDeckNum
()
{
return
0
;
}
public
static
int
GetDeckLimit
()
{
return
0
;
}
public
static
Dictionary
<
string
,
object
>
DeckSaveFormatParser
(
List
<
CardBaseData
>
main
,
List
<
CardBaseData
>
extra
,
List
<
CardBaseData
>
side
,
bool
exceptRental
=
true
)
{
return
null
;
}
public
static
List
<
CardBaseData
>
GetFavoriteCardBaseData
()
{
return
null
;
}
private
static
List
<
int
>
GetFavoriteCardIDList
()
{
return
null
;
}
private
static
List
<
int
>
GetFavoriteCardPremiumList
()
{
return
null
;
}
public
static
Dictionary
<
string
,
object
>
FavoriteSaveFormatParser
(
List
<
CardBaseData
>
bookmark
)
{
return
null
;
}
public
static
GameObject
CreateEmbedObj
(
Dictionary
<
string
,
object
>
args
,
ElementObjectManager
eom
,
Transform
transform
)
{
return
null
;
}
public
static
Dictionary
<
int
,
string
>
GetRankEventDeckIDAndName
()
{
return
null
;
}
public
static
List
<
int
>
GetRankEventDeckList
(
int
id
,
DeckType
type
)
{
return
null
;
}
public
static
List
<
int
>
GetRankEventCardPremium
(
int
id
,
DeckType
type
)
{
return
null
;
}
public
static
List
<
CardBaseData
>
GetRankEventCardBaseData
(
int
id
,
DeckType
type
)
{
return
null
;
}
public
static
Dictionary
<
string
,
object
>
GetRankEventDeckAccessory
(
int
id
)
{
return
null
;
}
public
static
string
GetCupDeckName
()
{
return
null
;
}
public
static
string
GetWcsDeckName
()
{
return
null
;
}
public
static
string
GetRankEventDeckNameByID
(
int
id
)
{
return
null
;
}
public
static
Dictionary
<
string
,
object
>
GetRankEventPickUpCardIDs
(
int
id
)
{
return
null
;
}
public
static
Dictionary
<
string
,
object
>
GetRankEventPickUpCardDecorations
(
int
id
)
{
return
null
;
}
public
static
Dictionary
<
string
,
object
>
GetRankEventPickUps
(
int
tid
)
{
return
null
;
}
public
static
Dictionary
<
int
,
string
>
GetDeckIDAndName
()
{
return
null
;
}
public
static
string
GetDeckNameByID
(
int
id
)
{
return
null
;
}
public
static
List
<
int
>
GetDeckListByID
(
int
id
,
DeckType
type
)
{
return
null
;
}
public
static
List
<
int
>
GetCardPremiumByID
(
int
id
,
DeckType
type
)
{
return
null
;
}
public
static
List
<
CardBaseData
>
GetCardBaseDataByID
(
int
id
,
DeckType
type
)
{
return
null
;
}
public
static
int
[]
GetDeckPickUpCardIDs
(
int
id
)
{
return
null
;
}
public
static
int
[]
GetDeckPickUpCardDecorations
(
int
id
)
{
return
null
;
}
public
static
Dictionary
<
string
,
object
>
GetDeckPickUpCardIDs2
(
int
id
)
{
return
null
;
}
public
static
Dictionary
<
string
,
object
>
GetDeckPickUpCardDecorations2
(
int
id
)
{
return
null
;
}
public
static
Dictionary
<
string
,
object
>
GetDeckPickUps
(
int
id
)
{
return
null
;
}
public
static
long
GetDeckEditTime
(
int
id
)
{
return
0L
;
}
public
static
long
GetDeckCreateTime
(
int
id
)
{
return
0L
;
}
public
static
Dictionary
<
string
,
object
>
GetDeckAccessory
(
int
id
)
{
return
null
;
}
public
static
string
GetExhibitionNameByID
(
int
id
)
{
return
null
;
}
public
static
List
<
int
>
GetExhibitionDeckList
(
int
id
,
DeckType
type
)
{
return
null
;
}
public
static
List
<
int
>
GetExhibitionCardPremium
(
int
id
,
DeckType
type
)
{
return
null
;
}
public
static
List
<
CardBaseData
>
GetExhibitionCardBaseData
(
int
id
,
DeckType
type
)
{
return
null
;
}
public
static
Dictionary
<
string
,
object
>
GetExhibitionDeckAccessory
(
int
id
)
{
return
null
;
}
public
static
Dictionary
<
string
,
object
>
GetExhibitionPickUpCardIDs
(
int
id
)
{
return
null
;
}
public
static
Dictionary
<
string
,
object
>
GetExhibitionPickUpCardDecorations
(
int
id
)
{
return
null
;
}
public
static
Dictionary
<
string
,
object
>
GetExhibitionPickUps
(
int
exhid
)
{
return
null
;
}
public
static
Dictionary
<
int
,
string
>
GetExhibitionDeckIDAndName
()
{
return
null
;
}
public
static
List
<
int
>
GetRentalDeckIDs
(
int
exhid
)
{
return
null
;
}
private
static
List
<
int
>
GetRentalDeckList
(
int
exhid
,
int
id
,
DeckType
type
)
{
return
null
;
}
private
static
List
<
int
>
GetRentalCardPremium
(
int
exhid
,
int
id
,
DeckType
type
)
{
return
null
;
}
public
static
List
<
CardBaseData
>
GetRentalCardBaseData
(
int
exhid
,
int
id
,
DeckType
type
)
{
return
null
;
}
public
static
Dictionary
<
string
,
object
>
GetRentalDeckAccessory
(
int
exhid
,
int
id
)
{
return
null
;
}
private
static
Dictionary
<
string
,
object
>
GetRentalPickUpCardIDs
(
int
exhid
,
int
id
)
{
return
null
;
}
public
static
int
[]
GetRentalPickUpCardIDArray
(
int
exhid
,
int
id
)
{
return
null
;
}
private
static
Dictionary
<
string
,
object
>
GetRentalPickUpCardDecorations
(
int
exhid
,
int
id
)
{
return
null
;
}
public
static
int
[]
GetRentalPickUpCardDecorationArray
(
int
exhid
,
int
id
)
{
return
null
;
}
public
static
Dictionary
<
string
,
object
>
GetRentalPickUps
(
int
exhid
,
int
id
)
{
return
null
;
}
public
static
string
GetRentalDeckName
(
int
exhid
,
int
id
)
{
return
null
;
}
public
static
string
GetRentalDeckDesc
(
int
exhid
,
int
id
)
{
return
null
;
}
public
static
List
<
int
>
GetDuelTrialDeckList
(
int
id
,
DeckType
type
)
{
return
null
;
}
public
static
List
<
int
>
GetDuelTrialCardPremium
(
int
id
,
DeckType
type
)
{
return
null
;
}
public
static
List
<
CardBaseData
>
GetDuelTrialCardBaseData
(
int
id
,
DeckType
type
,
List
<
int
>
rentalList
=
null
)
{
return
null
;
}
public
static
List
<
int
>
GetDuelTrialDeckIDs
(
int
dtid
)
{
return
null
;
}
private
static
List
<
int
>
GetDuelTrialDeckList
(
int
dtid
,
int
id
,
DeckType
type
)
{
return
null
;
}
private
static
List
<
int
>
GetDuelTrialCardPremium
(
int
dtid
,
int
id
,
DeckType
type
)
{
return
null
;
}
public
static
List
<
CardBaseData
>
GetDuelTrialCardBaseData
(
int
dtid
,
int
id
,
DeckType
type
)
{
return
null
;
}
public
static
Dictionary
<
string
,
object
>
GetDuelTrialDeckAccessory
(
int
dtid
,
int
id
)
{
return
null
;
}
private
static
Dictionary
<
string
,
object
>
GetDuelTrialPickUpCardIDs
(
int
dtid
,
int
id
)
{
return
null
;
}
public
static
int
[]
GetDuelTrialPickUpCardIDArray
(
int
dtid
,
int
id
)
{
return
null
;
}
private
static
Dictionary
<
string
,
object
>
GetDuelTrialPickUpCardDecorations
(
int
dtid
,
int
id
)
{
return
null
;
}
public
static
int
[]
GetDuelTrialPickUpCardDecorationArray
(
int
dtid
,
int
id
)
{
return
null
;
}
public
static
Dictionary
<
string
,
object
>
GetDuelTrialPickUps
(
int
dtid
,
int
id
)
{
return
null
;
}
public
static
string
GetDuelTrialDeckName
(
int
dtid
,
int
id
)
{
return
null
;
}
public
static
string
GetDuelTrialDeckDesc
(
int
dtid
,
int
id
)
{
return
null
;
}
public
static
string
GetVersusNameByID
(
int
id
)
{
return
null
;
}
public
static
List
<
int
>
GetVersusDeckList
(
int
id
,
DeckType
type
)
{
return
null
;
}
public
static
List
<
int
>
GetVersusCardPremium
(
int
id
,
DeckType
type
)
{
return
null
;
}
public
static
List
<
CardBaseData
>
GetVersusCardBaseData
(
int
id
,
DeckType
type
)
{
return
null
;
}
public
static
Dictionary
<
string
,
object
>
GetVersusDeckAccessory
(
int
id
)
{
return
null
;
}
public
static
Dictionary
<
string
,
object
>
GetVersusPickUpCardIDs
(
int
id
)
{
return
null
;
}
public
static
Dictionary
<
string
,
object
>
GetVersusPickUpCardDecorations
(
int
id
)
{
return
null
;
}
public
static
Dictionary
<
string
,
object
>
GetVersusPickUps
(
int
exhid
)
{
return
null
;
}
public
static
List
<
int
>
GetVersusRentalDeckIDs
(
int
vid
,
int
groupId
)
{
return
null
;
}
private
static
List
<
int
>
GetVersusRentalDeckList
(
int
vid
,
int
id
,
DeckType
type
)
{
return
null
;
}
private
static
List
<
int
>
GetVersusRentalCardPremium
(
int
exhid
,
int
id
,
DeckType
type
)
{
return
null
;
}
public
static
List
<
CardBaseData
>
GetVersusRentalCardBaseData
(
int
exhid
,
int
id
,
DeckType
type
)
{
return
null
;
}
public
static
Dictionary
<
string
,
object
>
GetVersusRentalDeckAccessory
(
int
vid
,
int
id
)
{
return
null
;
}
private
static
Dictionary
<
string
,
object
>
GetVersusRentalPickUpCardIDs
(
int
vid
,
int
id
)
{
return
null
;
}
public
static
int
[]
GetVersusRentalPickUpCardIDArray
(
int
vid
,
int
id
)
{
return
null
;
}
private
static
Dictionary
<
string
,
object
>
GetVersusRentalPickUpCardDecorations
(
int
vid
,
int
id
)
{
return
null
;
}
public
static
int
[]
GetVersusRentalPickUpCardDecorationArray
(
int
vid
,
int
id
)
{
return
null
;
}
public
static
Dictionary
<
string
,
object
>
GetVersusRentalPickUps
(
int
exhid
,
int
id
)
{
return
null
;
}
public
static
string
GetVersusRentalDeckName
(
int
vid
,
int
id
)
{
return
null
;
}
public
static
string
GetVersusRentalDeckDesc
(
int
exhid
,
int
id
)
{
return
null
;
}
public
static
List
<
object
>
GetReplayDeckList
(
long
did
,
DeckType
type
)
{
return
null
;
}
public
static
List
<
object
>
GetReplayCardPremium
(
long
did
,
DeckType
type
)
{
return
null
;
}
public
static
List
<
CardBaseData
>
GetReplayCardBaseData
(
int
did
,
DeckType
type
)
{
return
null
;
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckInfo.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: 1e643d2c41bb79cdfeaca6ecc1f679bb
timeCreated: 1698741461
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckNameEditDialog.cs
0 → 100644
View file @
ecd6769f
using
System
;
using
YgomGame.Menu
;
namespace
YgomGame.Deck
{
public
class
DeckNameEditDialog
:
SelectDialogViewControllerBase
<
string
>
{
private
const
string
LABEL_TXT_HEADLINE
=
"TextHeadline"
;
private
const
string
LABEL_EIF_NAMEFIELD
=
"SearchField"
;
private
const
string
LABEL_TXT_INPUTFIELD
=
"TextName"
;
private
const
string
LABEL_SBN_CONFIRMBUTTON
=
"SearchButton"
;
private
const
string
PREFAB_PATH
=
"DeckEdit/DeckNameEditDialog"
;
public
static
void
Open
(
Action
<
string
>
callback
)
{
}
public
override
void
NotificationStackEntry
()
{
}
private
void
Start
()
{
}
private
void
Update
()
{
}
public
DeckNameEditDialog
()
{
//((SelectDialogViewControllerBase<>)(object)this)._002Ector();
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckNameEditDialog.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: 3d7c5c4baeb6d4e83cc916967b093246
timeCreated: 1698741461
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckView.cs
0 → 100644
View file @
ecd6769f
using
System
;
using
System.Collections
;
using
System.Collections.Generic
;
using
System.Runtime.CompilerServices
;
using
TMPro
;
using
UnityEngine
;
using
UnityEngine.Events
;
using
UnityEngine.UI
;
using
YgomGame.Card
;
using
YgomGame.TextIDs
;
using
YgomSystem.ElementSystem
;
using
YgomSystem.UI
;
using
YgomSystem.UI.ElementWidget
;
using
YgomSystem.UI.InfinityScroll
;
using
YgomSystem.YGomTMPro
;
namespace
YgomGame.Deck
{
public
class
DeckView
:
MonoBehaviour
{
private
class
HeaderArea
:
MonoBehaviour
{
private
ElementObjectManager
m_Eom
;
private
bool
isInitialized
;
public
bool
isIni
=>
false
;
public
InputFieldWidget
m_DeckNameInput
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
Image
m_DeckIcon
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
ExtendedTextMeshProUGUI
m_EventDeckName
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
ExtendedTextMeshProUGUI
m_DismantleBatchCount
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
SelectionButton
m_DismantleBatchButton
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
ExtendedTextMeshProUGUI
m_DismantleCardTitle
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
SelectionButton
m_DismantleResetButton
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
DeviceIcon
m_DismantleBatchButtonShortcutIcon
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
UnityAction
<
string
>
onSubmitDeckNameAction
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
public
UnityAction
onClickMultiDismantle
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
public
UnityAction
onSelectMultiDismantle
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
public
UnityAction
<
SelectionItem
>
onInputRightMultiDismantle
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
public
UnityAction
<
SelectionItem
>
onInputDownMultiDismantle
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
private
void
Awake
()
{
}
public
void
InitializeElements
()
{
}
private
void
InitilaizeDeckNameElements
()
{
}
public
void
SetDeckName
(
string
str
)
{
}
public
void
SetEventDeckName
(
string
str
)
{
}
public
void
SetDeckCaseIcon
(
int
deckcaseId
)
{
}
private
void
InitializeDismantleElements
()
{
}
public
void
SetDismantleCount
(
int
count
)
{
}
public
void
SetActiveDismantleButton
(
bool
active
)
{
}
public
void
SetDismantleMode
(
bool
isDismantleMode
)
{
}
}
public
enum
AddableType
{
Addable
=
0
,
OverCapacity
=
1
,
OverCardNum
=
2
,
OverLimit0
=
3
,
OverLimit1
=
4
,
OverLimit2
=
5
}
private
class
DeckContentWidget
{
public
enum
Type
{
Header
=
0
,
CardGroup
=
1
}
public
enum
DeckType
{
Main
=
0
,
Extra
=
1
,
Dismantle
=
2
}
private
class
DeckContent
{
public
Type
type
;
public
DeckType
deckType
;
public
string
headerTitle
;
public
static
DeckContent
CreateHeader
(
DeckType
deckType
,
IDS_DECKEDIT
title
)
{
return
null
;
}
public
static
DeckContent
CreateCardGroup
(
DeckType
deckType
)
{
return
null
;
}
public
bool
CheckType
(
DeckType
deckType
,
Type
type
)
{
return
false
;
}
public
int
GetTemplateIndex
()
{
return
0
;
}
}
private
List
<
DeckContent
>
deckContents
;
public
List
<
int
>
templateIndexer
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
int
GetCardGroupHeadIndex
(
DeckType
deckType
)
{
return
0
;
}
public
int
GetCardGroupTailIndex
(
DeckType
deckType
)
{
return
0
;
}
public
void
AddCardGroup
(
DeckType
deckType
)
{
}
public
void
AddCardGroup
(
DeckType
deckType
,
int
index
)
{
}
public
void
AddHeader
(
DeckType
deckType
,
IDS_DECKEDIT
title
,
int
index
)
{
}
public
void
RemoveHeader
(
DeckType
deckType
)
{
}
private
void
AddDeckContent
(
DeckContent
deckContent
,
int
index
)
{
}
public
void
RemoveCardGroup
(
DeckType
deckType
)
{
}
public
int
GetMaxCardNum
(
DeckType
deckType
)
{
return
0
;
}
public
int
GetContentNum
()
{
return
0
;
}
public
(
int
,
int
)
GetDisplayCardIndex
(
int
index
)
{
return
default
((
int
,
int
));
}
public
Type
GetContentType
(
int
index
)
{
return
default
(
Type
);
}
public
DeckType
GetContentDeckType
(
int
index
)
{
return
default
(
DeckType
);
}
public
string
GetHeaderTitle
(
int
index
)
{
return
null
;
}
public
void
ClearContent
()
{
}
}
private
float
removedWait
;
private
ElementObjectManager
m_Eom
;
private
const
string
k_ELabelHeaderArea
=
"HeaderArea"
;
private
HeaderArea
m_HeaderArea
;
private
ElementObjectManager
m_MainDeckEom
;
private
ElementObjectManager
m_ExtraDeckEom
;
private
RectTransform
m_SelectedWindowCursor
;
private
const
string
k_ELabelMobileScroll
=
"Scroll"
;
private
bool
isScrollReady
;
private
const
string
k_ELabelDeckNumCounter
=
"DeckNumCounter"
;
private
List
<
DeckCard
>
mainDeckCards
;
private
List
<
DeckCard
>
extraDeckCards
;
private
List
<
DeckCard
>
dismantlePoolCards
;
private
const
int
MAX_CARDS_MAIN
=
65
;
private
const
int
THRESHOLD_CARDS_MAIN
=
50
;
private
const
int
DEFAULT_ROWS_MAIN
=
5
;
private
const
int
DEFAULT_COLUMNS_MAIN
=
10
;
private
const
int
MIN_COLUMNS_MAIN
=
15
;
private
const
int
MAX_COLUMNS_MAIN
=
15
;
private
const
int
MAX_CARDS_EX
=
20
;
private
const
int
THRESHOLD_CARDS_EX
=
20
;
private
const
int
DEFAULT_ROWS_EX
=
2
;
private
const
int
DEFAULT_COLUMNS_EX
=
10
;
private
const
int
MIN_COLUMNS_EX
=
20
;
private
const
int
MAX_COLUMNS_EX
=
15
;
private
const
int
MAX_CARDS_DISMANTLE_POOL
=
60
;
private
const
int
MAX_CARDS_DECKCONTENT_CARDGROUP
=
5
;
public
static
int
m_MaxCol
;
private
bool
m_RegulationVisible
;
private
int
m_RegulationID
;
private
int
m_RentalCardID
;
private
bool
m_RarityVisble
;
private
bool
m_MonochromeEnable
;
private
bool
m_PremiumCheckEnable
;
private
Vector2Int
AspectRatioMainDeck
;
private
Vector2Int
AspectRatioExDeck
;
private
DeckCard
template_DeckCard
;
private
SortComparer
.
Sorter
deckSorter
;
private
DeckCard
currentCard
;
private
DeckContentWidget
deckContents
;
public
List
<
CardBaseData
>
mainCardDataList
;
public
List
<
CardBaseData
>
extraCardDataList
;
private
int
currentSelectIndex
;
private
DeckEditViewController2
.
DisplayMode
displayMode
;
private
EntityPoolController
entityPoolController
;
private
List
<
CardBaseData
>
dismantlePoolDataList
;
private
SortComparer
.
Sorter
dismantlePoolSorter
;
public
bool
isMobileLayout
{
[
CompilerGenerated
]
get
{
return
false
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
bool
isLoading
{
[
CompilerGenerated
]
get
{
return
false
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
bool
isDismantleBatchMode
{
[
CompilerGenerated
]
get
{
return
false
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
bool
isSelected
{
[
CompilerGenerated
]
get
{
return
false
;
}
[
CompilerGenerated
]
set
{
}
}
private
RectTransform
m_MainDeckContent
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
private
ExtendedTextMeshProUGUI
m_MainDeckCardSumText
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
private
RectTransform
m_ExtraDeckContent
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
private
ExtendedTextMeshProUGUI
m_ExtraDeckCardSumText
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
private
ElementObjectManager
m_DismantleBatchEom
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
private
RectTransform
m_DismantleBatchContent
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
private
ElementObjectManager
m_ScrollEom
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
private
ExtendedScrollRect
m_Scroll
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
private
InfinityScrollView
m_InfinityScroll
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
public
RectTransform
m_ScrollContent
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
private
ElementObjectManager
m_DeckNumCounterEom
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
private
TMP_Text
m_DeckNumCounterTextMain
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
private
TMP_Text
m_DeckNumCounterTextExtra
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
private
GameObject
m_ScrollBlocker
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
private
SelectionButton
m_NoItemButton
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
private
ExtendedTextMeshProUGUI
m_NoItemButtonText
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
private
RectTransform
m_Loading
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
private
RectTransform
m_Viewport
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
public
DropArea
m_DropArea
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
private
RectTransform
m_DropAreaOver
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
private
static
Content
m_cci
=>
null
;
public
bool
isPremiumCheckEnable
{
get
{
return
false
;
}
set
{
}
}
public
Action
<
DeckCard
,
bool
,
int
>
onCreateDeckCardIdx
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
public
Action
<
DeckCard
,
bool
>
onCreateDeckCard
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
public
Action
<
DeckCard
,
int
>
onCreateDeckCard2
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
public
Action
onNoItemButtonSelectedCallback
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
public
Action
onNoItemButtonInputCallback
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
public
List
<
CardBaseData
>
dismantleList
=>
null
;
public
void
SetDeckName
(
string
s
)
{
}
public
void
SetEventDeckName
(
string
s
)
{
}
public
void
ActivateEventDeckName
(
bool
isActive
)
{
}
public
void
SetOnSubmitDeckName
(
UnityAction
<
string
>
callback
)
{
}
public
void
ActivateDeckNameInput
()
{
}
public
void
SetDeckCaseIcon
(
int
deckcaseId
)
{
}
public
void
SetDeckNameButtonActive
(
bool
b
)
{
}
public
void
SetDismantlePoolCount
()
{
}
public
void
SetActiveMultiDismantleButton
(
bool
active
)
{
}
public
void
SetCurrentView
(
bool
current
)
{
}
public
void
SetOnClickMultiDismantleButton
(
UnityAction
callback
)
{
}
public
void
SetOnSelectMultiDismantleButton
(
UnityAction
callback
)
{
}
public
void
SetOnInputRightMultiDismantleButton
(
UnityAction
<
SelectionItem
>
callback
)
{
}
private
void
sortMainDeckCards
()
{
}
private
void
sortExtraDeckCards
()
{
}
private
void
sortDismantlePoolCards
()
{
}
private
void
SortbyLoc
(
DeckCard
.
LocationInDeck
loc
)
{
}
public
void
SortInDeckCards
()
{
}
public
void
SortInDeckCards
(
SortComparer
.
Sorter
sorter
)
{
}
public
void
InitializeDeckContents
()
{
}
private
void
Awake
()
{
}
private
void
InitMobileLayout
()
{
}
private
void
InitilaizeConsoleElements
()
{
}
private
void
Start
()
{
}
private
DeckCard
InstantiateDeckCard
(
CardBaseData
data
,
RectTransform
parent
,
int
regID
,
DeckEditViewController2
.
DisplayMode
mode
=
DeckEditViewController2
.
DisplayMode
.
Simple
)
{
return
null
;
}
private
float
calculateSpacing
(
float
length
,
float
width
,
float
columns
)
{
return
0f
;
}
private
int
getSizeOfColumn
(
Vector2
aspect
,
int
num
,
int
minSum
)
{
return
0
;
}
public
int
GetCurrentColumnNum
(
DeckCard
.
LocationInDeck
loc
)
{
return
0
;
}
private
int
GetIndexInDeck
(
DeckCard
card
,
DeckCard
.
LocationInDeck
loc
)
{
return
0
;
}
public
int
GetIndexInDeck
(
DeckCard
card
)
{
return
0
;
}
public
bool
IsLeftmostCard
(
DeckCard
card
,
DeckCard
.
LocationInDeck
loc
)
{
return
false
;
}
public
bool
IsRightmostCard
(
DeckCard
card
,
DeckCard
.
LocationInDeck
loc
)
{
return
false
;
}
public
bool
IsBottommostCard
(
DeckCard
card
,
DeckCard
.
LocationInDeck
loc
)
{
return
false
;
}
public
bool
IsTopmostCard
(
DeckCard
card
,
DeckCard
.
LocationInDeck
loc
)
{
return
false
;
}
private
DeckCard
GetCardAt
(
int
index
,
DeckCard
.
LocationInDeck
loc
)
{
return
null
;
}
public
int
GetCardNum
(
DeckCard
.
LocationInDeck
loc
)
{
return
0
;
}
public
int
GetCardSumInDeck
(
int
cardID
)
{
return
0
;
}
private
void
setMainDeckGridSpacing
()
{
}
private
void
setExtraDeckGridSpacing
()
{
}
private
void
setCardSum
(
DeckCard
.
LocationInDeck
loc
)
{
}
public
void
SetInDeckCardSum
()
{
}
public
AddableType
GetAddableType
(
int
cardID
,
int
regulation
)
{
return
default
(
AddableType
);
}
public
bool
IsAddable
(
int
cardID
,
int
regulation
)
{
return
false
;
}
public
bool
CheckNumLimit
(
int
regulation
)
{
return
false
;
}
public
DeckCard
AddToDeck
(
int
id
,
int
prem
=
1
,
bool
owned
=
true
,
bool
isRental
=
false
,
int
reg
=
-
1
,
bool
sort
=
true
,
bool
isIni
=
false
,
DeckCard
.
LocationInDeck
location
=
DeckCard
.
LocationInDeck
.
NA
,
bool
noAdd
=
false
)
{
return
null
;
}
public
bool
IsRemovable
(
int
id
,
int
premiumID
)
{
return
false
;
}
public
void
UpdateDeckNumCounter
()
{
}
private
List
<
DeckCard
>
getTargetCardsInDeck
(
int
cardID
)
{
return
null
;
}
private
List
<
DeckCard
>
getTargetCardsInDeck
(
int
cardID
,
int
premiumID
,
bool
isRental
=
false
)
{
return
null
;
}
private
List
<
DeckCard
>
getTargetCardsInDismantlePool
(
CardBaseData
data
)
{
return
null
;
}
public
void
SetDispNoItemButton
(
bool
disp
)
{
}
private
bool
isMainDeckFull
()
{
return
false
;
}
private
bool
isExtraDeckFull
()
{
return
false
;
}
public
(
CardCollectionInfo
.
Premium
,
bool
,
bool
)
GetLowPremiumInDeck
(
int
cardID
)
{
return
default
((
CardCollectionInfo
.
Premium
,
bool
,
bool
));
}
public
List
<
CardBaseData
>
GetInDeckCards
(
DeckInfo
.
DeckType
type
)
{
return
null
;
}
public
int
GetCardTotalInDeck
(
DeckInfo
.
DeckType
type
)
{
return
0
;
}
public
List
<
CardBaseData
>
GetInDeckAll
()
{
return
null
;
}
public
List
<
DeckCard
>
GetDeckCards
()
{
return
null
;
}
public
int
GetPremiumCardSumInDeck
(
int
id
,
CardCollectionInfo
.
Premium
premiumID
,
bool
isRental
=
false
)
{
return
0
;
}
public
InDeckNumInfo
GetInDeckInfo
(
int
cardID
)
{
return
null
;
}
public
int
GetAlterCardSumInDeck
(
int
id
,
CardCollectionInfo
.
Premium
premiumID
,
bool
isRental
=
false
)
{
return
0
;
}
public
int
GetPremiumCardSumInDismantlePool
(
CardBaseData
data
)
{
return
0
;
}
public
bool
IsContainsUncraftedCard
()
{
return
false
;
}
public
void
UpdateIsOwned
(
bool
styleFilling
=
true
)
{
}
public
void
UpdateIsOwned
(
int
cardID
,
bool
isRental
,
bool
styleFilling
=
true
)
{
}
private
CardBaseData
UpdateIsOwned
(
CardBaseData
baseData
,
ref
int
numN
,
ref
int
numP1
,
ref
int
numP2
,
bool
styleFilling
=
true
)
{
return
default
(
CardBaseData
);
}
public
bool
IsModified
(
List
<
CardBaseData
>
oldMainCards
,
List
<
CardBaseData
>
oldExtraCards
)
{
return
false
;
}
public
void
SetRegulation
(
int
regulationID
)
{
}
public
void
SetRentalID
(
int
rentalID
)
{
}
public
void
UpdateRegulation
(
int
regulationID
)
{
}
public
void
UpdateDisplayMode
(
DeckEditViewController2
.
DisplayMode
mode
,
bool
updateScroll
=
true
)
{
}
public
void
UpdateDisplayModeForDeckBrowser
(
bool
regulationVisible
,
int
regulationID
,
bool
rarityVisble
,
bool
hasCard
)
{
}
private
void
UpdateDeckCard
(
DeckCard
deckCard
,
bool
isMonocro
)
{
}
public
void
UpdateView
(
bool
updateDataCount
)
{
}
public
void
StopScroll
()
{
}
private
DeckCard
GetHeadDeckCard
(
DeckCard
.
LocationInDeck
loc
)
{
return
null
;
}
public
SelectionItem
GetDefaultFocusItem
()
{
return
null
;
}
public
void
SelectDefaultFocusedItem
()
{
}
public
void
SetCurrentCard
(
DeckCard
card
)
{
}
public
void
CursorJumpUp
()
{
}
public
void
CursorJumpDown
()
{
}
public
void
CursorJumpLeft
()
{
}
public
void
CursorJumpRight
()
{
}
public
bool
IsTailCard
(
DeckCard
card
,
DeckCard
.
LocationInDeck
location
)
{
return
false
;
}
public
void
SelectRightEdgeClosestItem
(
Vector2
screenPoint
,
float
angleDot
)
{
}
private
List
<
DeckCard
>
GetRightEdgeCards
(
List
<
DeckCard
>
cardList
,
DeckCard
.
LocationInDeck
loc
)
{
return
null
;
}
private
void
SelectTopEdgeItem
(
Vector2
screenPoint
,
float
angleDot
)
{
}
private
List
<
DeckCard
>
GetTopEdgeCards
(
List
<
DeckCard
>
cardList
,
DeckCard
.
LocationInDeck
loc
)
{
return
null
;
}
public
void
OnCreateEntity
(
GameObject
obj
)
{
}
public
void
OnUpdateEntity
(
GameObject
obj
,
int
idx
)
{
}
public
void
SetActiveScroll
(
bool
condition
)
{
}
private
IEnumerator
waitDecrementDragCounter
()
{
return
null
;
}
private
(
int
,
int
)
GetIndexMainDeckCard
(
List
<
CardBaseData
>
cardList
,
int
cardID
,
int
premiumID
)
{
return
default
((
int
,
int
));
}
public
void
SetMaxCol
(
int
col
)
{
}
public
void
SetDispDropAreaOver
(
bool
disp
)
{
}
public
void
InitializeDismantlePool
()
{
}
public
void
SetDismantleMode
(
bool
b
)
{
}
public
void
ShowLoading
()
{
}
public
void
HideLoading
()
{
}
public
void
PostMultiDismantle
()
{
}
public
void
ClearAllCards
()
{
}
private
List
<
CardBaseData
>
GetDataList
(
DeckCard
.
LocationInDeck
loc
)
{
return
null
;
}
private
DeckContentWidget
.
DeckType
GetDeckType
(
DeckCard
.
LocationInDeck
loc
)
{
return
default
(
DeckContentWidget
.
DeckType
);
}
private
List
<
DeckCard
>
GetCards
(
DeckCard
.
LocationInDeck
loc
)
{
return
null
;
}
private
RectTransform
GetContent
(
DeckCard
.
LocationInDeck
loc
)
{
return
null
;
}
private
DeckCard
AddCard
(
CardBaseData
cbd
,
DeckCard
.
LocationInDeck
loc
,
int
reg
,
bool
sort
=
true
,
bool
isIni
=
false
,
bool
noAdd
=
false
)
{
return
null
;
}
public
DeckCard
AddToMainDeckByID
(
int
id
,
int
prem
=
1
,
bool
owned
=
true
,
bool
isRental
=
false
,
int
reg
=
-
1
,
bool
sort
=
true
,
bool
isIni
=
false
,
bool
noAdd
=
false
)
{
return
null
;
}
public
DeckCard
AddToExtraDeckByID
(
int
id
,
int
prem
=
1
,
bool
owned
=
true
,
bool
isRental
=
false
,
int
reg
=
-
1
,
bool
sort
=
true
,
bool
isIni
=
false
,
bool
noAdd
=
false
)
{
return
null
;
}
public
DeckCard
AddToDismantlePool
(
CardBaseData
cbd
,
int
reg
=
-
1
,
bool
sort
=
true
)
{
return
null
;
}
private
DeckCard
RemoveCard
(
CardBaseData
cbd
,
DeckCard
.
LocationInDeck
loc
,
bool
sort
=
true
)
{
return
null
;
}
public
void
RemoveCardFromMainOrExtra
(
int
id
,
int
premiumID
,
out
DeckCard
removedCard
)
{
removedCard
=
null
;
}
public
void
RemoveFromDismantlePool
(
CardBaseData
cbd
,
out
DeckCard
removedCard
,
bool
sort
=
true
)
{
removedCard
=
null
;
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/DeckView.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: 22e89144b8176d482d07eaeb5c92835c
timeCreated: 1698741462
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/DragCard.cs
0 → 100644
View file @
ecd6769f
using
UnityEngine
;
namespace
YgomGame.Deck
{
public
class
DragCard
:
CardBase
{
private
void
Awake
()
{
}
private
void
Start
()
{
}
public
static
DragCard
Create
(
Transform
parent
)
{
return
null
;
}
public
void
SetData
(
int
id
)
{
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/DragCard.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: 5d2b5cc88ad910e1c0aa81596ababd1e
timeCreated: 1698741461
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/DropArea.cs
0 → 100644
View file @
ecd6769f
using
System.Collections.Generic
;
using
UnityEngine
;
using
UnityEngine.Events
;
using
YgomSystem.UI
;
namespace
YgomGame.Deck
{
public
class
DropArea
:
MonoBehaviour
{
private
UnityAction
m_OnDropAction
;
public
string
label
;
private
RectSelectionItem
item
;
private
static
readonly
List
<
string
>
LABEL
;
private
bool
isDeckList
;
private
bool
setup
;
private
void
Awake
()
{
}
private
void
Setup
()
{
}
public
void
SetOnDropAction
(
UnityAction
callback
)
{
}
public
void
OnDropAction
()
{
}
public
void
SetActiveDropArea
(
bool
b
,
bool
canDrop
)
{
}
public
bool
IsContainsPoint
(
Vector2
point
)
{
return
false
;
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/DropArea.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: ceab11afd0644a33c0e21ad4cf5c17e8
timeCreated: 1698741461
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/ElementWidget.cs
0 → 100644
View file @
ecd6769f
using
UnityEngine
;
using
YgomSystem.ElementSystem
;
namespace
YgomGame.Deck
{
public
abstract
class
ElementWidget
:
MonoBehaviour
{
protected
ElementObjectManager
m_Eom
;
protected
bool
isInitialized
;
public
bool
isIni
=>
false
;
public
void
Initialize
()
{
}
private
void
Awake
()
{
}
protected
abstract
void
InitializeElements
();
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/ElementWidget.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: ec360e5094c694f4e9104e919abbc43e
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/FilterDialog.cs
0 → 100644
View file @
ecd6769f
using
System
;
using
System.Collections
;
using
System.Collections.Generic
;
using
System.Runtime.CompilerServices
;
using
UnityEngine
;
using
UnityEngine.UI
;
using
YgomGame.Card
;
using
YgomGame.Menu
;
using
YgomSystem.ElementSystem
;
using
YgomSystem.UI
;
using
YgomSystem.Utility
;
using
YgomSystem.YGomTMPro
;
namespace
YgomGame.Deck
{
public
class
FilterDialog
:
SelectDialogViewControllerBase
<
SearchFilter
.
Setting
,
SearchFilter
.
Setting
,
List
<
FilterDialog
.
FilterGroupType
>,
SearchFilter
.
Setting
>,
IBokeSupported
{
public
enum
FilterGroupType
{
Frame
=
0
,
Attribute
=
1
,
Tribe
=
2
,
Level
=
3
,
Spell
=
4
,
Trap
=
5
,
Rarity
=
6
,
Ability
=
7
,
Style
=
8
,
Limit
=
9
,
Cutin
=
10
}
private
class
FilterGroup
:
MonoBehaviour
{
private
const
string
k_ELabelIcon
=
"Icon"
;
private
const
string
k_ELabelText
=
"TextTMP"
;
private
const
string
k_ELabelButtonArea
=
"ButtonArea"
;
private
ElementObjectManager
m_Eom
;
private
Image
m_GroupIconImage
;
private
ExtendedTextMeshProUGUI
m_GroupNameText
;
private
GridLayoutGroup
m_GridLayoutGroup
;
private
bool
isInitialized
;
private
FilterGroupType
m_Type
;
private
Dictionary
<
string
,
FilterToggle
>
m_FilterToggles
;
public
RectTransform
m_ButtonArea
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
RectTransform
m_RectTransform
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
void
InitializeElements
()
{
}
private
void
Awake
()
{
}
public
void
Initialize
(
FilterGroupType
type
)
{
}
public
void
AddFilterToggle
(
string
label
,
FilterToggle
filterToggle
)
{
}
}
[
SerializeField
]
private
KeyConfigContainer
keyConfig
;
private
const
string
PREFAB_PATH_FILTERDIALOG
=
"DeckEdit/FilterDialog"
;
private
const
string
k_ELabelFilterMenuArea
=
"FilterMenuArea"
;
private
const
string
k_ELabelFilterScroll
=
"FilterScroll"
;
private
const
string
k_ELabelFooterArea
=
"FooterArea"
;
private
const
string
k_ELabelTitleText
=
"TitleText"
;
private
ElementObjectManager
m_FilterMenuEom
;
private
ElementObjectManager
m_FooterEom
;
private
ExtendedTextMeshProUGUI
m_TitleText
;
private
const
string
k_ALabelFilterToggleTemplate
=
"FilterToggleTemplate"
;
private
GameObject
m_FilterToggleTemplate
;
private
(
SelectorManager
.
KeyType
,
SelectorManager
.
KeyType
)
keyInfoUpGroup
;
private
(
SelectorManager
.
KeyType
,
SelectorManager
.
KeyType
)
keyInfoDownGroup
;
private
Coroutine
m_InitializeCoroutine
;
private
const
string
Label_Frame_Normal
=
"\ufffd"
;
private
const
string
Label_Frame_Effect
=
"\ufffd"
;
private
const
string
Label_Frame_Fusion
=
"\ufffd"
;
private
const
string
Label_Frame_Ritual
=
"\ufffd"
;
private
const
string
Label_Frame_Synchro
=
"シ\ufffd"
;
private
const
string
Label_Frame_Xyz
=
"エ\ufffd"
;
private
const
string
Label_Frame_Pendulum
=
"ペン"
;
private
const
string
Label_Frame_Link
=
"リ"
;
private
const
string
Label_Frame_Magic
=
"\ufffd"
;
private
const
string
Label_Frame_Trap
=
"\ufffd"
;
private
const
string
Label_Attr_Light
=
"光"
;
private
const
string
Label_Attr_Dark
=
"闇"
;
private
const
string
Label_Attr_Water
=
"水"
;
private
const
string
Label_Attr_Fire
=
"炎"
;
private
const
string
Label_Attr_Earth
=
"地"
;
private
const
string
Label_Attr_Wind
=
"風"
;
private
const
string
Label_Attr_Divine
=
"神"
;
private
const
string
Label_Tribe_SpellCaster
=
"魔\ufffd"
;
private
const
string
Label_Tribe_Dragon
=
"ド\ufffd"
;
private
const
string
Label_Tribe_Zombie
=
"アン"
;
private
const
string
Label_Tribe_Warrior
=
"戦"
;
private
const
string
Label_Tribe_BeastWarrior
=
"獣\ufffd"
;
private
const
string
Label_Tribe_Beast
=
"\ufffd"
;
private
const
string
Label_Tribe_WingedBeast
=
"鳥"
;
private
const
string
Label_Tribe_Machine
=
"機"
;
private
const
string
Label_Tribe_Fiend
=
"悪"
;
private
const
string
Label_Tribe_Fairy
=
"天"
;
private
const
string
Label_Tribe_Insect
=
"昆"
;
private
const
string
Label_Tribe_Dinosaur
=
"恐"
;
private
const
string
Label_Tribe_Reptile
=
"爬\ufffd"
;
private
const
string
Label_Tribe_Fish
=
"\ufffd"
;
private
const
string
Label_Tribe_SeaSerpent
=
"海"
;
private
const
string
Label_Tribe_Aqua
=
"\ufffd"
;
private
const
string
Label_Tribe_Pyro
=
"\ufffd"
;
private
const
string
Label_Tribe_Thunder
=
"\ufffd"
;
private
const
string
Label_Tribe_Rock
=
"岩"
;
private
const
string
Label_Tribe_Plant
=
"植"
;
private
const
string
Label_Tribe_Psychic
=
"サイ"
;
private
const
string
Label_Tribe_Wyrm
=
"幻"
;
private
const
string
Label_Tribe_Cyberse
=
"サイ"
;
private
const
string
Label_Tribe_DivineBeast
=
"幻\ufffd"
;
private
const
string
Label_Lvl0
=
"0"
;
private
const
string
Label_Lvl1
=
"1"
;
private
const
string
Label_Lvl2
=
"2"
;
private
const
string
Label_Lvl3
=
"3"
;
private
const
string
Label_Lvl4
=
"4"
;
private
const
string
Label_Lvl5
=
"5"
;
private
const
string
Label_Lvl6
=
"6"
;
private
const
string
Label_Lvl7
=
"7"
;
private
const
string
Label_Lvl8
=
"8"
;
private
const
string
Label_Lvl9
=
"9"
;
private
const
string
Label_Lvl10
=
"10"
;
private
const
string
Label_Lvl11
=
"11"
;
private
const
string
Label_Lvl12
=
"12"
;
private
const
string
Label_Lvl13
=
"13"
;
private
const
string
Label_Spell_Normal
=
"通\ufffd"
;
private
const
string
Label_Spell_Field
=
"フィ\ufffd"
;
private
const
string
Label_Spell_Equip
=
"装\ufffd"
;
private
const
string
Label_Spell_Continuous
=
"永\ufffd"
;
private
const
string
Label_Spell_QuickPlay
=
"速\ufffd"
;
private
const
string
Label_Spell_Ritual
=
"儀\ufffd"
;
private
const
string
Label_Trap_Normal
=
"通"
;
private
const
string
Label_Trap_Continuous
=
"永"
;
private
const
string
Label_Trap_Counter
=
"カウ"
;
private
const
string
Label_Rarity_Normal
=
"N"
;
private
const
string
Label_Rarity_Rare
=
"R"
;
private
const
string
Label_Rarity_SuperRare
=
"SR"
;
private
const
string
Label_Rarity_UltraRare
=
"UR"
;
private
const
string
Label_Style_Normal
=
"Normal"
;
private
const
string
Label_Style_Shine
=
"Shine"
;
private
const
string
Label_Style_Royal
=
"Royal"
;
private
const
string
Label_Limit_0
=
"禁\ufffd"
;
private
const
string
Label_Limit_1
=
"制\ufffd"
;
private
const
string
Label_Limit_2
=
"準制"
;
private
const
string
Label_Limit_3
=
"無制"
;
private
const
string
Label_Cutin_Exist
=
"有\ufffd"
;
private
const
string
Label_Cutin_NotExist
=
"無\ufffd"
;
private
const
string
Label_Ability_Toon
=
"トゥ\ufffd"
;
private
const
string
Label_Ability_Dual
=
"デュ\ufffd"
;
private
const
string
Label_Ability_Union
=
"ユニ\ufffd"
;
private
const
string
Label_Ability_Spirit
=
"スピ\ufffd"
;
private
const
string
Label_Ability_Tuner
=
"チュ\ufffd"
;
private
const
string
Label_Ability_Reverse
=
"リバ\ufffd"
;
private
const
string
Label_Ability_SpSummon
=
"特殊\ufffd"
;
private
SearchFilter
.
Setting
m_setting
;
private
static
Dictionary
<
string
,
SearchFilter
.
Setting
.
FRAME
>
frameSettingTbl
;
private
static
Dictionary
<
string
,
SearchFilter
.
Setting
.
ATTR
>
attrSettingTbl
;
private
static
Dictionary
<
string
,
SearchFilter
.
Setting
.
TRIBE
>
tribeSettingTbl
;
private
static
Dictionary
<
string
,
SearchFilter
.
Setting
.
LEVEL
>
lvlSettingTbl
;
private
static
Dictionary
<
string
,
SearchFilter
.
Setting
.
NOTMONSTER
>
spellSettingTbl
;
private
static
Dictionary
<
string
,
SearchFilter
.
Setting
.
NOTMONSTER
>
trapSettingTbl
;
private
static
Dictionary
<
string
,
SearchFilter
.
Setting
.
RARITY
>
raritySettingTbl
;
private
static
Dictionary
<
string
,
SearchFilter
.
Setting
.
STYLE
>
styleSettingTbl
;
private
static
Dictionary
<
string
,
SearchFilter
.
Setting
.
LIMIT
>
limitSettingTbl
;
private
static
Dictionary
<
string
,
SearchFilter
.
Setting
.
CUTIN
>
cutinSettingTbl
;
private
static
Dictionary
<
string
,
SearchFilter
.
Setting
.
ABILITY
>
abilitySettingTbl
;
private
static
Dictionary
<
string
,
string
>
frameButtonLabelTbl
;
private
static
Dictionary
<
string
,
Content
.
Attribute
>
attrButtonLabelTbl
;
private
static
Dictionary
<
string
,
Content
.
Type
>
tribeButtonLabelTbl
;
private
static
Dictionary
<
string
,
Content
.
Icon
>
spellButtonLabelTbl
;
private
static
Dictionary
<
string
,
Content
.
Icon
>
trapButtonLabelTbl
;
private
static
Dictionary
<
string
,
string
>
rarityButtonLabelTbl
;
private
static
Dictionary
<
string
,
string
>
styleButtonLabelTbl
;
private
static
Dictionary
<
string
,
string
>
limitButtonLabelTbl
;
private
static
Dictionary
<
string
,
string
>
cutinButtonLabelTbl
;
private
static
Dictionary
<
string
,
string
>
abilityButtonLabelTbl
;
private
static
Dictionary
<
string
,
string
>
toggleLabelTbl
;
private
const
int
numToggles
=
84
;
private
List
<
FilterToggle
>
toggles
;
private
Dictionary
<
FilterGroupType
,
SelectionItem
>
groupTopItem
;
private
ExtendedScrollRect
m_FilterScroll
;
private
bool
contentScrollAnimation
;
private
Vector2
targetContentPosition
;
private
static
SearchFilter
.
Setting
deckEditSetting
;
private
static
List
<
FilterGroupType
>
deckEditFilterGroupTypes
;
private
readonly
Dictionary
<
FilterGroupType
,
int
>
groupSize
;
private
readonly
int
spacing
;
private
readonly
int
spacingMobile
;
private
readonly
int
paddingTop
;
private
readonly
int
paddingBottom
;
private
readonly
Dictionary
<
FilterGroupType
,
int
>
groupSizeMobile
;
private
const
string
k_ELabelCancelButton
=
"CancelButton"
;
private
const
string
k_ELabelFilterButton
=
"FilterButton"
;
private
const
string
k_ELabelResetButton
=
"ResetButton"
;
private
const
string
k_ELabelCancelShortcut
=
"CancelShortcut"
;
private
const
string
k_ELabelFilterShortcut
=
"FilterShortcut"
;
private
const
string
k_ELabelResetShortcut
=
"ResetShortcut"
;
private
const
string
k_ELabelResetShortcutMain
=
"ResetShortcut/ShortcutIcon0"
;
private
const
string
k_ELabelResetShortcutSub
=
"ResetShortcut/ShortcutIcon1"
;
private
SelectionButton
m_CancelButton
;
private
SelectionButton
m_FilterButton
;
private
SelectionButton
m_ResetButton
;
private
const
string
k_ELabelFilterGroupFrame
=
"Frame"
;
private
const
string
k_ELabelFilterGroupAttribute
=
"Attribute"
;
private
const
string
k_ELabelFilterGroupSpellTrap
=
"SpellTrap"
;
private
const
string
k_ELabelFilterGroupTribe
=
"Tribe"
;
private
const
string
k_ELabelFilterGroupLevel
=
"Level"
;
private
const
string
k_ELabelFilterGroupRarity
=
"Rarity"
;
private
const
string
k_ELabelFilterGroupAbility
=
"Ability"
;
private
const
string
k_ELabelFilterGroupStyle
=
"Style"
;
private
const
string
k_ELabelFilterGroupLimit
=
"Limit"
;
private
const
string
k_ELabelFilterGroupCutin
=
"Cutin"
;
private
List
<
FilterGroupType
>
m_FilterGroupTypes
;
public
SearchFilter
.
Setting
m_DefaultSetting
;
private
static
Content
m_cci
=>
null
;
public
static
void
Open
(
SearchFilter
.
Setting
setting
,
Action
<
SearchFilter
.
Setting
>
callback
=
null
)
{
}
public
static
void
Open
(
SearchFilter
.
Setting
setting
,
SearchFilter
.
Setting
defaultSetting
,
List
<
FilterGroupType
>
filterGroupTypes
,
Action
<
SearchFilter
.
Setting
>
callback
=
null
)
{
}
public
override
void
NotificationStackEntry
()
{
}
protected
override
void
OnCreatedView
()
{
}
private
void
InitializeDefault
()
{
}
private
void
InitializeFooter
()
{
}
private
IEnumerator
InitializeFileterMenu
()
{
return
null
;
}
private
void
setFilterFrame
(
FilterToggle
ft
)
{
}
private
void
setFilterAttr
(
FilterToggle
ft
)
{
}
private
void
setFilterTribe
(
FilterToggle
ft
)
{
}
private
void
setFilterLevel
(
FilterToggle
ft
)
{
}
private
void
setFilterSpell
(
FilterToggle
ft
)
{
}
private
void
setFilterTrap
(
FilterToggle
ft
)
{
}
private
void
setFilterRarity
(
FilterToggle
ft
)
{
}
private
void
setFilterAbility
(
FilterToggle
ft
)
{
}
private
void
setFilterStyle
(
FilterToggle
ft
)
{
}
private
void
setFilterLimit
(
FilterToggle
ft
)
{
}
private
void
setFilterCutin
(
FilterToggle
ft
)
{
}
private
void
OnReset
()
{
}
private
void
SelectNextGroupTop
(
FilterGroupType
filterGroup
)
{
}
private
void
SelectPrevGroupTop
(
FilterGroupType
filterGroup
)
{
}
private
void
SetupScrollToSelectingItem
(
SelectionItem
item
,
RectTransform
itemRootRect
)
{
}
private
void
InitPadTransition
(
SelectionButton
button
,
RectTransform
buttonArea
,
FilterGroupType
type
)
{
}
private
void
Update
()
{
}
public
override
bool
OnBack
()
{
return
false
;
}
public
FilterDialog
()
{
//((SelectDialogViewControllerBase<, , , >)(object)this)._002Ector();
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/FilterDialog.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: ac7c788e7418043578e42608555a1f1a
timeCreated: 1698741461
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/FilterToggle.cs
0 → 100644
View file @
ecd6769f
using
System.Runtime.CompilerServices
;
using
UnityEngine
;
using
UnityEngine.Events
;
using
YgomSystem.ElementSystem
;
using
YgomSystem.UI
;
using
YgomSystem.YGomTMPro
;
namespace
YgomGame.Deck
{
public
class
FilterToggle
:
MonoBehaviour
{
private
UnityAction
m_OnClickAction
;
private
const
string
LABEL_RT_IMAGEOFF
=
"ImageOff"
;
private
const
string
LABEL_RT_IMAGEON
=
"ImageOn"
;
private
const
string
LABEL_TXT
=
"Text"
;
private
ElementObjectManager
m_Eom
;
private
RectTransform
m_Off
;
private
RectTransform
m_On
;
private
ExtendedTextMeshProUGUI
m_TextTMP
;
private
bool
isInitilaized
;
public
bool
isOn
{
[
CompilerGenerated
]
get
{
return
false
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
string
m_Label
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
public
SelectionButton
m_Button
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
private
set
{
}
}
private
void
InitializeElements
()
{
}
public
void
Initialize
(
string
label
,
string
text
,
bool
isOn
)
{
}
private
void
Awake
()
{
}
private
void
Start
()
{
}
private
void
Toggle
()
{
}
public
void
SetOn
(
bool
isOn
)
{
}
public
void
SetOnClickCallback
(
UnityAction
callback
)
{
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/FilterToggle.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: a994810051674620005a9e46f0bdb0e1
timeCreated: 1698741461
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/InDeckNumInfo.cs
0 → 100644
View file @
ecd6769f
namespace
YgomGame.Deck
{
public
class
InDeckNumInfo
{
public
int
N
;
public
int
aN
;
public
int
P1
;
public
int
aP1
;
public
int
P2
;
public
int
aP2
;
public
int
rental
;
public
int
aRental
;
public
InDeckNumInfo
(
int
N
,
int
aN
,
int
P1
,
int
aP1
,
int
P2
,
int
aP2
,
int
R
,
int
aR
)
{
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/InDeckNumInfo.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: 46d510c245745b341ad07b8ae468794b
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/LootSourceItem.cs
0 → 100644
View file @
ecd6769f
using
System.Runtime.CompilerServices
;
using
UnityEngine
;
using
UnityEngine.Events
;
using
UnityEngine.UI
;
using
YgomGame.Card
;
using
YgomGame.Utility
;
using
YgomSystem.ElementSystem
;
using
YgomSystem.UI
;
using
YgomSystem.YGomTMPro
;
namespace
YgomGame.Deck
{
public
class
LootSourceItem
:
MonoBehaviour
{
private
const
string
LABEL_SBN_BUTTON
=
"Button"
;
private
const
string
LABEL_TXT_SOURCETEXT
=
"TextSource"
;
private
const
string
LABEL_TXT_TITLETEXT
=
"TextTitle"
;
private
const
string
LABEL_RT_IMAGESUMMARY
=
"ImageSummary"
;
private
const
string
LABEL_IMG_IMAGESUMMARY
=
"ImageSummary"
;
private
const
string
LABEL_RT_ON
=
"On"
;
private
const
string
LABEL_RT_OFF
=
"Off"
;
private
const
string
LABEL_RT_MASK
=
"Mask"
;
protected
UnityAction
m_OnClickAction
;
protected
UnityAction
m_OnSelectedAction
;
protected
UnityAction
m_OnDeselectedAction
;
protected
UnityAction
<
bool
>
m_OnRightClickAction
;
protected
UnityAction
m_SelectedKeySub1Action
;
protected
UnityAction
m_SelectedKeyLeftAction
;
protected
UnityAction
m_SelectedKeyL2Action
;
public
LootSourceInfo
.
LootCategory
m_Category
{
[
CompilerGenerated
]
get
{
return
default
(
LootSourceInfo
.
LootCategory
);
}
[
CompilerGenerated
]
set
{
}
}
public
string
m_StringID
{
[
CompilerGenerated
]
get
{
return
null
;
}
[
CompilerGenerated
]
set
{
}
}
public
bool
m_IsAvailable
{
[
CompilerGenerated
]
get
{
return
false
;
}
[
CompilerGenerated
]
set
{
}
}
private
ElementObjectManager
m_eom
=>
null
;
private
SelectionButton
m_Button
=>
null
;
private
ExtendedTextMeshProUGUI
m_SourceText
=>
null
;
private
ExtendedTextMeshProUGUI
m_TitleText
=>
null
;
private
RectTransform
m_ImageSummary
=>
null
;
private
Image
m_ImageSummaryIMG
=>
null
;
private
RectTransform
m_On
=>
null
;
private
RectTransform
m_Off
=>
null
;
private
RectTransform
m_Mask
=>
null
;
private
void
Start
()
{
}
private
void
Update
()
{
}
public
void
SetData
(
LootSourceInfo
.
LootCategory
cat
,
string
title
,
string
source
,
int
param
,
bool
available
,
int
iconType
=
0
,
string
iconData
=
null
,
TextGroupLoadHolder
textGroupLoadHolder
=
null
)
{
}
private
void
SetImageSummary
(
LootSourceInfo
.
LootCategory
cat
,
int
param
=
0
,
string
iconData
=
null
)
{
}
public
void
ToggleAvailability
(
bool
b
)
{
}
public
void
ToggleAllow
()
{
}
public
void
SetOnSelectedCallback
(
UnityAction
callback
)
{
}
public
void
SetOnDeselectedCallback
(
UnityAction
callback
)
{
}
public
void
SetOnClickCallback
(
UnityAction
callback
)
{
}
public
void
SetOnRightClickCallback
(
UnityAction
<
bool
>
callback
)
{
}
public
void
SetOnSelectedKeySub1Callback
(
UnityAction
callback
)
{
}
public
void
SetOnSelectedKeyLeftCallback
(
UnityAction
callback
)
{
}
public
void
SetOnSelectedKeyL2Callback
(
UnityAction
callback
)
{
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/LootSourceItem.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: dfccb995d55c66e75e82644164b33585
timeCreated: 1698741461
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/OptionToggle.cs
0 → 100644
View file @
ecd6769f
using
UnityEngine
;
using
UnityEngine.Events
;
using
UnityEngine.UI
;
using
YgomSystem.ElementSystem
;
using
YgomSystem.UI
;
namespace
YgomGame.Deck
{
public
class
OptionToggle
:
MonoBehaviour
{
private
string
m_ButtonLabel
;
private
UnityAction
m_OnClickAction
;
private
const
string
LABEL_SBN_BODY
=
"Body"
;
private
const
string
LABEL_RT_IMAGEOFF
=
"ImageOff"
;
private
const
string
LABEL_TXT_ITEMTEXT
=
"TextItem"
;
private
const
string
LABEL_RT_IMAGEON
=
"ImageOn"
;
private
const
string
LABEL_TXT_DESCTEXT
=
"TextDescription"
;
private
bool
isOn
;
private
ElementObjectManager
m_eom
=>
null
;
private
RectTransform
m_Off
=>
null
;
private
RectTransform
m_On
=>
null
;
private
MDText
m_DescText
=>
null
;
private
MDText
m_ItemText
=>
null
;
private
void
toggle
()
{
}
public
void
Initialize
(
string
title
,
string
desc
,
bool
b
)
{
}
public
string
GetButtonLabel
()
{
return
null
;
}
public
bool
GetEnabledState
()
{
return
false
;
}
private
void
Start
()
{
}
private
void
Update
()
{
}
public
void
SetOnClickCallback
(
UnityAction
callback
)
{
}
public
SelectionButton
GetButton
()
{
return
null
;
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/OptionToggle.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: f87ceca52c7de467467cd8318f735b4a
timeCreated: 1698741461
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/PublicDeckBox.cs
0 → 100644
View file @
ecd6769f
using
System.Runtime.CompilerServices
;
using
UnityEngine
;
using
UnityEngine.Events
;
using
YgomGame.Menu.Common
;
using
YgomSystem.ElementSystem
;
using
YgomSystem.UI
;
namespace
YgomGame.Deck
{
public
class
PublicDeckBox
:
MonoBehaviour
{
private
ElementObjectManager
m_eom
;
private
ElementObjectManager
m_body
;
private
GameObject
m_CardImage
;
private
GameObject
m_DeckImage
;
private
SelectionButton
m_button
;
private
GameObject
m_publicDeckCaseObj
;
private
UnityAction
m_OnClickAction
;
private
int
m_deckID
;
private
PublicDeckCaseWidget
m_publicDeckCaseWidget
;
public
int
DeckID
=>
0
;
public
PublicDeckCaseWidget
publicDeckCaseWidget
=>
null
;
public
DeckSelectViewController2
.
DeckCondition
m_Condition
{
[
CompilerGenerated
]
get
{
return
default
(
DeckSelectViewController2
.
DeckCondition
);
}
[
CompilerGenerated
]
set
{
}
}
private
void
Awake
()
{
}
public
IAsyncProgressContainer
SetParams
(
int
id
,
int
pickup_id
,
int
caseId
)
{
return
null
;
}
private
IAsyncProgressContainer
SetData
(
int
id
,
int
pickup_id
,
int
caseId
)
{
return
null
;
}
public
void
SetOnClickCallback
(
UnityAction
callback
)
{
}
private
void
Start
()
{
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/PublicDeckBox.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: e68869ae85784e924cd898469edaa3b8
timeCreated: 1698741462
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/ScrollableInputField.cs
0 → 100644
View file @
ecd6769f
using
UnityEngine
;
using
UnityEngine.Events
;
using
UnityEngine.UI
;
using
YgomSystem.UI
;
namespace
YgomGame.Deck
{
public
class
ScrollableInputField
:
MonoBehaviour
{
public
ExtendedInputField
targetInputField
;
public
MDText
cardNameText
;
[
SerializeField
]
private
Button
_maskButton
;
public
UnityEvent
OnFocus
;
private
void
Start
()
{
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/ScrollableInputField.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: 0844b5b6b2cd9baf0b50524d8a3fbef4
timeCreated: 1698741461
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/SearchBoxDialog.cs
0 → 100644
View file @
ecd6769f
using
System
;
using
UnityEngine.UI
;
using
YgomGame.Menu
;
using
YgomSystem.UI
;
namespace
YgomGame.Deck
{
public
class
SearchBoxDialog
:
SelectDialogViewControllerBase
<
string
,
string
>
{
private
const
string
LABEL_SBN_SEARCHBUTTON
=
"SearchButton"
;
private
const
string
LABEL_TXT_INPUTFIELD
=
"TextName"
;
private
const
string
LABEL_TXT_PLACEHOLDER
=
"PlaceHolder"
;
private
const
string
LABEL_EIF_SEARCHFIELD
=
"SearchField"
;
private
const
string
PREFAB_PATH
=
"DeckEdit/SearchBoxDialog"
;
//private Text m_InputFieldText => null;
private
SelectionButton
m_SearchButton
=>
null
;
private
ExtendedInputField
m_InputField
=>
null
;
public
static
void
Open
(
string
keyword
,
Action
<
string
>
callback
)
{
}
public
override
void
NotificationStackEntry
()
{
}
private
void
Start
()
{
}
private
void
Update
()
{
}
public
SearchBoxDialog
()
{
//((SelectDialogViewControllerBase<, >)(object)this)._002Ector();
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/SearchBoxDialog.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: 0db007f6bbc37409e833437b2acf92c7
timeCreated: 1698741462
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/SearchCategory.cs
0 → 100644
View file @
ecd6769f
using
UnityEngine
;
using
UnityEngine.Events
;
using
YgomGame.Menu.Common
;
using
YgomSystem.ElementSystem
;
using
YgomSystem.UI
;
namespace
YgomGame.Deck
{
public
class
SearchCategory
:
MonoBehaviour
{
private
ElementObjectManager
m_eom
;
private
GameObject
m_ImageOn
;
private
GameObject
m_ImageOff
;
private
SelectionButton
m_button
;
private
GameObject
m_templateObj
;
private
UnityAction
m_OnClickAction
;
private
SearchCategoryWidget
m_SearchCategoryWidget
;
public
SearchCategoryWidget
searchCategoryWidget
=>
null
;
private
void
Awake
()
{
}
public
IAsyncProgressContainer
SetParams
(
int
id
,
string
name
,
bool
isSelected
)
{
return
null
;
}
private
IAsyncProgressContainer
SetData
(
int
id
,
string
name
)
{
return
null
;
}
public
void
SetOnClickCallback
(
UnityAction
callback
)
{
}
public
bool
OnClick
()
{
return
false
;
}
private
void
Start
()
{
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/SearchCategory.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: e6b0e973ff0cc4f49a12c06c670c6c07
timeCreated: 1698741461
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/SearchFilter.cs
0 → 100644
View file @
ecd6769f
using
System.Collections
;
using
System.Collections.Generic
;
using
YgomGame.Card
;
namespace
YgomGame.Deck
{
public
static
class
SearchFilter
{
public
class
Setting
{
public
enum
OPTIONS
{
NotOwned
=
0
,
SIZE
=
1
}
public
enum
FRAME
{
Normal
=
0
,
Effect
=
1
,
Fusion
=
2
,
Ritual
=
3
,
Synchro
=
4
,
Xyz
=
5
,
Pendulum
=
6
,
Link
=
7
,
Magic
=
8
,
Trap
=
9
,
SIZE
=
10
}
public
enum
ATTR
{
Light
=
0
,
Dark
=
1
,
Water
=
2
,
Fire
=
3
,
Earth
=
4
,
Wind
=
5
,
Divine
=
6
,
SIZE
=
7
}
public
enum
TRIBE
{
SpellCaster
=
0
,
Dragon
=
1
,
Zombie
=
2
,
Warrior
=
3
,
BeastWarrior
=
4
,
Beast
=
5
,
WingedBeast
=
6
,
Machine
=
7
,
Fiend
=
8
,
Fairy
=
9
,
Insect
=
10
,
Dinosaur
=
11
,
Reptile
=
12
,
Fish
=
13
,
SeaSerpent
=
14
,
Aqua
=
15
,
Pyro
=
16
,
Thunder
=
17
,
Rock
=
18
,
Plant
=
19
,
Psychic
=
20
,
Wyrm
=
21
,
Cyberse
=
22
,
DivineBeast
=
23
,
SIZE
=
24
}
public
enum
LEVEL
{
Lvl0
=
0
,
Lvl1
=
1
,
Lvl2
=
2
,
Lvl3
=
3
,
Lvl4
=
4
,
Lvl5
=
5
,
Lvl6
=
6
,
Lvl7
=
7
,
Lvl8
=
8
,
Lvl9
=
9
,
Lvl10
=
10
,
Lvl11
=
11
,
Lvl12
=
12
,
Lvl13
=
13
,
SIZE
=
14
}
public
enum
NOTMONSTER
{
NormalSpell
=
0
,
FieldSpell
=
1
,
EquipSpell
=
2
,
ContinuousSpell
=
3
,
QuickPlaySpell
=
4
,
RitualSpell
=
5
,
NormalTrap
=
6
,
ContinuousTrap
=
7
,
CounterTrap
=
8
,
SIZE
=
9
}
public
enum
RARITY
{
Normal
=
0
,
Rare
=
1
,
SuperRare
=
2
,
UltraRare
=
3
,
SIZE
=
4
}
public
enum
STYLE
{
Normal
=
0
,
Shine
=
1
,
Royal
=
2
,
SIZE
=
3
}
public
enum
LIMIT
{
Limit0
=
0
,
Limit1
=
1
,
Limit2
=
2
,
Limit3
=
3
,
SIZE
=
4
}
public
enum
CUTIN
{
Exist
=
0
,
NotExist
=
1
,
SIZE
=
2
}
public
enum
ABILITY
{
Toon
=
0
,
Dual
=
1
,
Union
=
2
,
Spirit
=
3
,
Tuner
=
4
,
Reverse
=
5
,
SpSummon
=
6
,
SIZE
=
7
}
public
enum
REGULATION
{
Forbidden
=
0
,
Limited
=
1
,
SemiLimited
=
2
,
None
=
3
,
SIZE
=
4
}
public
BitArray
Options
;
public
BitArray
Frame
;
public
BitArray
Attr
;
public
BitArray
Tribe
;
public
BitArray
Level
;
public
BitArray
NotMonster
;
public
BitArray
Rarity
;
public
BitArray
Style
;
public
BitArray
Limit
;
public
BitArray
Cutin
;
public
BitArray
Ability
;
public
BitArray
Regulation
;
public
bool
IsFiltered
()
{
return
false
;
}
private
static
bool
checkAny
(
BitArray
ba
)
{
return
false
;
}
public
BitArray
GetFrameSetting
()
{
return
null
;
}
public
BitArray
GetAttrSetting
()
{
return
null
;
}
public
BitArray
GetTribeSetting
()
{
return
null
;
}
public
BitArray
GetLevel
()
{
return
null
;
}
public
BitArray
GetNotMonster
()
{
return
null
;
}
public
BitArray
GetRarity
()
{
return
null
;
}
public
BitArray
GetStyle
()
{
return
null
;
}
public
BitArray
GetLimit
()
{
return
null
;
}
public
BitArray
GetCutin
()
{
return
null
;
}
public
BitArray
GetAbility
()
{
return
null
;
}
public
BitArray
GetRegulation
()
{
return
null
;
}
public
BitArray
GetOption
()
{
return
null
;
}
public
void
SetRarityFilter
(
RARITY
val
,
bool
b
)
{
}
public
void
SetStyleFilter
(
STYLE
val
,
bool
b
)
{
}
public
void
SetLimitFilter
(
LIMIT
val
,
bool
b
)
{
}
public
void
SetCutinFilter
(
CUTIN
val
,
bool
b
)
{
}
public
void
SetAbilityFilter
(
ABILITY
val
,
bool
b
)
{
}
public
void
SetFrameFilter
(
FRAME
val
,
bool
b
)
{
}
public
void
SetNotMonsterFilter
(
NOTMONSTER
val
,
bool
b
)
{
}
public
void
SetAttrFilter
(
ATTR
val
,
bool
b
)
{
}
public
void
SetTribeFilter
(
TRIBE
val
,
bool
b
)
{
}
public
void
SetLevelFilter
(
LEVEL
val
,
bool
b
)
{
}
public
void
SetOptionSetting
(
OPTIONS
val
,
bool
b
)
{
}
public
Setting
Clone
()
{
return
null
;
}
}
private
enum
AbilityMask
{
Toon
=
1
,
Dual
=
2
,
Union
=
4
,
Spirit
=
8
,
Tuner
=
0x10
,
Reverse
=
0x20
,
SpSummon
=
0x40
}
public
static
int
nowRegulationID
;
private
static
string
[]
searchKeywords
;
private
static
Dictionary
<
Content
.
Frame
,
Setting
.
FRAME
>
frameTbl
;
private
static
Dictionary
<
Content
.
Frame
,
Setting
.
FRAME
>
pendulumFrameTbl
;
private
static
Dictionary
<
Content
.
Attribute
,
Setting
.
ATTR
>
attrTbl
;
private
static
Dictionary
<
Content
.
Type
,
Setting
.
TRIBE
>
tribeTbl
;
private
static
Dictionary
<
int
,
Setting
.
LEVEL
>
levelTbl
;
private
static
Dictionary
<
Content
.
Icon
,
Setting
.
NOTMONSTER
>
spellTbl
;
private
static
Dictionary
<
Content
.
Icon
,
Setting
.
NOTMONSTER
>
trapTbl
;
private
static
Dictionary
<
CardCollectionInfo
.
Rarity
,
Setting
.
RARITY
>
rarityTbl
;
private
static
Dictionary
<
CardCollectionInfo
.
Premium
,
Setting
.
STYLE
>
styleTbl
;
private
static
Dictionary
<
int
,
Setting
.
LIMIT
>
limitTbl
;
private
static
Dictionary
<
bool
,
Setting
.
CUTIN
>
cutinTbl
;
private
static
Dictionary
<
AbilityMask
,
Setting
.
ABILITY
>
abilityTbl
;
private
static
Dictionary
<
CardCollectionInfo
.
Regulation
,
Setting
.
REGULATION
>
regulationTbl
;
private
const
int
HAN_SPACE
=
32
;
private
const
int
HAN_YEN
=
92
;
private
const
int
HAN_ALPHA_START
=
33
;
private
const
int
HAN_ALPHA_END
=
126
;
private
const
int
ZEN_SPACE
=
12288
;
private
const
int
ZEN_YEN
=
65509
;
private
const
int
ZEN_ALPHA_START
=
65281
;
private
const
int
ZEN_ALPHA_OFFSET
=
65248
;
private
const
int
HIRA_START
=
12352
;
private
const
int
HIRA_END
=
12442
;
private
const
int
KATA_START
=
12448
;
private
const
int
KATA_OFFSET
=
96
;
private
const
int
ZAL_START
=
65313
;
private
const
int
ZAL_END
=
65338
;
private
const
int
ZAS_START
=
65345
;
private
const
int
ZAS_OFFSET
=
32
;
private
static
void
getSetting
(
Setting
setting
,
out
BitArray
frame
,
out
BitArray
attr
,
out
BitArray
tribe
,
out
BitArray
level
,
out
BitArray
notmonster
,
out
BitArray
rarity
,
out
BitArray
style
,
out
BitArray
limit
,
out
BitArray
cutin
,
out
BitArray
ability
,
out
BitArray
regulation
,
out
BitArray
option
)
{
frame
=
null
;
attr
=
null
;
tribe
=
null
;
level
=
null
;
notmonster
=
null
;
rarity
=
null
;
style
=
null
;
limit
=
null
;
cutin
=
null
;
ability
=
null
;
regulation
=
null
;
option
=
null
;
}
private
static
void
getRawSetting
(
Setting
setting
,
out
BitArray
frame
,
out
BitArray
attr
,
out
BitArray
tribe
,
out
BitArray
level
,
out
BitArray
notmonster
,
out
BitArray
rarity
,
out
BitArray
style
,
out
BitArray
limit
,
out
BitArray
cutin
,
out
BitArray
ability
,
out
BitArray
regulation
,
out
BitArray
option
)
{
frame
=
null
;
attr
=
null
;
tribe
=
null
;
level
=
null
;
notmonster
=
null
;
rarity
=
null
;
style
=
null
;
limit
=
null
;
cutin
=
null
;
ability
=
null
;
regulation
=
null
;
option
=
null
;
}
public
static
List
<
CardBaseData
>
Filter
(
List
<
CardBaseData
>
list
,
Setting
setting
,
string
keyword
,
bool
includeDesc
=
true
)
{
return
null
;
}
private
static
bool
predicate
(
int
cardID
,
BitArray
frame
,
BitArray
attr
,
BitArray
tribe
,
BitArray
level
,
BitArray
notmonster
,
BitArray
rarity
,
BitArray
style
,
BitArray
limit
,
BitArray
cutin
,
BitArray
ability
,
BitArray
regulation
,
BitArray
option
,
int
rareID
=
-
1
,
int
styleID
=
-
1
,
bool
includeDesc
=
true
)
{
return
false
;
}
private
static
bool
checkEmpty
(
BitArray
ba
)
{
return
false
;
}
private
static
bool
checkFrame
(
Content
.
Frame
val
,
BitArray
ba
)
{
return
false
;
}
private
static
bool
checkAttr
(
Content
.
Attribute
val
,
BitArray
ba
)
{
return
false
;
}
private
static
bool
checkTribe
(
Content
.
Type
val
,
BitArray
ba
)
{
return
false
;
}
private
static
bool
checkLevel
(
int
val
,
BitArray
ba
)
{
return
false
;
}
private
static
bool
checkSpellIcon
(
Content
.
Icon
val
,
BitArray
ba
)
{
return
false
;
}
private
static
bool
checkTrapIcon
(
Content
.
Icon
val
,
BitArray
ba
)
{
return
false
;
}
private
static
bool
checkRarity
(
CardCollectionInfo
.
Rarity
val
,
BitArray
ba
)
{
return
false
;
}
private
static
bool
checkStyle
(
CardCollectionInfo
.
Premium
val
,
BitArray
ba
)
{
return
false
;
}
private
static
bool
checkLimit
(
int
val
,
BitArray
ba
)
{
return
false
;
}
private
static
bool
checkCutin
(
bool
val
,
BitArray
ba
)
{
return
false
;
}
private
static
bool
checkAbility
(
AbilityMask
val
,
BitArray
ba
)
{
return
false
;
}
private
static
bool
checkRegulation
(
CardCollectionInfo
.
Regulation
val
,
BitArray
ba
)
{
return
false
;
}
private
static
void
checkCollectionSetting
(
string
keywordsString
)
{
}
private
static
bool
checkCollection
(
int
mrk
,
bool
includeDesc
=
true
)
{
return
false
;
}
public
static
bool
checkCollectionIDList
(
List
<
int
>
mrkList
,
string
keywordsString
,
List
<
int
>
hitList
,
bool
includeDesc
=
true
)
{
return
false
;
}
private
static
string
convertSearchText
(
string
src
)
{
return
null
;
}
private
static
string
toZenkaku
(
string
src
)
{
return
null
;
}
private
static
string
toKatakana_Komoji
(
string
src
)
{
return
null
;
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/SearchFilter.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: cbdec151843808105f829c94a2f89fdd
timeCreated: 1698741461
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/SecretPackEffect.cs
0 → 100644
View file @
ecd6769f
using
System
;
using
System.Collections
;
using
UnityEngine
;
using
YgomGame.Effect
;
namespace
YgomGame.Deck
{
public
class
SecretPackEffect
{
private
enum
Step
{
Loading
=
0
,
GetEffect
=
1
,
ActiveEffect
=
2
,
Finished
=
3
}
private
const
string
prefabPathGetSecret
=
"Prefabs/UI/DeckEdit/fxp_DeckEditUI/fxp_DeckEditUI_sctget_001"
;
private
const
string
prefabPathActiveSecret
=
"Prefabs/UI/DeckEdit/fxp_DeckEditUI/fxp_DeckEditUI_sctactive_001"
;
private
EffectHandler
effectGetSecret
;
private
EffectHandler
effectActiveSecret
;
private
Step
step
;
public
static
SecretPackEffect
Create
(
RectTransform
targetButton
,
bool
isMobile
)
{
return
null
;
}
private
void
Initialize
(
RectTransform
targetButton
,
bool
isMobile
)
{
}
public
void
StartEffect
(
Action
onPlayGetEffect
)
{
}
private
IEnumerator
UpdateCreateEffect
(
Action
onPlayGetEffect
)
{
return
null
;
}
public
void
DestroyGetEffect
()
{
}
public
void
Terminate
()
{
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/SecretPackEffect.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: 49d9ed519cdc4a6cff0c6b9672825ff7
timeCreated: 1698741462
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/SecretPackList.cs
0 → 100644
View file @
ecd6769f
using
System
;
using
System.Collections.Generic
;
using
UnityEngine
;
using
YgomGame.Card
;
using
YgomGame.Menu
;
using
YgomSystem.UI.InfinityScroll
;
namespace
YgomGame.Deck
{
public
class
SecretPackList
:
BaseMenuViewController
,
IBokeSupported
,
IBackButtonSupported
,
IHeaderBorderSupported
{
private
List
<
CardCollectionInfo
.
SecretPackInfo
>
packList
;
private
InfinityScrollView
infinityScroll
;
private
Action
<
int
,
List
<
int
>>
decideCallback
;
public
const
string
argsKeyPackList
=
"PackList"
;
public
const
string
argsKeyCallback
=
"DecideCallback"
;
protected
override
Type
[]
textIds
=>
null
;
public
override
void
NotificationStackEntry
()
{
}
private
void
Start
()
{
}
public
void
OnCreateEntity
(
GameObject
obj
)
{
}
public
void
OnUpdateEntity
(
GameObject
obj
,
int
idx
)
{
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/SecretPackList.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: 44faaa93190044479fb6561aa714ca06
timeCreated: 1698741462
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/SoloDeckUtil.cs
0 → 100644
View file @
ecd6769f
using
System.Collections.Generic
;
namespace
YgomGame.Deck
{
public
class
SoloDeckUtil
{
public
enum
SoloDeckType
{
Story
=
0
,
NPC
=
1
}
public
static
int
GetStoryDeckID
(
int
chapterId
)
{
return
0
;
}
public
static
string
GetStoryDeckName
(
int
chapterId
)
{
return
null
;
}
public
static
string
GetStoryDeckDesc
(
int
chapterId
)
{
return
null
;
}
public
static
Dictionary
<
string
,
object
>
GetStoryDeck
(
int
chapterId
,
DeckInfo
.
DeckType
deckType
)
{
return
null
;
}
public
static
int
GetNPCDeckID
(
int
chapterId
)
{
return
0
;
}
public
static
string
GetNPCDeckName
(
int
chapterId
)
{
return
null
;
}
public
static
string
GetNPCDeckDesc
(
int
chapterId
)
{
return
null
;
}
public
static
Dictionary
<
string
,
object
>
GetNPCDeck
(
int
chapterId
,
DeckInfo
.
DeckType
deckType
)
{
return
null
;
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/SoloDeckUtil.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: 7750ae064ceafe812c51e853294b86ee
timeCreated: 1698741462
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/SortDialog.cs
0 → 100644
View file @
ecd6769f
using
System
;
using
System.Collections.Generic
;
using
UnityEngine
;
using
YgomGame.Menu
;
using
YgomSystem.UI
;
namespace
YgomGame.Deck
{
public
class
SortDialog
:
SelectDialogViewControllerBase
<
SortComparer
.
Sorter
>,
IBokeSupported
{
private
const
string
PREFAB_PATH_SORTDIALOG
=
"DeckEdit/SortDialog"
;
private
const
string
LABEL_SBN_CANCELBUTTON
=
"ButtonFooter"
;
private
const
string
LABEL_RT_SORTBUTTONAREA
=
"SortButtonsArea"
;
private
const
string
Label_Obtained
=
"入"
;
private
const
string
Label_Inventroy
=
"所\ufffd"
;
private
const
string
Label_Rarity
=
"レ\ufffd"
;
private
const
string
Label_Stars
=
"レベル\ufffd"
;
private
const
string
Label_Atk
=
"攻\ufffd"
;
private
const
string
Label_Def
=
"守\ufffd"
;
private
SorterToggle
template
;
private
static
Dictionary
<
string
,
SortComparer
.
METHOD
>
methodTbl
;
private
static
Dictionary
<
string
,
string
>
methodLabelTbl
;
private
RectTransform
m_SortButtonArea
=>
null
;
private
SelectionButton
m_CancelButton
=>
null
;
public
static
void
Open
(
SortComparer
.
METHOD
method
,
SortComparer
.
ORDER
order
,
Action
<
SortComparer
.
Sorter
>
callback
=
null
)
{
}
public
override
void
NotificationStackEntry
()
{
}
protected
override
void
OnCreatedView
()
{
}
public
static
string
GetSorterName
(
SortComparer
.
Sorter
s
)
{
return
null
;
}
public
SortDialog
()
{
//((SelectDialogViewControllerBase<>)(object)this)._002Ector();
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/SortDialog.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: 9bb2b41688274fcc98915b2c03361d07
timeCreated: 1698741461
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/SorterToggle.cs
0 → 100644
View file @
ecd6769f
using
UnityEngine
;
using
UnityEngine.Events
;
using
YgomSystem.ElementSystem
;
using
YgomSystem.UI
;
using
YgomSystem.YGomTMPro
;
namespace
YgomGame.Deck
{
public
class
SorterToggle
:
MonoBehaviour
{
private
UnityAction
m_OnClickAscAction
;
private
UnityAction
m_OnClickDescAction
;
private
const
string
LABEL_SBN_ASCBUTTON
=
"Button0"
;
private
const
string
LABEL_SBN_DESCBUTTON
=
"Button1"
;
private
const
string
LABEL_RT_ASCIMAGEOFF
=
"ImageOff0"
;
private
const
string
LABEL_RT_ASCIMAGEON
=
"ImageOn0"
;
private
const
string
LABEL_RT_DESCIMAGEOFF
=
"ImageOff1"
;
private
const
string
LABEL_RT_DESCIMAGEON
=
"ImageOn1"
;
private
const
string
LABEL_TXT_METHODTEXT
=
"Label"
;
private
ElementObjectManager
m_eom
=>
null
;
private
ExtendedTextMeshProUGUI
m_MethodLabel
=>
null
;
private
RectTransform
m_AscImageOff
=>
null
;
private
RectTransform
m_AscImageOn
=>
null
;
private
RectTransform
m_DescImageOff
=>
null
;
private
RectTransform
m_DescImageOn
=>
null
;
private
SelectionButton
m_AscButton
=>
null
;
private
SelectionButton
m_DescButton
=>
null
;
public
void
Initialize
(
string
label
,
bool
isAscOn
,
bool
isDescOn
)
{
}
private
void
Awake
()
{
}
private
void
Start
()
{
}
public
void
SetOnClickAscCallback
(
UnityAction
callback
)
{
}
public
void
SetOnClickDescCallback
(
UnityAction
callback
)
{
}
public
void
SetDownTransitionItem
(
SelectionItem
item
)
{
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/SorterToggle.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: 808dec748fa916b18076ff56f0e11fc5
timeCreated: 1698741462
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/TournamentDeckBox.cs
0 → 100644
View file @
ecd6769f
using
UnityEngine.UI
;
using
YgomGame.Menu.Common
;
namespace
YgomGame.Deck
{
public
class
TournamentDeckBox
:
DeckBox
{
private
Image
m_TournamentLogo
;
private
Image
m_TournamentBG
;
private
void
Awake
()
{
}
public
IAsyncProgressContainer
SetData
(
int
id
,
string
name
,
int
case_id
,
int
protector_id
,
int
[]
pickup_ids
,
int
[]
pickup_decos
,
int
logoId
,
int
stage
=
0
,
bool
opened
=
false
)
{
return
null
;
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/TournamentDeckBox.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: 50e036d18d52ea1772de9052bdf8cb9d
timeCreated: 1698741461
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/MasterDuel/YgomGame/Deck/TransitionCard.cs
0 → 100644
View file @
ecd6769f
using
System
;
using
System.Collections.Generic
;
using
UnityEngine
;
using
UnityEngine.UI
;
using
YgomGame.Duel
;
using
YgomSystem.ElementSystem
;
using
YgomSystem.UI
;
namespace
YgomGame.Deck
{
public
class
TransitionCard
:
CardBase
{
public
enum
TraceTargetType
{
Transform
=
0
,
Position
=
1
}
public
enum
MotionMode
{
Linear
=
0
,
BezierAdd
=
1
,
BezierRemove
=
2
,
NoMove
=
3
}
public
enum
Size
{
NoChange
=
0
,
ToLarge
=
1
,
ToSmall
=
2
}
private
enum
Step
{
Idle
=
0
,
Moving
=
1
,
FadeOut
=
2
}
[
SerializeField
]
private
BezierMotionContainer
bezierMotionAdd
;
[
SerializeField
]
private
BezierMotionContainer
bezierMotionRemove
;
private
ElementObjectManager
elements
;
private
List
<
RawImage
>
cardImages
;
private
List
<
Tween
>
tweenIn
;
private
List
<
Tween
>
tweenOut
;
private
List
<
Tween
>
tweenOutFade
;
private
List
<
Tween
>
tweenLargeSize
;
private
List
<
Tween
>
tweenSmallSize
;
private
Transform
pivot
;
private
Vector3
basePosition
;
private
Transform
targetTransform
;
private
Vector3
targetPosition
;
private
Vector3
[]
positionHistory
;
private
float
remainTime
;
private
const
float
traceTime
=
0.5f
;
private
ChainedBezierMotion
motion
;
private
bool
outFade
;
private
Action
onTraceFinishedCallback
;
private
TraceTargetType
traceTargetType
;
private
MotionMode
mode
;
private
Step
step
;
private
Vector3
target
=>
default
(
Vector3
);
private
bool
isAvailableTarget
=>
false
;
public
static
TransitionCard
Create
(
TransitionCard
prefab
,
Transform
parent
)
{
return
null
;
}
private
void
Initialize
()
{
}
public
void
SetData
(
int
id
,
int
style
)
{
}
public
void
SetData
(
CardBaseData
cbd
)
{
}
public
void
SetPosition
(
Vector3
position
)
{
}
public
void
StartCardTracing
(
MotionMode
mode
,
Vector3
basePosition
,
Transform
target
,
bool
outFade
,
Size
size
,
Action
onFinished
)
{
}
public
void
StartPositionTracing
(
MotionMode
mode
,
Vector3
basePosition
,
Vector3
target
,
bool
outFade
,
Size
size
,
Action
onFinished
)
{
}
public
void
StartAddEffect
(
Transform
target
,
Size
size
,
Action
onFinished
)
{
}
private
void
StartTracing
(
MotionMode
mode
,
Vector3
basePosition
,
bool
outFade
,
Size
size
,
Action
onFinished
)
{
}
private
void
Update
()
{
}
private
void
UpdatePivotPosition
()
{
}
private
void
UpdateMoving
()
{
}
private
void
UpdateFadeOut
()
{
}
private
void
UpdateHistory
()
{
}
private
void
UpdateCardPosition
()
{
}
private
void
OnTraceFinished
()
{
}
private
void
PlayTween
(
List
<
Tween
>
tweenList
)
{
}
public
void
SetTweenDuration
(
List
<
Tween
>
tweenList
,
float
duration
)
{
}
private
bool
IsTweenPlaying
(
List
<
Tween
>
tweenList
)
{
return
false
;
}
}
}
Assets/Scripts/MasterDuel/YgomGame/Deck/TransitionCard.cs.meta
0 → 100644
View file @
ecd6769f
fileFormatVersion: 2
guid: d1551ed690450e1a3ae6331d9702d317
timeCreated: 1698741462
licenseType: Free
MonoImporter:
serializedVersion: 2
externalObjects: {}
defaultReferences: []
executionOrder: 0
icon: {fileID: 0}
userData:
assetBundleName:
assetBundleVariant:
Tools/YGO Classes/build/android/jni/Android.mk
0 → 100644
View file @
ecd6769f
COMMON_PARENT_DIR
:=
$(
call
my-dir
)
/../../..
include
$(CLEAR_VARS)
include
$(COMMON_PARENT_DIR)/event/Android.mk
include
$(CLEAR_VARS)
include
$(COMMON_PARENT_DIR)/irrlicht/Android.mk
include
$(CLEAR_VARS)
include
$(COMMON_PARENT_DIR)/lua/Android.mk
include
$(CLEAR_VARS)
include
$(COMMON_PARENT_DIR)/ocgcore/Android.mk
include
$(CLEAR_VARS)
include
$(COMMON_PARENT_DIR)/sqlite3/Android.mk
include
$(CLEAR_VARS)
include
$(COMMON_PARENT_DIR)/ygoserver/Android.mk
\ No newline at end of file
Tools/YGO Classes/build/android/jni/Application.mk
0 → 100644
View file @
ecd6769f
APP_ABI
:=
arm64-v8a
APP_PLATFORM
:=
android-26
APP_ALLOW_MISSING_DEPS
=
true
APP_STL
:=
c++_static
APP_CPPFLAGS
:=
-std
=
gnu++14
-Wno-format-security
-Wno-error
=
format-security
-Wno-logical-op-parentheses
-Wno-parentheses
APP_CFLAGS
:=
-Wno-format-security
APP_OPTIM
:=
release
Tools/YGO Classes/build/windows/premake5.lua
0 → 100644
View file @
ecd6769f
workspace
"YGO Classes"
location
"build"
objdir
"build/obj"
language
"C++"
platforms
{
"x64"
}
configurations
{
"Debug"
,
"Release"
}
defines
{
"WIN32"
,
"_WIN32"
,
"BUILD_LUA"
}
include
"../../lua"
include
"../../event"
include
"../../sqlite3"
include
"../../irrlicht/premake5-only-zipreader.lua"
include
"../../ocgcore"
include
"../../ygoserver"
vectorextensions
"SSE2"
buildoptions
{
"/utf-8"
}
defines
{
"_CRT_SECURE_NO_WARNINGS"
}
disablewarnings
{
"4244"
,
"4267"
,
"4838"
,
"4577"
,
"4819"
,
"4018"
,
"4996"
,
"4477"
,
"4091"
,
"4828"
,
"4800"
,
"6011"
,
"6031"
,
"6054"
,
"6262"
}
\ No newline at end of file
Tools/YGO Classes/event/android/event2/event-config.h
0 → 100644
View file @
ecd6769f
/* event2/event-config.h
*
* This file was generated by autoconf when libevent was built, and post-
* processed by Libevent so that its macros would have a uniform prefix.
*
* DO NOT EDIT THIS FILE.
*
* Do not rely on macros in this file existing in later versions.
*/
/* unfortunately, Android doesn't define a TAILQ_END, so add this here.
* hopefully bionic is fixed or someone reads this message before
* regenerating this file:
*/
#ifndef TAILQ_END
#define TAILQ_END(head) (NULL)
#endif
/* end android compat */
#ifndef _EVENT2_EVENT_CONFIG_H_
#define _EVENT2_EVENT_CONFIG_H_
/* config.h. Generated from config.h.in by configure. */
/* config.h.in. Generated from configure.in by autoheader. */
/* Define if libevent should build without support for a debug mode */
/* #undef _EVENT_DISABLE_DEBUG_MODE */
/* Define if libevent should not allow replacing the mm functions */
/* #undef _EVENT_DISABLE_MM_REPLACEMENT */
/* Define if libevent should not be compiled with thread support */
/* #undef _EVENT_DISABLE_THREAD_SUPPORT */
/* Define to 1 if you have the `arc4random' function. */
#define _EVENT_HAVE_ARC4RANDOM 1
/* Define to 1 if you have the `arc4random_buf' function. */
#define _EVENT_HAVE_ARC4RANDOM_BUF 1
/* Define to 1 if you have the <arpa/inet.h> header file. */
#define _EVENT_HAVE_ARPA_INET_H 1
/* Define to 1 if you have the `clock_gettime' function. */
#define _EVENT_HAVE_CLOCK_GETTIME 1
/* Define to 1 if you have the declaration of `CTL_KERN', and to 0 if you
don't. */
/* #undef _EVENT_HAVE_DECL_CTL_KERN */
/* Define to 1 if you have the declaration of `KERN_ARND', and to 0 if you
don't. */
/* #undef _EVENT_HAVE_DECL_KERN_ARND */
/* Define to 1 if you have the declaration of `KERN_RANDOM', and to 0 if you
don't. */
/* #undef _EVENT_HAVE_DECL_KERN_RANDOM */
/* Define to 1 if you have the declaration of `RANDOM_UUID', and to 0 if you
don't. */
/* #undef _EVENT_HAVE_DECL_RANDOM_UUID */
/* Define if /dev/poll is available */
/* #undef _EVENT_HAVE_DEVPOLL */
/* Define to 1 if you have the <dlfcn.h> header file. */
#define _EVENT_HAVE_DLFCN_H 1
/* Define if your system supports the epoll system calls */
#define _EVENT_HAVE_EPOLL 1
/* Define to 1 if you have the `epoll_ctl' function. */
#define _EVENT_HAVE_EPOLL_CTL 1
/* Define to 1 if you have the `eventfd' function. */
#define _EVENT_HAVE_EVENTFD 1
/* Define if your system supports event ports */
/* #undef _EVENT_HAVE_EVENT_PORTS */
/* Define to 1 if you have the `fcntl' function. */
#define _EVENT_HAVE_FCNTL 1
/* Define to 1 if you have the <fcntl.h> header file. */
#define _EVENT_HAVE_FCNTL_H 1
/* Define to 1 if the system has the type `fd_mask'. */
/* #undef _EVENT_HAVE_FD_MASK */
/* Do we have getaddrinfo()? */
#define _EVENT_HAVE_GETADDRINFO 1
/* Define to 1 if you have the `getegid' function. */
#define _EVENT_HAVE_GETEGID 1
/* Define to 1 if you have the `geteuid' function. */
#define _EVENT_HAVE_GETEUID 1
/* Define this if you have any gethostbyname_r() */
/* #undef _EVENT_HAVE_GETHOSTBYNAME_R */
/* Define this if gethostbyname_r takes 3 arguments */
/* #undef _EVENT_HAVE_GETHOSTBYNAME_R_3_ARG */
/* Define this if gethostbyname_r takes 5 arguments */
/* #undef _EVENT_HAVE_GETHOSTBYNAME_R_5_ARG */
/* Define this if gethostbyname_r takes 6 arguments */
/* #undef _EVENT_HAVE_GETHOSTBYNAME_R_6_ARG */
/* Define to 1 if you have the `getnameinfo' function. */
#define _EVENT_HAVE_GETNAMEINFO 1
/* Define to 1 if you have the `getprotobynumber' function. */
#define _EVENT_HAVE_GETPROTOBYNUMBER 1
/* Define to 1 if you have the `getservbyname' function. */
/* #undef _EVENT_HAVE_GETSERVBYNAME */
/* Define to 1 if you have the `gettimeofday' function. */
#define _EVENT_HAVE_GETTIMEOFDAY 1
/* Define to 1 if you have the `inet_aton' function. */
#define _EVENT_HAVE_INET_ATON 1
/* Define to 1 if you have the `inet_ntop' function. */
#define _EVENT_HAVE_INET_NTOP 1
/* Define to 1 if you have the `inet_pton' function. */
#define _EVENT_HAVE_INET_PTON 1
/* Define to 1 if you have the <inttypes.h> header file. */
#define _EVENT_HAVE_INTTYPES_H 1
/* Define to 1 if you have the `issetugid' function. */
//#define _EVENT_HAVE_ISSETUGID 1
/* Define to 1 if you have the `kqueue' function. */
/* #undef _EVENT_HAVE_KQUEUE */
/* Define if the system has zlib */
/* #undef _EVENT_HAVE_LIBZ */
/* Define to 1 if you have the <memory.h> header file. */
#define _EVENT_HAVE_MEMORY_H 1
/* Define to 1 if you have the `mmap' function. */
#define _EVENT_HAVE_MMAP 1
/* Define to 1 if you have the <netdb.h> header file. */
#define _EVENT_HAVE_NETDB_H 1
/* Define to 1 if you have the <netinet/in6.h> header file. */
#define _EVENT_HAVE_NETINET_IN6_H 1
/* Define to 1 if you have the <netinet/in.h> header file. */
#define _EVENT_HAVE_NETINET_IN_H 1
/* Define if the system has openssl */
/* #undef _EVENT_HAVE_OPENSSL */
/* Define to 1 if you have the <openssl/bio.h> header file. */
/* #undef _EVENT_HAVE_OPENSSL_BIO_H */
/* Define to 1 if you have the `pipe' function. */
#define _EVENT_HAVE_PIPE 1
/* Define to 1 if you have the `poll' function. */
#define _EVENT_HAVE_POLL 1
/* Define to 1 if you have the <poll.h> header file. */
#define _EVENT_HAVE_POLL_H 1
/* Define to 1 if you have the `port_create' function. */
/* #undef _EVENT_HAVE_PORT_CREATE */
/* Define to 1 if you have the <port.h> header file. */
/* #undef _EVENT_HAVE_PORT_H */
/* Define if you have POSIX threads libraries and header files. */
/* #undef _EVENT_HAVE_PTHREAD */
/* Define if we have pthreads on this system */
#define _EVENT_HAVE_PTHREADS 1
/* Define to 1 if you have the `putenv' function. */
#define _EVENT_HAVE_PUTENV 1
/* Define to 1 if the system has the type `sa_family_t'. */
#define _EVENT_HAVE_SA_FAMILY_T 1
/* Define to 1 if you have the `select' function. */
#define _EVENT_HAVE_SELECT 1
/* Define to 1 if you have the `sendfile' function. */
#define _EVENT_HAVE_SENDFILE 1
/* Define to 1 if you have the `setenv' function. */
#define _EVENT_HAVE_SETENV 1
/* Define if F_SETFD is defined in <fcntl.h> */
#define _EVENT_HAVE_SETFD 1
/* Define to 1 if you have the `sigaction' function. */
#define _EVENT_HAVE_SIGACTION 1
/* Define to 1 if you have the `signal' function. */
/* #undef _EVENT_HAVE_SIGNAL */
/* Define to 1 if you have the `splice' function. */
/* #undef _EVENT_HAVE_SPLICE */
/* Define to 1 if you have the <stdarg.h> header file. */
#define _EVENT_HAVE_STDARG_H 1
/* Define to 1 if you have the <stddef.h> header file. */
#define _EVENT_HAVE_STDDEF_H 1
/* Define to 1 if you have the <stdint.h> header file. */
#define _EVENT_HAVE_STDINT_H 1
/* Define to 1 if you have the <stdlib.h> header file. */
#define _EVENT_HAVE_STDLIB_H 1
/* Define to 1 if you have the <strings.h> header file. */
#define _EVENT_HAVE_STRINGS_H 1
/* Define to 1 if you have the <string.h> header file. */
#define _EVENT_HAVE_STRING_H 1
/* Define to 1 if you have the `strlcpy' function. */
#define _EVENT_HAVE_STRLCPY 1
/* Define to 1 if you have the `strsep' function. */
#define _EVENT_HAVE_STRSEP 1
/* Define to 1 if you have the `strtok_r' function. */
#define _EVENT_HAVE_STRTOK_R 1
/* Define to 1 if you have the `strtoll' function. */
#define _EVENT_HAVE_STRTOLL 1
/* Define to 1 if the system has the type `struct addrinfo'. */
#define _EVENT_HAVE_STRUCT_ADDRINFO 1
/* Define to 1 if the system has the type `struct in6_addr'. */
#define _EVENT_HAVE_STRUCT_IN6_ADDR 1
/* Define to 1 if `s6_addr16' is a member of `struct in6_addr'. */
#define _EVENT_HAVE_STRUCT_IN6_ADDR_S6_ADDR16 1
/* Define to 1 if `s6_addr32' is a member of `struct in6_addr'. */
#define _EVENT_HAVE_STRUCT_IN6_ADDR_S6_ADDR32 1
/* Define to 1 if the system has the type `struct sockaddr_in6'. */
#define _EVENT_HAVE_STRUCT_SOCKADDR_IN6 1
/* Define to 1 if `sin6_len' is a member of `struct sockaddr_in6'. */
/* #undef _EVENT_HAVE_STRUCT_SOCKADDR_IN6_SIN6_LEN */
/* Define to 1 if `sin_len' is a member of `struct sockaddr_in'. */
/* #undef _EVENT_HAVE_STRUCT_SOCKADDR_IN_SIN_LEN */
/* Define to 1 if the system has the type `struct sockaddr_storage'. */
#define _EVENT_HAVE_STRUCT_SOCKADDR_STORAGE 1
/* Define to 1 if `ss_family' is a member of `struct sockaddr_storage'. */
#define _EVENT_HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
/* Define to 1 if `__ss_family' is a member of `struct sockaddr_storage'. */
/* #undef _EVENT_HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY */
/* Define to 1 if you have the `sysctl' function. */
/* #undef _EVENT_HAVE_SYSCTL */
/* Define to 1 if you have the <sys/devpoll.h> header file. */
/* #undef _EVENT_HAVE_SYS_DEVPOLL_H */
/* Define to 1 if you have the <sys/epoll.h> header file. */
#define _EVENT_HAVE_SYS_EPOLL_H 1
/* Define to 1 if you have the <sys/eventfd.h> header file. */
#define _EVENT_HAVE_SYS_EVENTFD_H 1
/* Define to 1 if you have the <sys/event.h> header file. */
/* #undef _EVENT_HAVE_SYS_EVENT_H */
/* Define to 1 if you have the <sys/ioctl.h> header file. */
#define _EVENT_HAVE_SYS_IOCTL_H 1
/* Define to 1 if you have the <sys/mman.h> header file. */
#define _EVENT_HAVE_SYS_MMAN_H 1
/* Define to 1 if you have the <sys/param.h> header file. */
#define _EVENT_HAVE_SYS_PARAM_H 1
/* Define to 1 if you have the <sys/queue.h> header file. */
#define _EVENT_HAVE_SYS_QUEUE_H 1
/* Define to 1 if you have the <sys/select.h> header file. */
#define _EVENT_HAVE_SYS_SELECT_H 1
/* Define to 1 if you have the <sys/sendfile.h> header file. */
#define _EVENT_HAVE_SYS_SENDFILE_H 1
/* Define to 1 if you have the <sys/socket.h> header file. */
#define _EVENT_HAVE_SYS_SOCKET_H 1
/* Define to 1 if you have the <sys/stat.h> header file. */
#define _EVENT_HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/sysctl.h> header file. */
/* #undef _EVENT_HAVE_SYS_SYSCTL_H */
/* Define to 1 if you have the <sys/time.h> header file. */
#define _EVENT_HAVE_SYS_TIME_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#define _EVENT_HAVE_SYS_TYPES_H 1
/* Define to 1 if you have the <sys/uio.h> header file. */
#define _EVENT_HAVE_SYS_UIO_H 1
/* Define to 1 if you have the <sys/wait.h> header file. */
#define _EVENT_HAVE_SYS_WAIT_H 1
/* Define if TAILQ_FOREACH is defined in <sys/queue.h> */
/*#undef _EVENT_HAVE_TAILQFOREACH*/
/* Define if timeradd is defined in <sys/time.h> */
#define _EVENT_HAVE_TIMERADD 1
/* Define if timerclear is defined in <sys/time.h> */
#define _EVENT_HAVE_TIMERCLEAR 1
/* Define if timercmp is defined in <sys/time.h> */
#define _EVENT_HAVE_TIMERCMP 1
/* Define if timerisset is defined in <sys/time.h> */
#define _EVENT_HAVE_TIMERISSET 1
/* Define to 1 if the system has the type `uint16_t'. */
#define _EVENT_HAVE_UINT16_T 1
/* Define to 1 if the system has the type `uint32_t'. */
#define _EVENT_HAVE_UINT32_T 1
/* Define to 1 if the system has the type `uint64_t'. */
#define _EVENT_HAVE_UINT64_T 1
/* Define to 1 if the system has the type `uint8_t'. */
#define _EVENT_HAVE_UINT8_T 1
/* Define to 1 if the system has the type `uintptr_t'. */
#define _EVENT_HAVE_UINTPTR_T 1
/* Define to 1 if you have the `umask' function. */
#define _EVENT_HAVE_UMASK 1
/* Define to 1 if you have the <unistd.h> header file. */
#define _EVENT_HAVE_UNISTD_H 1
/* Define to 1 if you have the `unsetenv' function. */
#define _EVENT_HAVE_UNSETENV 1
/* Define to 1 if you have the `vasprintf' function. */
#define _EVENT_HAVE_VASPRINTF 1
/* Define if kqueue works correctly with pipes */
/* #undef _EVENT_HAVE_WORKING_KQUEUE */
/* Define to 1 if you have the <zlib.h> header file. */
/* #undef _EVENT_HAVE_ZLIB_H */
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
#define _EVENT_LT_OBJDIR ".libs/"
/* Define to 1 if your C compiler doesn't accept -c and -o together. */
/* #undef _EVENT_NO_MINUS_C_MINUS_O */
/* Numeric representation of the version */
#define _EVENT_NUMERIC_VERSION 0x02001400
/* Name of package */
#define _EVENT_PACKAGE "libevent"
/* Define to the address where bug reports for this package should be sent. */
#define _EVENT_PACKAGE_BUGREPORT ""
/* Define to the full name of this package. */
#define _EVENT_PACKAGE_NAME ""
/* Define to the full name and version of this package. */
#define _EVENT_PACKAGE_STRING ""
/* Define to the one symbol short name of this package. */
#define _EVENT_PACKAGE_TARNAME ""
/* Define to the home page for this package. */
#define _EVENT_PACKAGE_URL ""
/* Define to the version of this package. */
#define _EVENT_PACKAGE_VERSION ""
/* Define to necessary symbol if this constant uses a non-standard name on
your system. */
/* #undef _EVENT_PTHREAD_CREATE_JOINABLE */
/* The size of `int', as computed by sizeof. */
#define _EVENT_SIZEOF_INT 4
/* The size of `long', as computed by sizeof. */
#define _EVENT_SIZEOF_LONG 4
/* The size of `long long', as computed by sizeof. */
#define _EVENT_SIZEOF_LONG_LONG 8
/* The size of `pthread_t', as computed by sizeof. */
#define _EVENT_SIZEOF_PTHREAD_T 4
/* The size of `short', as computed by sizeof. */
#define _EVENT_SIZEOF_SHORT 2
/* The size of `size_t', as computed by sizeof. */
#define _EVENT_SIZEOF_SIZE_T 4
/* The size of `void *', as computed by sizeof. */
#define _EVENT_SIZEOF_VOID_P 4
/* Define to 1 if you have the ANSI C header files. */
#define _EVENT_STDC_HEADERS 1
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#define _EVENT_TIME_WITH_SYS_TIME 1
/* Version number of package */
#define _EVENT_VERSION "2.0.20-stable"
/* Define to appropriate substitue if compiler doesnt have __func__ */
/* #undef _EVENT___func__ */
/* Define to empty if `const' does not conform to ANSI C. */
/* #undef _EVENT_const */
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef _EVENT___cplusplus
/* #undef _EVENT_inline */
#endif
/* Define to `int' if <sys/types.h> does not define. */
/* #undef _EVENT_pid_t */
/* Define to `unsigned int' if <sys/types.h> does not define. */
/* #undef _EVENT_size_t */
/* Define to unsigned int if you dont have it */
/* #undef _EVENT_socklen_t */
/* Define to `int' if <sys/types.h> does not define. */
/* #undef _EVENT_ssize_t */
#endif
/* event2/event-config.h */
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