Package com.ngt.jopenmetaverse.shared.protocol

Examples of com.ngt.jopenmetaverse.shared.protocol.AvatarPropertiesUpdatePacket


  /// </summary>
  /// <param name="profile"><seealso cref="OpenMetaverse.Avatar.AvatarProperties"/> struct containing updated
  /// profile information</param>
  public void UpdateProfile(Avatar.AvatarProperties profile)
  {
    AvatarPropertiesUpdatePacket apup = new AvatarPropertiesUpdatePacket();
    apup.AgentData.AgentID = id;
    apup.AgentData.SessionID = sessionID;
    apup.PropertiesData.AboutText = Utils.stringToBytesWithTrailingNullByte(profile.AboutText);
    apup.PropertiesData.AllowPublish = profile.isAllowPublish();
    apup.PropertiesData.FLAboutText = Utils.stringToBytesWithTrailingNullByte(profile.FirstLifeText);
View Full Code Here

TOP

Related Classes of com.ngt.jopenmetaverse.shared.protocol.AvatarPropertiesUpdatePacket

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.