From 485db99b5c51a971c173664cf6e808dc8424b0a0 Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期五, 17 十月 2025 17:19:51 +0800
Subject: [PATCH] 136 子 【挑战】战锤秘境 / 【挑战】战锤秘境-客户端 移除错误接入
---
Main/Config/Configs/FrameAnimationConfig.cs | 103 ++++++++++++++++++++++++++-------------------------
1 files changed, 53 insertions(+), 50 deletions(-)
diff --git a/Main/Config/Configs/FrameAnimationConfig.cs b/Main/Config/Configs/FrameAnimationConfig.cs
index 32acc17..6208e30 100644
--- a/Main/Config/Configs/FrameAnimationConfig.cs
+++ b/Main/Config/Configs/FrameAnimationConfig.cs
@@ -1,50 +1,53 @@
-锘�//--------------------------------------------------------
-// [Author]: YYL
-// [ Date ]: 2025骞�6鏈�30鏃�
-//--------------------------------------------------------
-
-using System.Collections.Generic;
-using System.IO;
-using System.Threading;
-using System;
-using UnityEngine;
-using LitJson;
-
-public partial class FrameAnimationConfig : ConfigBase<string, FrameAnimationConfig>
-{
-
- public string name;
- public int frameCnt;
- public int speed;
- public int frameType;
- public int EmojiPackID;
- public string folder;
-
- public override string LoadKey(string _key)
- {
- string key = GetKey(_key);
- return key;
- }
-
- public override void LoadConfig(string input)
- {
- try {
- string[] tables = input.Split('\t');
- name = tables[0];
-
- int.TryParse(tables[1],out frameCnt);
-
- int.TryParse(tables[2],out speed);
-
- int.TryParse(tables[3],out frameType);
-
- int.TryParse(tables[4],out EmojiPackID);
-
- folder = tables[5];
- }
- catch (Exception exception)
- {
- Debug.LogError(exception);
- }
- }
-}
+锘�//--------------------------------------------------------
+// [Author]: YYL
+// [ Date ]: 2025骞�8鏈�5鏃�
+//--------------------------------------------------------
+
+using System.Collections.Generic;
+using System;
+using UnityEngine;
+using LitJson;
+
+public partial class FrameAnimationConfig : ConfigBase<string, FrameAnimationConfig>
+{
+ static FrameAnimationConfig()
+ {
+ // 璁块棶杩囬潤鎬佹瀯閫犲嚱鏁�
+ visit = true;
+ }
+
+ public string name;
+ public int frameCnt;
+ public int speed;
+ public int frameType;
+ public int EmojiPackID;
+ public string folder;
+
+ public override string LoadKey(string _key)
+ {
+ string key = GetKey(_key);
+ return key;
+ }
+
+ public override void LoadConfig(string input)
+ {
+ try {
+ string[] tables = input.Split('\t');
+ name = tables[0];
+
+ int.TryParse(tables[1],out frameCnt);
+
+ int.TryParse(tables[2],out speed);
+
+ int.TryParse(tables[3],out frameType);
+
+ int.TryParse(tables[4],out EmojiPackID);
+
+ folder = tables[5];
+ }
+ catch (Exception exception)
+ {
+ Debug.LogError(exception);
+ }
+ }
+}
--
Gitblit v1.8.0