Beispiel #1
0
        protected override void Disconect()
        {
            if (ChatWindow != null)
            {
                ChatWindow.WriteLine(
                    ChatWindow.GetTimeString(),
                    "blue",
                    "System",
                    string.Format("<color=blue>{0} left the chat with a satisfaction of {1}</color>", Name,
                                  Mathf.Round(Satisfaction)));
            }
            else
            {
                Debug.LogWarning("ChatWindow not found on disconecting customer " + Name);
            }

            ContactItemController.Contact = null;
            GameManager.Instance.Game.CustomerQueue.Remove(this);
            ContactWindowController.Instance.Rebuild();
        }
Beispiel #2
0
 protected virtual void Disconect()
 {
     ChatWindow.WriteLine(ChatWindow.GetTimeString(), "blue", "System",
                          string.Format("<color=blue>{0} left the chat</color>", Name));
 }