Almost done with Chatroom Options

This commit is contained in:
Lncvrt committed 2025-08-24 19:31:51 -07:00
1 parent 874a77eb62
commit ea42566556
8 files changed
+6544 -271

No files matched your search

+85 -31
View File
@@ -40,7 +40,7 @@ Texture2D:
m_ColorSpace: 0
m_PlatformBlob:
image data: 262144
_typelessdata: 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000001010102020202020202020202020202010101000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000101010202020202020303030304040203030404050505050505050505050505050505040403030204040303030302020202020201010100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000101010102020303040405050505050506060606070707050607070808080808080809090908080808080808070706050707070606060605050505050504040303020201010101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010101020303040405050505060707070808080808090909090a0a0a0a08090a0a0b0b0b0b0c0c0c0c0c0c0c0c0c0b0b0b0b0a0a09080a0a0a0a090909090808080808070707060505050504040303020101010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000Line truncated
_typelessdata: 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020304040506070809090a0a0b0b0b0b0c0c0c0c0b0b0b0b0a0a0909080706050404030200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010204040505080a0b0c0c0d0e0f101111121213131313141414141313131312121111100f0e0d0c0c0b0a08050504040201000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002030406080a0c0c0d0d0f111314141516171818191a1a1b1b1b1b1c1c1c1c1b1b1b1b1a1a191818171615141413110f0d0d0c0c0a0806040302000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020305080a0b0c0d10121314151617191b1c1c1d1e1f202021222223232323242424242323232322222120201f1e1d1c1c1b19171615141312100d0c0b0a08050302000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000Line truncated
m_StreamData:
serializedVersion: 2
offset: 0
@@ -63,24 +63,24 @@ MonoBehaviour:
m_FaceIndex: 0
m_FamilyName: Font Awesome 7 Free
m_StyleName: Regular
m_PointSize: 433
m_PointSize: 224
m_Scale: 1
m_UnitsPerEM: 512
m_LineHeight: 433
m_AscentLine: 378.875
m_CapLine: 352
m_MeanLine: 355
m_LineHeight: 223.99998
m_AscentLine: 195.99998
m_CapLine: 182
m_MeanLine: 184
m_Baseline: 0
m_DescentLine: -54.125
m_SuperscriptOffset: 378.875
m_DescentLine: -27.999998
m_SuperscriptOffset: 195.99998
m_SuperscriptSize: 0.5
m_SubscriptOffset: -54.125
m_SubscriptOffset: -27.999998
m_SubscriptSize: 0.5
m_UnderlineOffset: 0
m_UnderlineThickness: 0
m_StrikethroughOffset: 142
m_StrikethroughOffset: 73.6
m_StrikethroughThickness: 0
m_TabWidth: 217
m_TabWidth: 112
m_Material: {fileID: 3453732582505298218}
m_SourceFontFileGUID: 5960872f8c2f3d8d5943276148cd6eb0
m_CreationSettings:
@@ -88,14 +88,14 @@ MonoBehaviour:
sourceFontFileGUID: 5960872f8c2f3d8d5943276148cd6eb0
faceIndex: 0
pointSizeSamplingMode: 0
pointSize: 433
padding: 38
pointSize: 224
padding: 15
paddingMode: 1
packingMode: 0
atlasWidth: 512
atlasHeight: 512
characterSetSelectionMode: 6
characterSequence: f111
characterSequence: f111,f024,f0c5
referencedFontAssetGUID:
referencedTextAssetGUID: 5d3dcb0eeedeb6c7a8da5527c34d0e35
fontStyle: 0
@@ -107,22 +107,60 @@ MonoBehaviour:
m_AtlasPopulationMode: 0
InternalDynamicOS: 0
m_GlyphTable:
- m_Index: 47
m_Metrics:
m_Width: 196
m_Height: 224
m_HorizontalBearingX: 0
m_HorizontalBearingY: 196
m_HorizontalAdvance: 196
m_GlyphRect:
m_X: 16
m_Y: 271
m_Width: 196
m_Height: 224
m_Scale: 1
m_AtlasIndex: 0
m_ClassDefinitionType: 0
- m_Index: 73
m_Metrics:
m_Width: 196
m_Height: 224
m_HorizontalBearingX: 0
m_HorizontalBearingY: 196
m_HorizontalAdvance: 196
m_GlyphRect:
m_X: 243
m_Y: 271
m_Width: 196
m_Height: 224
m_Scale: 1
m_AtlasIndex: 0
m_ClassDefinitionType: 0
- m_Index: 83
m_Metrics:
m_Width: 433
m_Height: 433
m_Width: 224
m_Height: 224
m_HorizontalBearingX: 0
m_HorizontalBearingY: 378.875
m_HorizontalAdvance: 433
m_HorizontalBearingY: 196
m_HorizontalAdvance: 224
m_GlyphRect:
m_X: 39
m_Y: 39
m_Width: 433
m_Height: 434
m_X: 16
m_Y: 16
m_Width: 224
m_Height: 224
m_Scale: 1
m_AtlasIndex: 0
m_ClassDefinitionType: 0
m_CharacterTable:
- m_ElementType: 1
m_Unicode: 61476
m_GlyphIndex: 47
m_Scale: 1
- m_ElementType: 1
m_Unicode: 61637
m_GlyphIndex: 73
m_Scale: 1
- m_ElementType: 1
m_Unicode: 61713
m_GlyphIndex: 83
@@ -135,17 +173,33 @@ MonoBehaviour:
m_ClearDynamicDataOnBuild: 0
m_AtlasWidth: 512
m_AtlasHeight: 512
m_AtlasPadding: 38
m_AtlasPadding: 15
m_AtlasRenderMode: 4165
m_UsedGlyphRects:
- m_X: 0
m_Y: 0
m_Width: 510
m_Height: 511
m_Width: 255
m_Height: 255
- m_X: 0
m_Y: 255
m_Width: 227
m_Height: 255
- m_X: 227
m_Y: 255
m_Width: 227
m_Height: 255
m_FreeGlyphRects:
- m_X: 510
- m_X: 0
m_Y: 510
m_Width: 511
m_Height: 1
- m_X: 255
m_Y: 0
m_Width: 1
m_Width: 256
m_Height: 255
- m_X: 454
m_Y: 0
m_Width: 57
m_Height: 511
m_FontFeatureTable:
m_MultipleSubstitutionRecords: []
@@ -273,7 +327,7 @@ Material:
- _GlowOffset: 0
- _GlowOuter: 0.05
- _GlowPower: 0.75
- _GradientScale: 39
- _GradientScale: 16
- _LightAngle: 3.1416
- _MaskSoftnessX: 0
- _MaskSoftnessY: 0
@@ -283,9 +337,9 @@ Material:
- _OutlineWidth: 0
- _PerspectiveFilter: 0.875
- _Reflectivity: 10
- _ScaleRatioA: 0.974359
- _ScaleRatioB: 0.7916667
- _ScaleRatioC: 0.7916667
- _ScaleRatioA: 0.9375
- _ScaleRatioB: 0.76171875
- _ScaleRatioC: 0.76171875
- _ScaleX: 1
- _ScaleY: 1
- _ShaderFlags: 0
@@ -1 +1 @@
f111
f111,f024,f0c5
+238 -188
View File
@@ -63,7 +63,7 @@ Material:
- _GlowOffset: 0
- _GlowOuter: 0.05
- _GlowPower: 0.75
- _GradientScale: 12
- _GradientScale: 10
- _LightAngle: 3.1416
- _MaskSoftnessX: 0
- _MaskSoftnessY: 0
@@ -73,9 +73,9 @@ Material:
- _OutlineWidth: 0
- _PerspectiveFilter: 0.875
- _Reflectivity: 10
- _ScaleRatioA: 0.9166667
- _ScaleRatioB: 0.7447917
- _ScaleRatioC: 0.7447917
- _ScaleRatioA: 0.9
- _ScaleRatioB: 0.73125
- _ScaleRatioC: 0.73125
- _ScaleX: 1
- _ScaleY: 1
- _ShaderFlags: 0
@@ -126,24 +126,24 @@ MonoBehaviour:
m_FaceIndex: 0
m_FamilyName: Font Awesome 7 Free
m_StyleName: Solid
m_PointSize: 129
m_PointSize: 123
m_Scale: 1
m_UnitsPerEM: 512
m_LineHeight: 129
m_AscentLine: 112.875
m_CapLine: 105
m_MeanLine: 106
m_LineHeight: 123.00001
m_AscentLine: 107.62501
m_CapLine: 100
m_MeanLine: 101
m_Baseline: 0
m_DescentLine: -16.125
m_SuperscriptOffset: 112.875
m_DescentLine: -15.375001
m_SuperscriptOffset: 107.62501
m_SuperscriptSize: 0.5
m_SubscriptOffset: -16.125
m_SubscriptOffset: -15.375001
m_SubscriptSize: 0.5
m_UnderlineOffset: 0
m_UnderlineThickness: 0
m_StrikethroughOffset: 42.4
m_StrikethroughOffset: 40.4
m_StrikethroughThickness: 0
m_TabWidth: 65
m_TabWidth: 62
m_Material: {fileID: -353727190107255236}
m_SourceFontFileGUID: 70c3626d6481a080ca8a0f3ee7018cd8
m_CreationSettings:
@@ -151,14 +151,14 @@ MonoBehaviour:
sourceFontFileGUID: 70c3626d6481a080ca8a0f3ee7018cd8
faceIndex: 0
pointSizeSamplingMode: 0
pointSize: 129
padding: 11
pointSize: 123
padding: 9
paddingMode: 1
packingMode: 0
atlasWidth: 512
atlasHeight: 512
characterSetSelectionMode: 6
characterSequence: f309,f111,f141,f04c,f0e2,f077,f061,f060,f0c8,f00c,f00d
characterSequence: f309,f111,f141,f04c,f0e2,f077,f061,f060,f0c8,f00c,f00d,f303,f2ed
referencedFontAssetGUID:
referencedTextAssetGUID: 5d3dcb0eeedeb6c7a8da5527c34d0e35
fontStyle: 0
@@ -172,166 +172,196 @@ MonoBehaviour:
m_GlyphTable:
- m_Index: 422
m_Metrics:
m_Width: 114.640625
m_Height: 106.078125
m_HorizontalBearingX: -0.75
m_HorizontalBearingY: 97.765625
m_HorizontalAdvance: 112.875
m_Width: 109.3125
m_Height: 101.140625
m_HorizontalBearingX: -0.71875
m_HorizontalBearingY: 93.21875
m_HorizontalAdvance: 107.625
m_GlyphRect:
m_X: 164
m_Y: 165
m_Width: 115
m_Height: 107
m_X: 264
m_Y: 296
m_Width: 110
m_Height: 102
m_Scale: 1
m_AtlasIndex: 0
m_ClassDefinitionType: 0
- m_Index: 423
m_Metrics:
m_Width: 98.515625
m_Height: 98.25
m_HorizontalBearingX: -0.75
m_HorizontalBearingY: 97.5
m_HorizontalAdvance: 96.75
m_Width: 93.9375
m_Height: 93.6875
m_HorizontalBearingX: -0.71875
m_HorizontalBearingY: 92.96875
m_HorizontalAdvance: 92.25
m_GlyphRect:
m_X: 268
m_Y: 346
m_Width: 99
m_Height: 99
m_X: 393
m_Y: 236
m_Width: 95
m_Height: 94
m_Scale: 1
m_AtlasIndex: 0
m_ClassDefinitionType: 0
- m_Index: 474
m_Metrics:
m_Width: 96.75
m_Height: 112.875
m_Width: 92.25
m_Height: 107.625
m_HorizontalBearingX: 0
m_HorizontalBearingY: 104.8125
m_HorizontalAdvance: 96.75
m_HorizontalBearingY: 99.9375
m_HorizontalAdvance: 92.25
m_GlyphRect:
m_X: 148
m_Y: 334
m_Width: 97
m_Height: 114
m_X: 152
m_Y: 296
m_Width: 93
m_Height: 108
m_Scale: 1
m_AtlasIndex: 0
m_ClassDefinitionType: 0
- m_Index: 490
m_Metrics:
m_Width: 129.75
m_Height: 98.25
m_HorizontalBearingX: -0.75
m_HorizontalBearingY: 97.5
m_HorizontalAdvance: 129
m_Width: 123.71875
m_Height: 93.6875
m_HorizontalBearingX: -0.71875
m_HorizontalBearingY: 92.96875
m_HorizontalAdvance: 123
m_GlyphRect:
m_X: 302
m_Y: 134
m_Width: 130
m_Height: 99
m_X: 378
m_Y: 123
m_Width: 124
m_Height: 94
m_Scale: 1
m_AtlasIndex: 0
m_ClassDefinitionType: 0
- m_Index: 491
m_Metrics:
m_Width: 129.75
m_Height: 98.25
m_Width: 123.71875
m_Height: 93.6875
m_HorizontalBearingX: 0
m_HorizontalBearingY: 97.5
m_HorizontalAdvance: 129
m_HorizontalBearingY: 92.96875
m_HorizontalAdvance: 123
m_GlyphRect:
m_X: 270
m_Y: 12
m_Width: 130
m_Height: 99
m_X: 378
m_Y: 10
m_Width: 124
m_Height: 94
m_Scale: 1
m_AtlasIndex: 0
m_ClassDefinitionType: 0
- m_Index: 510
m_Metrics:
m_Width: 114.375
m_Height: 66
m_HorizontalBearingX: -0.75
m_HorizontalBearingY: 89.4375
m_HorizontalAdvance: 112.875
m_Width: 109.0625
m_Height: 62.9375
m_HorizontalBearingX: -0.71875
m_HorizontalBearingY: 85.28125
m_HorizontalAdvance: 107.625
m_GlyphRect:
m_X: 302
m_Y: 256
m_Width: 115
m_Height: 67
m_X: 152
m_Y: 423
m_Width: 110
m_Height: 64
m_Scale: 1
m_AtlasIndex: 0
m_ClassDefinitionType: 0
- m_Index: 561
m_Metrics:
m_Width: 112.875
m_Height: 112.875
m_Width: 107.625
m_Height: 107.625
m_HorizontalBearingX: 0
m_HorizontalBearingY: 104.8125
m_HorizontalAdvance: 112.875
m_HorizontalBearingY: 99.9375
m_HorizontalAdvance: 107.625
m_GlyphRect:
m_X: 12
m_Y: 334
m_Width: 113
m_Height: 114
m_X: 251
m_Y: 10
m_Width: 108
m_Height: 108
m_Scale: 1
m_AtlasIndex: 0
m_ClassDefinitionType: 0
- m_Index: 580
m_Metrics:
m_Width: 129
m_Height: 129
m_Width: 123
m_Height: 123
m_HorizontalBearingX: 0
m_HorizontalBearingY: 112.875
m_HorizontalAdvance: 129
m_HorizontalBearingY: 107.625
m_HorizontalAdvance: 123
m_GlyphRect:
m_X: 118
m_Y: 12
m_Width: 129
m_Height: 130
m_X: 137
m_Y: 153
m_Width: 123
m_Height: 124
m_Scale: 1
m_AtlasIndex: 0
m_ClassDefinitionType: 0
- m_Index: 616
m_Metrics:
m_Width: 129
m_Height: 129
m_Width: 123
m_Height: 123
m_HorizontalBearingX: 0
m_HorizontalBearingY: 112.875
m_HorizontalAdvance: 129
m_HorizontalBearingY: 107.625
m_HorizontalAdvance: 123
m_GlyphRect:
m_X: 12
m_Y: 181
m_Width: 129
m_Height: 130
m_X: 10
m_Y: 316
m_Width: 123
m_Height: 124
m_Scale: 1
m_AtlasIndex: 0
m_ClassDefinitionType: 0
- m_Index: 648
m_Metrics:
m_Width: 112.875
m_Height: 28.21875
m_Width: 107.625
m_Height: 26.90625
m_HorizontalBearingX: 0
m_HorizontalBearingY: 62.484375
m_HorizontalAdvance: 112.875
m_HorizontalBearingY: 59.578125
m_HorizontalAdvance: 107.625
m_GlyphRect:
m_X: 12
m_Y: 471
m_Width: 113
m_Height: 29
m_X: 10
m_Y: 459
m_Width: 108
m_Height: 28
m_Scale: 1
m_AtlasIndex: 0
m_ClassDefinitionType: 0
- m_Index: 852
m_Metrics:
m_Width: 107.625
m_Height: 126.84375
m_HorizontalBearingX: 0
m_HorizontalBearingY: 111.46875
m_HorizontalAdvance: 107.625
m_GlyphRect:
m_X: 10
m_Y: 169
m_Width: 108
m_Height: 128
m_Scale: 1
m_AtlasIndex: 0
m_ClassDefinitionType: 0
- m_Index: 860
m_Metrics:
m_Width: 123.234375
m_Height: 123.46875
m_HorizontalBearingX: -0.234375
m_HorizontalBearingY: 107.859375
m_HorizontalAdvance: 123
m_GlyphRect:
m_X: 108
m_Y: 10
m_Width: 124
m_Height: 124
m_Scale: 1
m_AtlasIndex: 0
m_ClassDefinitionType: 0
- m_Index: 864
m_Metrics:
m_Width: 82.125
m_Height: 145.875
m_HorizontalBearingX: -0.75
m_HorizontalBearingY: 120.9375
m_HorizontalAdvance: 80.625
m_Width: 78.3125
m_Height: 139.09375
m_HorizontalBearingX: -0.71875
m_HorizontalBearingY: 115.3125
m_HorizontalAdvance: 76.875
m_GlyphRect:
m_X: 12
m_Y: 12
m_Width: 83
m_Height: 146
m_X: 10
m_Y: 10
m_Width: 79
m_Height: 140
m_Scale: 1
m_AtlasIndex: 0
m_ClassDefinitionType: 0
@@ -376,6 +406,14 @@ MonoBehaviour:
m_Unicode: 61761
m_GlyphIndex: 648
m_Scale: 1
- m_ElementType: 1
m_Unicode: 62189
m_GlyphIndex: 852
m_Scale: 1
- m_ElementType: 1
m_Unicode: 62211
m_GlyphIndex: 860
m_Scale: 1
- m_ElementType: 1
m_Unicode: 62217
m_GlyphIndex: 864
@@ -388,94 +426,106 @@ MonoBehaviour:
m_ClearDynamicDataOnBuild: 0
m_AtlasWidth: 512
m_AtlasHeight: 512
m_AtlasPadding: 11
m_AtlasPadding: 9
m_AtlasRenderMode: 4165
m_UsedGlyphRects:
- m_X: 0
m_Y: 0
m_Width: 106
m_Height: 169
m_Width: 98
m_Height: 159
- m_X: 0
m_Y: 169
m_Width: 152
m_Height: 153
- m_X: 106
m_Y: 159
m_Width: 127
m_Height: 147
- m_X: 98
m_Y: 0
m_Width: 152
m_Height: 153
m_Width: 143
m_Height: 143
- m_X: 0
m_Y: 322
m_Width: 136
m_Height: 137
m_Y: 306
m_Width: 142
m_Height: 143
- m_X: 0
m_Y: 459
m_Width: 136
m_Height: 52
- m_X: 136
m_Y: 322
m_Width: 120
m_Height: 137
- m_X: 152
m_Y: 153
m_Width: 138
m_Height: 130
- m_X: 258
m_Y: 449
m_Width: 127
m_Height: 47
- m_X: 127
m_Y: 143
m_Width: 142
m_Height: 143
- m_X: 241
m_Y: 0
m_Width: 153
m_Height: 122
- m_X: 290
m_Y: 122
m_Width: 153
m_Height: 122
- m_X: 290
m_Y: 244
m_Width: 138
m_Height: 90
- m_X: 256
m_Y: 334
m_Width: 122
m_Height: 122
m_Width: 127
m_Height: 127
- m_X: 368
m_Y: 0
m_Width: 143
m_Height: 113
- m_X: 368
m_Y: 113
m_Width: 143
m_Height: 113
- m_X: 142
m_Y: 286
m_Width: 112
m_Height: 127
- m_X: 142
m_Y: 413
m_Width: 129
m_Height: 83
- m_X: 254
m_Y: 286
m_Width: 129
m_Height: 121
- m_X: 383
m_Y: 226
m_Width: 114
m_Height: 113
m_FreeGlyphRects:
- m_X: 136
m_Y: 459
m_Width: 375
m_Height: 52
- m_X: 106
m_Y: 153
m_Width: 46
- m_X: 0
m_Y: 496
m_Width: 511
m_Height: 15
- m_X: 98
m_Y: 143
m_Width: 29
m_Height: 16
- m_X: 258
m_Y: 122
m_Width: 32
m_Height: 31
- m_X: 411
m_Y: 0
m_Width: 100
m_Height: 122
- m_X: 443
m_Y: 0
m_Width: 68
m_Height: 511
- m_X: 152
m_Y: 283
m_Width: 138
m_Height: 39
- m_X: 428
m_Y: 244
m_Width: 83
m_Height: 267
- m_X: 256
m_Y: 456
m_Width: 255
m_Height: 55
- m_X: 378
m_Y: 334
m_Width: 133
m_Height: 177
- m_X: 256
m_Y: 283
m_Width: 34
m_Height: 51
- m_X: 241
m_Y: 127
m_Width: 127
m_Height: 16
- m_X: 127
m_Y: 286
m_Width: 15
m_Height: 20
- m_X: 127
m_Y: 449
m_Width: 15
m_Height: 62
- m_X: 271
m_Y: 407
m_Width: 240
m_Height: 104
- m_X: 269
m_Y: 127
m_Width: 99
m_Height: 159
- m_X: 254
m_Y: 407
m_Width: 257
m_Height: 6
- m_X: 269
m_Y: 226
m_Width: 114
m_Height: 60
- m_X: 383
m_Y: 339
m_Width: 128
m_Height: 172
- m_X: 497
m_Y: 226
m_Width: 14
m_Height: 285
m_FontFeatureTable:
m_MultipleSubstitutionRecords: []
m_LigatureSubstitutionRecords: []
@@ -579,7 +629,7 @@ Texture2D:
m_ColorSpace: 0
m_PlatformBlob:
image data: 262144
_typelessdata: 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001030505060706060402000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001020001030505060606060503010002010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002040504030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003070b0e0f10111211100f0c090402000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002040606080a0c0d070b0d0f1011111110100e0b080d0b0a0807050503000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001030506090d0f100f0d0a06060402000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001060b0c1115181a1b1c1c1b1b1916120f0c09040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003050607090c0f1011131517171115181a1b1b1c1b1b1a1815111816141311100f0d0a070504020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003080b0e10101417191a1a181511100f0c0904000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004081014151b1f2225252627262523201c1917130e080200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000305090d0f11111316191b1b1d1f21221a1f2224252626262525231f1b22211f1d1c1b1a181410100e0c080503010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001070c1115181a1b1f2224252423201b1b1916120e0802000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000Line truncated
_typelessdata: 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040607060400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020507080a090707040100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020507080b0d0e0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0e0c0a070604000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010506060401000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010507070c10131413100c0706040100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003090e12141517161413110d080603000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000104090e121415181a1b1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1c1a19171413100c07010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030709090e111312110d0807050200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002080d111314181d1f201f1d181413100d07010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040a0f141a1e2122232321201d1913120f0b0605010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001070d11141a1e2121252628292929292929292929292929292929292929292929292929292929292929292929292929292929292929292929292929292929292929292929292929292929292929292929292929292929292928272624201f1d1812100b0500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040a0f1315161b1e1f1f1e1a1514120e0903000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040c13191d202124292c2d2c292420201d18120c04000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000070e151b1f262a2d2e302f2d2c2924201f1c1714110d080603000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060c13181d20252a2d2e3233343535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353433312d2c29241d1c160f0a040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000Line truncated
m_StreamData:
serializedVersion: 2
offset: 0
+1 -1
View File
@@ -1 +1 @@
f309,f111,f141,f04c,f0e2,f077,f061,f060,f0c8,f00c,f00d
f309,f111,f141,f04c,f0e2,f077,f061,f060,f0c8,f00c,f00d,f303,f2ed
File diff suppressed because it is too large. Load diff
+129 -5
View File
@@ -7,6 +7,8 @@ using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using TMPro;
using Unity.VisualScripting;
using UnityEditor;
using UnityEngine;
using UnityEngine.Networking;
using UnityEngine.SceneManagement;
@@ -27,7 +29,18 @@ public class ChatroomMenu : MonoBehaviour
private Coroutine refreshLoopRoutine;
private bool shouldScrollToBottom = true;
public Button downButton;
private bool isPaused;
public GameObject optionsPanel;
public Button optionsPanelExitButton;
public Button optionsPanelDeleteButton;
public Button optionsPanelEditButton;
public Button optionsPanelReportButton;
public Button optionsPanelCopyButton;
private ChatroomMessage selectedMessageForOptions;
public GameObject editMessagePanelSample;
private GameObject editMessagePanelCurrent;
void Start()
{
@@ -43,6 +56,49 @@ public class ChatroomMenu : MonoBehaviour
messageInputField.textComponent.textWrappingMode = TextWrappingModes.Normal;
messageInputField.onSubmit.AddListener(async (_) => await HandleMessageSubmit());
refreshLoopRoutine = StartCoroutine(Loop());
optionsPanelExitButton.onClick.AddListener(() =>
{
optionsPanel.SetActive(false);
selectedMessageForOptions = null;
});
optionsPanelDeleteButton.onClick.AddListener(async () =>
{
if (selectedMessageForOptions != null) await HandleDelete();
});
optionsPanelDeleteButton.onClick.AddListener(optionsPanelExitButton.onClick.Invoke);
optionsPanelEditButton.onClick.AddListener(() =>
{
var editMessage = Instantiate(editMessagePanelSample, editMessagePanelSample.transform.parent);
editMessagePanelCurrent = editMessage;
var editMessageChild = editMessage.transform.GetChild(0);
var editMessageChildExitButton = editMessageChild.GetChild(0).GetComponent<Button>();
var editMessageChildSubmitButton = editMessageChild.GetChild(1).GetComponent<Button>();
var editMessageChildOriginalPreview = editMessageChild.GetChild(2).gameObject;
var editMessageChildEditedPreview = editMessageChild.GetChild(3).gameObject;
var editMessageChildNewContentInputBox = editMessageChild.GetChild(4).GetComponent<TMP_InputField>();
editMessageChildNewContentInputBox.text = Encoding.UTF8.GetString(Convert.FromBase64String(selectedMessageForOptions.Content));
editMessageChildExitButton.onClick.AddListener(() =>
{
editMessagePanelCurrent = null;
Destroy(editMessage);
optionsPanel.SetActive(true);
});
editMessageChildSubmitButton.onClick.AddListener(async () =>
{
await HandleEdit();
editMessagePanelCurrent = null;
Destroy(editMessage);
selectedMessageForOptions = null;
});
optionsPanel.SetActive(false);
editMessage.SetActive(true);
});
optionsPanelCopyButton.onClick.AddListener(() =>
{
if (selectedMessageForOptions != null) GUIUtility.systemCopyBuffer = Encoding.UTF8.GetString(Convert.FromBase64String(selectedMessageForOptions.Content));
});
optionsPanelCopyButton.onClick.AddListener(optionsPanelExitButton.onClick.Invoke);
}
IEnumerator Loop()
@@ -168,6 +224,7 @@ public class ChatroomMenu : MonoBehaviour
async void Refresh()
{
if (isPaused) return;
using UnityWebRequest request = UnityWebRequest.Get(SensitiveInfo.SERVER_DATABASE_PREFIX + "getChatroomMessages.php");
request.SetRequestHeader("Requester", "BerryDashClient");
request.SetRequestHeader("ClientVersion", Application.version);
@@ -198,10 +255,30 @@ public class ChatroomMenu : MonoBehaviour
shouldClear = false;
var messages = JsonConvert.DeserializeObject<ChatroomMessage[]>(response);
var localUserId = BazookaManager.Instance.GetAccountID();
var sortedMessages = messages.OrderBy(m => m.ID).ToArray();
foreach (var message in messages)
{
if (content.transform.Find("ChatroomRow_" + message.ID + "_" + message.UserID) != null)
var obj = content.transform.Find("ChatroomRow_" + message.ID);
if (obj != null || message.Deleted)
{
if (message.Deleted && obj != null)
{
Destroy(obj.gameObject);
}
else if (obj != null)
{
obj.SetSiblingIndex((int)message.ID);
if (obj.GetChild(3).GetComponent<TMP_Text>().text != Encoding.UTF8.GetString(Convert.FromBase64String(message.Content)))
{
obj.GetChild(3).GetComponent<TMP_Text>().text = Encoding.UTF8.GetString(Convert.FromBase64String(message.Content));
}
var button = obj.GetChild(4).GetComponent<Button>();
if (!button.interactable)
{
button.interactable = true;
button.onClick.AddListener(() => OptionsButtonClick(message, localUserId ?? 0));
}
}
continue;
}
if (content.transform.childCount > 50)
@@ -252,10 +329,10 @@ public class ChatroomMenu : MonoBehaviour
playerIcon.color = Color.white;
playerOverlayIcon.color = Color.white;
}
optionsButton.onClick.AddListener(OptionsButtonClick);
rowInfo.name = "ChatroomRow_" + message.ID + "_" + message.UserID;
optionsButton.onClick.AddListener(() => OptionsButtonClick(message, localUserId ?? 0));
rowInfo.name = "ChatroomRow_" + message.ID;
var entryComponet = rowInfo.AddComponent<ChatroomMenuEntry>();
entryComponet.Init(bgImg, optionsButton, localUserId != null && message.UserID == localUserId);
entryComponet.Init(bgImg, optionsButton);
rowInfo.SetActive(true);
}
break;
@@ -277,14 +354,61 @@ public class ChatroomMenu : MonoBehaviour
}
}
async Task HandleDelete()
{
EncryptedWWWForm dataForm = new();
dataForm.AddField("id", selectedMessageForOptions.ID.ToString());
dataForm.AddField("token", BazookaManager.Instance.GetAccountSession());
dataForm.AddField("username", BazookaManager.Instance.GetAccountName());
using UnityWebRequest request = UnityWebRequest.Post(SensitiveInfo.SERVER_DATABASE_PREFIX + "deleteChatroomMessage.php", dataForm.form);
request.SetRequestHeader("Requester", "BerryDashClient");
request.SetRequestHeader("ClientVersion", Application.version);
request.SetRequestHeader("ClientPlatform", Application.platform.ToString());
await request.SendWebRequest();
shouldScrollToBottom = true;
StopCoroutine(refreshLoopRoutine);
refreshLoopRoutine = StartCoroutine(Loop());
}
async Task HandleEdit()
{
var newContent = editMessagePanelCurrent.transform.GetChild(0).GetChild(4).GetComponent<TMP_InputField>().text;
selectedMessageForOptions.Content = newContent;
EncryptedWWWForm dataForm = new();
dataForm.AddField("id", selectedMessageForOptions.ID.ToString());
dataForm.AddField("content", newContent);
dataForm.AddField("token", BazookaManager.Instance.GetAccountSession());
dataForm.AddField("username", BazookaManager.Instance.GetAccountName());
using UnityWebRequest request = UnityWebRequest.Post(SensitiveInfo.SERVER_DATABASE_PREFIX + "editChatroomMessage.php", dataForm.form);
request.SetRequestHeader("Requester", "BerryDashClient");
request.SetRequestHeader("ClientVersion", Application.version);
request.SetRequestHeader("ClientPlatform", Application.platform.ToString());
await request.SendWebRequest();
shouldScrollToBottom = true;
StopCoroutine(refreshLoopRoutine);
refreshLoopRoutine = StartCoroutine(Loop());
var button = content.transform.Find("ChatroomRow_" + selectedMessageForOptions.ID).GetChild(4).GetComponent<Button>();
button.onClick.RemoveAllListeners();
button.interactable = false;
}
IEnumerator ScrollToBottom()
{
yield return new WaitForEndOfFrame();
content.transform.localPosition = new UnityEngine.Vector2(0f, content.GetComponent<RectTransform>().sizeDelta.y);
}
void OptionsButtonClick()
void OptionsButtonClick(ChatroomMessage message, BigInteger localUserId)
{
selectedMessageForOptions = message;
optionsPanelDeleteButton.transform.parent.gameObject.SetActive(localUserId != 0 && message.UserID == localUserId);
optionsPanelEditButton.transform.parent.gameObject.SetActive(localUserId != 0 && message.UserID == localUserId);
optionsPanelReportButton.transform.parent.gameObject.SetActive(localUserId != 0 && message.UserID != localUserId);
optionsPanel.SetActive(true);
}
void OnApplicationPause(bool pause)
{
isPaused = pause;
}
}
+2 -4
View File
@@ -5,14 +5,12 @@ using UnityEngine.UI;
public class ChatroomMenuEntry : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler, IPointerClickHandler {
private Image bgImg;
private Button optionsButton;
private bool isMadeBySelf = false;
private static ChatroomMenuEntry activeEntry;
public void Init(Image bgImgArg, Button optionsButtonArg, bool isMadeBySelfArg)
public void Init(Image bgImgArg, Button optionsButtonArg)
{
bgImg = bgImgArg;
optionsButton = optionsButtonArg;
isMadeBySelf = isMadeBySelfArg;
bgImg.color = new Color(50f / 255f, 50f / 255f, 50f / 255f);
optionsButton.gameObject.SetActive(false);
}
@@ -55,7 +53,7 @@ public class ChatroomMenuEntry : MonoBehaviour, IPointerEnterHandler, IPointerEx
private void Activate() {
activeEntry = this;
bgImg.color = new Color(60f/255f, 60f/255f, 60f/255f);
optionsButton.gameObject.SetActive(isMadeBySelf);
optionsButton.gameObject.SetActive(true);
}
private void Deactivate() {
+4 -1
View File
@@ -1,7 +1,6 @@
using UnityEngine.Scripting;
using Newtonsoft.Json;
using System.Numerics;
using Newtonsoft.Json.Linq;
[Preserve]
public class ChatroomMessage {
@@ -36,4 +35,8 @@ public class ChatroomMessage {
[Preserve]
[JsonProperty("overlayColor")]
public int[] OverlayColor { get; set; }
[Preserve]
[JsonProperty("deleted")]
public bool Deleted { get; set; }
}