Exemplo n.º 1
0
        /// <summary>
        /// Broadcasts prop update in its region.
        /// </summary>
        /// <param name="prop"></param>
        public static void PropUpdate(MabiProp prop)
        {
            var packet = new MabiPacket(Op.PropUpdate, prop.Id);
            packet.AddPropUpdateInfo(prop);

            WorldManager.Instance.BroadcastRegion(packet, prop.Region);
        }