[Opensim-dev] Warning: Various Base types and Interface changes with libOMV 0.7.0
Teravus Ovares
teravus at gmail.com
Sat Jul 25 13:41:47 UTC 2009
Hey everyone,
Looking at the update to libOMV 0.7.0, the biggest module breaking
change is the namespace change of the ParcelFlags enum from
Parcel.ParcelFlags to just 'ParcelFlags'. If you use the ParcelFlags
enum in your module, you will need to update your module to ensure it
works with future versions of OpenSimulator.
The second biggest change is OpenMetaverse.Asset which was previously
in the OpenMetaverse namespace is now in the OpenMetaverse.Assets
namespace. This means the full object namespace is
OpenMetaverse.Assets.Asset. If you have a module that works with
the OpenMetaverse.Asset type, you will need to add a using statement
like,'using OpenMetaverse.Assets;', and then simply refer to the Asset
type or the OpenMetaverse.Assets.Asset Type.
*This affects the OpenSim.Region.OptionalModules.Scripting.Minimodule*
The third important change is the LandUpdateArgs object has changed.
If you make use of the LandUpdateArgs object from the IClientAPI
handler to receive parcel updates from clients, you will need to
update your module to use the new ParcelFlags namespace.
The fourth important change is several overridable methods in the base
class Packet has changed. If you've made new Packets(why are you
doing this?) you will have to update your new packet to the new
virtual methods.
The fifth change to note is important only if you've customized our
load testing application, pCampBot. The signature for the Asset
request callback has change has changed. Instead of using the
ImageDownload object, it now uses the TextureRequestState object. It
also allows and requires you to define a callback method when you make
the asset request.
This commit should be in later today after further testing so please
take note of it and verify that your modules work in the next few
days.
Regards
Teravus
More information about the Opensim-dev
mailing list