From 301753e85218375dcbe4c1138d0f161ccdcc89da Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期二, 22 一月 2019 17:45:22 +0800
Subject: [PATCH] 5920 【前端】【1.5.100】诛仙塔功能开发

---
 System/Rank/RankModel.cs |   22 +++++++++++++++++-----
 1 files changed, 17 insertions(+), 5 deletions(-)

diff --git a/System/Rank/RankModel.cs b/System/Rank/RankModel.cs
index 5005c6e..5553898 100644
--- a/System/Rank/RankModel.cs
+++ b/System/Rank/RankModel.cs
@@ -1,10 +1,11 @@
-锘縰sing System.Collections;
+锘縰sing System;
+using System.Collections;
 using System.Collections.Generic;
 using UnityEngine;
 namespace Snxxz.UI
 {
     [XLua.LuaCallCSharp]
-	public class RankModel : Model
+	public class RankModel : Model,IPlayerLoginOk
     {
         private int m_RankType = 0;
         public int rankType {
@@ -19,12 +20,23 @@
 
         public override void Init()
         {
-        }
-
+        }
+
+        public void OnPlayerLoginOk()
+        {
+            SendBegRank(PlayerRankData.RankType.JadeDynastyTower);
+        }
+
         public override void UnInit()
         {
+        }
+
+        public void SendBegRank(PlayerRankData.RankType rankType)
+        {
+            C1001_tagCWatchBillboard rankPack = new C1001_tagCWatchBillboard();
+            rankPack.Type = (byte)rankType;
+            GameNetSystem.Instance.SendInfo(rankPack);
         }
-
     }
 }
 

--
Gitblit v1.8.0