public void TeleportedThread(object _obj) { if (OnTeleported != null) OnTeleported(teleportedEventParam.AvatarUUID, teleportedEventParam.AvatarName, teleportedEventParam.X, teleportedEventParam.Y, teleportedEventParam.Z); teleportedEventParam = null; teleportedEventThread = null; }
/// <summary> /// When a user receive someone/himself teleported same sim in In-world, /// this function will notify the message. /// </summary> /// <param name="_uuid">UUID of avatar</param> /// <param name="_avatar">Name of avatar</param> /// <param name="_x">X axsis position</param> /// <param name="_y">Y axsis position</param> /// <param name="_z">Z axsis position</param> public void CallTeleported(string _uuid, string _avatar, int _x, int _y, int _z) { teleportedEventParam = new TeleportedEventParam(_uuid, _avatar, _x, _y, _z); }