Skip to content

Commit

Permalink
Add File.getContents method
Browse files Browse the repository at this point in the history
  • Loading branch information
botder committed Aug 7, 2023
1 parent 22930d8 commit b98f887
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Shared/mods/deathmatch/logic/luadefs/CLuaFileDefs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ void CLuaFileDefs::AddClass(lua_State* luaVM)
lua_classfunction(luaVM, "getPos", "fileGetPos");
lua_classfunction(luaVM, "getSize", "fileGetSize");
lua_classfunction(luaVM, "getPath", "fileGetPath");
lua_classfunction(luaVM, "getContents", "fileGetContents");
lua_classfunction(luaVM, "isEOF", "fileIsEOF");

lua_classfunction(luaVM, "setPos", "fileSetPos");
Expand Down

0 comments on commit b98f887

Please sign in to comment.