This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "json.h" | |
#include <ctype.h> | |
#include <stdlib.h> | |
#include <string.h> | |
char next_subtoken(const char* data, size_t* pos, const size_t size, const bool in_string) { | |
while(*pos < size) { | |
if(in_string) | |
return data[*pos] == '\n' ? 0 : data[(*pos)++]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax = "proto3"; | |
package discord_protos.discord_users.v1.FrecencyUserSettings; | |
message FrecencyUserSettings { | |
message Versions { | |
uint32 client_version = 1; | |
uint32 server_version = 2; | |
uint32 data_version = 3; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax = "proto3"; | |
import "google/protobuf/wrappers.proto"; | |
import "google/protobuf/timestamp.proto"; | |
package discord_protos.discord_users.v1.PreloadedUserSettings; | |
message PreloadedUserSettings { | |
message Versions { | |
uint32 client_version = 1; |