<commit_before>syntax = "proto2";

package proto;

option java_package = "proto";
option java_outer_classname = "Command";

message LobbyCmd {
    enum CmdType {
        LEAVE = 1;
        TEAM = 2;
        LIST_PLAYERS = 3;
        SHOW_CARDS = 4;
    }

    required CmdType cmdType = 1;
    required string value = 2;
}

message GlobalCmd {<commit_msg>Update Command.proto with Card class and oneof {value || card} in LobbyCmd class<commit_after>syntax = "proto2";

package proto;

option java_package = "proto";
option java_outer_classname = "Command";

message Card {
    enum Face {
        AS = 1;
        KING = 2;
        QUEEN = 3;
        JACK = 4;
        TEN = 5;
        NINE = 6;
        EIGHT = 7;
        SEVEN = 8;
    }

    enum Color {
        SPADE = 1;
        HEART = 2;
        CLUB = 3;
        DIAMOND = 4;
    }

    required Face face = 1;
    required Color color = 2;
}

message LobbyCmd {
    enum CmdType {
        LEAVE = 1;
        TEAM = 2;
        LIST_PLAYERS = 3;
        SHOW_CARDS = 4;
    }

    required CmdType cmdType = 1;
    oneof body {
        string value = 2;
        Card card = 3;
    }
}

message GlobalCmd {
{'fraction_non_alphanumeric': 0.09380378657487091, 'fraction_numerical': 0.02495697074010327, 'mean_word_length': 1.7822966507177034, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4012490', 'n_tokens_mistral': 437, 'n_tokens_neox': 392, 'n_words': 117}