public TaxiNode(Record src) { Id = src[0]; Name = src.GetString(5); MapId = src[1]; Location = new Vector3(src.GetFloat(2), src.GetFloat(3), src.GetFloat(4)); IsHorde = KnownHordeMounts.Contains(src[6]) || KnownHordeMounts.Contains(src[7]); IsAlliance = KnownAllianceMounts.Contains(src[6]) || KnownAllianceMounts.Contains(src[7]); }
public WorldMapArea(Record src) { Id = src[0]; Map = src[1]; Area = src[2]; Name = src.GetString(3); BMin = new float[2]; BMin[0] = src.GetFloat(7); BMin[1] = src.GetFloat(5); BMax = new float[2]; BMax[0] = src.GetFloat(6); BMax[1] = src.GetFloat(4); }
public GameobjectDisplayInfoEntry(Record rec) { DisplayId = rec[0]; DataId = rec[1]; LowerBound = new Vector3(rec.GetFloat(12), rec.GetFloat(13), rec.GetFloat(14)); HigherBound = new Vector3(rec.GetFloat(15), rec.GetFloat(16), rec.GetFloat(17)); }