diff --git a/Assets/Resources/ContentModes/Art/raid_banner_caocao.png b/Assets/Resources/ContentModes/Art/raid_banner_caocao.png new file mode 100644 index 00000000..22a76fba Binary files /dev/null and b/Assets/Resources/ContentModes/Art/raid_banner_caocao.png differ diff --git a/Assets/Resources/ContentModes/Art/raid_banner_caocao.png.meta b/Assets/Resources/ContentModes/Art/raid_banner_caocao.png.meta new file mode 100644 index 00000000..d001ff62 --- /dev/null +++ b/Assets/Resources/ContentModes/Art/raid_banner_caocao.png.meta @@ -0,0 +1,169 @@ +fileFormatVersion: 2 +guid: 4a253d66a32e490479df94119f3364ce +TextureImporter: + internalIDToNameTable: + - first: + 213: 7164238425480045148 + second: raid_banner_caocao_0 + 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: 0 + 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: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 2 + 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: 4 + 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: 4 + 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: 4 + 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: 4 + buildTarget: WebGL + 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: + - serializedVersion: 2 + name: raid_banner_caocao_0 + rect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1016 + height: 624 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: c5221f4e3ec7c6360800000000000000 + internalID: 7164238425480045148 + vertices: [] + indices: + edges: [] + weights: [] + outline: [] + customData: + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spriteCustomMetadata: + entries: [] + nameFileIdTable: + raid_banner_caocao_0: 7164238425480045148 + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/ContentModes/Art/raid_banner_dongzhuo.png b/Assets/Resources/ContentModes/Art/raid_banner_dongzhuo.png new file mode 100644 index 00000000..e077acc4 Binary files /dev/null and b/Assets/Resources/ContentModes/Art/raid_banner_dongzhuo.png differ diff --git a/Assets/Resources/ContentModes/Art/raid_banner_dongzhuo.png.meta b/Assets/Resources/ContentModes/Art/raid_banner_dongzhuo.png.meta new file mode 100644 index 00000000..85678483 --- /dev/null +++ b/Assets/Resources/ContentModes/Art/raid_banner_dongzhuo.png.meta @@ -0,0 +1,169 @@ +fileFormatVersion: 2 +guid: accfaea70a148314faf253b40b9bbcc9 +TextureImporter: + internalIDToNameTable: + - first: + 213: 6345124661624427202 + second: raid_banner_dongzhuo_0 + 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: 0 + 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: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 2 + 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: 4 + 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: 4 + 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: 4 + 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: 4 + buildTarget: WebGL + 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: + - serializedVersion: 2 + name: raid_banner_dongzhuo_0 + rect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1016 + height: 624 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 2c2d1b703496e0850800000000000000 + internalID: 6345124661624427202 + vertices: [] + indices: + edges: [] + weights: [] + outline: [] + customData: + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spriteCustomMetadata: + entries: [] + nameFileIdTable: + raid_banner_dongzhuo_0: 6345124661624427202 + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/ContentModes/Art/raid_banner_simayi.png b/Assets/Resources/ContentModes/Art/raid_banner_simayi.png new file mode 100644 index 00000000..5283aa58 Binary files /dev/null and b/Assets/Resources/ContentModes/Art/raid_banner_simayi.png differ diff --git a/Assets/Resources/ContentModes/Art/raid_banner_simayi.png.meta b/Assets/Resources/ContentModes/Art/raid_banner_simayi.png.meta new file mode 100644 index 00000000..a913c8f8 --- /dev/null +++ b/Assets/Resources/ContentModes/Art/raid_banner_simayi.png.meta @@ -0,0 +1,169 @@ +fileFormatVersion: 2 +guid: 822e364fb26119743a7466d005d4fa9f +TextureImporter: + internalIDToNameTable: + - first: + 213: 5579649573150924873 + second: raid_banner_simayi_0 + 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: 0 + 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: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 2 + 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: 4 + 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: 4 + 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: 4 + 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: 4 + buildTarget: WebGL + 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: + - serializedVersion: 2 + name: raid_banner_simayi_0 + rect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1016 + height: 624 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 94022da79b5ee6d40800000000000000 + internalID: 5579649573150924873 + vertices: [] + indices: + edges: [] + weights: [] + outline: [] + customData: + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spriteCustomMetadata: + entries: [] + nameFileIdTable: + raid_banner_simayi_0: 5579649573150924873 + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/ContentModes/Art/raid_banner_yuanshao.png b/Assets/Resources/ContentModes/Art/raid_banner_yuanshao.png new file mode 100644 index 00000000..6c6a30be Binary files /dev/null and b/Assets/Resources/ContentModes/Art/raid_banner_yuanshao.png differ diff --git a/Assets/Resources/ContentModes/Art/raid_banner_yuanshao.png.meta b/Assets/Resources/ContentModes/Art/raid_banner_yuanshao.png.meta new file mode 100644 index 00000000..dcae5e88 --- /dev/null +++ b/Assets/Resources/ContentModes/Art/raid_banner_yuanshao.png.meta @@ -0,0 +1,169 @@ +fileFormatVersion: 2 +guid: 39a9d8de5c220b747b4361234bd572f2 +TextureImporter: + internalIDToNameTable: + - first: + 213: -1613484978811678830 + second: raid_banner_yuanshao_0 + 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: 0 + 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: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 2 + 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: 4 + 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: 4 + 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: 4 + 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: 4 + buildTarget: WebGL + 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: + - serializedVersion: 2 + name: raid_banner_yuanshao_0 + rect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1016 + height: 624 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 29f408bd5ffbb99e0800000000000000 + internalID: -1613484978811678830 + vertices: [] + indices: + edges: [] + weights: [] + outline: [] + customData: + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spriteCustomMetadata: + entries: [] + nameFileIdTable: + raid_banner_yuanshao_0: -1613484978811678830 + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/ContentModes/Art/raid_banner_yuanshu.png b/Assets/Resources/ContentModes/Art/raid_banner_yuanshu.png new file mode 100644 index 00000000..161f640c Binary files /dev/null and b/Assets/Resources/ContentModes/Art/raid_banner_yuanshu.png differ diff --git a/Assets/Resources/ContentModes/Art/raid_banner_yuanshu.png.meta b/Assets/Resources/ContentModes/Art/raid_banner_yuanshu.png.meta new file mode 100644 index 00000000..4646bc45 --- /dev/null +++ b/Assets/Resources/ContentModes/Art/raid_banner_yuanshu.png.meta @@ -0,0 +1,169 @@ +fileFormatVersion: 2 +guid: ec72ec4ee388c3a458b17fa0a4ef4b9a +TextureImporter: + internalIDToNameTable: + - first: + 213: 1111558659288352566 + second: raid_banner_yuanshu_0 + 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: 0 + 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: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 2 + 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: 4 + 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: 4 + 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: 4 + 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: 4 + buildTarget: WebGL + 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: + - serializedVersion: 2 + name: raid_banner_yuanshu_0 + rect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1016 + height: 624 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 63744e916bc0d6f00800000000000000 + internalID: 1111558659288352566 + vertices: [] + indices: + edges: [] + weights: [] + outline: [] + customData: + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spriteCustomMetadata: + entries: [] + nameFileIdTable: + raid_banner_yuanshu_0: 1111558659288352566 + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/ContentModes/Art/raid_banner_zhangjiao.png b/Assets/Resources/ContentModes/Art/raid_banner_zhangjiao.png new file mode 100644 index 00000000..8ff31a6c Binary files /dev/null and b/Assets/Resources/ContentModes/Art/raid_banner_zhangjiao.png differ diff --git a/Assets/Resources/ContentModes/Art/raid_banner_zhangjiao.png.meta b/Assets/Resources/ContentModes/Art/raid_banner_zhangjiao.png.meta new file mode 100644 index 00000000..0926e971 --- /dev/null +++ b/Assets/Resources/ContentModes/Art/raid_banner_zhangjiao.png.meta @@ -0,0 +1,169 @@ +fileFormatVersion: 2 +guid: c47b48606c38f56498461120a2539e0d +TextureImporter: + internalIDToNameTable: + - first: + 213: 6294979421985333636 + second: raid_banner_zhangjiao_0 + 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: 0 + 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: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 2 + 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: 4 + 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: 4 + 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: 4 + 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: 4 + buildTarget: WebGL + 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: + - serializedVersion: 2 + name: raid_banner_zhangjiao_0 + rect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1016 + height: 624 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 48164db9e624c5750800000000000000 + internalID: 6294979421985333636 + vertices: [] + indices: + edges: [] + weights: [] + outline: [] + customData: + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spriteCustomMetadata: + entries: [] + nameFileIdTable: + raid_banner_zhangjiao_0: 6294979421985333636 + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/ContentModes/content_modes_config.csv b/Assets/Resources/ContentModes/content_modes_config.csv index ee57d963..341f35b3 100644 --- a/Assets/Resources/ContentModes/content_modes_config.csv +++ b/Assets/Resources/ContentModes/content_modes_config.csv @@ -3,7 +3,7 @@ common,time_source,server,PD 지시(2026-11-17) — 시각은 서버가 정한 common,daily_reset_hour,0,서버 기준 — 하루가 바뀌는 시각 = 매일 한국 시간 0시(PD 2026-11-17) · 나라별 0시로 할지는 서버 쪽 열린 결정 common,weekly_settle,sun;22;2,서버 기준 — 주간 랭킹 정산 = 한국 시간 일요일 22시부터 2시간(24시까지) · 요일 ; 시작 시 ; 길이(시간) · 서버 운영 설정 tks/rank-settle 과 같은 값(PD 2026-11-17) common,settle_block,arena;raid;tower,서버 기준 — 정산 중에는 랭킹 컨텐츠(투기장 · 맹장 토벌전 · 천하제일 탑)에 들어갈 수 없다 · 안내 「랭킹 정보를 정산중입니다.」 -supply,unlock_stage,1-10,1장 클리어 뒤 열림 +supply,unlock_stage,1-10,1장 클리어 뒤 열림 · 던전별 해금 = supply_dungeons.s_unlock_stage(비면 이 값) supply,entries_per_day,2,던전마다 · 무료 · 군량 소모 없음(기존 dungeons.entries_per_day 와 같음) supply,ad_entries_per_day,1,던전마다 광고 1회 추가 supply,stage_equiv,25,1회 보상 = 스테이지 반복 몇 판 분량(골드 · 경험) diff --git a/Assets/Resources/ContentModes/supply_dungeons.csv b/Assets/Resources/ContentModes/supply_dungeons.csv index 86680dd1..c37c6438 100644 --- a/Assets/Resources/ContentModes/supply_dungeons.csv +++ b/Assets/Resources/ContentModes/supply_dungeons.csv @@ -1,5 +1,5 @@ -s_id,s_name_ko,l_reward_kind,l_open_weekday,n_turn_limit,s_rule_ko,s_good_class_ko,s_grade_rule_ko,e_grade_by,l_grade_cut,Memo -granary,군량고 습격,gold,mon;tue;wed;thu;fri;sat;sun,5,전장에 무작위로 흩어진 군량고 12채를 5턴 안에 부순 수만큼 골드를 받는다,보병(연쇄) · 기병(관통),부순 군량고 12 / 9 / 6 / 3채,more,12;9;6;3,PD 확정(2026-11-17) -drill,전술 훈련,exp,mon;tue;wed;thu;fri;sat;sun,5,반격하지 않는 허수아비가 늘 5개(높은 단계는 8개까지) 서 있다 · 부수면 곧바로 다른 자리에서 새로 솟는다 · 5턴 동안 준 피해 합계만큼 경험을 받는다,궁병 · 책사(강 건너 · 고지) · 보병(튕김),목표 피해의 100 / 80 / 60 / 40 %,more,100;80;60;40,PD 지시(2026-11-17) — 동시에 5개 · 수 제한 없음 · 자리는 지형에 따라 -bandit,황건적 소탕,gear;iron;blueprint,mon;wed;fri;sun,10,황건 삼형제(기병 · 보병 · 궁병)를 모두 쓰러뜨린다 · 한 명이 쓰러질 때마다 남은 형제가 분노해 공격력이 크게 오른다,책사 · 궁병(여럿을 함께 타격) · 기병(관통),클리어 턴 5 / 7 / 9 / 10턴 이내,less,5;7;9;10,PD 지시(2026-11-17) — 구 「대장간 탈환」 -tactics,병법 훈련,skill_book;shard,tue;thu;sat;sun,6,"단계마다 정해진 전장 · 적 편성 · 과제 2개가 있다(매일 바뀌지 않는다) · 이기면 ★1, 과제를 채울 때마다 ★ +1",단계의 주제에 따라 다름,승리 = ★1 · 과제 1개마다 ★ +1(최대 ★3),star,,PD 지시(2026-11-17) — 구 「사당의 시험」 · 과제 2개 · 단계별 고정 설계 = supply_tactics_stages +s_id,s_name_ko,l_reward_kind,l_open_weekday,n_turn_limit,s_rule_ko,s_good_class_ko,s_grade_rule_ko,e_grade_by,l_grade_cut,s_unlock_stage,Memo +granary,군량고 습격,gold,mon;tue;wed;thu;fri;sat;sun,5,전장에 무작위로 흩어진 군량고 12채를 5턴 안에 부순 수만큼 골드를 받는다,보병(연쇄) · 기병(관통),부순 군량고 12 / 9 / 6 / 3채,more,12;9;6;3,1-10,PD 확정(2026-11-17) +drill,전술 훈련,exp,mon;tue;wed;thu;fri;sat;sun,5,반격하지 않는 허수아비가 늘 5개(높은 단계는 8개까지) 서 있다 · 부수면 곧바로 다른 자리에서 새로 솟는다 · 5턴 동안 준 피해 합계만큼 경험을 받는다,궁병 · 책사(강 건너 · 고지) · 보병(튕김),목표 피해의 100 / 80 / 60 / 40 %,more,100;80;60;40,1-10,PD 지시(2026-11-17) — 동시에 5개 · 수 제한 없음 · 자리는 지형에 따라 +bandit,황건적 소탕,gear;iron;blueprint,mon;wed;fri;sun,10,황건 삼형제(기병 · 보병 · 궁병)를 모두 쓰러뜨린다 · 한 명이 쓰러질 때마다 남은 형제가 분노해 공격력이 크게 오른다,책사 · 궁병(여럿을 함께 타격) · 기병(관통),클리어 턴 5 / 7 / 9 / 10턴 이내,less,5;7;9;10,1-10,PD 지시(2026-11-17) — 구 「대장간 탈환」 +tactics,병법 훈련,skill_book;shard,tue;thu;sat;sun,6,"단계마다 정해진 전장 · 적 편성 · 과제 2개가 있다(매일 바뀌지 않는다) · 이기면 ★1, 과제를 채울 때마다 ★ +1",단계의 주제에 따라 다름,승리 = ★1 · 과제 1개마다 ★ +1(최대 ★3),star,,1-10,PD 지시(2026-11-17) — 구 「사당의 시험」 · 과제 2개 · 단계별 고정 설계 = supply_tactics_stages diff --git a/Assets/Resources/UI/Lock.meta b/Assets/Resources/UI/Lock.meta new file mode 100644 index 00000000..99a1e57b --- /dev/null +++ b/Assets/Resources/UI/Lock.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 95219da1df8d814419868cc83ffb8b4d +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/UI/Lock/lock_overlay.csv b/Assets/Resources/UI/Lock/lock_overlay.csv new file mode 100644 index 00000000..20406a0b --- /dev/null +++ b/Assets/Resources/UI/Lock/lock_overlay.csv @@ -0,0 +1,20 @@ +# 잠긴 컨텐츠 덮개 설정 표(PD 2026-11-18 「잠겨진 컨텐츠는 설령 해당 조건에 도달하지 않았어도 잠겨진 상태로 화면이 보여져야 해 · 어둡게 암전 된 상태에서 자물쇠가 배치 된 상태에 개방 조건을 표시」 · 코드 = OutGame/Arena/LockOverlay) — 한 줄 = 키 · 값(| 로 여러 칸) +# 덮개 = 아트 화면 위 본문 칸(재화 바 · 제목 띠 아래 ~ 하단 탭 위)만 · 크기 = 캔버스 px(폭 1080) · 쓰는 곳 = 투기장 · 맹장 토벌전(페이지에 있는 동안 잠긴 때 · 들어가기는 연무장에서 막고 안내 팝업 · PD 2026-11-19) +# 카드 판 card_* = 카드 하나만 잠김(보급전 던전 카드 · PD 2026-11-19 「각 메뉴별로 각각 개방 조건」) · 크기 = 카드 기준 px(카드 1040×360) × 목록 화면 배율 · 어둡게 = 카드 그림 모양 그대로 +s_key,s_value,s_note +texts,UI/Lock/lock_text,글자 표(UiText) +dim,#080A16|0.68,어둡게(색|알파) · 뒤 화면이 비쳐 보이는 정도 +center_y,0.46,가운데 묶음(자물쇠 + 글자 판) 높이 = 본문 칸 위에서 비율 +lock,lock|210|4,자물쇠(테마 아이콘 id|크기|그림자 거리) +lock_gap,14,자물쇠 아래 ~ 글자 판 간격 +plate,card|#161A30|0.9|56|26,글자 판(스킨|색|알파|좌우 여백|위아래 여백) +title,46|#FFD23E,「개방 조건」(글자|색) +cond,34|#FFFFFF|880|10,조건 문장(글자|색|줄 폭 최대|제목 아래 간격) +stroke,#14172A|3,글자 외곽선(색|굵기) +card_dim,#080A16|0.62,카드 어둡게(색|알파) +card_center,0.5|0.5,카드 묶음 가운데(카드 폭 비율|카드 높이 비율 · 위에서) +card_lock,lock|92|3,카드 자물쇠(테마 아이콘 id|크기|그림자 거리) +card_lock_gap,6,카드 자물쇠 아래 ~ 글자 판 간격 +card_plate,card|#161A30|0.9|30|12,카드 글자 판(스킨|색|알파|좌우 여백|위아래 여백) +card_title,30|#FFD23E,카드 「개방 조건」(글자|색) +card_cond,26|#FFFFFF|560|4,카드 조건 문장(글자|색|줄 폭 최대|제목 아래 간격) diff --git a/Assets/Resources/UI/Lock/lock_overlay.csv.meta b/Assets/Resources/UI/Lock/lock_overlay.csv.meta new file mode 100644 index 00000000..06784e19 --- /dev/null +++ b/Assets/Resources/UI/Lock/lock_overlay.csv.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 70f070ea335f8854680fec5da836dab6 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/UI/Lock/lock_text.csv b/Assets/Resources/UI/Lock/lock_text.csv new file mode 100644 index 00000000..98f10569 --- /dev/null +++ b/Assets/Resources/UI/Lock/lock_text.csv @@ -0,0 +1,6 @@ +# 잠긴 컨텐츠 덮개 글자 표(PD 2026-11-18 · 한글 하드코딩 금지) — 바뀌는 값 = {0} {1} 자리 +s_key,ko,en,note +lock_title,개방 조건,,덮개 · 카드 판 · 안내 팝업 제목 +lock_stage,출정 {0} 「{1}」 클리어,,조건({0} = 장-번호 · {1} = 스테이지 제목 · 스테이지 표 Assets/Data/Stages/stages.csv) +lock_stage_no_title,출정 {0} 클리어,,조건(스테이지 표에서 제목을 못 찾을 때) +lock_ok,확인,,들어가기 막음 안내 팝업 버튼(PD 2026-11-19 · 연무장 투기장 · 맹장 토벌전) diff --git a/Assets/Resources/UI/Lock/lock_text.csv.meta b/Assets/Resources/UI/Lock/lock_text.csv.meta new file mode 100644 index 00000000..096e2a8c --- /dev/null +++ b/Assets/Resources/UI/Lock/lock_text.csv.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 54f6c33307d52624cb039186dd8b1b59 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/UI/Raid.meta b/Assets/Resources/UI/Raid.meta new file mode 100644 index 00000000..7e9de257 --- /dev/null +++ b/Assets/Resources/UI/Raid.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 04803a72aaf635344bfa5f954226ba6f +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/UI/Raid/raid_screen.csv b/Assets/Resources/UI/Raid/raid_screen.csv new file mode 100644 index 00000000..59e70e95 --- /dev/null +++ b/Assets/Resources/UI/Raid/raid_screen.csv @@ -0,0 +1,60 @@ +# 맹장 토벌전 화면 설정 표(PD 2026-11-18 「맹장 토벌전 메뉴가 제대로 보여지지 않고 있어 … 정상적으로 게임에서 확인할 수 있도록 반영해줘」 · 코드 = OutGame/Arena/ArenaRaid) — 한 줄 = 키 · 값(| 로 여러 칸) · 같은 키 여러 줄 = 목록 +# 좌표 = 본문 디자인 px(폭 1080 · 높이 1546 = 재화 바 · 제목 띠 아래 ~ 하단 탭 위 · 왼쪽 위 0 · 아래로 +) · 카드 안 값 = 카드 안쪽(테 안) 왼쪽 위 기준 · 값 출처 = 아트 시안 C:/ArtRnD/sprite_gen/ui_illust/samguk/content_screens_2/mock/new_screens.js(S.n_raid · card · tile) + screens.html CSS(.tabs · .tab · .tag · .chip · .pn · .btn.sm · .rw.s · .st) · 정답 그림 = raid_banner/final/mock_raid.png +# 맹장 · 이름 · 칭호 · 군령 · 패턴 · 빈틈 · 일정 · 점수 배율 · 횟수 · 상점 = 게임 표 ContentModes/raid_*(RaidData · RaidRules) · 이 표 = 그림 · 색 · 배치 · 시안 예시 값(example_*)만 +s_key,s_value,s_note +texts,UI/Raid/raid_text,글자 표(UiText) +title_key,raid_title,제목 띠 글자 키 +subtitle_key,raid_subtitle,제목 띠 부제 키({0} = 메인 점수 보너스 %) +banner,ContentModes/Art/raid_banner_,배너 그림 경로 앞(뒤 = 맹장 id · 1016x624 · 게임 표 content_modes_art_list 와 같은 이름) +stroke,#14172A|3.5,글자 외곽선(색|굵기) = 시안 .st 7px 의 보이는 반 +tabs,24|22|1032|78|18|5|18|34|#14172A|#2B3150|#D8402F|#FFFFFF,탭 줄(왼|위|폭|높이|사이|테|모서리|글자|테 색|꺼짐|켜짐|글자색) = 시안 .tabs · .tab +tab,raid|raid_tab_raid,탭(동작|글자 키) · raid = 토벌 카드 +tab,rank|raid_tab_rank,순위 = 서버 모드면 순위 표(Net.RankPanel) · 기기 세이브 = 알림 +tab,shop|raid_tab_shop,훈장 상점 = 상점 목록(기존 구매 처리 RaidBuyPick) +card,24|114|1032|640|14|8|30|#14172A|#2A1420,맹장 카드(왼|첫 카드 위|폭|높이|카드 사이|테|모서리|테 색|바탕) · 안쪽 1016x624 = 배너 크기 +shade,560|#140A14B8,배너 왼쪽 어둡게(폭|색 = rgba(20 10 20 .72) → 오른쪽 투명) +info_x,70,카드 글자 묶음 왼쪽(안쪽 기준) +tag,30|42|14|4|12|26|10|#14172A,위 태그(위|높이|좌우 여백|테|모서리|글자|태그 사이|테 색) = 시안 .tag +tag_main,#8A3CF0|#FFFFFF,이번 주 메인 태그(바탕|글자) +tag_future,#59607E|#FFFFFF,넘김 미리 보기(N주 뒤 메인) 태그 +tag_bonus,#FFB300|#4A3200,점수 보너스 태그(메인 배율이 1 보다 클 때만) +tag_sub,#3B55C9|#FFFFFF,오늘의 서브 태그 +name,78|84|105|#FFD23E,맹장 이름 줄(위|글자|줄 높이|이름 색 · 「토벌」 = 흰) +title,183|32|40|#FFD23E,칭호(위|글자|줄 높이|색) +order,235|38|23|30|10|8|4|#FFB300|#4A3200,군령 줄(위|칩 높이|칩 글자|군령 글자|칩 뒤 간격|칩 모서리|칩 테|칩 색|칩 글자색) +time,283|27|34|#FFFFFF,교대 줄(위|글자|줄 높이|색) · 1초마다 다시 씀(Clock 층) +sub_note,323|25|31|#9AA3C0,서브 점수 보너스 줄(위|글자|줄 높이|색) +tiles,331|90|18|5|16|21|4|26|#14172A|#E6E9F5,맹장 · 패턴 · 약점 칸(위|칸|모서리|테|칸 사이|이름 글자|이름 틈|이름 줄|테 색|이름 색) · 칸 열 폭 = max(칸 · 이름 폭) +tile_boss,#3A1420|140,맹장 칸(바탕|유닛 그림 폭 = 칸보다 커서 가운데만 보임) +tile_pattern,#C8402F|70,패턴 칸(바탕|아이콘 폭) +tile_weak,#3B6B3A|70,약점 칸(바탕|아이콘 폭) +boss,lvbu|cls_cavalry|res:Gimmicks/Art/gim_boulder|78,맹장 id|패턴 아이콘|약점 아이콘|약점 아이콘 폭(빈칸 = tile_weak) · 아이콘 = 테마 id 또는 res:Resources 경로 · 여포 = 시안 그대로 +boss,caocao|cls_spear|sword|,조조(방패 호위 창병 · 호위 처치) · 시안 밖 = 임시 선택 +boss,dongzhuo|fire|res:Gimmicks/Art/gim_cart7|,동탁(내려치기 · 폭약) · 임시 선택 +boss,yuanshao|cls_archer|sword|,원소(화살비 · 호위 처치) · 임시 선택 +boss,simayi|cls_strategist|sword|,사마의(응시 · 등 뒤) · 임시 선택 +boss,zhangjiao|res:Gimmicks/Art/gim_fog_cloud|cls_strategist|,장각(안개 · 벼락 · 책사로 걷기) · 임시 선택 +boss,yuanshu|res:Gimmicks/Art/gim_cart|res:Gimmicks/Art/gim_cart_broken|,원술(꿀물 수레 · 부수기) · 임시 선택 +record,463|50|4|25|26|18|#14172A|#191D2D,오늘 기록 칩(위|높이|테|모서리|글자|좌우 여백|테 색|바탕) = 시안 .chip +example_record,3510,오늘 기록 = 시안 예시 값(게임 세이브에 하루 기록이 없음 · 점수 = 이 값 × 메인 배율) +arrows,10|286|56|#14172ACC|arrow_down|arrow_down|30|-90|90|-3|3,메인 카드 넘김(가장자리|위|지름|바탕|왼 아이콘|오른 아이콘|아이콘 크기|왼 회전|오른 회전|왼 x 밀기|오른 x 밀기) · 넘기면 다음 주부터 메인 맹장 미리 보기 · 시안 = 채운 삼각형 ◀ ▶ → 팩 채운 아래 삼각형(arrow_down)을 -90 · 90 도 돌림 · x 밀기 = 삼각형 무게중심을 원 가운데로(QA M 2026-11-18 「꺾쇠 모양」) +buttons,22|20|76|12|32|4,카드 버튼 줄(오른 여백|아래 여백|높이|사이|글자|글자 위로 = 팩 버튼 아래 턱) +btn,detail|170|btn_sky|#FFFFFF|#FFFFFF|1|raid_detail,버튼(id|폭|스킨|틴트|글자색|외곽선 1/0|글자 키) = 상세 정보 +btn,go|170|btn_l_red|#D8402F|#FFFFFF|1|raid_go,도전(기록 도전) +btn,go_off|170|btn_gray|#FFFFFF|#AEB6D3|0|raid_go,도전 못 함(누르면 이유 알림) +btn,done|150|btn_gray|#FFFFFF|#AEB6D3|0|raid_done,오늘 기록 도전 다 씀 +btn,practice|130|btn_l_red|#4F5572|#FFFFFF|0|raid_practice,연습(기록 · 보상 없음) · 시안 .btn.gray = 남색(#59607E → #454B66 가운데) · 테마에 남색 버튼 스킨이 없어 흰 바탕 버튼(btn_l_red = Button01_l_White_Bg + 광택 · 도전과 같은 모양) + 남색 틴트(QA M 2026-11-18 「회색이라 꺼진 것처럼 보임」) +btn,locked|170|btn_gray|#FFFFFF|#AEB6D3|0|raid_locked_btn,해금 전 +main_buttons,detail|go,메인 카드 버튼(왼 → 오른) = 시안 · 메인 연습 = 상세 정보 창의 연습 버튼 +sub_buttons,practice|go,서브 카드 버튼 = 시안 · 서브 상세 = 카드를 누름 +strip,24|1420|1032|104|5|26|22|#171A2E|#30365A,주간 점수 띠(왼|위|폭|높이|테|모서리|안쪽 여백|테 색|바탕) = 시안 .pn +strip_left,14|21|26|#9AA3C0|40|50|#FFD23E,왼쪽(위|이름 글자|이름 줄|이름 색|점수 글자|점수 줄|점수 색) +strip_right,16|37|34|24|#6FD6FF|73|20|#9AA3C0,오른쪽(상자 앞 간격|순위 가운데 y|순위 글자|상위 % 글자|상위 % 색|내역 가운데 y|내역 글자|내역 색) +strip_chest,76|18|4|#171A2E|#4A5377|54|chest_gold,누적 단계 상자(칸|모서리|테|테 색|바탕|아이콘|아이콘 id) = 시안 .rw.s · 누르면 누적 피해 단계 창 +example_rank,132|8,순위 · 상위 % = 시안 예시 값(서버 순위가 없을 때 · 기기 세이브) +shop,114|96|176|116|30|22|16|12,훈장 상점(위|머리 높이|줄 높이|아이템 칸|이름 글자|작은 글자|안쪽 여백|줄 사이) · 시안 없음(점수 띠와 같은 판 · 카드와 같은 색) +shop_row,#262B48|20|200|80,상점 줄(바탕|모서리|구매 버튼 폭|높이) +shop_icons,general_chest:chest_general|arcana_shard:lobby_chest|hero_shard_pick:cur_shard|skill_book:cur_skillbook,물품 → 테마 아이콘 id(임시 선택) +coin_icon,chest_point|56|40,토벌 훈장 아이콘(테마 id = 시안 IC.coin 과 같은 팩 그림|머리 크기|가격 크기) +btn,buy|200|btn_l_red|#D8402F|#FFFFFF|1|raid_shop_buy,상점 구매 +btn,soldout|200|btn_gray|#FFFFFF|#AEB6D3|0|raid_shop_soldout,이번 주 한도 다 씀 diff --git a/Assets/Resources/UI/Raid/raid_screen.csv.meta b/Assets/Resources/UI/Raid/raid_screen.csv.meta new file mode 100644 index 00000000..4f9a96f4 --- /dev/null +++ b/Assets/Resources/UI/Raid/raid_screen.csv.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 864bc11bbd1a3e8419b9b560de110cb8 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/UI/Raid/raid_text.csv b/Assets/Resources/UI/Raid/raid_text.csv new file mode 100644 index 00000000..a4894e3d --- /dev/null +++ b/Assets/Resources/UI/Raid/raid_text.csv @@ -0,0 +1,64 @@ +# 맹장 토벌전 화면 글자 표(PD 2026-11-18 · 투기장 league_text · 훈련장 supply_text 와 같은 방식 · 한글 하드코딩 금지) — 바뀌는 값 = {0} {1} 자리 · 색 = 리치 텍스트 +# 언어 칸 = ko(아트 시안 new_screens.js S.n_raid 문구 · 시안에 없는 맹장 6명의 패턴 · 약점 짧은 이름 = 게임 표 raid_rotation s_pattern_ko · s_weak_ko 를 줄인 임시 글자) · en 이하 = 번역 칸(비움) +s_key,ko,en,note +raid_title,맹장 토벌전,,위 제목 바 +raid_subtitle,메인 점수 +{0} % · 주간 점수 순위,,위 제목 바 부제({0} = 메인 점수 보너스 %) +raid_tab_raid,토벌,,탭 +raid_tab_rank,순위,,탭 +raid_tab_shop,훈장 상점,,탭 +raid_tag_main,이번 주 메인 맹장,,메인 카드 태그 +raid_tag_future,{0}주 뒤 메인 맹장,,메인 카드 넘김 미리 보기 태그 +raid_tag_sub,오늘의 서브 맹장,,서브 카드 태그 +raid_tag_bonus,점수 +{0} %,,메인 점수 보너스 태그 +raid_name,{0} 토벌,,맹장 이름 줄({0} = 이름) +raid_order_chip,군령,,군령 칩 +raid_time_main,교대까지 {0} · 다음 주 = {1},,메인 교대 줄({0} = 남은 시간 · {1} = 다음 주 메인) +raid_time_sub,교대까지 {0} · 내일 = {1},,서브 교대 줄({0} = 시:분:초 · {1} = 다음 서브) +raid_time_future,시작까지 {0},,넘김 미리 보기({0} = 그 주가 시작될 때까지) +raid_left_dh,{0}일 {1}시간,,남은 시간(하루 이상) +raid_left_hm,{0}시간 {1}분,,남은 시간(하루 미만) +raid_sub_no_bonus,점수 보너스 없음,,서브 배율 = 1 +raid_sub_bonus,점수 +{0} %,,서브 배율 > 1 +raid_tile_boss,맹장,,맹장 칸 이름 +raid_pat_lvbu,패턴 · 돌진,,시안 +raid_weak_lvbu,약점 · 벽 충돌,,시안 +raid_pat_caocao,패턴 · 방패 호위,,임시(raid_rotation 요약) +raid_weak_caocao,약점 · 호위 처치,,임시 +raid_pat_dongzhuo,패턴 · 내려치기,,임시 +raid_weak_dongzhuo,약점 · 기름 항아리,,임시 +raid_pat_yuanshao,패턴 · 화살비,,임시 +raid_weak_yuanshao,약점 · 호위 처치,,임시 +raid_pat_simayi,패턴 · 응시,,임시 +raid_weak_simayi,약점 · 등 뒤 공격,,임시 +raid_pat_zhangjiao,패턴 · 안개 · 벼락,,임시 +raid_weak_zhangjiao,약점 · 안개 걷기,,임시 +raid_pat_yuanshu,패턴 · 꿀물 수레,,임시 +raid_weak_yuanshu,약점 · 수레 부수기,,임시 +raid_record,오늘 기록 {0} → 점수 {1},,메인 카드 칩({0} = 기록 · {1} = 점수) +raid_detail,상세 정보,,버튼 +raid_go,도전,,버튼(기록 도전) +raid_done,도전함,,버튼(오늘 기록 도전 다 씀) +raid_practice,연습,,버튼 +raid_locked_btn,잠김,,버튼(해금 전) +raid_detail_title,{0} 토벌,,상세 정보 창 제목 +raid_detail_order,군령 {0},,상세 정보 창 +raid_detail_pattern,패턴 {0},,상세 정보 창 +raid_detail_weak,빈틈 {0},,상세 정보 창 +raid_close,닫기,,창 버튼 +raid_score_label,이번 주 점수 = 순위,,점수 띠 +raid_rank,{0}위,,점수 띠 순위 +raid_top,상위 {0} %,,점수 띠 상위 % +raid_breakdown,메인 {0} × {1} + 서브 {2},,점수 띠 내역({0} = 메인 피해 · {1} = 메인 배율 · {2} = 서브 피해) +raid_rank_offline,순위는 서버 연결 때 열립니다,,순위 탭(기기 세이브) +raid_unlock,{0} 클리어 뒤 열립니다,,해금 전 띠 · 알림 +raid_steps_title,누적 피해 단계,,상자 누름 창 제목 +raid_steps_score,이번 주 점수 {0},,창 첫 줄 +raid_step_on,● {0} {1}점 — {2},,받은 단계({0} = 단계 이름 · {1} = 점수 · {2} = 보상) +raid_step_off,○ {0} {1}점 — {2},,못 받은 단계 +raid_rw_gem,보옥 {0},,보상 +raid_rw_coin,토벌 훈장 {0},,보상 +raid_rw_chest,{0} ×{1},,보상(상자 이름 × 수) +raid_shop_coins,보유 토벌 훈장 {0},,상점 머리 +raid_shop_limit,이번 주 {0} / {1},,상점 줄(산 수 / 한도) +raid_shop_buy,구매,,상점 버튼 +raid_shop_soldout,완료,,상점 버튼(한도 다 씀) diff --git a/Assets/Resources/UI/Raid/raid_text.csv.meta b/Assets/Resources/UI/Raid/raid_text.csv.meta new file mode 100644 index 00000000..316f9096 --- /dev/null +++ b/Assets/Resources/UI/Raid/raid_text.csv.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: a4460fd17f5638d40bb48c00118539da +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/UI/Supply/supply_screen.csv b/Assets/Resources/UI/Supply/supply_screen.csv index 1d7c95dc..e85db03e 100644 --- a/Assets/Resources/UI/Supply/supply_screen.csv +++ b/Assets/Resources/UI/Supply/supply_screen.csv @@ -9,11 +9,10 @@ banner,granary|UI/Supply/banners/banner_granary|#8E5420,던전 id|배너(둥근 banner,drill|UI/Supply/banners/banner_drill|#2C7140, banner,bandit|UI/Supply/banners/banner_bandit|#9E3226, banner,tactics|UI/Supply/banners/banner_tactics|#2B4C98, -panel,UI/Supply/parts/panel_fill|UI/Supply/parts/panel_line|0.84|0.74|#FFF3D6|0.45,「/」 글자 판|비스듬 선|판 알파(열림)|판 알파(닫힘 · 잠김)|선 색|선 알파 +panel,UI/Supply/parts/panel_fill|UI/Supply/parts/panel_line|0.84|0.74|#FFF3D6|0.45,「/」 글자 판|비스듬 선|판 알파(열림)|판 알파(닫힌 날)|선 색|선 알파 card,1040|360|22|20|316|16,카드 폭|높이|카드 사이|왼쪽|첫 카드 위끝|목록 아래 여백 -closed_tint,#8C8C94,닫힌 날 · 잠김 배너 곱하기 색 +closed_tint,#8C8C94,닫힌 날 배너 곱하기 색(모드 잠김 = 평소 그림 + 화면 위 잠김 덮개 Resources/UI/Lock/lock_overlay · PD 2026-11-18) strip,240|52|25|18|#14172A|4,위 띠 위끝|칩 높이|글자|칩 사이|칩 테 색|테 굵기 -lock_strip,#962418|0.92|56|28|40,모드 잠김 띠 색|알파|높이|글자|자물쇠 name,28|20|50,이름 왼쪽|위|글자 chips,12|42|23|8|#0A0C16|0.55,이름 아래 틈|칩 높이|글자|칩 사이|칩 색|알파 days,12|40|22|6|#FFF3D6|#3A2418|#FFD23E|4,칩 아래 틈|요일 점 지름|글자|사이|점 색|글자 색|오늘 고리 색|고리 굵기 diff --git a/Assets/Resources/UI/Supply/supply_text.csv b/Assets/Resources/UI/Supply/supply_text.csv index 3c2965b0..5f2dbeb8 100644 --- a/Assets/Resources/UI/Supply/supply_text.csv +++ b/Assets/Resources/UI/Supply/supply_text.csv @@ -9,7 +9,6 @@ supply_done_bonus,오늘 완료 {0} / {1} · 보너스 받음,,위 띠(그날 supply_stamp,주간 도장 {0} / {1},,위 띠 supply_stamp_got,주간 도장 {0} / {1} · 받음,,위 띠(주간 보상 받음) supply_entries,하루 {0}회 · 광고 +{1},,위 띠 오른쪽(던전마다) -supply_unlock,{0} 클리어 뒤 열립니다,,모드 잠김 띠 supply_turns,제한 {0}턴,,카드 칩 supply_best,최고 {0}단계,,카드 칩(기록이 있는 가장 높은 단계) supply_best_none,기록 없음,,카드 칩 diff --git a/Assets/Resources/UI/Yeonmu/yeonmu_hub.csv b/Assets/Resources/UI/Yeonmu/yeonmu_hub.csv index 316620cf..2564bcc4 100644 --- a/Assets/Resources/UI/Yeonmu/yeonmu_hub.csv +++ b/Assets/Resources/UI/Yeonmu/yeonmu_hub.csv @@ -13,13 +13,16 @@ layers,UI/Yeonmu/layers,앞 층 폴더(같은 이름 png + json · json x·y·w layer_sort_pad,8,앞 층 json 에 sort_y 가 없으면 y + h − 이 값 = 발 줄 순서(시안과 같음) title_key,yeonmu_title,제목 띠 글자 키 subtitle_key,yeonmu_subtitle,제목 띠 부제 키(허브에서만 · 모드 페이지는 자기 제목 띠) -open,gate|raid,성문(맹장 토벌전) → 맹장 토벌전 페이지(컨텐츠 모드 ③) · 열 곳 값 = tower · supply · league · raid · scenario · soon(준비 중) · later(추후 업데이트) +open,gate|raid,성문(맹장 토벌전) → 맹장 토벌전 페이지(컨텐츠 모드 ③ · 해금 전 = 들어가지 않고 개방 조건 안내 · PD 2026-11-19) · 열 곳 값 = tower · supply · league · raid · scenario · soon(준비 중) · later(추후 업데이트) · update(update_key 글자만 띄움) open,tower|tower,천하제일 탑 → 탑 페이지 -open,stable|supply,마구간(황건적 소탕 · 군량고 습격) → 보급전 첫 화면(던전 목록 · 컨텐츠 모드 ① · 장소별로 던전을 거르는 진입점은 아직 없음) +open,stable|update,마구간 → 「업데이트 예정입니다.」 안내만(PD 2026-11-19 「추후 개발할 컨텐츠」 · 예전 = 보급전 첫 화면) open,yard|supply,훈련장(전술 훈련 · 병법 훈련) → 보급전 첫 화면(던전 목록) -open,ring|league,비무대 → 투기장 페이지(등급 투기장 · 컨텐츠 모드 ④) +open,ring|league,비무대 → 투기장 페이지(등급 투기장 · 컨텐츠 모드 ④ · 해금 전 = 들어가지 않고 개방 조건 안내 · PD 2026-11-19) open,hall|scenario,집현전 → 연의 전기 페이지(컨텐츠 모드 ②) open,tent|later,군막(천하 쟁패 · 동맹 미구현 · 잠김) → 「추후 업데이트」 안내 +update_key,yeonmu_update_soon,open update(마구간) 누름 안내 글자 키(PD 2026-11-19 「업데이트 예정입니다. 라는 메시지만」) +ok_key,yeonmu_ok,안내 팝업 버튼 글자 키 +lock_status,yeonmu_status_unlock,해금 전 투기장 · 맹장 토벌전 이름표 상태 줄 글자 키({0} = 해금 스테이지 · 이름 앞 자물쇠 = 천하 쟁패와 같은 모양 · PD 2026-11-19) shadow_std,180,그림자 크기 기준 키(유닛 키 ÷ 이 값 = 그림자 배율 · 내정 순찰과 같음) shadow,lobby_glow|14|3|150|32|#5E4E6E80,퍼진 그림자(테마 아이콘|발에서 x|y|폭|높이|색) · 내정 patrol_shadow 와 같은 값 shadow,lobby_glow|0|1|86|14|#3A2C3370,발 닿는 곳 접지 그림자 diff --git a/Assets/Resources/UI/Yeonmu/yeonmu_text.csv b/Assets/Resources/UI/Yeonmu/yeonmu_text.csv index 2f32d9b3..9436b8dc 100644 --- a/Assets/Resources/UI/Yeonmu/yeonmu_text.csv +++ b/Assets/Resources/UI/Yeonmu/yeonmu_text.csv @@ -10,13 +10,16 @@ yeonmu_gate_status,도전 {0} / {1} · {2}위,,{0} 오늘 도전 {1} 최대 {2} yeonmu_tower_name,천하제일 탑,,탑 이름표 yeonmu_tower_status,{0}층,,{0} 최고 층 yeonmu_stable_name,마구간,,마구간 이름표 -yeonmu_stable_status,황건적 소탕 · 군량고 습격,,마구간 상태 줄 +yeonmu_stable_status,업데이트 예정,,마구간 상태 줄(PD 2026-11-19 마구간 = 추후 개발 컨텐츠 · 예전 「황건적 소탕 · 군량고 습격」) +yeonmu_update_soon,업데이트 예정입니다.,,마구간 누름 안내(PD 2026-11-19 문구 그대로) +yeonmu_ok,확인,,안내 팝업 버튼 yeonmu_hall_name,연의 전기,,집현전 이름표 yeonmu_hall_status,새 편 · {0},,{0} 새 편 이름(시나리오 표) yeonmu_ring_name,투기장,,비무대 이름표 yeonmu_ring_status,남은 {0} / {1},,{0} 남은 도전 {1} 최대 yeonmu_tent_name,천하 쟁패,,군막 이름표 yeonmu_tent_status_locked,동맹에 가입하면 열림,,잠김 상태 줄 +yeonmu_status_unlock,출정 {0} 클리어 시 열림,,해금 전 투기장 · 맹장 토벌전 상태 줄({0} = 해금 스테이지 장-번호 · PD 2026-11-19) yeonmu_yard_name,훈련장,,훈련장 이름표 yeonmu_yard_status,전술 훈련 · 병법 훈련,,훈련장 상태 줄 yeonmu_yard_panel_title,훈련장,,훈련장 포커스 패널 제목 diff --git a/Assets/Scripts/OutGame/Arena/ArenaHub.cs b/Assets/Scripts/OutGame/Arena/ArenaHub.cs index 5aadab61..a35e49aa 100644 --- a/Assets/Scripts/OutGame/Arena/ArenaHub.cs +++ b/Assets/Scripts/OutGame/Arena/ArenaHub.cs @@ -31,8 +31,9 @@ namespace TKS.OutGame public string statusKey = ""; public string[] args = new string[0]; public bool dot; + /// 늘 잠김(장소 표 s_flags lock · 천하 쟁패) — 모드 해금으로 잠기는 곳(투기장 · 맹장 토벌전)은 . public bool locked; - /// 누르면 열 곳(허브 표 open · tower · supply · league · raid · scenario · soon · later · 빈 = 누름 없음). + /// 누르면 열 곳(허브 표 open · tower · supply · league · raid · scenario · soon · later · update · 빈 = 누름 없음). public string open = ""; } @@ -76,6 +77,10 @@ namespace TKS.OutGame readonly Dictionary statusPill = new Dictionary(); readonly Dictionary tagRoot = new Dictionary(); readonly Dictionary nameText = new Dictionary(); + readonly Dictionary lockIcon = new Dictionary(); + readonly Dictionary dotIcon = new Dictionary(); + readonly Dictionary plaqueSide = new Dictionary(); + readonly Dictionary tagLocked = new Dictionary(); readonly Dictionary actorRt = new Dictionary(); public RectTransform View { get; private set; } @@ -468,28 +473,30 @@ namespace TKS.OutGame } else pimg.color = UiKit.Dark; pimg.raycastTarget = true; - float iconW = s.locked ? At(lk, 2) : 0f; + plaqueSide[s.id] = side; var name = UiKit.Title(UiKit.Label(plq, UiText.T(s.nameKey), (int)At(nt, 0, 30f), Col(nt, 1, Color.white), TextAnchor.MiddleCenter, - new Vector2(0.5f, 0.5f), new Vector2(0.5f, 0.5f), new Vector2(iconW * 0.5f, At(nt, 4)), new Vector2(1000f, H))); + new Vector2(0.5f, 0.5f), new Vector2(0.5f, 0.5f), new Vector2(0f, At(nt, 4)), new Vector2(1000f, H))); name.horizontalOverflow = HorizontalWrapMode.Overflow; UISkin.Stroke(name, Col(nt, 2, Color.black), At(nt, 3, 3f)); nameText[s.id] = name; - float tw = name.preferredWidth; - float wp = Mathf.Max(tw + iconW + 2f * side + At(pl, 3), At(pl, 2)); - plq.sizeDelta = new Vector2(wp, H); - name.rectTransform.sizeDelta = new Vector2(wp, H); - if (s.locked) + // 자물쇠 = 이름표마다 하나(잠긴 동안만 켬 · 천하 쟁패 = 늘 · 투기장 · 맹장 토벌전 = 모드 해금 전 · PD 2026-11-19) · 자리 = LayoutTag + float isz = At(lk, 1, 34f); + var ic = UISkin.IconImage(plq, Str(lk, 0), new Vector2(0.5f, 0.5f), new Vector2(1f, 0.5f), Vector2.zero, new Vector2(isz, isz)); + if (ic != null) { - float isz = At(lk, 1, 34f); - var ic = UISkin.IconImage(plq, Str(lk, 0), new Vector2(0.5f, 0.5f), new Vector2(1f, 0.5f), new Vector2(iconW * 0.5f - tw * 0.5f - At(lk, 3), 0f), new Vector2(isz, isz)); - if (ic != null) ic.name = "Lock"; + ic.name = "Lock"; + lockIcon[s.id] = ic; } if (s.dot) { var dt = L("dot"); // 스프라이트|크기|x(명패 오른끝 기준)|y(명패 위끝 기준) float d = At(dt, 1, 24f); var dot = UISkin.IconImage(plq, Str(dt, 0), new Vector2(1f, 1f), new Vector2(0.5f, 0.5f), new Vector2(At(dt, 2), At(dt, 3)), new Vector2(d, d)); - if (dot != null) dot.name = "Dot"; + if (dot != null) + { + dot.name = "Dot"; + dotIcon[s.id] = dot; + } } // 상태 줄(명패 아래 · 겹침 overlap) var st = L("status"); // 스킨|높이|좌우 여백 합|겹침|바탕색|글자|글자색 @@ -507,9 +514,39 @@ namespace TKS.OutGame b.navigation = nav; var id = s.id; b.onClick.AddListener(() => Press(id)); + LayoutTag(s, IsLocked(s)); TagCount++; } + /// 명패 배치(잠김 = 이름 앞 자물쇠 자리 · 새 소식 점 끔 · 시안 mk_mock.py tag()) — 잠김이 바뀌면 다시(RefreshStatus). + void LayoutTag(Spot s, bool lockOn) + { + Text name; + if (!nameText.TryGetValue(s.id, out name)) return; + var pl = L("plaque"); + var nt = L("name_text"); + var lk = L("lock"); + float H = At(pl, 1, 62f); + float iconW = lockOn ? At(lk, 2) : 0f; + float tw = name.preferredWidth; + float side; + plaqueSide.TryGetValue(s.id, out side); + float wp = Mathf.Max(tw + iconW + 2f * side + At(pl, 3), At(pl, 2)); + var plq = (RectTransform)name.rectTransform.parent; + plq.sizeDelta = new Vector2(wp, H); + name.rectTransform.anchoredPosition = new Vector2(iconW * 0.5f, At(nt, 4)); + name.rectTransform.sizeDelta = new Vector2(wp, H); + Image ic; + if (lockIcon.TryGetValue(s.id, out ic)) + { + ic.gameObject.SetActive(lockOn); + ic.rectTransform.anchoredPosition = new Vector2(iconW * 0.5f - tw * 0.5f - At(lk, 3), 0f); + } + Image dot; + if (dotIcon.TryGetValue(s.id, out dot)) dot.gameObject.SetActive(!lockOn); // 잠긴 곳 = 새 소식 점 없음 + tagLocked[s.id] = lockOn; + } + void BuildHint() { var h = L("hint"); // 글자 키|글자|글자색|바탕색|높이|좌우 여백 합|탭 바 위 간격 @@ -589,14 +626,60 @@ namespace TKS.OutGame while (a.Count < n) a.Add(""); } + /// 장소 열 곳 → 연무장 페이지(tower 1 · supply 2 · league 3 · raid 4 · scenario 5) · 페이지가 아니면 −1(soon · later · update = 안내 팝업). + public static int PageOf(string open) + { + switch (open) + { + case "tower": return 1; + case "supply": return 2; + case "league": return 3; + case "raid": return 4; + case "scenario": return ArenaScreen.ScenarioPage; + } + return -1; + } + + /// 모드 해금 전이라 연무장에서 막는 곳(투기장 · 맹장 토벌전 · PD 2026-11-19)의 해금 스테이지 키 · 열렸거나 그런 곳이 아니면 null. + public string LockStage(Spot s) + { + string key; + return s != null && screen.PageLocked(PageOf(s.open), out key) ? key : null; + } + + /// 지금 잠김 = 늘 잠김(표 lock) 또는 모드 해금 전. + public bool IsLocked(Spot s) + { + return s != null && (s.locked || LockStage(s) != null); + } + + /// 상태 줄 글자 = 모드 해금 전이면 개방 조건(허브 표 lock_status 키 · {0} = 해금 스테이지) · 아니면 장소 표 글자 키 + 값. + public string StatusText(Spot s) + { + var stage = LockStage(s); + if (stage != null) return UiText.F(S("lock_status"), new[] { stage }); + return UiText.F(s.statusKey, Args(s)); + } + + /// 그 장소 이름표 자물쇠가 켜졌는가(테스트). + public bool LockShown(string id) + { + Image ic; + return lockIcon.TryGetValue(id, out ic) && ic != null && ic.gameObject.activeSelf; + } + public void RefreshStatus() { foreach (var s in Spots) { Text t; if (!statusText.TryGetValue(s.id, out t)) continue; - var v = UiText.F(s.statusKey, Args(s)); - if (t.text == v) continue; + bool lockOn = IsLocked(s); + bool was; + bool relayout = !tagLocked.TryGetValue(s.id, out was) || was != lockOn; + if (relayout) LayoutTag(s, lockOn); // 해금 · 잠김이 바뀜 = 자물쇠 · 명패 폭 · 점 다시 + var v = StatusText(s); + if (t.text == v && !relayout) continue; t.text = v; var st = L("status"); float w = t.preferredWidth + At(st, 2); @@ -609,20 +692,27 @@ namespace TKS.OutGame } } - /// 장소 누름 = 표 open: tower 탑 · supply 보급전(첫 화면 = 던전 목록) · league 투기장 · raid 맹장 토벌전 · scenario 연의 전기 · soon 「준비 중」 · later 「추후 업데이트」(잠김). + /// + /// 장소 누름 = 표 open: tower 탑 · supply 보급전(첫 화면 = 던전 목록) · league 투기장 · raid 맹장 토벌전 · scenario 연의 전기(잠긴 투기장 · 맹장 토벌전 = 들어가지 않고 개방 조건 안내 · ArenaScreen.SetPage) · + /// soon 「준비 중」 · later 「추후 업데이트」(잠김) · update = 허브 표 update_key 글자만 띄움(PD 2026-11-19 마구간 「"업데이트 예정입니다." 라는 메시지만」). + /// public void Press(string id) { var s = SpotOf(id); if (s == null) return; + int p = PageOf(s.open); + if (p > 0) + { + screen.SetPage(p); + return; + } switch (s.open) { - case "tower": screen.SetPage(1); break; - case "supply": screen.SetPage(2); break; - case "league": screen.SetPage(3); break; - case "raid": screen.SetPage(4); break; - case "scenario": screen.SetPage(ArenaScreen.ScenarioPage); break; case "soon": screen.Root.ComingSoon(UiText.T(s.nameKey)); break; case "later": screen.Root.ComingSoon(UiText.T(s.nameKey), true); break; + case "update": + screen.Root.Modal(UiText.T(s.nameKey), UiText.T(S("update_key")), new OutGameRoot.ModalButton(UiText.T(S("ok_key")), UiKit.Dark, null)); + break; default: Debug.LogWarning("[TKS] 연무장 장소 연결 없음(허브 표 open): " + id); break; } } diff --git a/Assets/Scripts/OutGame/Arena/ArenaRaid.cs b/Assets/Scripts/OutGame/Arena/ArenaRaid.cs new file mode 100644 index 00000000..d3b3c4ed --- /dev/null +++ b/Assets/Scripts/OutGame/Arena/ArenaRaid.cs @@ -0,0 +1,911 @@ +using System; +using System.Collections.Generic; +using System.Globalization; +using UnityEngine; +using UnityEngine.UI; + +namespace TKS.OutGame +{ + /// + /// 맹장 토벌전 화면(PD 2026-11-18 「맹장 토벌전 메뉴가 제대로 보여지지 않고 있어 … 정상적으로 게임에서 확인할 수 있도록 반영해줘」 · 아트 시안 content_screens_2/raid_banner/final/mock_raid.png) — + /// 탭(토벌 · 순위 · 훈장 상점) + 메인 맹장 카드(배너 · 태그 · 이름 · 칭호 · 군령 · 교대 · 맹장/패턴/약점 칸 · 오늘 기록 · 넘김 · 상세 정보 · 도전) + 서브 맹장 카드(연습 · 도전) + 주간 점수 띠(순위 · 내역 · 누적 단계 상자). + /// 기능 = 예전 더미 화면(ArenaScreen.BuildRaid2)과 같음: 맹장 = RaidRules.BossOf · 도전 · 연습 = ArenaScreen.RaidGo · 상점 구매 = ArenaScreen.RaidBuyPick · 순위 표 = Net.RankPanel(서버 모드) · 해금 전 = 같은 화면(도전 = 잠김 버튼) + 화면 위 잠김 덮개(LockOverlay · ArenaScreen.ShowRaidView · PD 2026-11-18). + /// 표(C45): 화면 = Resources/UI/Raid/raid_screen(키 · 값 · 배치 · 색 · 시안 예시 값) · 글자 = raid_text(UiText) · 맹장 값 = 게임 표 ContentModes/raid_*(RaidData) · 배너 = ContentModes/Art/raid_banner_<id>. + /// 층(P41): 화면 → 본문 맞춤(UiFitHeight) → Art(카드 테 · 배너 · 점수 띠 바탕 · Static) · Info(값 · 탭 · 버튼 · 누름 칸 · Event + 레이캐스터) · Clock(교대 남은 시간 · 1초마다 · Frame). + /// 게임에 데이터가 없는 값(오늘 기록 · 기기 세이브의 순위)은 설정 표 example_* (시안 예시 값) — 투기장 화면과 같은 방식. + /// + public class ArenaRaid + { + public const string Table = "UI/Raid/raid_screen"; + + readonly ArenaScreen screen; + readonly Dictionary> kv = new Dictionary>(); + readonly Dictionary bosses = new Dictionary(); + readonly Dictionary btns = new Dictionary(); + readonly Dictionary texts = new Dictionary(); + readonly Dictionary buttons = new Dictionary(); + + public RectTransform View { get; private set; } + public RectTransform Design { get; private set; } + public RectTransform Art { get; private set; } + public RectTransform Info { get; private set; } + public RectTransform Clock { get; private set; } + public bool Built { get; private set; } + public bool Locked { get; private set; } + + /// 지금 탭 동작(raid · shop). + public string Tab { get; private set; } + + /// 메인 카드 넘김(0 = 이번 주 · k = k 주 뒤 메인 미리 보기). + public int Preview { get; private set; } + + public string MainId { get; private set; } + public string SubId { get; private set; } + public string ShownMainId { get; private set; } + public int CardCount { get; private set; } + public int TileCount { get; private set; } + public int ShopRows { get; private set; } + + /// 마지막으로 연 상세 정보 창의 맹장(테스트). + public string LastDetail { get; private set; } + + DateTime mainEnd = DateTime.MaxValue, subEnd = DateTime.MaxValue; // 현지 시각 + string nextMainName = "", nextSubName = ""; + Text mainClock, subClock; + Color strokeC = Color.black; + float strokeW = 3f; + + ArenaRaid(ArenaScreen s) + { + screen = s; + Tab = "raid"; + } + + OutGameSession S + { + get { return screen.S; } + } + + // ---------- 표 ---------- + + /// 설정 표 · 글자 표를 읽는다(그림은 처음 열 때 Show) · 표가 없으면 null(호출 쪽 = 예전 더미 화면). + public static ArenaRaid Load(ArenaScreen s) + { + var rows = UiText.Rows(Table); + if (rows == null) return null; + var rd = new ArenaRaid(s); + foreach (var r in rows) + { + string k, v; + if (!r.TryGetValue("s_key", out k) || k.Length == 0) continue; + r.TryGetValue("s_value", out v); + List l; + if (!rd.kv.TryGetValue(k, out l)) rd.kv[k] = l = new List(); + l.Add(v ?? ""); + } + foreach (var b in rd.All("boss")) + if (Str(b, 0).Length > 0) rd.bosses[Str(b, 0)] = b; + foreach (var b in rd.All("btn")) + if (Str(b, 0).Length > 0) rd.btns[Str(b, 0)] = b; + UiText.Use(rd.S_("texts")); + if (!UiText.Has(rd.S_("title_key"))) return null; + return rd; + } + + public string S_(string key, string def = "") + { + List l; + return kv.TryGetValue(key, out l) && l.Count > 0 && l[0].Length > 0 ? l[0] : def; + } + + string[] L(string key) + { + return S_(key).Split('|'); + } + + List All(string key) + { + var list = new List(); + List l; + if (kv.TryGetValue(key, out l)) + foreach (var v in l) + list.Add(v.Split('|')); + return list; + } + + static float F(string v, float def = 0f) + { + float f; + return v != null && float.TryParse(v.Trim(), NumberStyles.Float, CultureInfo.InvariantCulture, out f) ? f : def; + } + + static float At(string[] a, int i, float def = 0f) + { + return a != null && i < a.Length && a[i].Trim().Length > 0 ? F(a[i], def) : def; + } + + static string Str(string[] a, int i) + { + return a != null && i < a.Length ? a[i].Trim() : ""; + } + + static Color Col(string[] a, int i, Color def) + { + Color c; + return a != null && i < a.Length && ColorUtility.TryParseHtmlString(a[i].Trim(), out c) ? c : def; + } + + static string N(long v) + { + return v.ToString("N0", CultureInfo.InvariantCulture); + } + + static string Pct(float mult) + { + return Mathf.RoundToInt((mult - 1f) * 100f).ToString(CultureInfo.InvariantCulture); + } + + /// 제목 띠 부제(메인 점수 보너스 % 넣음). + public string Subtitle + { + get { return UiText.F(S_("subtitle_key"), new[] { Pct(RaidData.ScoreMult(RaidData.Main)) }); } + } + + /// 값 글자(테스트 · 없으면 null). + public string TextOf(string name) + { + Text t; + return texts.TryGetValue(name, out t) && t != null ? t.text : null; + } + + /// 버튼(테스트 · 이름 = Go_main · Go_sub · Detail_main · Practice_sub · Buy_<물품> …). + public Button ButtonOf(string name) + { + Button b; + return buttons.TryGetValue(name, out b) ? b : null; + } + + /// 글자 이름 목록(테스트 · 값 자리 남음 검사). + public IEnumerable> Texts + { + get { return texts; } + } + + Sprite Banner(string id) + { + return string.IsNullOrEmpty(id) ? null : Resources.Load(S_("banner") + id); + } + + /// 아이콘 지정 = 「res:경로」(Resources) · 그 밖 = 테마 아이콘 id. + static Sprite IconSprite(string spec) + { + if (string.IsNullOrEmpty(spec)) return null; + return spec.StartsWith("res:", StringComparison.Ordinal) ? Resources.Load(spec.Substring(4)) : UISkin.Icon(spec); + } + + static Sprite fadeH; + + /// 왼쪽 불투명 → 오른쪽 투명 가로 그라데이션(시안 linear-gradient(90deg) · 색 = Image.color). + static Sprite FadeH + { + get + { + if (fadeH != null) return fadeH; + const int n = 64; + var tex = new Texture2D(n, 1, TextureFormat.RGBA32, false); + tex.wrapMode = TextureWrapMode.Clamp; + tex.hideFlags = HideFlags.DontSave; + var px = new Color[n]; + for (int i = 0; i < n; i++) px[i] = new Color(1f, 1f, 1f, 1f - i / (n - 1f)); + tex.SetPixels(px); + tex.Apply(); + fadeH = Sprite.Create(tex, new Rect(0, 0, n, 1), new Vector2(0.5f, 0.5f), 100f); + fadeH.hideFlags = HideFlags.DontSave; + return fadeH; + } + } + + // ---------- 만들기 ---------- + + /// slot(화면 전체 · 제목 띠 뒤)에 처음 한 번 층을 만들고 내용을 다시 채운다 · 배너가 하나도 없으면 false(호출 쪽 = 예전 더미 화면). + public bool Show(RectTransform slot) + { + if (!Built) + { + bool any = false; + foreach (var b in RaidData.Bosses()) + if (Banner(b.id) != null) + { + any = true; + break; + } + if (!any) + { + Debug.LogWarning("[TKS] 맹장 배너 없음: " + S_("banner")); + return false; + } + View = slot; + var body = UiKit.Fill("Body", View, 0f, 0f, OutGameRoot.TopBarH + OutGameRoot.HeaderH, OutGameRoot.TabBarH); + var fit = UiKit.Rect("Fit", body, new Vector2(0.5f, 1f), new Vector2(0.5f, 1f), Vector2.zero, new Vector2(OutGameRoot.Reference.x, OutGameRoot.BodyH)); + fit.gameObject.AddComponent().designHeight = OutGameRoot.BodyH; // 본문 높이 맞춤(다른 화면 Body 와 같음) + Design = UiKit.Rect("Design", fit, new Vector2(0.5f, 1f), new Vector2(0.5f, 1f), Vector2.zero, new Vector2(OutGameRoot.Reference.x, OutGameRoot.BodyH)); + Art = UiLayer.Group("Art", Design, UiRate.Static); + Info = UiLayer.Group("Info", Design, UiRate.Event, true); + Clock = UiLayer.Group("Clock", Design, UiRate.Frame); + Clock.gameObject.AddComponent().owner = this; + Built = true; + } + Rebuild(); + return true; + } + + /// 쪽을 새로 열 때 = 토벌 탭 · 이번 주 메인. + public void ResetView() + { + Tab = "raid"; + Preview = 0; + } + + void Rebuild() + { + ContentTables.Reload(); + UiKit.Clear(Art); + UiKit.Clear(Info); + UiKit.Clear(Clock); + texts.Clear(); + buttons.Clear(); + mainClock = subClock = null; + CardCount = TileCount = ShopRows = 0; + var st = L("stroke"); + strokeC = Col(st, 0, UiKit.Stroke); + strokeW = At(st, 1, 3f); + var d = S.Save; + var now = S.Now; + Locked = !RaidRules.Unlocked(d); + if (Locked && Tab == "shop") Tab = "raid"; + MainId = RaidRules.BossOf(d, RaidData.Main, now); + SubId = RaidRules.BossOf(d, RaidData.Sub, now); + Times(now); + Tabs(); + if (Tab == "shop") + { + Shop(d, now); + return; + } + int n = RaidData.Bosses().Count; + Preview = n > 0 ? (Preview % n + n) % n : 0; + ShownMainId = Preview == 0 ? MainId : PreviewBoss(Preview); + var cd = L("card"); + float y = At(cd, 1, 114f), step = At(cd, 3, 640f) + At(cd, 4, 14f); + var main = RaidData.Get(ShownMainId); + if (main != null) Card(RaidData.Main, main, y, Preview, n); + var sub = RaidData.Get(SubId); + if (sub != null) Card(RaidData.Sub, sub, y + step, 0, n); + Strip(d); + Tick(); + } + + // ---------- 일정(교대 시각 · 다음 맹장) — RaidData.Schedule 을 날짜만 바꿔 불러 찾음(새 규칙 없음) ---------- + + int MainDays + { + get { return Mathf.Max(1, ContentTables.Int(RaidData.Mode, "main_days")); } + } + + void Times(DateTime now) + { + mainEnd = subEnd = DateTime.MaxValue; + nextMainName = nextSubName = ""; + int week; + string m, s; + RaidData.Schedule(now, out week, out m, out s); + var day0 = now.ToLocalTime().Date; + for (int k = 1; k <= MainDays + 1; k++) + { + var t = day0.AddDays(k); // 현지 자정(Schedule 은 현지 날짜만 봄) + int w2; + string m2, s2; + RaidData.Schedule(t, out w2, out m2, out s2); + if (subEnd == DateTime.MaxValue && (s2 != s || w2 != week)) + { + subEnd = t; + nextSubName = NameOf(s2); + } + if (w2 != week) + { + mainEnd = t; + nextMainName = NameOf(m2); + break; + } + } + } + + static string NameOf(string id) + { + var b = RaidData.Get(id); + return b != null ? b.nameKo : id ?? ""; + } + + DateTime PreviewStart(int k) + { + return mainEnd == DateTime.MaxValue ? mainEnd : mainEnd.AddDays((k - 1) * MainDays); + } + + string PreviewBoss(int k) + { + var t = PreviewStart(k); + if (t == DateTime.MaxValue) return MainId; + int w; + string m, s; + RaidData.Schedule(t, out w, out m, out s); + return m; + } + + string LeftDH(TimeSpan t) + { + if (t < TimeSpan.Zero) t = TimeSpan.Zero; + if (t.Days > 0) return UiText.F("raid_left_dh", new[] { t.Days.ToString(CultureInfo.InvariantCulture), t.Hours.ToString(CultureInfo.InvariantCulture) }); + return UiText.F("raid_left_hm", new[] { t.Hours.ToString(CultureInfo.InvariantCulture), t.Minutes.ToString(CultureInfo.InvariantCulture) }); + } + + static string LeftHMS(TimeSpan t) + { + if (t < TimeSpan.Zero) t = TimeSpan.Zero; + return ((int)t.TotalHours).ToString("00", CultureInfo.InvariantCulture) + ":" + t.Minutes.ToString("00", CultureInfo.InvariantCulture) + ":" + t.Seconds.ToString("00", CultureInfo.InvariantCulture); + } + + string MainTime(DateTime nowL) + { + if (Preview > 0) return UiText.F("raid_time_future", new[] { LeftDH(PreviewStart(Preview) - nowL) }); + return UiText.F("raid_time_main", new[] { LeftDH(mainEnd - nowL), nextMainName }); + } + + string SubTime(DateTime nowL) + { + return UiText.F("raid_time_sub", new[] { LeftHMS(subEnd - nowL), nextSubName }); + } + + /// 교대 남은 시간 다시 씀(RaidClock · 0.5 초마다) · 교대 시각을 넘으면 화면을 다시 그림. + internal void Tick() + { + if (!Built || Tab != "raid") return; + var nowL = S.Now.ToLocalTime(); + if (nowL >= subEnd || nowL >= mainEnd) + { + if (screen.Page == 4 && screen.RaidVisible) screen.Refresh(); + return; + } + if (mainClock != null) + { + var s = MainTime(nowL); + if (mainClock.text != s) mainClock.text = s; + } + if (subClock != null) + { + var s = SubTime(nowL); + if (subClock.text != s) subClock.text = s; + } + } + + // ---------- 부품 ---------- + + static readonly Vector2 TopLeft = new Vector2(0f, 1f); + const float RoundRadius = 22f; // UiKit.Round 모서리 반지름(px) + + /// 둥근 판(왼쪽 위 기준 · 모서리 반지름 rad = UiKit.Round 9 분할 배율로). + static Image RoundImg(Transform p, string name, float x, float y, float w, float h, Color c, float rad) + { + var img = UiKit.At(p, name, x, y, w, h).gameObject.AddComponent(); + RoundStyle(img, c, rad); + return img; + } + + static void RoundStyle(Image img, Color c, float rad) + { + img.sprite = UiKit.Round; + img.type = Image.Type.Sliced; + img.pixelsPerUnitMultiplier = RoundRadius / Mathf.Max(1f, rad); + img.color = c; + img.raycastTarget = false; + } + + /// 테 두른 둥근 판(바깥 = 테 색 · 안 = 바탕) · 반환 = 바깥(크기를 바꾸면 안도 따라감). + static RectTransform Boxed(Transform p, string name, float x, float y, float w, float h, Color fill, Color border, float bw, float rad, bool raycast) + { + var outer = RoundImg(p, name, x, y, w, h, border, rad); + outer.raycastTarget = raycast; + var inner = UiKit.Fill("Fill", outer.transform, bw, bw, bw, bw).gameObject.AddComponent(); + RoundStyle(inner, fill, rad - bw); + return outer.rectTransform; + } + + Text Txt(Transform p, string name, string s, int size, Color c, bool title, bool stroke, TextAnchor a, float x, float y, float w, float h) + { + var t = UiKit.Label(p, s, size, c, a, TopLeft, TopLeft, new Vector2(x, -y), new Vector2(w, h)); + if (title) UISkin.UseTitle(t); + if (stroke) UISkin.Stroke(t, strokeC, strokeW); + t.horizontalOverflow = HorizontalWrapMode.Overflow; + t.raycastTarget = false; + t.name = name; + texts[name] = t; + return t; + } + + /// 태그(시안 .tag = 테 · 둥근 · 제목 글꼴) · 반환 = 폭. + float Tag(Transform p, string name, string s, float x, float y, Color bg, Color fg) + { + var tg = L("tag"); // 위|높이|좌우 여백|테|모서리|글자|태그 사이|테 색 + return Pill(p, name, s, x, y, At(tg, 1, 42f), At(tg, 2, 14f), At(tg, 3, 4f), At(tg, 4, 12f), (int)At(tg, 5, 26f), bg, fg, Col(tg, 7, Color.black), true); + } + + float Pill(Transform p, string name, string s, float x, float y, float h, float pad, float bw, float rad, int fs, Color bg, Color fg, Color border, bool title) + { + var box = Boxed(p, name, x, y, 10f, h, bg, border, bw, rad, false); + var t = Txt(box, name + "Text", s, fs, fg, title, false, TextAnchor.MiddleCenter, 0f, 0f, 10f, h); + float w = Mathf.Ceil(t.preferredWidth) + 2f * (pad + bw); + box.sizeDelta = new Vector2(w, h); + t.rectTransform.sizeDelta = new Vector2(w, h); + return w; + } + + /// 버튼(표 btn 줄 = id|폭|스킨|틴트|글자색|외곽선|글자 키) · 오른끝 right 에 붙여 놓고 왼끝 x 를 돌려줌. + float Btn(Transform p, string name, string id, float right, float y, float h, Action act, bool on) + { + string[] row; + if (!btns.TryGetValue(id, out row)) row = new string[0]; + var bt = L("buttons"); + float w = At(row, 1, 170f); + float x = right - w; + var b = UiKit.SkinBtn(p, name, Str(row, 2), Col(row, 3, Color.white), "", 10, Color.white, x, y, w, h, act); + var bl = b.GetComponentInChildren(); + if (bl != null) bl.gameObject.SetActive(false); + Txt(b.transform, name + "Text", UiText.T(Str(row, 6)), (int)At(bt, 4, 32f), Col(row, 4, Color.white), true, At(row, 5) > 0f, TextAnchor.MiddleCenter, 0f, -At(bt, 5, 4f), w, h); + b.interactable = on; + buttons[name] = b; + return x; + } + + // ---------- 탭 ---------- + + void Tabs() + { + var tb = L("tabs"); // 왼|위|폭|높이|사이|테|모서리|글자|테 색|꺼짐|켜짐|글자색 + var tabs = All("tab"); + int n = tabs.Count; + if (n == 0) return; + float x0 = At(tb, 0, 24f), y = At(tb, 1, 22f), w = At(tb, 2, 1032f), h = At(tb, 3, 78f), gap = At(tb, 4, 18f); + float tw = (w - gap * (n - 1)) / n; + for (int i = 0; i < n; i++) + { + string act = Str(tabs[i], 0); + bool on = act == Tab; + var box = Boxed(Info, "Tab_" + act, x0 + i * (tw + gap), y, tw, h, Col(tb, on ? 10 : 9, UiKit.Dark), Col(tb, 8, Color.black), At(tb, 5, 5f), At(tb, 6, 18f), true); + Txt(box, "TabText_" + act, UiText.T(Str(tabs[i], 1)), (int)At(tb, 7, 34f), Col(tb, 11, Color.white), true, false, TextAnchor.MiddleCenter, 0f, 0f, tw, h); + var b = box.gameObject.AddComponent