Make CustomRpc api more generic, PlayerColor enum, bug fixes in RegisterInIl2CppAttribute

This commit is contained in:
js6pak committed 2021-02-03 15:06:04 +01:00
1 parent 0cd79f9162
commit e90f6bcdbc
12 files changed
+230 -84

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ using Hazel;
namespace Reactor.Example
{
[RegisterCustomRpc]
public class ExampleRpc : CustomRpc<ExamplePlugin, PlayerControl, ExampleRpc.Data>
public class ExampleRpc : PlayerCustomRpc<ExamplePlugin, ExampleRpc.Data>
{
public ExampleRpc(ExamplePlugin plugin) : base(plugin)
{