Exemplo n.º 1
0
        public static AgentCharacter LoadAgent(String CharacterFile)
        {
            if (m_AgentSrv == null)
            {
                m_AgentSrv = new AgentServerType();
            }
            m_AgentSrv.Initialize();
            AgentCharacter Agent = new AgentCharacter();

            Agent.Load(CharacterFile);
            return(Agent);
        }
Exemplo n.º 2
0
 public static AgentCharacter LoadAgent(String CharacterFile)
 {
     if (m_AgentSrv == null) {
         m_AgentSrv = new AgentServerType();
     }
     m_AgentSrv.Initialize();
     AgentCharacter Agent = new AgentCharacter();
     Agent.Load(CharacterFile);
     return Agent;
 }