少年修仙传客户端代码仓库
client_Wu Xijin
2018-08-18 8621274fa0cfdfac468d99b9ea572caebc771c6c
1889 【前端】神兽地界及界面相关
9个文件已添加
209 ■■■■■ 已修改文件
Core/GameEngine/Model/Config/DogzDungeonConfig.cs 63 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Model/Config/DogzDungeonConfig.cs.meta 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/DogzDungeon.meta 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/DogzDungeon/DogzDungeonBreifInfoBehaviour.cs 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/DogzDungeon/DogzDungeonBreifInfoBehaviour.cs.meta 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/DogzDungeon/DogzDungeonModel.cs 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/DogzDungeon/DogzDungeonModel.cs.meta 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/DogzDungeon/DogzDungeonWin.cs 49 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/DogzDungeon/DogzDungeonWin.cs.meta 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Model/Config/DogzDungeonConfig.cs
New file
@@ -0,0 +1,63 @@
//--------------------------------------------------------
//    [Author]:            第二世界
//    [  Date ]:           Saturday, August 18, 2018
//--------------------------------------------------------
using UnityEngine;
using System;
namespace TableConfig {
    public partial class DogzDungeonConfig : ConfigBase {
        public int NPCID { get ; private set ; }
        public int MonsterType { get ; private set ; }
        public int RefreshTimeType { get ; private set ; }
        public int[] RefreshTime;
        public int[] RareItemID;
        public string PortraitID { get ; private set; }
        public override string getKey()
        {
            return NPCID.ToString();
        }
        public override void Parse() {
            try
            {
                NPCID=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
                MonsterType=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0;
                RefreshTimeType=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0;
                string[] RefreshTimeStringArray = rawContents[3].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries);
                RefreshTime = new int[RefreshTimeStringArray.Length];
                for (int i=0;i<RefreshTimeStringArray.Length;i++)
                {
                     int.TryParse(RefreshTimeStringArray[i],out RefreshTime[i]);
                }
                string[] RareItemIDStringArray = rawContents[4].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries);
                RareItemID = new int[RareItemIDStringArray.Length];
                for (int i=0;i<RareItemIDStringArray.Length;i++)
                {
                     int.TryParse(RareItemIDStringArray[i],out RareItemID[i]);
                }
                PortraitID = rawContents[5].Trim();
            }
            catch (Exception ex)
            {
                DebugEx.Log(ex);
            }
        }
    }
}
Core/GameEngine/Model/Config/DogzDungeonConfig.cs.meta
New file
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: e3a382a765dc3ce4db610c70a6b30d8f
timeCreated: 1534559386
licenseType: Pro
MonoImporter:
  serializedVersion: 2
  defaultReferences: []
  executionOrder: 0
  icon: {instanceID: 0}
  userData:
  assetBundleName:
  assetBundleVariant:
System/DogzDungeon.meta
New file
@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 52a985f55841d694dac464804eae545e
folderAsset: yes
timeCreated: 1534559436
licenseType: Pro
DefaultImporter:
  userData:
  assetBundleName:
  assetBundleVariant:
System/DogzDungeon/DogzDungeonBreifInfoBehaviour.cs
New file
@@ -0,0 +1,20 @@
//--------------------------------------------------------
//    [Author]:           第二世界
//    [  Date ]:           Saturday, August 18, 2018
//--------------------------------------------------------
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
namespace Snxxz.UI {
    public class DogzDungeonBreifInfoBehaviour : MonoBehaviour {
    }
}
System/DogzDungeon/DogzDungeonBreifInfoBehaviour.cs.meta
New file
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 61b922330133f6946a1b5f9b6b6f62a6
timeCreated: 1534559500
licenseType: Pro
MonoImporter:
  serializedVersion: 2
  defaultReferences: []
  executionOrder: 0
  icon: {instanceID: 0}
  userData:
  assetBundleName:
  assetBundleVariant:
System/DogzDungeon/DogzDungeonModel.cs
New file
@@ -0,0 +1,20 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Snxxz.UI
{
    public class DogzDungeonModel : Model
    {
        public override void Init()
        {
            throw new System.NotImplementedException();
        }
        public override void UnInit()
        {
            throw new System.NotImplementedException();
        }
    }
}
System/DogzDungeon/DogzDungeonModel.cs.meta
New file
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 978a73f0055381a48aef1e53492b7407
timeCreated: 1534559596
licenseType: Pro
MonoImporter:
  serializedVersion: 2
  defaultReferences: []
  executionOrder: 0
  icon: {instanceID: 0}
  userData:
  assetBundleName:
  assetBundleVariant:
System/DogzDungeon/DogzDungeonWin.cs
New file
@@ -0,0 +1,49 @@
//--------------------------------------------------------
//    [Author]:           第二世界
//    [  Date ]:           Saturday, August 18, 2018
//--------------------------------------------------------
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace Snxxz.UI {
    public class DogzDungeonWin : Window
    {
        #region Built-in
        protected override void BindController()
        {
        }
        protected override void AddListeners()
        {
        }
        protected override void OnPreOpen()
        {
        }
        protected override void OnAfterOpen()
        {
        }
        protected override void OnPreClose()
        {
        }
        protected override void OnAfterClose()
        {
        }
        #endregion
    }
}
System/DogzDungeon/DogzDungeonWin.cs.meta
New file
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: e5074977b4d949f40b8568222ecfc23b
timeCreated: 1534559453
licenseType: Pro
MonoImporter:
  serializedVersion: 2
  defaultReferences: []
  executionOrder: 0
  icon: {instanceID: 0}
  userData:
  assetBundleName:
  assetBundleVariant: