Exemple #1
0
        public bool Store(PresenceData data)
        {
            if (Instance != this)
            {
                return(Instance.Store(data));
            }

            m_presenceData[data.SessionID] = data;
            return(true);
        }
Exemple #2
0
        public bool Store(PresenceData data)
        {
            if (Instance != this)
            {
                return(Instance.Store(data));
            }

            //            m_log.DebugFormat("[NULL PRESENCE DATA]: Storing presence {0}", data.UserID);
            //            Console.WriteLine("HOME for " + data.UserID + " is " + (data.Data.ContainsKey("HomeRegionID") ? data.Data["HomeRegionID"] : "Not found"));

            m_presenceData[data.SessionID] = data;
            return(true);
        }