예제 #1
0
		public override void Convert(byte[] rawData)
		{
			var xpInfo = new QuestXPInfo
			{
				Level = GetInt32(rawData, 0),
				RewXP = new[]
				{
					GetInt32(rawData, 2),
					GetInt32(rawData, 3),
					GetInt32(rawData, 4),
					GetInt32(rawData, 5),
					GetInt32(rawData, 6),
					GetInt32(rawData, 7),
					GetInt32(rawData, 8),
					GetInt32(rawData, 9)
				}
			};
			QuestMgr.QuestXpInfos[(uint)xpInfo.Level] = xpInfo;
		}
예제 #2
0
        public override void Convert(byte[] rawData)
        {
            QuestXPInfo questXpInfo = new QuestXPInfo()
            {
                Level = DBCRecordConverter.GetInt32(rawData, 0),
                RewXP = new int[8]
                {
                    DBCRecordConverter.GetInt32(rawData, 2),
                    DBCRecordConverter.GetInt32(rawData, 3),
                    DBCRecordConverter.GetInt32(rawData, 4),
                    DBCRecordConverter.GetInt32(rawData, 5),
                    DBCRecordConverter.GetInt32(rawData, 6),
                    DBCRecordConverter.GetInt32(rawData, 7),
                    DBCRecordConverter.GetInt32(rawData, 8),
                    DBCRecordConverter.GetInt32(rawData, 9)
                }
            };

            QuestMgr.QuestXpInfos[(uint)questXpInfo.Level] = questXpInfo;
        }
예제 #3
0
        public override void Convert(byte[] rawData)
        {
            var xpInfo = new QuestXPInfo
            {
                Level = GetInt32(rawData, 0),
                RewXP = new[]
                {
                    GetInt32(rawData, 2),
                    GetInt32(rawData, 3),
                    GetInt32(rawData, 4),
                    GetInt32(rawData, 5),
                    GetInt32(rawData, 6),
                    GetInt32(rawData, 7),
                    GetInt32(rawData, 8),
                    GetInt32(rawData, 9)
                }
            };

            QuestMgr.QuestXpInfos[(uint)xpInfo.Level] = xpInfo;
        }