コード例 #1
0
        private void Constructor(Connection con, ConnectionArguments cargs)
        {
            this._messageCallbacks = new Dictionary <string, Action <FluentConnectionWrapper, Message> >();

            this._discon = DisconnectionType.Unexplained;

            this._cargs = cargs;
            this._con   = con;
            AddHooks();
        }
コード例 #2
0
 public FluentConnectionWrapper(FluentMultiplayerWrapper fmw, Connection con, ConnectionArguments cargs)
 {
     this._fmw = fmw;
     Constructor(con, cargs);
 }
コード例 #3
0
 public FluentConnectionWrapper(Connection con, ConnectionArguments cargs)
 {
     this._fmw = null;
     Constructor(con, cargs);
 }
コード例 #4
0
 public static FluentConnectionWrapper Reconnect(this FluentConnectionWrapper m, ConnectionArguments cargs)
 {
     m.ResetConnection(cargs); return(m);
 }