mirror of
https://github.com/NuclearPowered/Reactor.git
synced 2026-10-19 15:51:54 +00:00
Airship support
Logger utility Initial Reactor.Networking protocol rework
This commit is contained in:
1 parent
a2f707fe16
commit
d58afa5907
36 files changed
+473
-395
No files matched your search
@@ -0,0 +1,7 @@
|
||||
namespace Reactor.Example
|
||||
{
|
||||
public enum CustomRpcCalls : uint
|
||||
{
|
||||
Example
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,9 @@
|
||||
using System;
|
||||
using BepInEx;
|
||||
using BepInEx.IL2CPP;
|
||||
using InnerNet;
|
||||
using Reactor.Extensions;
|
||||
using Reactor.Networking;
|
||||
using UnhollowerBaseLib.Attributes;
|
||||
using UnityEngine;
|
||||
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user