示例#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);
        }
示例#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;
 }