From 0d7482d5a0e8bf082abfb4b5bfbfee03597cdc3a Mon Sep 17 00:00:00 2001
From: lwb <q3213421wrwqr>
Date: 星期四, 25 二月 2021 15:43:08 +0800
Subject: [PATCH] 9527 去掉xlua
---
System/Rank/RankModel.cs | 50 +++++++++++++++++++++++++-------------------------
1 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/System/Rank/RankModel.cs b/System/Rank/RankModel.cs
index 49b34c3..1a59da8 100644
--- a/System/Rank/RankModel.cs
+++ b/System/Rank/RankModel.cs
@@ -1,11 +1,11 @@
锘縰sing System;
-using System.Collections;
-using System.Collections.Generic;
-using UnityEngine;
-namespace Snxxz.UI
-{
- [XLua.LuaCallCSharp]
- public class RankModel : Model, IBeforePlayerDataInitialize, IPlayerLoginOk
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+namespace Snxxz.UI
+{
+
+ public class RankModel : Model, IBeforePlayerDataInitialize, IPlayerLoginOk
{
Dictionary<int, List<RankData>> m_RankDatas = new Dictionary<int, List<RankData>>();
@@ -63,20 +63,20 @@
}
}
}
-
- public int displayRankCount { get; private set; }
+
+ public int displayRankCount { get; private set; }
public int jumpRankType { get; set; }
readonly ObjectPool<RankData> m_RankDataPool = new ObjectPool<RankData>(OnGetRankData, OnReleaseRankData);
-
- public event Action selectRankIdRefresh;
- public event Action selectSubRankIdRefresh;
- public event Action<int> onRankRefresh;
-
- public override void Init()
- {
- jumpRankType = -1;
- ParseConfig();
+
+ public event Action selectRankIdRefresh;
+ public event Action selectSubRankIdRefresh;
+ public event Action<int> onRankRefresh;
+
+ public override void Init()
+ {
+ jumpRankType = -1;
+ ParseConfig();
}
public void OnBeforePlayerDataInitialize()
@@ -96,8 +96,8 @@
//SendBegRank(RankType.JadeDynastyTower);
}
- public override void UnInit()
- {
+ public override void UnInit()
+ {
}
void ParseConfig()
@@ -222,8 +222,8 @@
{
}
- }
-
+ }
+
public class RankData
{
public int type;
@@ -236,6 +236,6 @@
public uint cmpValue;
public uint cmpValue2;
public uint cmpValue3;
- }
-}
-
+ }
+}
+
--
Gitblit v1.8.0