Airship support

Logger utility
Initial Reactor.Networking protocol rework
This commit is contained in:
js6pak committed 2021-04-04 00:05:34 +02:00
1 parent a2f707fe16
commit d58afa5907
36 files changed
+473 -395

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
namespace Reactor.Example
{
public enum CustomRpcCalls : uint
{
Example
}
}
+2
View File
@@ -1,7 +1,9 @@
using System;
using BepInEx;
using BepInEx.IL2CPP;
using InnerNet;
using Reactor.Extensions;
using Reactor.Networking;
using UnhollowerBaseLib.Attributes;
using UnityEngine;
+3 -2
View File
@@ -1,11 +1,12 @@
using Hazel;
using Reactor.Networking;
namespace Reactor.Example
{
[RegisterCustomRpc]
[RegisterCustomRpc((uint) CustomRpcCalls.Example)]
public class ExampleRpc : PlayerCustomRpc<ExamplePlugin, ExampleRpc.Data>
{
public ExampleRpc(ExamplePlugin plugin) : base(plugin)
public ExampleRpc(ExamplePlugin plugin, uint id) : base(plugin, id)
{
}