PKDDialogue.ConversationProfileManager Class
Manages the conversational profiles by storing them in a hashtable, serializing, and deserializing

Access: Public
Base Classes: Object
  Members Description  
    fileName    
    conversationProfileHash    
    currentConversationProfile    
    hasGreetedCurrentProfile    
    ConversationProfileManager    
    SetCurrentProfile Set the current conversation profile to the profile associated with this name. If name has no profile, do the default dude

 
    UpdateCurrentProfile Update the current profile with the lastest subject information. Also updates the time of the conversation to now.

 
    AddProfile The conversationProfileHash keys on the person's name. Possibility of collisions, but not likely in the PKD context

 
    RemoveProfile    
    GetProfile    
    ReadProfilesFromFile Transform the profile array stored in the file to a hashtable, with the name as key and profile as value

 
    WriteProfilesToFile Store this as an array of conversation profile objects so they are easy to edit in notepad

 
    ParseProfiles Reads in a flat ascii file and parses in into ConversationProfile objects, inserts these into hash

 
    Serialize    
    Deserialize