Example #1
0
		public MonsterConfig(int Id,string Name,string Ename,string EnameShort,int Star,int Type,int Attr,int Cost,int AtkP,int VitP,int Modify,int Def,int  Mag,int Spd,int Hit,int Dhit,int Crt,int Luk,int Sum,int Range,int Mov,string Arrow,RLVector3List Skills,double[] BuffImmune,double[] AttrDef,int Res,int Icon,string Cover,int IsSpecial,int IsNew,double VsMark,string Remark)
		{
			this.Id= Id;
			this.Name= Name;
			this.Ename= Ename;
			this.EnameShort= EnameShort;
			this.Star= Star;
			this.Type= Type;
			this.Attr= Attr;
			this.Cost= Cost;
			this.AtkP= AtkP;
			this.VitP= VitP;
			this.Modify= Modify;
			this.Def= Def;
			this.Mag= Mag;
			this.Spd= Spd;
			this.Hit= Hit;
			this.Dhit= Dhit;
			this.Crt= Crt;
			this.Luk= Luk;
			this.Sum= Sum;
			this.Range= Range;
			this.Mov= Mov;
			this.Arrow= Arrow;
			this.Skills= Skills;
			this.BuffImmune= BuffImmune;
			this.AttrDef= AttrDef;
			this.Res= Res;
			this.Icon= Icon;
			this.Cover= Cover;
			this.IsSpecial= IsSpecial;
			this.IsNew= IsNew;
			this.VsMark= VsMark;
			this.Remark= Remark;
		}
Example #2
0
        public static RLVector3List Parse(string str)
        {
            RLVector3List data = new RLVector3List();

            string[] datas = str.Split('|');

            if (str != "" && datas.Length > 0)
            {
                data.list = new RLVector3[datas.Length];
                for (int i = 0; i < datas.Length; i++)
                {
                    data.list[i] = RLVector3.Parse(datas[i]);
                }
            }
            else
            {
                data.list = new RLVector3[] {};
            }

            return(data);
        }