Sha256: fb7bfc79df45933e62d07f04cef3fb45596ac6555758e6b88551cb5814d60b0d
Contents?: true
Size: 1.18 KB
Versions: 12
Compression:
Stored size: 1.18 KB
Contents
syntax = "proto3"; package Api; message AvailableAbility { optional int32 ability_id = 1; optional bool requires_point = 2; } message ImageData { optional int32 bits_per_pixel = 1; // Number of bits per pixel; 8 bits for a byte etc. optional Size2DI size = 2; // Dimension in pixels. optional bytes data = 3; // Binary data; the size of this buffer in bytes is width * height * bits_per_pixel / 8. } // Point on the screen/minimap (e.g., 0..64). // Note: bottom left of the screen is 0, 0. message PointI { optional int32 x = 1; optional int32 y = 2; } // Screen space rectangular area. message RectangleI { optional PointI p0 = 1; optional PointI p1 = 2; } // Point on the game board, 0..255. // Note: bottom left of the screen is 0, 0. message Point2D { optional float x = 1; optional float y = 2; } // Point on the game board, 0..255. // Note: bottom left of the screen is 0, 0. message Point { optional float x = 1; optional float y = 2; optional float z = 3; } // Screen dimensions. message Size2DI { optional int32 x = 1; optional int32 y = 2; } enum Race { NO_RACE = 0; TERRAN = 1; ZERG = 2; PROTOSS = 3; RANDOM = 4; }
Version data entries
12 entries across 6 versions & 1 rubygems