2008-08-16 02:04:20 +00:00
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Net;
|
|
|
|
|
using System.Threading;
|
|
|
|
|
using OpenMetaverse;
|
|
|
|
|
using OpenMetaverse.Packets;
|
|
|
|
|
|
|
|
|
|
namespace Simian
|
|
|
|
|
{
|
2008-08-28 22:11:47 +00:00
|
|
|
public class Agent
|
2008-08-16 02:04:20 +00:00
|
|
|
{
|
|
|
|
|
public UUID AgentID;
|
|
|
|
|
public UUID SessionID;
|
|
|
|
|
public UUID SecureSessionID;
|
|
|
|
|
public uint CircuitCode;
|
2008-08-18 04:40:05 +00:00
|
|
|
public string FirstName;
|
|
|
|
|
public string LastName;
|
2008-08-18 05:11:13 +00:00
|
|
|
public Avatar Avatar = new Avatar();
|
2008-08-19 08:23:25 +00:00
|
|
|
public int Balance;
|
2008-08-20 03:46:11 +00:00
|
|
|
public bool Running;
|
2008-08-24 22:42:14 +00:00
|
|
|
public int TickFall;
|
|
|
|
|
public int TickJump;
|
2008-08-30 18:23:15 +00:00
|
|
|
public int TickLastPacketReceived;
|
2008-08-18 05:11:13 +00:00
|
|
|
public AgentManager.ControlFlags ControlFlags = AgentManager.ControlFlags.NONE;
|
2008-08-22 19:20:02 +00:00
|
|
|
public AnimationSet Animations = new AnimationSet();
|
2008-08-21 05:14:16 +00:00
|
|
|
public Dictionary<UUID, InventoryObject> Inventory = new Dictionary<UUID, InventoryObject>();
|
|
|
|
|
public Dictionary<UUID, InventoryObject> Library = new Dictionary<UUID, InventoryObject>();
|
|
|
|
|
public Dictionary<WearableType, UUID> Wearables = new Dictionary<WearableType, UUID>();
|
2008-08-21 21:00:51 +00:00
|
|
|
public byte[] VisualParams = new byte[218];
|
2008-08-21 05:14:16 +00:00
|
|
|
// TODO: Replace byte with enum
|
|
|
|
|
public byte State;
|
2008-08-24 05:06:51 +00:00
|
|
|
public PrimFlags Flags;
|
2008-08-21 05:14:16 +00:00
|
|
|
public UUID InventoryRoot;
|
|
|
|
|
public UUID InventoryLibRoot;
|
2008-08-16 02:04:20 +00:00
|
|
|
}
|
|
|
|
|
}
|