From 1353fa6afbfbf1f01a745253fa380ffbdb05df3b Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期三, 07 十一月 2018 09:52:13 +0800
Subject: [PATCH] 4398 【1.2】聊天气泡框前端去掉Vip礼包的支持
---
Core/GameEngine/Model/Config/ChatBubbleBoxConfig.cs | 23 ++++++++++-------------
1 files changed, 10 insertions(+), 13 deletions(-)
diff --git a/Core/GameEngine/Model/Config/ChatBubbleBoxConfig.cs b/Core/GameEngine/Model/Config/ChatBubbleBoxConfig.cs
index 5e9355d..a799bb7 100644
--- a/Core/GameEngine/Model/Config/ChatBubbleBoxConfig.cs
+++ b/Core/GameEngine/Model/Config/ChatBubbleBoxConfig.cs
@@ -1,6 +1,6 @@
锘�//--------------------------------------------------------
// [Author]: 绗簩涓栫晫
-// [ Date ]: Tuesday, November 06, 2018
+// [ Date ]: Wednesday, November 07, 2018
//--------------------------------------------------------
using UnityEngine;
@@ -14,7 +14,6 @@
public int ID { get ; private set ; }
public string Name { get ; private set; }
public int NeedLV { get ; private set ; }
- public int NeedVIPLVGift { get ; private set ; }
public string leftBubbleIcon { get ; private set; }
public string rightBubbleIcon { get ; private set; }
public int[] leftOffset;
@@ -39,40 +38,38 @@
NeedLV=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0;
- NeedVIPLVGift=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0;
+ leftBubbleIcon = rawContents[3].Trim();
- leftBubbleIcon = rawContents[4].Trim();
+ rightBubbleIcon = rawContents[4].Trim();
- rightBubbleIcon = rawContents[5].Trim();
-
- string[] leftOffsetStringArray = rawContents[6].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries);
+ string[] leftOffsetStringArray = rawContents[5].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries);
leftOffset = new int[leftOffsetStringArray.Length];
for (int i=0;i<leftOffsetStringArray.Length;i++)
{
int.TryParse(leftOffsetStringArray[i],out leftOffset[i]);
}
- string[] rightOffsetStringArray = rawContents[7].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries);
+ string[] rightOffsetStringArray = rawContents[6].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries);
rightOffset = new int[rightOffsetStringArray.Length];
for (int i=0;i<rightOffsetStringArray.Length;i++)
{
int.TryParse(rightOffsetStringArray[i],out rightOffset[i]);
}
- Icon = rawContents[8].Trim();
+ Icon = rawContents[7].Trim();
- Jump=IsNumeric(rawContents[9]) ? int.Parse(rawContents[9]):0;
+ Jump=IsNumeric(rawContents[8]) ? int.Parse(rawContents[8]):0;
- GainTip = rawContents[10].Trim();
+ GainTip = rawContents[9].Trim();
- string[] colorStringArray = rawContents[11].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries);
+ string[] colorStringArray = rawContents[10].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries);
color = new int[colorStringArray.Length];
for (int i=0;i<colorStringArray.Length;i++)
{
int.TryParse(colorStringArray[i],out color[i]);
}
- top=IsNumeric(rawContents[12]) ? int.Parse(rawContents[12]):0;
+ top=IsNumeric(rawContents[11]) ? int.Parse(rawContents[11]):0;
}
catch (Exception ex)
{
--
Gitblit v1.8.0