public LuzMovementWaypoint(BinaryReader reader, LuzPathData data) : base(reader, data) { var configCount = reader.ReadUInt32(); Configs = new LuzPathConfig[configCount]; for (var i = 0; i < configCount; i++) { Configs[i] = new LuzPathConfig(reader); } }
public LuzSpawnerWaypoint(BinaryReader reader, LuzPathData data) : base(reader, data) { Rotation = new NiQuaternion(reader, null); var configCount = reader.ReadUInt32(); Configs = new LuzPathConfig[configCount]; for (var i = 0; i < configCount; i++) { Configs[i] = new LuzPathConfig(reader); } }
public LuzRailWaypoint(BinaryReader reader, LuzPathData data) : base(reader, data) { reader.ReadSingle(); reader.ReadSingle(); reader.ReadSingle(); reader.ReadSingle(); if (data.Version >= 17) { reader.ReadSingle(); } var configCount = reader.ReadUInt32(); Configs = new LuzPathConfig[configCount]; for (var i = 0; i < configCount; i++) { Configs[i] = new LuzPathConfig(reader); } }