mirror of
https://github.com/ACEmulator/ACE
synced 2026-08-17 12:26:06 -04:00
* More Portal.Dat Parsing * Update * Fixed Palette, removed Debug commands * Fixed spacing issue * Added ContractTable
20 lines
579 B
C#
20 lines
579 B
C#
using System.Collections.Generic;
|
|
|
|
namespace ACE.DatLoader.Entity
|
|
{
|
|
public class PhysicsScriptTableData
|
|
{
|
|
public List<ScriptAndModData> Scripts { get; set; } = new List<ScriptAndModData>();
|
|
|
|
public static PhysicsScriptTableData Read(DatReader datReader)
|
|
{
|
|
PhysicsScriptTableData obj = new PhysicsScriptTableData();
|
|
|
|
uint num_scripts = datReader.ReadUInt32();
|
|
for (uint i = 0; i < num_scripts; i++)
|
|
obj.Scripts.Add(ScriptAndModData.Read(datReader));
|
|
|
|
return obj;
|
|
}
|
|
}
|
|
}
|