aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorMelanie2011-04-18 20:17:29 +0100
committerMelanie2011-04-18 20:17:29 +0100
commitd1913f24295e0235ec31c1c546aece7de2209479 (patch)
tree548e2b8828d5292b05b40cc33036e77880099007 /OpenSim/Framework
parentFix up client implementations (diff)
parentMerge branch 'master' into test-merge0418 (diff)
downloadopensim-SC-d1913f24295e0235ec31c1c546aece7de2209479.zip
opensim-SC-d1913f24295e0235ec31c1c546aece7de2209479.tar.gz
opensim-SC-d1913f24295e0235ec31c1c546aece7de2209479.tar.bz2
opensim-SC-d1913f24295e0235ec31c1c546aece7de2209479.tar.xz
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/IClientAPI.cs44
1 files changed, 26 insertions, 18 deletions
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs
index 2f35a6c..eea9107 100644
--- a/OpenSim/Framework/IClientAPI.cs
+++ b/OpenSim/Framework/IClientAPI.cs
@@ -574,16 +574,35 @@ namespace OpenSim.Framework
574 public float dwell; 574 public float dwell;
575 } 575 }
576 576
577 public class EntityUpdate 577 public class IEntityUpdate
578 { 578 {
579 public ISceneEntity Entity; 579 public ISceneEntity Entity;
580 public PrimUpdateFlags Flags; 580 public uint Flags;
581 public float TimeDilation;
582 581
583 public EntityUpdate(ISceneEntity entity, PrimUpdateFlags flags, float timedilation) 582 public virtual void Update(IEntityUpdate update)
583 {
584 this.Flags |= update.Flags;
585 }
586
587 public IEntityUpdate(ISceneEntity entity, uint flags)
584 { 588 {
585 Entity = entity; 589 Entity = entity;
586 Flags = flags; 590 Flags = flags;
591 }
592 }
593
594
595 public class EntityUpdate : IEntityUpdate
596 {
597 // public ISceneEntity Entity;
598 // public PrimUpdateFlags Flags;
599 public float TimeDilation;
600
601 public EntityUpdate(ISceneEntity entity, PrimUpdateFlags flags, float timedilation)
602 : base(entity,(uint)flags)
603 {
604 //Entity = entity;
605 // Flags = flags;
587 TimeDilation = timedilation; 606 TimeDilation = timedilation;
588 } 607 }
589 } 608 }
@@ -1217,20 +1236,9 @@ namespace OpenSim.Framework
1217 /// <param name="stats"></param> 1236 /// <param name="stats"></param>
1218 void SendSimStats(SimStats stats); 1237 void SendSimStats(SimStats stats);
1219 1238
1220 void SendObjectPropertiesFamilyData(uint RequestFlags, UUID ObjectUUID, UUID OwnerID, UUID GroupID, 1239 void SendObjectPropertiesFamilyData(ISceneEntity Entity, uint RequestFlags);
1221 uint BaseMask, uint OwnerMask, uint GroupMask, uint EveryoneMask, 1240
1222 uint NextOwnerMask, int OwnershipCost, byte SaleType, int SalePrice, 1241 void SendObjectPropertiesReply(ISceneEntity Entity);
1223 uint Category,
1224 UUID LastOwnerID, string ObjectName, string Description);
1225
1226 void SendObjectPropertiesReply(UUID ItemID, ulong CreationDate, UUID CreatorUUID, UUID FolderUUID,
1227 UUID FromTaskUUID,
1228 UUID GroupUUID, short InventorySerial, UUID LastOwnerUUID, UUID ObjectUUID,
1229 UUID OwnerUUID, string TouchTitle, byte[] TextureID, string SitTitle,
1230 string ItemName,
1231 string ItemDescription, uint OwnerMask, uint NextOwnerMask, uint GroupMask,
1232 uint EveryoneMask,
1233 uint BaseMask, byte saleType, int salePrice);
1234 1242
1235 void SendAgentOffline(UUID[] agentIDs); 1243 void SendAgentOffline(UUID[] agentIDs);
1236 1244