던전 입장권 추가, 입장권 초기화 추가, 던전 입장 조건 추가

This commit is contained in:
Ino 2025-01-23 13:22:47 +09:00
parent 6ca24bc15c
commit 41d9506e15
15 changed files with 834 additions and 95 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

View File

@ -0,0 +1,153 @@
fileFormatVersion: 2
guid: 29887c99550d1154e9b2dbe2a7673b3e
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 13
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
flipGreenChannel: 0
isReadable: 1
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 0
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: iPhone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

View File

@ -0,0 +1,153 @@
fileFormatVersion: 2
guid: 3010a394e9d003a49a3ef644c524715a
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 13
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
flipGreenChannel: 0
isReadable: 1
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 0
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: iPhone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

View File

@ -0,0 +1,153 @@
fileFormatVersion: 2
guid: d7ec781c3277b3a4d91e2ec14b6b06e2
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 13
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
flipGreenChannel: 0
isReadable: 1
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 0
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: iPhone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

View File

@ -0,0 +1,153 @@
fileFormatVersion: 2
guid: fa4f735ca61adca4b82718836d5ca427
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 13
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
flipGreenChannel: 0
isReadable: 1
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 0
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: iPhone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -55072,6 +55072,7 @@ MonoBehaviour:
m_ScrollRect: {fileID: 2764458593083815839}
m_Content: {fileID: 0}
go_card: {fileID: 6812196077140225535, guid: addb3980a64d43045be5386b3f735ac3, type: 3}
MoneyForm_Ticket: {fileID: 833754818585651238}
texts:
- {fileID: 1134907645997091294}
m_ArrowUI: {fileID: 550472041806731591}
@ -91102,6 +91103,7 @@ RectTransform:
- {fileID: 4928543301605757870}
- {fileID: 2819497699184699550}
- {fileID: 1530509777072174400}
- {fileID: 5143025981118404211}
m_Father: {fileID: 5366708532861094367}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5}
@ -104154,6 +104156,142 @@ RectTransform:
type: 3}
m_PrefabInstance: {fileID: 3120970021611850036}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &3214621196757338785
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 3456383120591884671}
m_Modifications:
- target: {fileID: 3590403063326329916, guid: 150bed98d110cb24292c78f18534decd,
type: 3}
propertyPath: m_Name
value: MoneyForm
objectReference: {fileID: 0}
- target: {fileID: 7765070059004976338, guid: 150bed98d110cb24292c78f18534decd,
type: 3}
propertyPath: m_Pivot.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 7765070059004976338, guid: 150bed98d110cb24292c78f18534decd,
type: 3}
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 7765070059004976338, guid: 150bed98d110cb24292c78f18534decd,
type: 3}
propertyPath: m_AnchorMax.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7765070059004976338, guid: 150bed98d110cb24292c78f18534decd,
type: 3}
propertyPath: m_AnchorMax.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7765070059004976338, guid: 150bed98d110cb24292c78f18534decd,
type: 3}
propertyPath: m_AnchorMin.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7765070059004976338, guid: 150bed98d110cb24292c78f18534decd,
type: 3}
propertyPath: m_AnchorMin.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7765070059004976338, guid: 150bed98d110cb24292c78f18534decd,
type: 3}
propertyPath: m_SizeDelta.x
value: 200
objectReference: {fileID: 0}
- target: {fileID: 7765070059004976338, guid: 150bed98d110cb24292c78f18534decd,
type: 3}
propertyPath: m_SizeDelta.y
value: 36
objectReference: {fileID: 0}
- target: {fileID: 7765070059004976338, guid: 150bed98d110cb24292c78f18534decd,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7765070059004976338, guid: 150bed98d110cb24292c78f18534decd,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7765070059004976338, guid: 150bed98d110cb24292c78f18534decd,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7765070059004976338, guid: 150bed98d110cb24292c78f18534decd,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7765070059004976338, guid: 150bed98d110cb24292c78f18534decd,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7765070059004976338, guid: 150bed98d110cb24292c78f18534decd,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7765070059004976338, guid: 150bed98d110cb24292c78f18534decd,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7765070059004976338, guid: 150bed98d110cb24292c78f18534decd,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 129
objectReference: {fileID: 0}
- target: {fileID: 7765070059004976338, guid: 150bed98d110cb24292c78f18534decd,
type: 3}
propertyPath: m_AnchoredPosition.y
value: -143
objectReference: {fileID: 0}
- target: {fileID: 7765070059004976338, guid: 150bed98d110cb24292c78f18534decd,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7765070059004976338, guid: 150bed98d110cb24292c78f18534decd,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7765070059004976338, guid: 150bed98d110cb24292c78f18534decd,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 150bed98d110cb24292c78f18534decd, type: 3}
--- !u!114 &833754818585651238 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: -6408983573810322809, guid: 150bed98d110cb24292c78f18534decd,
type: 3}
m_PrefabInstance: {fileID: 3214621196757338785}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: b055af6abeefd104995ea4fdfcd9b939, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!224 &5143025981118404211 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 7765070059004976338, guid: 150bed98d110cb24292c78f18534decd,
type: 3}
m_PrefabInstance: {fileID: 3214621196757338785}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &3263931540809251086
PrefabInstance:
m_ObjectHideFlags: 0

View File

@ -73,6 +73,10 @@ public partial class ServerData
public Dictionary<string, ObscuredInt> Collection = new Dictionary<string, ObscuredInt>(); // collectionlist n_TargetValue, lv
public Dictionary<string, ObscuredDouble> MobKill = new Dictionary<string, ObscuredDouble>(); // 몬스터 id, 처치 수
public SD_Farm Farm;
/// <summary>
/// { 던전타입, 0 Lv, 1 소탕값 }
/// </summary>
public Dictionary<string, List<ObscuredInt>> Dungeon = new Dictionary<string, List<ObscuredInt>>();
public List<ServerData_Book> Book;
@ -269,6 +273,7 @@ public partial class ServerData
temp.Collection = DSUtil.Get_T_Dic(Collection);
temp.MobKill = DSUtil.Get_T_Dic(MobKill);
temp.Farm = Farm.Get();
temp.Dungeon = DSUtil.Get_T_Dic(Dungeon);
temp.Common = DSUtil.Get_T_List(Common);
@ -312,7 +317,7 @@ public class ServerData_Read
public SD_PC_Read PC;
public Dictionary<string, SD_PCAwakenData_Read> Awaken;
public Dictionary<string, List<SD_PCLimitSlotData_Read>> LimitSlot;
public Dictionary<string, List<int>> Pet, Relic;
public Dictionary<string, List<int>> Pet, Relic, Dungeon;
public Dictionary<string, int> Collection;
public Dictionary<string, double> MobKill;
public SD_Farm_Read Farm;
@ -367,6 +372,7 @@ public class ServerData_Read
temp.Collection = DSUtil.Get_T_Dic(Collection);
temp.MobKill = DSUtil.Get_T_Dic(MobKill);
temp.Farm = Farm.Get();
temp.Dungeon = DSUtil.Get_T_Dic(Dungeon);
@ -921,6 +927,27 @@ public partial class ServerData
}
}
#endregion
#region
Dictionary<eDungeon, string> dic_dungeonkey = new Dictionary<eDungeon, string>
{ { eDungeon.d1_Mimic, "d1_Mimic" }, { eDungeon.d2_Maze, "d2_Maze" }, { eDungeon.d3_Nightmare, "d3_Nightmare" },
{ eDungeon.d4_Wave, "d4_Wave" }, };
public int Get_DungeonLv(eDungeon dungeon)
{
if (Dungeon.ContainsKey(dic_dungeonkey[dungeon])) return dic_dungeonkey[dungeon][0];
return 1;
}
public void Init_DungeonTicket()
{
for (int i = 0; i < 3; i++)
{
var ticketid = 501 + i;
var amount = Get_ItemAmount(ticketid);
int limit = ticketid == 501 || ticketid == 503 ? 2 : 3;
if (amount < limit)
Add_Item(ticketid, limit - amount);
}
}
#endregion
#region Common
public void Init_Daily()
@ -928,7 +955,7 @@ public partial class ServerData
Set_Common(eCommon.DOY_Day, ServerInfo.ServerTime.DayOfYear);
Farm.Shop = table_farmshoplist.Ins.Get_ShopInit();
if (!DSUtil.CheckNull(FarmShopUI.Ins) && FarmShopUI.Ins.isActiveAndEnabled) FarmShopUI.Ins.Set();
Init_DungeonTicket();
Set_Common(eCommon.Roullette_Count, 0);

View File

@ -6,6 +6,7 @@ public class MapChoiceUI_Dungeon : uScrollViewMgr
{
public static MapChoiceUI_Dungeon Ins;
public MoneyForm MoneyForm_Ticket;
public TextMeshProUGUI[] texts; // 0 던전이름
public ArrowUI m_ArrowUI;
@ -15,7 +16,6 @@ public class MapChoiceUI_Dungeon : uScrollViewMgr
private void OnEnable()
{
Ins = this;
Set_UI();
Set_ScrollView(dungeons);
for (int i = 0; i < list_CardBase.Count; i++)
{
@ -27,6 +27,7 @@ public class MapChoiceUI_Dungeon : uScrollViewMgr
public override void Set_UI()
{
var mapData = table_battlemapconfig.Ins.Get_Data(SelectMapID);
MoneyForm_Ticket.Set(500 + MyEnumToInt.Ins.Get_Int(mapData.e_Dungeon));
texts[0].text = mapData.Get_Name();
var dungeonData = table_dungeonmapconfig.Ins.Get_Data_orNull(mapData.e_Dungeon, SelectLv);
var sdata = ServerInfo.Ins.m_ServerData;
@ -50,6 +51,11 @@ public class MapChoiceUI_Dungeon : uScrollViewMgr
}
public void OnClick_GoDungeon()
{
var mapData = table_battlemapconfig.Ins.Get_Data(SelectMapID);
var ticketid = MyEnumToInt.Ins.Get_Int(mapData.e_Dungeon) + 500;
// 웨이브는 무한 입장 가능
if (ticketid == 504 || ServerInfo.Ins.m_ServerData.Check_ItemAmount(ticketid, 1))
{
NewGameUI.Ins.m_MapChoiceUI.OnClick_Back();
@ -60,4 +66,5 @@ public class MapChoiceUI_Dungeon : uScrollViewMgr
InGameInfo.Ins.Load_Map(SelectMapID);
}
}
}

View File

@ -1,3 +1,4 @@
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
@ -12,97 +13,51 @@ public class MyEnumToInt : MonoBehaviour
public static MyEnumToInt Ins;
Dictionary<UIMenu, int> Dic_LobbyMenu = new Dictionary<UIMenu, int>();
Dictionary<eGameMode, int> Dic_eGameMode = new Dictionary<eGameMode, int>();
Dictionary<eDifficult, int> Dic_eDifficult = new Dictionary<eDifficult, int>();
Dictionary<eAttackType, int> Dic_eAttackType = new Dictionary<eAttackType, int>();
Dictionary<eSound, int> Dic_eSound = new Dictionary<eSound, int>();
Dictionary<eBGM, int> Dic_eBGM = new Dictionary<eBGM, int>();
Dictionary<eCommon, int> Dic_eCommon = new Dictionary<eCommon, int>();
Dictionary<eStat, int> Dic_eStat = new Dictionary<eStat, int>();
Dictionary<eBuffs, int> Dic_eBuffs = new Dictionary<eBuffs, int>();
Dictionary<eBuff, int> Dic_eBuff = new Dictionary<eBuff, int>();
Dictionary<NGUIAnchorSide, int> Dic_NGUIAnchorSide = new Dictionary<NGUIAnchorSide, int>();
Dictionary<eAttendance, int> Dic_eAttendance = new Dictionary<eAttendance, int>();
Dictionary<ePurpose, int> Dic_ePurpose = new Dictionary<ePurpose, int>();
Dictionary<eTime, int> Dic_eTime = new Dictionary<eTime, int>();
private Dictionary<Type, Dictionary<Enum, int>> enumToIntMapping = new Dictionary<Type, Dictionary<Enum, int>>();
void Awake()
{
Ins = this;
DontDestroyOnLoad(gameObject);
int a = 0;
for (UIMenu i = 0; i < UIMenu.Max; ++i, ++a)
Dic_LobbyMenu.Add(i, a);
a = 0;
for (eGameMode i = 0; i < eGameMode.Max; ++i, ++a)
Dic_eGameMode.Add(i, a);
a = 0;
for (eDifficult i = 0; i < eDifficult.Max; ++i, ++a)
Dic_eDifficult.Add(i, a);
a = 0;
for (eAttackType i = 0; i < eAttackType.Max; ++i, ++a)
Dic_eAttackType.Add(i, a);
a = 0;
for (eSound i = 0; i < eSound.Max; ++i, ++a)
Dic_eSound.Add(i, a);
a = 0;
for (eBGM i = 0; i < eBGM.Max; ++i, ++a)
Dic_eBGM.Add(i, a);
a = 0;
for (eCommon i = 0; i < eCommon.Max; ++i, ++a)
Dic_eCommon.Add(i, a);
a = 0;
for (eStat i = 0; i < eStat.None; ++i, ++a)
Dic_eStat.Add(i, a);
a = 0;
for (eBuffs i = 0; i < eBuffs.Max; ++i, ++a)
Dic_eBuffs.Add(i, a);
a = 0;
for (eBuff i = 0; i < eBuff.Max; ++i, ++a)
Dic_eBuff.Add(i, a);
a = 0;
for (NGUIAnchorSide i = 0; i <= NGUIAnchorSide.Center; ++i, ++a)
Dic_NGUIAnchorSide.Add(i, a);
a = 0;
for (eAttendance i = 0; i < eAttendance.Max; ++i, ++a)
Dic_eAttendance.Add(i, a);
a = 0;
for (ePurpose i = 0; i < ePurpose.Max; ++i, ++a)
Dic_ePurpose.Add(i, a);
a = 0;
for (eTime i = 0; i < eTime.Max; ++i, ++a)
Dic_eTime.Add(i, a);
// 열거형 초기화
InitializeEnumMapping<UIMenu>();
InitializeEnumMapping<eGameMode>();
InitializeEnumMapping<eDungeon>();
InitializeEnumMapping<eDifficult>();
InitializeEnumMapping<eAttackType>();
InitializeEnumMapping<eSound>();
InitializeEnumMapping<eBGM>();
InitializeEnumMapping<eCommon>();
InitializeEnumMapping<eStat>();
InitializeEnumMapping<eBuffs>();
InitializeEnumMapping<eBuff>();
InitializeEnumMapping<NGUIAnchorSide>();
InitializeEnumMapping<eAttendance>();
InitializeEnumMapping<ePurpose>();
InitializeEnumMapping<eTime>();
}
private void InitializeEnumMapping<T>() where T : Enum
{
var mapping = new Dictionary<Enum, int>();
int index = 0;
public int Get_Int(UIMenu _enum) { return Dic_LobbyMenu[_enum]; }
public int Get_Int(eGameMode _enum) { return Dic_eGameMode[_enum]; }
public int Get_Int(eDifficult _enum) { return Dic_eDifficult[_enum]; }
public int Get_Int(eAttackType _enum) { return Dic_eAttackType[_enum]; }
public int Get_Int(eSound _enum) { return Dic_eSound[_enum]; }
public int Get_Int(eBGM _enum) { return Dic_eBGM[_enum]; }
public int Get_Int(eCommon _enum) { return Dic_eCommon[_enum]; }
public int Get_Int(eStat _enum) { return Dic_eStat[_enum]; }
public int Get_Int(eBuffs _enum) { return Dic_eBuffs[_enum]; }
public int Get_Int(eBuff _enum) { return Dic_eBuff[_enum]; }
public int Get_Int(NGUIAnchorSide _enum) { return Dic_NGUIAnchorSide[_enum]; }
public int Get_Int(eAttendance _enum) { return Dic_eAttendance[_enum]; }
public int Get_Int(ePurpose _enum) { return Dic_ePurpose[_enum]; }
public int Get_Int(eTime _enum) { return Dic_eTime[_enum]; }
foreach (T value in Enum.GetValues(typeof(T)))
{
mapping.Add(value, index++);
}
enumToIntMapping[typeof(T)] = mapping;
}
public int Get_Int<T>(T enumValue) where T : Enum
{
if (enumToIntMapping.TryGetValue(typeof(T), out var mapping))
{
return mapping[enumValue];
}
throw new Exception($"Enum type {typeof(T).Name} is not initialized.");
}
}