Commit Graph

167 Commits

Author SHA1 Message Date
Garry Newman
2c54889462 No need for const removal 2020-02-19 09:00:35 +00:00
Garry Newman
0a43db11ec structs can have embedded enums 2020-02-19 09:00:23 +00:00
Garry Newman
4cd8675356 Update Constants.cs 2020-02-13 11:26:55 +00:00
Garry Newman
7baef8966e Constants 2020-02-13 10:54:31 +00:00
Garry Newman
e8dd99f6ed Manual create SteamNetworkingErrMsg 2020-02-12 16:25:25 +00:00
Garry Newman
eaac5cac20 Cleaning 2020-02-12 16:17:44 +00:00
Garry Newman
fb3017251e EGameSearchErrorCode_t fix 2020-02-12 15:58:01 +00:00
Garry Newman
a39ff138ce Give enums an appropriate type 2020-02-12 15:43:53 +00:00
Garry Newman
48fdfa1d0d Put callbacks in different file to structs 2020-02-12 15:43:33 +00:00
Garry Newman
599ca7cbe1 Interface generation fixes 2020-02-12 15:27:30 +00:00
Garry Newman
9a36dd58ff New parser, no code skimming 2020-02-12 14:55:36 +00:00
Garry Newman
ead761fe04 Call SetupInterface on startup 2020-02-11 11:28:30 +00:00
Garry Newman
d28ec6bd7d callresults 2020-02-10 21:03:17 +00:00
Garry Newman
fa69dbda01 New initialization methods 2020-02-10 20:22:17 +00:00
Garry Newman
12f95a7f4e Converting to flat 2020-02-10 19:21:52 +00:00
Garry Newman
4c4fd8dad0 Remove old vtable lookups 2020-02-10 14:49:19 +00:00
Garry Newman
5c36a5c338 Removed usages of StringBuffer
Il2CPP fucks over StringBuffer by changing its Capacity
We can properly UTF8 convert these strings now
2019-08-14 14:39:04 +01:00
Garry Newman
38b1ed5f88 Il2Cpp didn't like CustomMarshaler on returns, so string returns are Utf8StringPointer instead, which implicit converts to string 2019-07-02 13:52:04 +01:00
Garry Newman
2fb1426479 win64 doesn't care about calling convention - but apprently il2cpp does, so we use CallingConvention.Cdecl on everthing 2019-07-02 13:37:34 +01:00
Garry Newman
7f4e0567a6 Swap overloaded function address on both win32 and win64 2019-06-25 12:47:22 +01:00
Garry Newman
7fbc333547 Handle struct returns differently on 32bit windows too 2019-06-25 12:42:17 +01:00
Garry Newman
a24ae4bac5 Translate memory offsets for 32bit 2019-06-25 12:40:23 +01:00
Garry Newman
f53e1aaba0 Global function cleanup 2019-06-25 12:13:04 +01:00
Garry Newman
d5abb32aeb Neater generated vtable code 2019-06-25 12:04:43 +01:00
Garry Newman
810cb3623f Code formatting 2019-06-25 12:01:00 +01:00
Garry Newman
1df586305d No need to use Config.Os for vtable address swapping 2019-06-25 12:00:04 +01:00
Garry Newman
690db722eb No need for _Windows function alternatives 2019-06-25 11:39:17 +01:00
Garry Newman
6dbed6a91d StructPlatformPackSize instead of runtime Pack8 shit 2019-06-25 11:20:39 +01:00
Garry Newman
15dc2782cc Nicer return string marshalling 2019-06-20 13:26:11 +01:00
Garry Newman
a0478a6040 Store struct strings as byte and encode as utf8 on demand 2019-06-20 13:10:28 +01:00
Garry Newman
615645a30e Utf8String marshaller 2019-06-20 12:19:21 +01:00
Garry Newman
bddac0ccc9 Cleanup, crash fixes 2019-06-20 11:39:13 +01:00
Garry Newman
fa48a1ce33 Controller progress 2019-06-20 10:41:57 +01:00
Garry Newman
1ac22e1407 ISteamInput.GetConnectedControllers is an array 2019-06-19 13:05:09 +01:00
Garry Newman
41a0b31644 ISteamInput generation 2019-06-19 11:33:16 +01:00
Garry Newman
a5bd78a597 SteamItemDetails_t should read flags properly on windows 2019-05-16 15:02:00 +01:00
Garry Newman
778b1081cb Windows specific on overloaded functions in ISteamGameServerStats 2019-05-15 13:25:50 +01:00
Garry Newman
fdee0bfc1e Cancel async waits if steam becomes invalid during wait 2019-05-13 13:13:12 +01:00
Garry Newman
f014681cc4 Clear interfaces and dangling pointers on steam shutdown 2019-05-10 14:08:17 +01:00
Garry Newman
8a6bbb9a91 SteamTypes implement IComparable 2019-05-10 12:22:28 +01:00
Garry Newman
eae18553da Types now impl,ement IEquatable 2019-05-10 10:08:47 +01:00
Garry Newman
8c986113de ISteamGameServerStats 2019-05-09 11:17:19 +01:00
Garry Newman
c6ac47c0c3 Use pack8 structs for windows where appropriate 2019-05-08 11:13:23 +01:00
Garry Newman
ad21e90e90 Added IsPack4OnWindows to codegen struct 2019-05-08 09:49:32 +01:00
Garry Newman
9bb5b5178e Struct name consistency 2019-05-06 13:34:41 +01:00
Garry Newman
71d8226e28 Force ppOutMessages to IntPtr 2019-05-06 12:00:24 +01:00
Garry Newman
6be5826f31 ConnectionInfo 2019-05-02 21:40:39 +01:00
Garry Newman
ce3525bf1d Struct cleanups and testing 2019-05-02 20:41:45 +01:00
Garry Newman
9b2ad8e49a ISteamNetworkingSockets generating 2019-05-02 16:55:50 +01:00
Garry Newman
3eae3314b6 SteamNetworkUtil global config basics 2019-05-02 15:57:57 +01:00