Rename to FoCAPI

This commit is contained in:
2026-03-01 17:10:27 -06:00
parent f7024acd8b
commit 952c233592
14 changed files with 354 additions and 241 deletions

View File

@@ -1,4 +1,4 @@
# SWEaW Hooks
# FoCAPI
A powrprof.dll hook which adds custom Lua functions to Forces of Corruption.
@@ -9,4 +9,5 @@ Currently only works with the debug kit `StarWarsI.exe`; `StarWarsG.exe` support
## Functions
- Global `WriteToFile(str a, str b)` - Appends a line of text `b` to the file name `a` in the game directory.
- Global `WriteToFile(str a, str b)` - Appends a line of text `b` to the file name `a` in the game directory.
- Global `Get_All_Players()` - Returns a 1-based Lua table of all active players, iterable with `ipairs()`. Each entry is the same PlayerWrapper type returned by `Find_Player()`.