public bool Store(PresenceData data) { if (Instance != this) { return(Instance.Store(data)); } m_presenceData[data.SessionID] = data; return(true); }
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); }