Skip to content

Commit f137a4e

Browse files
committed
update(gamedata): Fix from last update
1 parent 7b4f181 commit f137a4e

File tree

8 files changed

+18
-7
lines changed

8 files changed

+18
-7
lines changed

generators/docsgen/functions/GenerateClassPage.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import GenerateClassFunctions from './GenerateClassFunctions.mjs'
66
import GenerateClassConstructor from './GenerateClassConstructor.mjs'
77

88
export default function GenerateClassPage(pageKey, pageContent, category) {
9-
let page = readFileSync("templates/types.tpl").toString()
9+
let page = readFileSync("templates/class.tpl").toString()
1010
let path = currentPath.split("/").slice(0, -1).join("/")
1111

1212
page = page.replace("{title}", pageContent.name)

generators/docsgen/templates/class.tpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@
22

33
{description}
44

5+
> [!note]
6+
> The C# section of Plugins is in **BETA**, bugs may exist, please report them on [GitHub Issues](https://github.com/swiftly-solution/swiftly).
7+
58
{code}

generators/docsgen/templates/events.tpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@
22

33
{description}
44

5+
> [!note]
6+
> The C# section of Plugins is in **BETA**, bugs may exist, please report them on [GitHub Issues](https://github.com/swiftly-solution/swiftly).
7+
58
{code}

generators/docsgen/templates/function.tpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@
22

33
{description}
44

5+
> [!note]
6+
> The C# section of Plugins is in **BETA**, bugs may exist, please report them on [GitHub Issues](https://github.com/swiftly-solution/swiftly).
7+
58
{code}

generators/docsgen/templates/types.tpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@
22

33
{description}
44

5+
> [!note]
6+
> The C# section of Plugins is in **BETA**, bugs may exist, please report them on [GitHub Issues](https://github.com/swiftly-solution/swiftly).
7+
58
{code}

plugin_files/gamedata/cs2/core/offsets.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"linux": 80
55
},
66
"CBasePlayerPawn_CommitSuicide": {
7-
"windows": 404,
8-
"linux": 404
7+
"windows": 403,
8+
"linux": 403
99
},
1010
"CCSPlayerController_ChangeTeam": {
1111
"windows": 106,
@@ -16,8 +16,8 @@
1616
"linux": 164
1717
},
1818
"CCSPlayerController_Respawn": {
19-
"windows": 275,
20-
"linux": 277
19+
"windows": 274,
20+
"linux": 276
2121
},
2222
"CollisionRulesChanged": {
2323
"windows": 189,

plugin_files/gamedata/cs2/core/signatures.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"CCSPlayerPawnBase_PostThink": {
7878
"lib": "server",
7979
"windows": "48 ? ? 55 53 56 57 41 ? 48 ? ? ? 48 ? ? ? ? ? ? 4C 89 68",
80-
"linux": "55 48 89 E5 41 57 41 56 49 89 FE 41 55 41 54 53 48 83 EC 58 E8"
80+
"linux": "55 48 89 E5 41 57 41 56 41 55 41 54 53 48 89 FB 48 83 EC 58 E8 ? ? ? ? F3 0F 10 83"
8181
},
8282
"CGameRules_TerminateRound": {
8383
"lib": "server",

xmake.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,6 @@ target(PROJECT_NAME.."-CS2")
207207
--[[ Protobuf Section ]]
208208

209209
on_load(function(target)
210-
211210
if os.exists("build/proto") then
212211
return
213212
end

0 commit comments

Comments
 (0)