Exemple #1
0
        public override OSDMap ToOSD()
        {
            OSDMap map = new OSDMap();

            map["AgentInfo"]   = AgentInfo.ToOSD();
            map["UserAccount"] = UserAccount.ToOSD();
            if (ActiveGroup != null)
            {
                map["ActiveGroup"] = ActiveGroup.ToOSD();
            }
            map["GroupMemberships"] = GroupMemberships.ToOSDArray();
            return(map);
        }
        public override OSDMap ToOSD()
        {
            OSDMap map = new OSDMap();

            map["AgentInfo"]   = AgentInfo.ToOSD();
            map["UserAccount"] = UserAccount.ToOSD();
            if (ActiveGroup != null)
            {
                map["ActiveGroup"] = ActiveGroup.ToOSD();
            }
            map["GroupMemberships"] = GroupMemberships.ToOSDArray();
            map["OfflineMessages"]  = OfflineMessages.ToOSDArray();
            map["MuteList"]         = MuteList.ToOSDArray();
            if (Appearance != null)
            {
                map["Appearance"] = Appearance.ToOSD();
            }
            return(map);
        }