diff --git a/FishNet/Plugins/FishyEOS/FishyEOS.cs b/FishNet/Plugins/FishyEOS/FishyEOS.cs index 30b8f21..08d9b80 100644 --- a/FishNet/Plugins/FishyEOS/FishyEOS.cs +++ b/FishNet/Plugins/FishyEOS/FishyEOS.cs @@ -325,11 +325,20 @@ public override void SetMaximumClients(int value) } /// - /// EOS Not Used + /// Sets which address the client will connect to. /// + /// Address client will connect to as ProductUserId.ToString(). For example lobby owner. public override void SetClientAddress(string address) { - _ = address; + RemoteProductUserId = address; + } + + /// + /// Returns which address the client will connect to. Can be converted with ProductUserId.FromString(). + /// + public override string GetClientAddress() + { + return RemoteProductUserId; } /// @@ -508,4 +517,4 @@ public override int GetMTU(byte channel) #endregion } -} \ No newline at end of file +}