Esempio n. 1
0
        protected override void OnCharacterHandoffComplete(INetworkConnection con, ServerCharacterInfo character, Guid owner)
        {
            base.OnCharacterHandoffComplete(con, character, owner);
            OutboundServerConnection ocon = con as OutboundServerConnection;

            // we uncache a character when they disconnect (even as part of a transfer, just in case they never reconnect).
            // now that they have reconnected, recache them.
            CharacterCache.CacheCharacter(character, ocon.ServerUserID, TimeSpan.MaxValue);
        }
Esempio n. 2
0
 /// <summary>
 /// Fires when connection to one of our child servers is lost
 /// </summary>
 protected virtual void OnOutboundServerDisconnected(OutboundServerConnection con, string msg)
 {
 }