Skip to content

Commit fc35537

Browse files
committed
Added support for CNetChan::RequestFile
1 parent ab5faf3 commit fc35537

3 files changed

Lines changed: 303 additions & 24 deletions

File tree

gamedata/filenetwork.txt

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@
3939
"windows" "\x55\x8B\xEC\x57\x8B\xF9\x8D\x8F\x94\x00\x00\x00\xE8\x2A\x2A\x2A\x2A\x85\xC0\x75\x2A\xB0\x01\x5F\x5D\xC2\x08\x00\x56\x8B\x75\x08\x85\xF6"
4040
// "SendFile: %s (ID %i)\n"
4141
}
42+
"CNetChan::RequestFile"
43+
{
44+
"library" "engine"
45+
"linux" "@_ZN8CNetChan11RequestFileEPKc"
46+
"windows" "\x55\x8B\xEC\x83\xEC\x14\x53\x8B\xD9\x56\x89\x5D\xF4"
47+
// "RequestFile: %s (ID %i)\n"
48+
}
4249
"CNetChan::IsFileInWaitingList"
4350
{
4451
"library" "engine"
@@ -47,6 +54,66 @@
4754
// "CreateFragmentsFromFile: '%s' doesn't e" -> CNetChan::CreateFragmentsFromFile
4855
// Top Call -> CNetChan::IsFileInWaitingList
4956
}
57+
"CGameClient::FileReceived"
58+
{
59+
"library" "engine"
60+
"linux" "@_ZZN11CGameClient12FileReceivedEPKcj"
61+
"windows" "\x55\x8B\xEC\x56\x8B\x75\x0C\x33\xD2\x57\x8B\xF9"
62+
// "CGameClient::FileReceived: %s not wanted.\n"
63+
}
64+
"CGameClient::FileDenied"
65+
{
66+
"library" "engine"
67+
"linux" "@_ZN11CGameClient10FileDeniedEPKcj"
68+
"windows" "\x55\x8B\xEC\x8B\x01\xFF\x50\x44\x50\xFF\x75\x08\x68"
69+
// "Downloading file '%s' from client %s failed.\n"
70+
}
71+
"CBaseClient::GetNetChannel"
72+
{
73+
"library" "engine"
74+
"linux" "@_ZN11CBaseClient13GetNetChannelEv"
75+
"windows" "\x8B\x81\xC0\x00\x00\x00"
76+
// Good Luck
77+
}
78+
}
79+
"Functions"
80+
{
81+
"CGameClient::FileReceived"
82+
{
83+
"signature" "CGameClient::FileReceived"
84+
"callconv" "thiscall"
85+
"return" "void"
86+
"this" "address"
87+
"arguments"
88+
{
89+
"fileName"
90+
{
91+
"type" "charptr"
92+
}
93+
"transferID "
94+
{
95+
"type" "int"
96+
}
97+
}
98+
}
99+
"CGameClient::FileDenied"
100+
{
101+
"signature" "CGameClient::FileDenied"
102+
"callconv" "thiscall"
103+
"return" "void"
104+
"this" "address"
105+
"arguments"
106+
{
107+
"fileName"
108+
{
109+
"type" "charptr"
110+
}
111+
"transferID "
112+
{
113+
"type" "int"
114+
}
115+
}
116+
}
50117
}
51118
}
52119
}

0 commit comments

Comments
 (0)