Files
rr3-apk/unknown/gatewayprotocol/v1/ad_request.proto
Daniel Elliott f3960ee359 Add Discord APKTool decompilation (Smali source for modding)
- Imported from https://github.com/supermegamestre/Project-Real-Resurrection-3
- APKTool decompilation (Smali bytecode) for modding and rebuilding APK
- Supports both 32-bit (armeabi-v7a) and 64-bit (arm64-v8a) architectures
- Includes full Smali source, resources, and native libraries
- Ready to rebuild APK after modifications with apktool b command
- Added comprehensive README-apktool.md with modding guide

This branch complements the JADX branches:
- Use JADX (main/discord-community) to UNDERSTAND code (readable Java)
- Use APKTool (this branch) to MODIFY and REBUILD APK (editable Smali)

Total: 44,417 files, 538.51 MB Smali source code
2026-02-18 16:13:44 -08:00

51 lines
1.8 KiB
Protocol Buffer

syntax = "proto3";
package gatewayprotocol.v1;
import "gatewayprotocol/v1/campaign_state.proto";
import "gatewayprotocol/v1/dynamic_device_info.proto";
import "gatewayprotocol/v1/session_counters.proto";
import "gatewayprotocol/v1/static_device_info.proto";
option swift_prefix = "Gateway";
enum AdRequestType {
AD_REQUEST_TYPE_UNSPECIFIED = 0;
AD_REQUEST_TYPE_FULLSCREEN = 1;
AD_REQUEST_TYPE_BANNER = 2;
}
message BannerSize {
int32 width = 1;
int32 height = 2;
}
// AdRequest is the request sent from the SDK to the Gateway
// It contains all the information needed to make a decision on what ad to return
message AdRequest {
// Session Counters tracked by the SDK
SessionCounters session_counters = 1;
// Static Device Info collected during SDK initialization. Information collected here doesn't change during session.
StaticDeviceInfo static_device_info = 2;
// Dynamic Device Info collected at request time. Information collected here can change during session.
DynamicDeviceInfo dynamic_device_info = 3;
// Current campaign state in the SDK, will be populated only for full screen video ads and contain information about them
CampaignState campaign_state = 4;
// Impression Opportunity ID
bytes impression_opportunity_id = 5;
// Placement ID which is requested to be loaded
string placement_id = 6;
// Flag which indicates if Impression Configuration should be returned in the ad response on fill
bool request_impression_configuration = 7;
// SCAR Signal
bytes scar_signal = 8;
// Locally cached WebView version
optional int32 webview_version = 9;
// TCF String provided by Publisher
optional bytes tcf = 10;
// Ad Request Type
optional AdRequestType ad_request_type = 11;
// Banner Size
optional BannerSize banner_size = 12;
}