From 4f6f182d26094b7b7512d656b5085f80e8af3dc9 Mon Sep 17 00:00:00 2001 From: Maya Date: Tue, 23 Aug 2022 03:54:54 +0200 Subject: Add ability to load Datatables from files (#238) * first version of kinda working custom datatables * Fix copy error * Finish custom datatables * Fix Merge * Fix line endings * Add fallback to rpak when ns_prefere_datatable_from_disk is true * fix typo * Bug fixess * Fix Function Registration hook * Set convar value * Fix Client and Ui VM * enable server auth with ms agian * Add Filters * FIx unused import * Merge remote-tracking branch 'upsteam/bobs-big-refactor-pr' into datatables Co-authored-by: RoyalBlue1 --- NorthstarDLL/filesystem.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'NorthstarDLL/filesystem.h') diff --git a/NorthstarDLL/filesystem.h b/NorthstarDLL/filesystem.h index abfdd14b..c326b419 100644 --- a/NorthstarDLL/filesystem.h +++ b/NorthstarDLL/filesystem.h @@ -59,7 +59,8 @@ class IFileSystem FileHandle_t (*Open)( IFileSystem::VTable2** fileSystem, const char* pFileName, const char* pOptions, const char* pathID, int64_t unknown); void (*Close)(IFileSystem* fileSystem, FileHandle_t file); - void* unknown2[6]; + long long (*Seek)(IFileSystem::VTable2** fileSystem, FileHandle_t file, long long offset, long long whence); + void* unknown2[5]; bool (*FileExists)(IFileSystem::VTable2** fileSystem, const char* pFileName, const char* pPathID); }; -- cgit v1.2.3