Merge branch 'main' of https://github.com/Derek-R-S/Light-Reflective-Mirror into main
This commit is contained in:
commit
55a80f62cc
3 changed files with 10 additions and 2 deletions
|
|
@ -19,6 +19,9 @@ LoadBalancer
|
|||
|
||||
[](http://monk3.xyz:90/project/AppVeyor/light-reflective-mirror-canqw/branch/main)
|
||||
|
||||
[](https://hub.docker.com/r/derekrs/lrm_loadbalancer)
|
||||
|
||||
|
||||
Unity Package
|
||||
|
||||
[](http://monk3.xyz:90/project/AppVeyor/light-reflective-mirror-wdkoo)
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ namespace LightReflectiveMirror
|
|||
[CustomEditor(typeof(LightReflectiveMirrorTransport))]
|
||||
public class LRMInspector : Editor
|
||||
{
|
||||
int serverPort = 7070;
|
||||
int serverPort = 7777;
|
||||
string serverIP;
|
||||
float invalidServerIP = 0;
|
||||
bool usingLLB = false;
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ namespace LightReflectiveMirror
|
|||
[DefaultExecutionOrder(1001)]
|
||||
public partial class LightReflectiveMirrorTransport : Transport
|
||||
{
|
||||
private void OnConnectedToRelay() => _connectedToRelay = true;
|
||||
public bool IsAuthenticated() => _isAuthenticated;
|
||||
private void Awake()
|
||||
{
|
||||
|
|
@ -61,6 +60,12 @@ namespace LightReflectiveMirror
|
|||
serverStatus = "Disconnected from relay.";
|
||||
}
|
||||
|
||||
private void OnConnectedToRelay()
|
||||
{
|
||||
_connectedToRelay = true;
|
||||
RequestServerList();
|
||||
}
|
||||
|
||||
public void ConnectToRelay()
|
||||
{
|
||||
if (!useLoadBalancer)
|
||||
|
|
|
|||
Loading…
Reference in a new issue