public void WriteData(Addr.Pod offset, dynamic data) { uint[] path = { (uint)Addr.BasePtr.Pod, (uint)offset }; WriteData(path, data); }
public dynamic GetValue(Racer racer, Addr.Pod datapoint) { return(GetValue(racer, DataBlock.Path.Pod, (uint)datapoint, Addr.GetType(datapoint), Addr.GetLength(datapoint))); }
// POD public dynamic GetData(Addr.Pod datapoint, uint len = 0) { uint[] path = { (uint)Addr.BasePtr.Pod, (uint)datapoint }; Core.DataType type = len > 0 ? Core.DataType.None : Addr.GetType(datapoint); return(GetData(path, type, Math.Max(0, len))); }
public static Path GetPathFromAddr(Addr.Pod a) { return(Path.Pod); }