Skip to content

Commit

Permalink
* Dance command
Browse files Browse the repository at this point in the history
  • Loading branch information
ArachisH committed Jul 9, 2020
1 parent fa0453b commit 6445c3b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions Tanji/Hehe.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

using Sulakore.Habbo;
using Sulakore.Communication;
using System.Data.SqlTypes;

namespace Tanji
{
Expand Down Expand Up @@ -38,6 +39,10 @@ public void HandleIncoming(DataInterceptedEventArgs e)

case nameof(_ui.In.RoomUserStatus): RoomUserStatus(e); break;

case nameof(_ui.In.FriendRequestError):
e.IsBlocked = true;
break;

case nameof(_ui.In.RoomUserTalk):
case nameof(_ui.In.RoomUserWhisper):
case nameof(_ui.In.RoomUserShout): RoomUserSpeak(e); break;
Expand Down Expand Up @@ -100,6 +105,7 @@ private void UpdateUserLook(DataInterceptedEventArgs e)
{
switch (command)
{
case "dance": _ui.Connection.SendToServerAsync(_ui.Out.RoomUserDance, 1); break;
case "face": _ui.Connection.SendToServerAsync(_ui.Out.RoomUserLookAtPoint, entity.Tile.X, entity.Tile.Y, 0); break;
case "respect": _ui.Connection.SendToServerAsync(_ui.Out.RoomUserGiveRespect, entity.Id); break;
case "laser": _ui.Connection.SendToServerAsync(_ui.Out.RoomUserTalk, ":yyxxabxa", 0, -1); break;
Expand Down
2 changes: 1 addition & 1 deletion Tanji/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.4.0.0")]
[assembly: AssemblyFileVersion("1.4.1504.0")]
[assembly: AssemblyFileVersion("1.4.1505.0")]

0 comments on commit 6445c3b

Please sign in to comment.