Ejemplo n.º 1
0
 public void AddNewAgentsInventory(AgentInventory agentInventory)
 {
     if (!this._agentsInventory.ContainsKey(agentInventory.AgentID))
     {
         this._agentsInventory.Add(agentInventory.AgentID, agentInventory);
     }
 }
Ejemplo n.º 2
0
 public UserProfile()
 {
     Circuits = new Dictionary<LLUUID, uint>();
     Inventory = new AgentInventory();
     homeregionhandle = Helpers.UIntsToLong((997 * 256), (996 * 256));
     homepos = new LLVector3();
     homelookat = new LLVector3();
 }
Ejemplo n.º 3
0
 private AgentInventory CreateInventory(LLUUID baseFolder)
 {
     AgentInventory inventory = null;
     if (this.m_userServer != null)
     {
         // a user server is set so request the inventory from it
         Console.WriteLine("getting inventory from user server");
         inventory = m_inventoryCache.FetchAgentsInventory(this.AgentID, m_userServer);
     }
     else
     {
         inventory = new AgentInventory();
         inventory.AgentID = this.AgentID;
         inventory.CreateRootFolder(this.AgentID, false);
         m_inventoryCache.AddNewAgentsInventory(inventory);
         m_inventoryCache.CreateNewInventoryFolder(this, baseFolder);
     }
     return inventory;
 }
Ejemplo n.º 4
0
 public bool UpdateAgentsInventory(LLUUID agentID, AgentInventory inventory)
 {
     return true;
 }