Exemplo n.º 1
0
    public override void Decode(BinaryReader reader)
    {
        InJoyDebugBase.DebugCommandResponse(this, ref reader);
        errorCode = reader.ReadInt16();

        if (errorCode == 0)
        {
            //tattoos bunred on body
            playerTattoos = new PlayerTattoos();

            playerTattoos.Parse(reader);

            //tattoo recipes mastered
            recipeList = new List <string>();

            int count = reader.ReadInt16();
            for (int i = 0; i < count; i++)
            {
                recipeList.Add(ReadString(reader));
            }
        }
    }