using System; using System.Collections.Generic; using System.Linq; using System.Text; using Chop.Game.User; namespace Chop.Game.Rooms.Games { public class GamePlayer : RoomUser { #region Fields public byte mTeamID; public ushort mScore; #endregion #region Properties public VirtualGame Game { get { return mClient.mGame; } } #endregion public string ToFuseString(byte b) { Response r = new Response(); System.Console.WriteLine(mDynamicID + "!"); r.AppendWired(0); r.AppendWired(b); r.AppendWired(mX); r.AppendWired(mY); r.AppendWired(mHeight); r.AppendWired(mBodyRotation); r.AppendWired(0); r.AppendWired(-1); r.AppendString(mClient.mHabbo.mName); r.AppendString(mClient.mHabbo.mMotto); r.AppendString(mClient.mHabbo.mFigure); r.AppendString(mClient.mHabbo.mGender); r.AppendWired(mTeamID); r.AppendWired(mDynamicID); return r.ToString(); } } }