diff --git a/Controller/RunTimeController.cs b/Controller/RunTimeController.cs
index 5aee7ca..b1ccd0a 100644
--- a/Controller/RunTimeController.cs
+++ b/Controller/RunTimeController.cs
@@ -65,7 +65,7 @@ namespace Milimoe.FunGame.Core.Controller
///
public ConnectResult Connect(string ip, int port)
{
- if (!BeforeConnect())
+ if (!BeforeConnect(ip, port))
{
return ConnectResult.ConnectFailed;
}
@@ -162,8 +162,10 @@ namespace Milimoe.FunGame.Core.Controller
/// 此方法将在连接服务器前触发
/// 客户端可以重写此方法
///
+ ///
+ ///
/// false:中止连接
- public virtual bool BeforeConnect()
+ public virtual bool BeforeConnect(string ip, int port)
{
return true;
}