public void UpdateCustomization(string characterModelId)
    {
        BLEDebug.LogInfo("Sending Customization Update");
        FlatJSON fJSON = new FlatJSON();

        fJSON.Add("PlayerId", PlayerId);
        fJSON.Add("characterModelId", characterModelId);

        Client.SendMessage(Client.NewMessage(OP_CODE_CUSTOMIZATION_UPDATE)
                           .WithDeliveryIntent(DeliveryIntent.Reliable)
                           .WithTargetPlayer(Constants.PLAYER_ID_SERVER)
                           .WithPayload(StringToBytes(fJSON.ToString())));
    }
    public void UpdateStats(int rotations, int rpm, float[] playerPosition, float progressDistance)
    {
        BLEDebug.LogInfo("Sending Stats Update");
        FlatJSON fJSON = new FlatJSON();

        fJSON.Add("rotations", rotations);
        fJSON.Add("rpm", rpm);
        fJSON.Add("playerPosition", playerPosition);
        fJSON.Add("progressDistance", progressDistance);

        Client.SendMessage(Client.NewMessage(OP_CODE_STATS_UPDATE)
                           .WithDeliveryIntent(DeliveryIntent.Reliable)
                           .WithTargetPlayer(Constants.PLAYER_ID_SERVER)
                           .WithPayload(StringToBytes(fJSON.ToString())));
    }