Beispiel #1
0
        /// <summary>
        ///     Handles an animate packet.
        /// </summary>
        /// <param name="message">The message.</param>
        private void HandleAnimate(McpeAnimate message)
        {
            Log.DebugFormat("Action: {0}", message.actionId);

            McpeAnimate msg = McpeAnimate.CreateObject();
            msg.entityId = message.entityId;
            msg.actionId = message.actionId;

            Level.RelayBroadcast(this, msg);
        }
Beispiel #2
0
		/// <summary>
		///     Handles an animate packet.
		/// </summary>
		/// <param name="message">The message.</param>
		protected virtual void HandleAnimate(McpeAnimate message)
		{
			if (Level == null) return;

			Log.DebugFormat("HandleAnimate Action: {0}", message.actionId);

			McpeAnimate msg = McpeAnimate.CreateObject();
			msg.entityId = EntityId;
			msg.actionId = message.actionId;

			Level.RelayBroadcast(this, msg);
		}
 public void HandleMcpeAnimate(McpeAnimate message)
 {
 }