steamutils 1.3.31 → 1.3.33

Sign up to get free protection for your applications and to get access to all the features.
Files changed (218) hide show
  1. package/.idea/codeStyles/codeStyleConfig.xml +5 -0
  2. package/.idea/steamutils.iml +1 -1
  3. package/.idea/vcs.xml +1 -1
  4. package/SteamClient.js +36 -19
  5. package/bufferHelpers.js +115 -115
  6. package/free_packages.json +10048 -10048
  7. package/package.json +1 -1
  8. package/protos/csgo/base_gcmessages_csgo.proto +547 -547
  9. package/protos/csgo/c_peer2peer_netmessages.proto +55 -55
  10. package/protos/csgo/clientmessages.proto +48 -48
  11. package/protos/csgo/connectionless_netmessages.proto +19 -19
  12. package/protos/csgo/cs_gameevents.proto +34 -34
  13. package/protos/csgo/cs_usercmd.proto +34 -34
  14. package/protos/csgo/cstrike15_gcmessages.proto +1402 -1402
  15. package/protos/csgo/cstrike15_usermessages.proto +596 -596
  16. package/protos/csgo/demo.proto +160 -160
  17. package/protos/csgo/econ_gcmessages.proto +228 -228
  18. package/protos/csgo/engine_gcmessages.proto +14 -14
  19. package/protos/csgo/enums_clientserver.proto +1529 -1529
  20. package/protos/csgo/fatdemo.proto +125 -125
  21. package/protos/csgo/gameevents.proto +120 -120
  22. package/protos/csgo/gcsdk_gcmessages.proto +323 -323
  23. package/protos/csgo/gcsystemmsgs.proto +242 -242
  24. package/protos/csgo/netmessages.proto +604 -604
  25. package/protos/csgo/network_connection.proto +126 -126
  26. package/protos/csgo/networkbasetypes.proto +244 -244
  27. package/protos/csgo/networksystem_protomessages.proto +17 -17
  28. package/protos/csgo/steamdatagram_messages_auth.proto +65 -65
  29. package/protos/csgo/steamdatagram_messages_sdr.proto +534 -534
  30. package/protos/csgo/steammessages.proto +597 -597
  31. package/protos/csgo/steammessages_base.proto +301 -301
  32. package/protos/csgo/steammessages_cloud.steamworkssdk.proto +68 -68
  33. package/protos/csgo/steammessages_gamenetworkingui.proto +61 -61
  34. package/protos/csgo/steammessages_helprequest.steamworkssdk.proto +22 -22
  35. package/protos/csgo/steammessages_oauth.steamworkssdk.proto +18 -18
  36. package/protos/csgo/steammessages_player.steamworkssdk.proto +254 -254
  37. package/protos/csgo/steammessages_publishedfile.steamworkssdk.proto +233 -233
  38. package/protos/csgo/steammessages_steamlearn.steamworkssdk.proto +357 -357
  39. package/protos/csgo/steammessages_unified_base.steamworkssdk.proto +30 -30
  40. package/protos/csgo/steamnetworkingsockets_messages.proto +205 -205
  41. package/protos/csgo/steamnetworkingsockets_messages_certs.proto +39 -39
  42. package/protos/csgo/steamnetworkingsockets_messages_udp.proto +75 -75
  43. package/protos/csgo/te.proto +259 -259
  44. package/protos/csgo/uifontfile_format.proto +13 -13
  45. package/protos/csgo/usercmd.proto +38 -38
  46. package/protos/csgo/usermessages.proto +721 -721
  47. package/protos/csgo/valveextensions.proto +17 -17
  48. package/protos/google/protobuf/descriptor.proto +281 -281
  49. package/protos/steam/clientmetrics.proto +45 -45
  50. package/protos/steam/content_manifest.proto +62 -62
  51. package/protos/steam/contenthubs.proto +41 -41
  52. package/protos/steam/encrypted_app_ticket.proto +10 -10
  53. package/protos/steam/enums.proto +444 -444
  54. package/protos/steam/enums_clientserver.proto +1539 -1539
  55. package/protos/steam/enums_productinfo.proto +13 -13
  56. package/protos/steam/htmlmessages.proto +1027 -1027
  57. package/protos/steam/offline_ticket.proto +8 -8
  58. package/protos/steam/renderer/rendermessages.proto +893 -893
  59. package/protos/steam/steamdatagram_messages_auth.proto +65 -65
  60. package/protos/steam/steamdatagram_messages_sdr.proto +533 -533
  61. package/protos/steam/steammessages_accounthardware.steamclient.proto +201 -201
  62. package/protos/steam/steammessages_appoverview.proto +187 -187
  63. package/protos/steam/steammessages_auth.steamclient.proto +435 -435
  64. package/protos/steam/steammessages_base.proto +332 -332
  65. package/protos/steam/steammessages_broadcast.steamclient.proto +759 -759
  66. package/protos/steam/steammessages_chat.steamclient.proto +1281 -1281
  67. package/protos/steam/steammessages_client_objects.proto +645 -645
  68. package/protos/steam/steammessages_clientlanp2p.proto +42 -42
  69. package/protos/steam/steammessages_clientmetrics.steamclient.proto +194 -194
  70. package/protos/steam/steammessages_clientnotificationtypes.proto +231 -231
  71. package/protos/steam/steammessages_clientserver.proto +392 -392
  72. package/protos/steam/steammessages_clientserver_2.proto +760 -760
  73. package/protos/steam/steammessages_clientserver_appinfo.proto +131 -131
  74. package/protos/steam/steammessages_clientserver_friends.proto +260 -260
  75. package/protos/steam/steammessages_clientserver_gameservers.proto +159 -159
  76. package/protos/steam/steammessages_clientserver_lbs.proto +70 -70
  77. package/protos/steam/steammessages_clientserver_login.proto +167 -167
  78. package/protos/steam/steammessages_clientserver_ucm.proto +205 -205
  79. package/protos/steam/steammessages_clientserver_uds.proto +124 -124
  80. package/protos/steam/steammessages_clientserver_ufs.proto +172 -172
  81. package/protos/steam/steammessages_clientserver_userstats.proto +80 -80
  82. package/protos/steam/steammessages_clientsettings.proto +168 -168
  83. package/protos/steam/steammessages_cloud.steamclient.proto +513 -513
  84. package/protos/steam/steammessages_contentsystem.steamclient.proto +115 -115
  85. package/protos/steam/steammessages_credentials.steamclient.proto +115 -115
  86. package/protos/steam/steammessages_datapublisher.steamclient.proto +116 -116
  87. package/protos/steam/steammessages_depotbuilder.steamclient.proto +118 -118
  88. package/protos/steam/steammessages_deviceauth.steamclient.proto +203 -203
  89. package/protos/steam/steammessages_econ.steamclient.proto +150 -150
  90. package/protos/steam/steammessages_friendmessages.steamclient.proto +168 -168
  91. package/protos/steam/steammessages_gamenetworking.steamclient.proto +32 -32
  92. package/protos/steam/steammessages_gamenetworkingui.proto +61 -61
  93. package/protos/steam/steammessages_gamenotifications.steamclient.proto +156 -156
  94. package/protos/steam/steammessages_gameservers.steamclient.proto +152 -152
  95. package/protos/steam/steammessages_hiddevices.proto +157 -157
  96. package/protos/steam/steammessages_inventory.steamclient.proto +224 -224
  97. package/protos/steam/steammessages_linkfilter.steamclient.proto +49 -49
  98. package/protos/steam/steammessages_lobbymatchmaking.steamclient.proto +33 -33
  99. package/protos/steam/steammessages_market.steamclient.proto +26 -26
  100. package/protos/steam/steammessages_marketingmessages.steamclient.proto +274 -274
  101. package/protos/steam/steammessages_offline.steamclient.proto +40 -40
  102. package/protos/steam/steammessages_parental.steamclient.proto +228 -228
  103. package/protos/steam/steammessages_parties.steamclient.proto +94 -94
  104. package/protos/steam/steammessages_partnerapps.steamclient.proto +138 -138
  105. package/protos/steam/steammessages_player.steamclient.proto +1060 -1060
  106. package/protos/steam/steammessages_publishedfile.steamclient.proto +813 -813
  107. package/protos/steam/steammessages_qms.steamclient.proto +125 -125
  108. package/protos/steam/steammessages_remoteclient.proto +99 -99
  109. package/protos/steam/steammessages_remoteclient_discovery.proto +235 -235
  110. package/protos/steam/steammessages_remoteclient_service.steamclient.proto +86 -86
  111. package/protos/steam/steammessages_remoteclient_service_messages.proto +217 -217
  112. package/protos/steam/steammessages_remoteplay.proto +976 -976
  113. package/protos/steam/steammessages_secrets.steamclient.proto +39 -39
  114. package/protos/steam/steammessages_shader.steamclient.proto +108 -108
  115. package/protos/steam/steammessages_site_license.steamclient.proto +128 -128
  116. package/protos/steam/steammessages_sitelicenseclient.proto +38 -38
  117. package/protos/steam/steammessages_siteserverui.proto +130 -130
  118. package/protos/steam/steammessages_star.steamclient.proto +64 -64
  119. package/protos/steam/steammessages_steamtv.steamclient.proto +630 -630
  120. package/protos/steam/steammessages_store.steamclient.proto +371 -371
  121. package/protos/steam/steammessages_storebrowse.steamclient.proto +402 -402
  122. package/protos/steam/steammessages_timedtrial.steamclient.proto +50 -50
  123. package/protos/steam/steammessages_twofactor.steamclient.proto +186 -186
  124. package/protos/steam/steammessages_unified_base.steamclient.proto +33 -33
  125. package/protos/steam/steammessages_unified_test.steamclient.proto +61 -61
  126. package/protos/steam/steammessages_useraccount.steamclient.proto +249 -249
  127. package/protos/steam/steammessages_vac.steamclient.proto +44 -44
  128. package/protos/steam/steammessages_video.steamclient.proto +171 -171
  129. package/protos/steam/steammessages_virtualcontroller.proto +138 -138
  130. package/protos/steam/steammessages_workshop.steamclient.proto +23 -23
  131. package/protos/steam/steamnetworkingsockets_messages.proto +205 -205
  132. package/protos/steam/steamnetworkingsockets_messages_certs.proto +39 -39
  133. package/protos/steam/steamnetworkingsockets_messages_udp.proto +75 -75
  134. package/protos/steam/webuimessages_base.proto +24 -24
  135. package/protos/steam/webuimessages_gamenotes.proto +21 -21
  136. package/protos/steam/webuimessages_steamengine.proto +32 -32
  137. package/protos/steam/webuimessages_storagedevicemanager.proto +110 -110
  138. package/protos/steam/webuimessages_systemmanager.proto +17 -17
  139. package/protos/steam/webuimessages_transport.proto +18 -18
  140. package/protos/steam/webuimessages_transportvalidation.proto +97 -97
  141. package/protos/webui/common.proto +5508 -5508
  142. package/protos/webui/common_base.proto +27 -27
  143. package/protos/webui/service_accountlinking.proto +27 -27
  144. package/protos/webui/service_accountprivacy.proto +42 -42
  145. package/protos/webui/service_auction.proto +97 -97
  146. package/protos/webui/service_authentication.proto +222 -222
  147. package/protos/webui/service_authenticationsupport.proto +74 -74
  148. package/protos/webui/service_broadcast.proto +562 -562
  149. package/protos/webui/service_chat.proto +11 -11
  150. package/protos/webui/service_chatroom.proto +810 -810
  151. package/protos/webui/service_chatusability.proto +107 -107
  152. package/protos/webui/service_clan.proto +41 -41
  153. package/protos/webui/service_clanchatrooms.proto +25 -25
  154. package/protos/webui/service_clanfaqs.proto +202 -202
  155. package/protos/webui/service_clientcomm.proto +150 -150
  156. package/protos/webui/service_clientmetrics.proto +63 -63
  157. package/protos/webui/service_cloud.proto +222 -222
  158. package/protos/webui/service_cloudconfigstore.proto +51 -51
  159. package/protos/webui/service_cloudgaming.proto +30 -30
  160. package/protos/webui/service_community.proto +365 -365
  161. package/protos/webui/service_econ.proto +134 -134
  162. package/protos/webui/service_embedded.proto +24 -24
  163. package/protos/webui/service_experimentservice.proto +6 -6
  164. package/protos/webui/service_fovasvideo.proto +15 -15
  165. package/protos/webui/service_friendmessages.proto +133 -133
  166. package/protos/webui/service_friendslist.proto +70 -70
  167. package/protos/webui/service_gamenotes.proto +15 -15
  168. package/protos/webui/service_helprequestlogs.proto +26 -26
  169. package/protos/webui/service_loyaltyrewards.proto +252 -252
  170. package/protos/webui/service_marketingmessages.proto +184 -184
  171. package/protos/webui/service_mobileapp.proto +18 -18
  172. package/protos/webui/service_mobileauth.proto +24 -24
  173. package/protos/webui/service_mobiledevice.proto +26 -26
  174. package/protos/webui/service_mobileperaccount.proto +31 -31
  175. package/protos/webui/service_news.proto +101 -101
  176. package/protos/webui/service_parental.proto +178 -178
  177. package/protos/webui/service_partnermembershipinvite.proto +29 -29
  178. package/protos/webui/service_partnerstorebrowse.proto +6 -6
  179. package/protos/webui/service_phone.proto +51 -51
  180. package/protos/webui/service_physicalgoods.proto +15 -15
  181. package/protos/webui/service_player.proto +885 -885
  182. package/protos/webui/service_promotioneventinvites.proto +50 -50
  183. package/protos/webui/service_promotionplanning.proto +72 -72
  184. package/protos/webui/service_publishedfile.proto +687 -687
  185. package/protos/webui/service_publishing.proto +119 -119
  186. package/protos/webui/service_quest.proto +127 -127
  187. package/protos/webui/service_salefeature.proto +315 -315
  188. package/protos/webui/service_saleitemrewards.proto +54 -54
  189. package/protos/webui/service_shoppingcart.proto +108 -108
  190. package/protos/webui/service_steamawards.proto +19 -19
  191. package/protos/webui/service_steamcharts.proto +75 -75
  192. package/protos/webui/service_steamengine.proto +36 -36
  193. package/protos/webui/service_steamlearn.proto +727 -727
  194. package/protos/webui/service_steamnotification.proto +84 -84
  195. package/protos/webui/service_steamtv.proto +495 -495
  196. package/protos/webui/service_steamvrvoicechat.proto +67 -67
  197. package/protos/webui/service_steamvrwebrtc.proto +48 -48
  198. package/protos/webui/service_storagedevicemanager.proto +104 -104
  199. package/protos/webui/service_store.proto +289 -289
  200. package/protos/webui/service_storeappsimilarity.proto +76 -76
  201. package/protos/webui/service_storebrowse.proto +73 -73
  202. package/protos/webui/service_storequery.proto +97 -97
  203. package/protos/webui/service_storesales.proto +15 -15
  204. package/protos/webui/service_storetopsellers.proto +44 -44
  205. package/protos/webui/service_systemmanager.proto +11 -11
  206. package/protos/webui/service_test_transporterror.proto +6 -6
  207. package/protos/webui/service_transportauth.proto +12 -12
  208. package/protos/webui/service_transportvalidation.proto +69 -69
  209. package/protos/webui/service_twofactor.proto +181 -181
  210. package/protos/webui/service_useraccount.proto +138 -138
  211. package/protos/webui/service_usergameactivity.proto +34 -34
  212. package/protos/webui/service_usergamenotes.proto +53 -53
  213. package/protos/webui/service_usernews.proto +68 -68
  214. package/protos/webui/service_userreviews.proto +96 -96
  215. package/protos/webui/service_video.proto +128 -128
  216. package/protos/webui/service_voicechat.proto +139 -139
  217. package/protos/webui/service_webrtc.proto +52 -52
  218. package/.idea/deployment.xml +0 -21
@@ -1,893 +1,893 @@
1
- option optimize_for = SPEED;
2
- option cc_generic_services = false;
3
-
4
- message CMsgBeginFrame {
5
- optional double frame_paint_time = 1;
6
- optional uint32 surface_width = 2;
7
- optional uint32 surface_height = 3;
8
- optional uint32 render_target = 4;
9
- optional double ui_scale_factor = 5;
10
- optional bool empty_frame = 6;
11
- optional bool clear_gpu_resources_before_frame = 7;
12
- }
13
-
14
- message CMsgEndFrame {
15
- optional uint32 mouse_cursor_texture_id = 1;
16
- optional float mouse_cursor_hotspot_x = 2;
17
- optional float mouse_cursor_hotspot_y = 3;
18
- }
19
-
20
- message CMsgClearBackbuffer {
21
- optional uint32 clear_color_rgba = 1;
22
- }
23
-
24
- message CMsgDeleteTexture {
25
- optional uint64 texture_pointer = 1;
26
- }
27
-
28
- message CMsgDeletePanel {
29
- optional uint64 context_id = 1;
30
- }
31
-
32
- message CMsgDeleteParticleSystem {
33
- optional uint64 panel_handle = 1;
34
- optional uint32 brush_index = 2;
35
- }
36
-
37
- message CMsgPoint {
38
- optional double x = 1;
39
- optional double y = 2;
40
- optional double z = 3;
41
- }
42
-
43
- message CMsgMatrix4x4 {
44
- optional double m00 = 1;
45
- optional double m01 = 2;
46
- optional double m02 = 3;
47
- optional double m03 = 4;
48
- optional double m10 = 5;
49
- optional double m11 = 6;
50
- optional double m12 = 7;
51
- optional double m13 = 8;
52
- optional double m20 = 9;
53
- optional double m21 = 10;
54
- optional double m22 = 11;
55
- optional double m23 = 12;
56
- optional double m30 = 13;
57
- optional double m31 = 14;
58
- optional double m32 = 15;
59
- optional double m33 = 16;
60
- }
61
-
62
- message CRadiusData {
63
- message CCornerRadius {
64
- optional double horizontal = 1;
65
- optional double vertical = 2;
66
- }
67
-
68
- optional .CRadiusData.CCornerRadius top_left = 1;
69
- optional .CRadiusData.CCornerRadius top_right = 2;
70
- optional .CRadiusData.CCornerRadius bottom_right = 3;
71
- optional .CRadiusData.CCornerRadius bottom_left = 4;
72
- }
73
-
74
- message CBorderData {
75
- message CBorderSide {
76
- optional uint32 style = 1;
77
- optional double width = 2;
78
- optional uint32 color = 3;
79
- }
80
-
81
- optional .CBorderData.CBorderSide top = 1;
82
- optional .CBorderData.CBorderSide right = 2;
83
- optional .CBorderData.CBorderSide bottom = 3;
84
- optional .CBorderData.CBorderSide left = 4;
85
- }
86
-
87
- message CBoxShadowData {
88
- optional bool inset = 1;
89
- optional double horizontal_offset = 2;
90
- optional double vertical_offset = 3;
91
- optional double blur_radius = 4;
92
- optional double spread_distance = 5;
93
- optional uint32 color = 6;
94
- optional bool fill = 7;
95
- optional bool animating = 8;
96
- }
97
-
98
- message CTextShadowData {
99
- optional double horizontal_offset = 2;
100
- optional double vertical_offset = 3;
101
- optional double blur_radius = 4;
102
- optional uint32 color = 6;
103
- optional bool animating = 8;
104
- optional double strength = 9;
105
- }
106
-
107
- message CRadialClipData {
108
- optional double center_x = 1;
109
- optional double center_y = 2;
110
- optional double start_angle = 3;
111
- optional double sector_angle = 4;
112
- }
113
-
114
- message CMsgClipData {
115
- optional bool rect_clip = 1;
116
- optional double left = 2;
117
- optional double top = 3;
118
- optional double right = 4;
119
- optional double bottom = 5;
120
- optional .CRadialClipData radial_clip = 6;
121
- }
122
-
123
- message CMsgPushCompositingLayer {
124
- optional uint64 layer_id = 1;
125
- optional double width = 2;
126
- optional double height = 3;
127
- optional double layer_quad_top_left_x = 4;
128
- optional double layer_quad_top_left_y = 5;
129
- optional double layer_quad_top_left_z = 6;
130
- optional double layer_quad_top_right_x = 7;
131
- optional double layer_quad_top_right_y = 8;
132
- optional double layer_quad_top_right_z = 9;
133
- optional double layer_quad_bottom_left_x = 10;
134
- optional double layer_quad_bottom_left_y = 11;
135
- optional double layer_quad_bottom_left_z = 12;
136
- optional double layer_quad_bottom_right_x = 13;
137
- optional double layer_quad_bottom_right_y = 14;
138
- optional double layer_quad_bottom_right_z = 15;
139
- optional double transform_m00 = 16;
140
- optional double transform_m01 = 17;
141
- optional double transform_m02 = 18;
142
- optional double transform_m03 = 19;
143
- optional double transform_m10 = 20;
144
- optional double transform_m11 = 21;
145
- optional double transform_m12 = 22;
146
- optional double transform_m13 = 23;
147
- optional double transform_m20 = 24;
148
- optional double transform_m21 = 25;
149
- optional double transform_m22 = 26;
150
- optional double transform_m23 = 27;
151
- optional double transform_m30 = 28;
152
- optional double transform_m31 = 29;
153
- optional double transform_m32 = 30;
154
- optional double transform_m33 = 31;
155
- optional double perspective_depth = 32;
156
- optional double opacity = 33;
157
- optional uint32 composition_color = 34;
158
- optional double saturation = 35;
159
- optional double hue_shift = 36;
160
- optional double brightness = 37;
161
- optional double contrast = 38;
162
- optional uint32 opacity_mask_texture_id = 39;
163
- optional double opacity_mask_opacity = 40;
164
- optional .CBorderData border = 41;
165
- optional .CRadiusData border_radius = 42;
166
- optional .CBoxShadowData box_shadow = 43;
167
- optional double gaussianblur_passes = 44;
168
- optional double gaussianblur_stddevhor = 45;
169
- optional double gaussianblur_stddevver = 46;
170
- optional double scale_2d_factors_x = 47;
171
- optional double scale_2d_factors_y = 48;
172
- optional double rotate_2d = 49;
173
- optional bool needs_clear = 50;
174
- optional bool needs_depth = 51;
175
- optional bool needs_intermediate_texture = 52;
176
- optional bool needs_redraw_every_frame = 53;
177
- optional .CTextShadowData text_shadow = 54;
178
- optional uint32 mix_blend_mode = 55;
179
- optional double occluded_left_edge = 56;
180
- optional double occluded_top_edge = 57;
181
- optional double occluded_right_edge = 58;
182
- optional double occluded_bottom_edge = 59;
183
- optional .CRadialClipData radial_clip = 60;
184
- optional double motionblur_velocity = 61;
185
- optional double motionblur_dirx = 62;
186
- optional double motionblur_diry = 63;
187
- optional string composition_layer_texture_name = 64;
188
- }
189
-
190
- message CMsgPopCompositingLayer {
191
- }
192
-
193
- message CMsgFreeCompositingLayer {
194
- optional uint64 layer_id = 1;
195
- }
196
-
197
- message CMsgTransitionData {
198
- optional double start_time = 1;
199
- optional double delay_seconds = 2;
200
- optional double duration_seconds = 3;
201
- optional uint32 timing_func = 4 [default = 0];
202
- optional float cubic_bezier_0 = 5;
203
- optional float cubic_bezier_1 = 6;
204
- optional float cubic_bezier_2 = 7;
205
- optional float cubic_bezier_3 = 8;
206
- }
207
-
208
- message CMsgAnimationData {
209
- optional double start_time = 1;
210
- optional double delay_seconds = 2;
211
- optional double duration_seconds = 3;
212
- optional uint32 timing_func = 4;
213
- optional float cubic_bezier_0 = 5;
214
- optional float cubic_bezier_1 = 6;
215
- optional float cubic_bezier_2 = 7;
216
- optional float cubic_bezier_3 = 8;
217
- optional uint32 direction = 9;
218
- optional float iteration = 10;
219
- repeated .CMsgAnimationFrameData frames = 11;
220
- }
221
-
222
- message CMsgAnimationFrameData {
223
- optional float percent = 1;
224
- optional uint32 timing_func = 2 [default = 0];
225
- optional float cubic_bezier_0 = 3;
226
- optional float cubic_bezier_1 = 4;
227
- optional float cubic_bezier_2 = 5;
228
- optional float cubic_bezier_3 = 6;
229
-
230
- extensions 1000 to max;
231
- }
232
-
233
- message CMsgPointWithTransition {
234
- extend .CMsgAnimationFrameData {
235
- optional .CMsgPointWithTransition.AnimationFrameData animation_frame_data = 1012;
236
- }
237
-
238
- message AnimationFrameData {
239
- optional .CMsgPoint data = 1;
240
- }
241
-
242
- optional .CMsgPoint base = 1;
243
- optional .CMsgPoint transition = 2;
244
- optional .CMsgTransitionData transition_data = 3;
245
- optional uint32 style_symbol = 4;
246
- repeated .CMsgAnimationData animations = 5;
247
- }
248
-
249
- message CMsgColor {
250
- extend .CMsgAnimationFrameData {
251
- optional .CMsgColor.AnimationFrameData animation_frame_data = 1001;
252
- }
253
-
254
- message AnimationFrameData {
255
- optional uint32 data = 1;
256
- }
257
-
258
- optional uint32 base = 1;
259
- optional uint32 transition = 2;
260
- optional .CMsgTransitionData transition_data = 3;
261
- optional uint32 style_symbol = 4;
262
- repeated .CMsgAnimationData animations = 5;
263
- }
264
-
265
- message CMsgColorStop {
266
- optional double position = 1;
267
- optional uint32 color_rgba = 2;
268
- }
269
-
270
- message CMsgLinearGradient {
271
- optional .CMsgPoint start_position = 1;
272
- optional .CMsgPoint end_position = 2;
273
- repeated .CMsgColorStop color_stop = 3;
274
- }
275
-
276
- message CMsgRadialGradient {
277
- optional .CMsgPoint center_position = 1;
278
- optional .CMsgPoint offset_distance = 2;
279
- optional .CMsgPoint radii = 3;
280
- repeated .CMsgColorStop color_stop = 4;
281
- }
282
-
283
- message CMsgParticle {
284
- optional .CMsgPoint particle_position = 1;
285
- optional float particle_size = 2;
286
- optional float particle_sharpness = 3;
287
- optional uint32 color_rgba = 4;
288
- }
289
-
290
- message CMsgParticleSystem {
291
- optional .CMsgPoint base_position = 1;
292
- optional .CMsgPoint base_position_variance = 2;
293
- optional double particle_size = 3;
294
- optional double particle_size_variance = 4;
295
- optional double particles_per_second = 5;
296
- optional double particles_per_second_variance = 6;
297
- optional double particle_lifespan_seconds = 7;
298
- optional double particle_lifespan_seconds_variance = 8;
299
- optional .CMsgPoint particle_initial_velocity = 9;
300
- optional .CMsgPoint particle_initial_velocity_variance = 10;
301
- optional .CMsgPoint gravity_acceleration = 11;
302
- optional .CMsgPoint gravity_acceleration_particle_variance = 12;
303
- optional uint32 color_start_rgba = 13;
304
- optional uint32 color_start_rgba_variance = 14;
305
- optional uint32 color_end_rgba = 15;
306
- optional uint32 color_end_rgba_variance = 16;
307
- optional uint64 parent_panel_handle = 17;
308
- optional uint32 parent_brush_index = 18;
309
- optional float particle_sharpness = 19;
310
- optional float particle_sharpness_variance = 20;
311
- optional float particle_flicker = 21;
312
- optional float particle_flicker_variance = 22;
313
- optional .CMsgPoint particle_velocity_min = 23;
314
- optional .CMsgPoint particle_velocity_max = 24;
315
- repeated .CMsgParticle particles = 50;
316
- }
317
-
318
- message CMsgFillBrush {
319
- optional double opacity = 1;
320
- optional uint32 color_rgba = 2;
321
- optional .CMsgLinearGradient linear_gradient = 3;
322
- optional .CMsgRadialGradient radial_gradient = 4;
323
- optional .CMsgParticleSystem particle_system = 5;
324
- }
325
-
326
- message CMsgFillBrushCollection {
327
- extend .CMsgAnimationFrameData {
328
- optional .CMsgFillBrushCollection.AnimationFrameData animation_frame_data = 1007;
329
- }
330
-
331
- message AnimationFrameData {
332
- repeated .CMsgFillBrush data = 1;
333
- }
334
-
335
- repeated .CMsgFillBrush base = 1;
336
- repeated .CMsgFillBrush transition = 2;
337
- optional .CMsgTransitionData transition_data = 3;
338
- optional uint32 style_symbol = 4;
339
- repeated .CMsgAnimationData animations = 5;
340
- }
341
-
342
- message CMsgRenderFillBrushCollection {
343
- repeated .CMsgFillBrush fill_brush = 1;
344
- }
345
-
346
- message CMsgPanelPosition {
347
- extend .CMsgAnimationFrameData {
348
- optional .CMsgPanelPosition.AnimationFrameData animation_frame_data = 1011;
349
- }
350
-
351
- message AnimationFrameData {
352
- optional .CMsgPoint data = 1;
353
- }
354
-
355
- optional .CMsgPoint base = 1;
356
- optional .CMsgPoint transition = 2;
357
- optional .CMsgTransitionData transition_data = 3;
358
- optional uint32 style_symbol = 4;
359
- repeated .CMsgAnimationData animations = 5;
360
- optional .CMsgPoint scroll_offset = 6;
361
- optional .CMsgPoint scroll_offset_target = 7;
362
- optional .CMsgTransitionData scroll_transition_x = 8;
363
- optional .CMsgTransitionData scroll_transition_y = 9;
364
- }
365
-
366
- message CMsgOpacity {
367
- extend .CMsgAnimationFrameData {
368
- optional .CMsgOpacity.AnimationFrameData animation_frame_data = 1004;
369
- }
370
-
371
- message AnimationFrameData {
372
- optional double data = 1;
373
- }
374
-
375
- optional double base = 1;
376
- optional double transition = 2;
377
- optional .CMsgTransitionData transition_data = 3;
378
- optional uint32 style_symbol = 4;
379
- repeated .CMsgAnimationData animations = 5;
380
- }
381
-
382
- message CMsgRotate2D {
383
- extend .CMsgAnimationFrameData {
384
- optional .CMsgRotate2D.AnimationFrameData animation_frame_data = 1014;
385
- }
386
-
387
- message AnimationFrameData {
388
- optional double data = 1;
389
- }
390
-
391
- optional double base = 1;
392
- optional double transition = 2;
393
- optional .CMsgTransitionData transition_data = 3;
394
- optional uint32 style_symbol = 4;
395
- repeated .CMsgAnimationData animations = 5;
396
- }
397
-
398
- message CMsgOpacityMaskData {
399
- optional uint32 opacity_mask_texture_id = 1;
400
- optional double opacity_mask_opacity = 2;
401
- }
402
-
403
- message CMsgOpacityMask {
404
- extend .CMsgAnimationFrameData {
405
- optional .CMsgOpacityMask.AnimationFrameData animation_frame_data = 1013;
406
- }
407
-
408
- message AnimationFrameData {
409
- optional .CMsgOpacityMaskData data = 1;
410
- }
411
-
412
- optional .CMsgOpacityMaskData base = 1;
413
- optional .CMsgOpacityMaskData transition = 2;
414
- optional .CMsgTransitionData transition_data = 3;
415
- optional uint32 style_symbol = 4;
416
- repeated .CMsgAnimationData animations = 5;
417
- }
418
-
419
- message CMsgHueShift {
420
- extend .CMsgAnimationFrameData {
421
- optional .CMsgHueShift.AnimationFrameData animation_frame_data = 1019;
422
- }
423
-
424
- message AnimationFrameData {
425
- optional double data = 1;
426
- }
427
-
428
- optional double base = 1;
429
- optional double transition = 2;
430
- optional .CMsgTransitionData transition_data = 3;
431
- optional uint32 style_symbol = 4;
432
- repeated .CMsgAnimationData animations = 5;
433
- }
434
-
435
- message CMsgSaturation {
436
- extend .CMsgAnimationFrameData {
437
- optional .CMsgSaturation.AnimationFrameData animation_frame_data = 1005;
438
- }
439
-
440
- message AnimationFrameData {
441
- optional double data = 1;
442
- }
443
-
444
- optional double base = 1;
445
- optional double transition = 2;
446
- optional .CMsgTransitionData transition_data = 3;
447
- optional uint32 style_symbol = 4;
448
- repeated .CMsgAnimationData animations = 5;
449
- }
450
-
451
- message CMsgBrightness {
452
- extend .CMsgAnimationFrameData {
453
- optional .CMsgBrightness.AnimationFrameData animation_frame_data = 1020;
454
- }
455
-
456
- message AnimationFrameData {
457
- optional double data = 1;
458
- }
459
-
460
- optional double base = 1;
461
- optional double transition = 2;
462
- optional .CMsgTransitionData transition_data = 3;
463
- optional uint32 style_symbol = 4;
464
- repeated .CMsgAnimationData animations = 5;
465
- }
466
-
467
- message CMsgContrast {
468
- extend .CMsgAnimationFrameData {
469
- optional .CMsgContrast.AnimationFrameData animation_frame_data = 1021;
470
- }
471
-
472
- message AnimationFrameData {
473
- optional double data = 1;
474
- }
475
-
476
- optional double base = 1;
477
- optional double transition = 2;
478
- optional .CMsgTransitionData transition_data = 3;
479
- optional uint32 style_symbol = 4;
480
- repeated .CMsgAnimationData animations = 5;
481
- }
482
-
483
- message CMsgGaussianValues {
484
- optional double passes = 1;
485
- optional double stddev_hor = 2;
486
- optional double stddev_ver = 3;
487
- }
488
-
489
- message CMsgGaussianBlur {
490
- extend .CMsgAnimationFrameData {
491
- optional .CMsgGaussianBlur.AnimationFrameData animation_frame_data = 1008;
492
- }
493
-
494
- message AnimationFrameData {
495
- optional .CMsgGaussianValues data = 1;
496
- }
497
-
498
- optional .CMsgGaussianValues base = 1;
499
- optional .CMsgGaussianValues transition = 2;
500
- optional .CMsgTransitionData transition_data = 3;
501
- optional uint32 style_symbol = 4;
502
- repeated .CMsgAnimationData animations = 5;
503
- }
504
-
505
- message CMsgMotionBlurValues {
506
- optional double velocity = 1;
507
- optional double dirx = 2;
508
- optional double diry = 3;
509
- }
510
-
511
- message CMsgMotionBlur {
512
- extend .CMsgAnimationFrameData {
513
- optional .CMsgMotionBlur.AnimationFrameData animation_frame_data = 1022;
514
- }
515
-
516
- message AnimationFrameData {
517
- optional .CMsgMotionBlurValues data = 1;
518
- }
519
-
520
- optional .CMsgMotionBlurValues base = 1;
521
- optional .CMsgMotionBlurValues transition = 2;
522
- optional .CMsgTransitionData transition_data = 3;
523
- repeated .CMsgAnimationData animations = 4;
524
- optional uint32 style_symbol = 5;
525
- }
526
-
527
- message CMsg3DTransformPerspective {
528
- extend .CMsgAnimationFrameData {
529
- optional .CMsg3DTransformPerspective.AnimationFrameData animation_frame_data = 1003;
530
- }
531
-
532
- message AnimationFrameData {
533
- optional double data = 1;
534
- }
535
-
536
- optional double base = 1;
537
- optional double transition = 2;
538
- optional .CMsgTransitionData transition_data = 3;
539
- optional uint32 style_symbol = 4;
540
- repeated .CMsgAnimationData animations = 5;
541
- }
542
-
543
- message CMsg3DTransformPerspectiveOrigin {
544
- extend .CMsgAnimationFrameData {
545
- optional .CMsg3DTransformPerspectiveOrigin.AnimationFrameData animation_frame_data = 1002;
546
- }
547
-
548
- message AnimationFrameData {
549
- optional .CMsgPoint data = 1;
550
- }
551
-
552
- optional .CMsgPoint base = 1;
553
- optional .CMsgPoint transition = 2;
554
- optional .CMsgTransitionData transition_data = 3;
555
- optional uint32 style_symbol = 4;
556
- repeated .CMsgAnimationData animations = 5;
557
- }
558
-
559
- message CMsgTransformOriginData {
560
- optional double x = 1;
561
- optional double y = 2;
562
- optional bool x_is_percent = 3;
563
- optional bool y_is_percent = 4;
564
- optional bool is_parent_relative = 5;
565
- }
566
-
567
- message CMsg3DTransformOrigin {
568
- extend .CMsgAnimationFrameData {
569
- optional .CMsg3DTransformOrigin.AnimationFrameData animation_frame_data = 1015;
570
- }
571
-
572
- message AnimationFrameData {
573
- optional .CMsgTransformOriginData data = 1;
574
- }
575
-
576
- optional .CMsgTransformOriginData base = 1;
577
- optional .CMsgTransformOriginData transition = 2;
578
- optional .CMsgTransitionData transition_data = 3;
579
- optional uint32 style_symbol = 4;
580
- repeated .CMsgAnimationData animations = 5;
581
- }
582
-
583
- message CMsg3DTransformMatrix {
584
- extend .CMsgAnimationFrameData {
585
- optional .CMsg3DTransformMatrix.AnimationFrameData animation_frame_data = 1000;
586
- }
587
-
588
- message AnimationFrameData {
589
- optional .CMsgMatrix4x4 data = 1;
590
- }
591
-
592
- optional .CMsgMatrix4x4 base = 1;
593
- optional .CMsgTransitionData transition_data = 2;
594
- optional .CMsgMatrix4x4 transition = 3;
595
- optional uint32 style_symbol = 4;
596
- repeated .CMsgAnimationData animations = 5;
597
- }
598
-
599
- message CMsgBorderRadius {
600
- extend .CMsgAnimationFrameData {
601
- optional .CMsgBorderRadius.AnimationFrameData animation_frame_data = 1006;
602
- }
603
-
604
- message AnimationFrameData {
605
- optional .CRadiusData data = 1;
606
- }
607
-
608
- optional .CRadiusData base = 1;
609
- optional .CMsgTransitionData transition_data = 2;
610
- optional .CRadiusData transition = 3;
611
- optional uint32 style_symbol = 4;
612
- repeated .CMsgAnimationData animations = 5;
613
- }
614
-
615
- message CMsgBorder {
616
- extend .CMsgAnimationFrameData {
617
- optional .CMsgBorder.AnimationFrameData animation_frame_data = 1009;
618
- }
619
-
620
- message AnimationFrameData {
621
- optional .CBorderData data = 1;
622
- }
623
-
624
- optional .CBorderData base = 1;
625
- optional .CMsgTransitionData transition_data = 2;
626
- optional .CBorderData transition = 3;
627
- optional uint32 style_symbol = 4;
628
- repeated .CMsgAnimationData animations = 5;
629
- }
630
-
631
- message CMsgBoxShadow {
632
- extend .CMsgAnimationFrameData {
633
- optional .CMsgBoxShadow.AnimationFrameData animation_frame_data = 1010;
634
- }
635
-
636
- message AnimationFrameData {
637
- optional .CBoxShadowData data = 1;
638
- }
639
-
640
- optional .CBoxShadowData base = 1;
641
- optional .CMsgTransitionData transition_data = 2;
642
- optional .CBoxShadowData transition = 3;
643
- optional uint32 style_symbol = 4;
644
- repeated .CMsgAnimationData animations = 5;
645
- }
646
-
647
- message CMsgTextShadow {
648
- extend .CMsgAnimationFrameData {
649
- optional .CMsgTextShadow.AnimationFrameData animation_frame_data = 1017;
650
- }
651
-
652
- message AnimationFrameData {
653
- optional .CTextShadowData data = 1;
654
- }
655
-
656
- optional .CTextShadowData base = 1;
657
- optional .CMsgTransitionData transition_data = 2;
658
- optional .CTextShadowData transition = 3;
659
- optional uint32 style_symbol = 4;
660
- repeated .CMsgAnimationData animations = 5;
661
- }
662
-
663
- message CMsgClip {
664
- extend .CMsgAnimationFrameData {
665
- optional .CMsgClip.AnimationFrameData animation_frame_data = 1018;
666
- }
667
-
668
- message AnimationFrameData {
669
- optional .CMsgClipData data = 1;
670
- }
671
-
672
- optional .CMsgClipData base = 1;
673
- optional .CMsgTransitionData transition_data = 2;
674
- optional .CMsgClipData transition = 3;
675
- optional uint32 style_symbol = 4;
676
- repeated .CMsgAnimationData animations = 5;
677
- }
678
-
679
- message CMsgPushClipLayer {
680
- optional .CMsgPoint top_left = 1;
681
- optional .CMsgPoint bottom_right = 2;
682
- optional .CRadiusData border_radius = 3;
683
- }
684
-
685
- message CMsgPopClipLayer {
686
- }
687
-
688
- message CMsgPushPanelContextInLayer {
689
- optional double transform_m00 = 1;
690
- optional double transform_m01 = 2;
691
- optional double transform_m02 = 3;
692
- optional double transform_m03 = 4;
693
- optional double transform_m10 = 5;
694
- optional double transform_m11 = 6;
695
- optional double transform_m12 = 7;
696
- optional double transform_m13 = 8;
697
- optional double transform_m20 = 9;
698
- optional double transform_m21 = 10;
699
- optional double transform_m22 = 11;
700
- optional double transform_m23 = 12;
701
- optional double transform_m30 = 13;
702
- optional double transform_m31 = 14;
703
- optional double transform_m32 = 15;
704
- optional double transform_m33 = 16;
705
- optional .CBoxShadowData box_shadow = 17;
706
- optional double width = 18;
707
- optional double height = 19;
708
- optional double position_x = 20;
709
- optional double position_y = 21;
710
- optional double position_z = 22;
711
- optional .CBorderData border = 23;
712
- optional double scroll_x = 24;
713
- optional double scroll_y = 25;
714
- }
715
-
716
- message CMsgPopPanelContextInLayer {
717
- }
718
-
719
- message CMsgPushAAndTContext {
720
- optional uint64 context_id = 1;
721
- optional double width = 3;
722
- optional double height = 4;
723
- optional bool chilren_have_3dtransforms = 5;
724
- optional float zindex = 6;
725
- optional .CMsgPanelPosition panel_position = 7;
726
- optional .CMsg3DTransformMatrix transform_matrix = 8;
727
- optional .CMsg3DTransformOrigin transform_origin = 9;
728
- optional .CMsg3DTransformPerspective transform_perspective = 10;
729
- optional .CMsg3DTransformPerspectiveOrigin transform_perspective_origin = 11;
730
- optional .CMsgOpacity opacity = 12;
731
- optional .CMsgColor wash_color = 13;
732
- optional .CMsgHueShift hue_shift = 14;
733
- optional .CMsgSaturation saturation = 15;
734
- optional .CMsgBrightness brightness = 16;
735
- optional .CMsgContrast contrast = 17;
736
- optional .CMsgOpacityMask opacity_mask = 18;
737
- optional .CMsgBorderRadius border_radius = 19;
738
- optional .CMsgGaussianBlur gaussian_blur = 20;
739
- optional .CMsgBorder border = 21;
740
- optional .CMsgBoxShadow box_shadow = 22;
741
- optional .CMsgPointWithTransition scale_2d_centered = 23;
742
- optional .CMsgRotate2D rotate_2d_centered = 24;
743
- optional .CMsgTextShadow text_shadow = 25;
744
- optional .CMsgClip clip = 26;
745
- optional bool suppress_clip_to_bounds = 27;
746
- optional int32 needs_full_repaint = 28;
747
- optional bool needs_intermediate_texture = 29;
748
- optional bool clip_after_transform = 30;
749
- optional bool wants_hit_test = 31;
750
- optional bool wants_hit_test_children = 32;
751
- optional uint32 mix_blend_mode = 33;
752
- optional bool opaque_background = 34;
753
- optional uint32 child_panel_count = 35;
754
- optional bool wants_screenspace_quad_output = 36;
755
- optional .CMsgMotionBlur motion_blur = 37;
756
- optional string composition_layer_texture_name = 38;
757
- }
758
-
759
- message CMsgPopAAndTContext {
760
- optional uint64 context_id = 1;
761
- }
762
-
763
- message CMsgBeginPaintBackground {
764
- }
765
-
766
- message CMsgEndPaintBackground {
767
- }
768
-
769
- message CMsgBeginPaintLast {
770
- }
771
-
772
- message CMsgEndPaintLast {
773
- }
774
-
775
- message CMsgDrawFilledRect {
776
- optional .CMsgPoint top_left = 1;
777
- optional .CMsgPoint bottom_right = 2;
778
- optional .CMsgFillBrushCollection fill_brush_collection = 3;
779
- optional uint32 antialiasing = 4;
780
- }
781
-
782
- message CMsgRenderFilledRect {
783
- optional .CMsgPoint top_left = 1;
784
- optional .CMsgPoint bottom_right = 2;
785
- optional .CMsgRenderFillBrushCollection fill_brush_collection = 3;
786
- optional uint32 antialiasing = 4;
787
- }
788
-
789
- message CMsgDrawTexturedRect {
790
- optional .CMsgPoint top_left = 1;
791
- optional .CMsgPoint bottom_right = 2;
792
- optional uint32 texture_id = 3;
793
- optional .CMsgPoint texture_top_left = 4;
794
- optional .CMsgPoint texture_bottom_right = 5;
795
- optional int32 texture_serial = 6 [default = 0];
796
- optional uint32 texture_sample_mode = 7 [default = 0];
797
- optional .CMsgOpacity texture_opacity = 8;
798
- }
799
-
800
- message CMsgRenderTexturedRect {
801
- optional .CMsgPoint top_left = 1;
802
- optional .CMsgPoint bottom_right = 2;
803
- optional uint32 texture_id = 3;
804
- optional .CMsgPoint texture_top_left = 4;
805
- optional .CMsgPoint texture_bottom_right = 5;
806
- optional int32 texture_serial = 6 [default = 0];
807
- optional uint32 texture_sample_mode = 7 [default = 0];
808
- optional float texture_opacity = 8 [default = 1];
809
- }
810
-
811
- message CMsgLockTexture {
812
- optional uint32 texture_id = 1;
813
- optional int32 texture_serial = 2 [default = 0];
814
- }
815
-
816
- message CMsgTextInlineObject {
817
- optional float width = 1;
818
- optional float height = 2;
819
- }
820
-
821
- message CMsgTextFormat {
822
- optional string font_name = 1;
823
- optional double font_size = 2;
824
- optional int32 font_weight = 3 [default = -1];
825
- optional int32 font_style = 4 [default = -1];
826
- optional bool underline = 5;
827
- optional bool strikethrough = 6;
828
- optional .CMsgFillBrushCollection fill_brush_collection = 7;
829
- optional int32 letter_spacing = 8 [default = 0];
830
- optional .CMsgTextInlineObject inline_object = 9;
831
- }
832
-
833
- message CMsgTextRangeFormat {
834
- optional uint32 start_index = 1;
835
- optional uint32 end_index = 2;
836
- optional .CMsgTextFormat format = 3;
837
- }
838
-
839
- message CMsgRenderTextFormat {
840
- optional string font_name = 1;
841
- optional double font_size = 2;
842
- optional int32 font_weight = 3 [default = -1];
843
- optional int32 font_style = 4 [default = -1];
844
- optional bool underline = 5;
845
- optional bool strikethrough = 6;
846
- optional .CMsgRenderFillBrushCollection fill_brush_collection = 7;
847
- optional int32 letter_spacing = 8 [default = 0];
848
- optional .CMsgTextInlineObject inline_object = 9;
849
- }
850
-
851
- message CMsgRenderTextRangeFormat {
852
- optional uint32 start_index = 1;
853
- optional uint32 end_index = 2;
854
- optional .CMsgRenderTextFormat format = 3;
855
- }
856
-
857
- message CMsgDrawTextRegion {
858
- optional bytes raw_text = 11;
859
- optional int32 text_chars = 12;
860
- optional int32 text_encoding = 13;
861
- optional .CMsgTextFormat default_format = 3;
862
- optional uint32 text_align = 4;
863
- optional uint32 line_height = 5;
864
- optional .CMsgPoint top_left = 6;
865
- optional .CMsgPoint bottom_right = 7;
866
- optional bool wrapping = 8;
867
- optional bool ellipsis = 9;
868
- repeated .CMsgTextRangeFormat range_formats = 10;
869
- }
870
-
871
- message CMsgRenderTextRegion {
872
- optional bytes raw_text = 12;
873
- optional int32 text_chars = 13;
874
- optional int32 text_encoding = 14;
875
- optional .CMsgRenderTextFormat default_format = 3;
876
- optional uint32 text_align = 4;
877
- optional uint32 line_height = 5;
878
- optional .CMsgPoint top_left = 6;
879
- optional .CMsgPoint bottom_right = 7;
880
- optional bool wrapping = 8;
881
- optional bool ellipsis = 9;
882
- repeated .CMsgRenderTextRangeFormat range_formats = 10;
883
- optional .CTextShadowData text_shadow = 11;
884
- }
885
-
886
- message CMsgRequestRenderCallback {
887
- optional bytes callback_obj = 1;
888
- optional .CMsgPoint top_left = 2;
889
- optional .CMsgPoint bottom_right = 3;
890
- optional .CMsgPoint top_left_padding = 4;
891
- optional .CMsgPoint bottom_right_padding = 5;
892
- optional bool needs_redraw_every_frame = 6;
893
- }
1
+ option optimize_for = SPEED;
2
+ option cc_generic_services = false;
3
+
4
+ message CMsgBeginFrame {
5
+ optional double frame_paint_time = 1;
6
+ optional uint32 surface_width = 2;
7
+ optional uint32 surface_height = 3;
8
+ optional uint32 render_target = 4;
9
+ optional double ui_scale_factor = 5;
10
+ optional bool empty_frame = 6;
11
+ optional bool clear_gpu_resources_before_frame = 7;
12
+ }
13
+
14
+ message CMsgEndFrame {
15
+ optional uint32 mouse_cursor_texture_id = 1;
16
+ optional float mouse_cursor_hotspot_x = 2;
17
+ optional float mouse_cursor_hotspot_y = 3;
18
+ }
19
+
20
+ message CMsgClearBackbuffer {
21
+ optional uint32 clear_color_rgba = 1;
22
+ }
23
+
24
+ message CMsgDeleteTexture {
25
+ optional uint64 texture_pointer = 1;
26
+ }
27
+
28
+ message CMsgDeletePanel {
29
+ optional uint64 context_id = 1;
30
+ }
31
+
32
+ message CMsgDeleteParticleSystem {
33
+ optional uint64 panel_handle = 1;
34
+ optional uint32 brush_index = 2;
35
+ }
36
+
37
+ message CMsgPoint {
38
+ optional double x = 1;
39
+ optional double y = 2;
40
+ optional double z = 3;
41
+ }
42
+
43
+ message CMsgMatrix4x4 {
44
+ optional double m00 = 1;
45
+ optional double m01 = 2;
46
+ optional double m02 = 3;
47
+ optional double m03 = 4;
48
+ optional double m10 = 5;
49
+ optional double m11 = 6;
50
+ optional double m12 = 7;
51
+ optional double m13 = 8;
52
+ optional double m20 = 9;
53
+ optional double m21 = 10;
54
+ optional double m22 = 11;
55
+ optional double m23 = 12;
56
+ optional double m30 = 13;
57
+ optional double m31 = 14;
58
+ optional double m32 = 15;
59
+ optional double m33 = 16;
60
+ }
61
+
62
+ message CRadiusData {
63
+ message CCornerRadius {
64
+ optional double horizontal = 1;
65
+ optional double vertical = 2;
66
+ }
67
+
68
+ optional .CRadiusData.CCornerRadius top_left = 1;
69
+ optional .CRadiusData.CCornerRadius top_right = 2;
70
+ optional .CRadiusData.CCornerRadius bottom_right = 3;
71
+ optional .CRadiusData.CCornerRadius bottom_left = 4;
72
+ }
73
+
74
+ message CBorderData {
75
+ message CBorderSide {
76
+ optional uint32 style = 1;
77
+ optional double width = 2;
78
+ optional uint32 color = 3;
79
+ }
80
+
81
+ optional .CBorderData.CBorderSide top = 1;
82
+ optional .CBorderData.CBorderSide right = 2;
83
+ optional .CBorderData.CBorderSide bottom = 3;
84
+ optional .CBorderData.CBorderSide left = 4;
85
+ }
86
+
87
+ message CBoxShadowData {
88
+ optional bool inset = 1;
89
+ optional double horizontal_offset = 2;
90
+ optional double vertical_offset = 3;
91
+ optional double blur_radius = 4;
92
+ optional double spread_distance = 5;
93
+ optional uint32 color = 6;
94
+ optional bool fill = 7;
95
+ optional bool animating = 8;
96
+ }
97
+
98
+ message CTextShadowData {
99
+ optional double horizontal_offset = 2;
100
+ optional double vertical_offset = 3;
101
+ optional double blur_radius = 4;
102
+ optional uint32 color = 6;
103
+ optional bool animating = 8;
104
+ optional double strength = 9;
105
+ }
106
+
107
+ message CRadialClipData {
108
+ optional double center_x = 1;
109
+ optional double center_y = 2;
110
+ optional double start_angle = 3;
111
+ optional double sector_angle = 4;
112
+ }
113
+
114
+ message CMsgClipData {
115
+ optional bool rect_clip = 1;
116
+ optional double left = 2;
117
+ optional double top = 3;
118
+ optional double right = 4;
119
+ optional double bottom = 5;
120
+ optional .CRadialClipData radial_clip = 6;
121
+ }
122
+
123
+ message CMsgPushCompositingLayer {
124
+ optional uint64 layer_id = 1;
125
+ optional double width = 2;
126
+ optional double height = 3;
127
+ optional double layer_quad_top_left_x = 4;
128
+ optional double layer_quad_top_left_y = 5;
129
+ optional double layer_quad_top_left_z = 6;
130
+ optional double layer_quad_top_right_x = 7;
131
+ optional double layer_quad_top_right_y = 8;
132
+ optional double layer_quad_top_right_z = 9;
133
+ optional double layer_quad_bottom_left_x = 10;
134
+ optional double layer_quad_bottom_left_y = 11;
135
+ optional double layer_quad_bottom_left_z = 12;
136
+ optional double layer_quad_bottom_right_x = 13;
137
+ optional double layer_quad_bottom_right_y = 14;
138
+ optional double layer_quad_bottom_right_z = 15;
139
+ optional double transform_m00 = 16;
140
+ optional double transform_m01 = 17;
141
+ optional double transform_m02 = 18;
142
+ optional double transform_m03 = 19;
143
+ optional double transform_m10 = 20;
144
+ optional double transform_m11 = 21;
145
+ optional double transform_m12 = 22;
146
+ optional double transform_m13 = 23;
147
+ optional double transform_m20 = 24;
148
+ optional double transform_m21 = 25;
149
+ optional double transform_m22 = 26;
150
+ optional double transform_m23 = 27;
151
+ optional double transform_m30 = 28;
152
+ optional double transform_m31 = 29;
153
+ optional double transform_m32 = 30;
154
+ optional double transform_m33 = 31;
155
+ optional double perspective_depth = 32;
156
+ optional double opacity = 33;
157
+ optional uint32 composition_color = 34;
158
+ optional double saturation = 35;
159
+ optional double hue_shift = 36;
160
+ optional double brightness = 37;
161
+ optional double contrast = 38;
162
+ optional uint32 opacity_mask_texture_id = 39;
163
+ optional double opacity_mask_opacity = 40;
164
+ optional .CBorderData border = 41;
165
+ optional .CRadiusData border_radius = 42;
166
+ optional .CBoxShadowData box_shadow = 43;
167
+ optional double gaussianblur_passes = 44;
168
+ optional double gaussianblur_stddevhor = 45;
169
+ optional double gaussianblur_stddevver = 46;
170
+ optional double scale_2d_factors_x = 47;
171
+ optional double scale_2d_factors_y = 48;
172
+ optional double rotate_2d = 49;
173
+ optional bool needs_clear = 50;
174
+ optional bool needs_depth = 51;
175
+ optional bool needs_intermediate_texture = 52;
176
+ optional bool needs_redraw_every_frame = 53;
177
+ optional .CTextShadowData text_shadow = 54;
178
+ optional uint32 mix_blend_mode = 55;
179
+ optional double occluded_left_edge = 56;
180
+ optional double occluded_top_edge = 57;
181
+ optional double occluded_right_edge = 58;
182
+ optional double occluded_bottom_edge = 59;
183
+ optional .CRadialClipData radial_clip = 60;
184
+ optional double motionblur_velocity = 61;
185
+ optional double motionblur_dirx = 62;
186
+ optional double motionblur_diry = 63;
187
+ optional string composition_layer_texture_name = 64;
188
+ }
189
+
190
+ message CMsgPopCompositingLayer {
191
+ }
192
+
193
+ message CMsgFreeCompositingLayer {
194
+ optional uint64 layer_id = 1;
195
+ }
196
+
197
+ message CMsgTransitionData {
198
+ optional double start_time = 1;
199
+ optional double delay_seconds = 2;
200
+ optional double duration_seconds = 3;
201
+ optional uint32 timing_func = 4 [default = 0];
202
+ optional float cubic_bezier_0 = 5;
203
+ optional float cubic_bezier_1 = 6;
204
+ optional float cubic_bezier_2 = 7;
205
+ optional float cubic_bezier_3 = 8;
206
+ }
207
+
208
+ message CMsgAnimationData {
209
+ optional double start_time = 1;
210
+ optional double delay_seconds = 2;
211
+ optional double duration_seconds = 3;
212
+ optional uint32 timing_func = 4;
213
+ optional float cubic_bezier_0 = 5;
214
+ optional float cubic_bezier_1 = 6;
215
+ optional float cubic_bezier_2 = 7;
216
+ optional float cubic_bezier_3 = 8;
217
+ optional uint32 direction = 9;
218
+ optional float iteration = 10;
219
+ repeated .CMsgAnimationFrameData frames = 11;
220
+ }
221
+
222
+ message CMsgAnimationFrameData {
223
+ optional float percent = 1;
224
+ optional uint32 timing_func = 2 [default = 0];
225
+ optional float cubic_bezier_0 = 3;
226
+ optional float cubic_bezier_1 = 4;
227
+ optional float cubic_bezier_2 = 5;
228
+ optional float cubic_bezier_3 = 6;
229
+
230
+ extensions 1000 to max;
231
+ }
232
+
233
+ message CMsgPointWithTransition {
234
+ extend .CMsgAnimationFrameData {
235
+ optional .CMsgPointWithTransition.AnimationFrameData animation_frame_data = 1012;
236
+ }
237
+
238
+ message AnimationFrameData {
239
+ optional .CMsgPoint data = 1;
240
+ }
241
+
242
+ optional .CMsgPoint base = 1;
243
+ optional .CMsgPoint transition = 2;
244
+ optional .CMsgTransitionData transition_data = 3;
245
+ optional uint32 style_symbol = 4;
246
+ repeated .CMsgAnimationData animations = 5;
247
+ }
248
+
249
+ message CMsgColor {
250
+ extend .CMsgAnimationFrameData {
251
+ optional .CMsgColor.AnimationFrameData animation_frame_data = 1001;
252
+ }
253
+
254
+ message AnimationFrameData {
255
+ optional uint32 data = 1;
256
+ }
257
+
258
+ optional uint32 base = 1;
259
+ optional uint32 transition = 2;
260
+ optional .CMsgTransitionData transition_data = 3;
261
+ optional uint32 style_symbol = 4;
262
+ repeated .CMsgAnimationData animations = 5;
263
+ }
264
+
265
+ message CMsgColorStop {
266
+ optional double position = 1;
267
+ optional uint32 color_rgba = 2;
268
+ }
269
+
270
+ message CMsgLinearGradient {
271
+ optional .CMsgPoint start_position = 1;
272
+ optional .CMsgPoint end_position = 2;
273
+ repeated .CMsgColorStop color_stop = 3;
274
+ }
275
+
276
+ message CMsgRadialGradient {
277
+ optional .CMsgPoint center_position = 1;
278
+ optional .CMsgPoint offset_distance = 2;
279
+ optional .CMsgPoint radii = 3;
280
+ repeated .CMsgColorStop color_stop = 4;
281
+ }
282
+
283
+ message CMsgParticle {
284
+ optional .CMsgPoint particle_position = 1;
285
+ optional float particle_size = 2;
286
+ optional float particle_sharpness = 3;
287
+ optional uint32 color_rgba = 4;
288
+ }
289
+
290
+ message CMsgParticleSystem {
291
+ optional .CMsgPoint base_position = 1;
292
+ optional .CMsgPoint base_position_variance = 2;
293
+ optional double particle_size = 3;
294
+ optional double particle_size_variance = 4;
295
+ optional double particles_per_second = 5;
296
+ optional double particles_per_second_variance = 6;
297
+ optional double particle_lifespan_seconds = 7;
298
+ optional double particle_lifespan_seconds_variance = 8;
299
+ optional .CMsgPoint particle_initial_velocity = 9;
300
+ optional .CMsgPoint particle_initial_velocity_variance = 10;
301
+ optional .CMsgPoint gravity_acceleration = 11;
302
+ optional .CMsgPoint gravity_acceleration_particle_variance = 12;
303
+ optional uint32 color_start_rgba = 13;
304
+ optional uint32 color_start_rgba_variance = 14;
305
+ optional uint32 color_end_rgba = 15;
306
+ optional uint32 color_end_rgba_variance = 16;
307
+ optional uint64 parent_panel_handle = 17;
308
+ optional uint32 parent_brush_index = 18;
309
+ optional float particle_sharpness = 19;
310
+ optional float particle_sharpness_variance = 20;
311
+ optional float particle_flicker = 21;
312
+ optional float particle_flicker_variance = 22;
313
+ optional .CMsgPoint particle_velocity_min = 23;
314
+ optional .CMsgPoint particle_velocity_max = 24;
315
+ repeated .CMsgParticle particles = 50;
316
+ }
317
+
318
+ message CMsgFillBrush {
319
+ optional double opacity = 1;
320
+ optional uint32 color_rgba = 2;
321
+ optional .CMsgLinearGradient linear_gradient = 3;
322
+ optional .CMsgRadialGradient radial_gradient = 4;
323
+ optional .CMsgParticleSystem particle_system = 5;
324
+ }
325
+
326
+ message CMsgFillBrushCollection {
327
+ extend .CMsgAnimationFrameData {
328
+ optional .CMsgFillBrushCollection.AnimationFrameData animation_frame_data = 1007;
329
+ }
330
+
331
+ message AnimationFrameData {
332
+ repeated .CMsgFillBrush data = 1;
333
+ }
334
+
335
+ repeated .CMsgFillBrush base = 1;
336
+ repeated .CMsgFillBrush transition = 2;
337
+ optional .CMsgTransitionData transition_data = 3;
338
+ optional uint32 style_symbol = 4;
339
+ repeated .CMsgAnimationData animations = 5;
340
+ }
341
+
342
+ message CMsgRenderFillBrushCollection {
343
+ repeated .CMsgFillBrush fill_brush = 1;
344
+ }
345
+
346
+ message CMsgPanelPosition {
347
+ extend .CMsgAnimationFrameData {
348
+ optional .CMsgPanelPosition.AnimationFrameData animation_frame_data = 1011;
349
+ }
350
+
351
+ message AnimationFrameData {
352
+ optional .CMsgPoint data = 1;
353
+ }
354
+
355
+ optional .CMsgPoint base = 1;
356
+ optional .CMsgPoint transition = 2;
357
+ optional .CMsgTransitionData transition_data = 3;
358
+ optional uint32 style_symbol = 4;
359
+ repeated .CMsgAnimationData animations = 5;
360
+ optional .CMsgPoint scroll_offset = 6;
361
+ optional .CMsgPoint scroll_offset_target = 7;
362
+ optional .CMsgTransitionData scroll_transition_x = 8;
363
+ optional .CMsgTransitionData scroll_transition_y = 9;
364
+ }
365
+
366
+ message CMsgOpacity {
367
+ extend .CMsgAnimationFrameData {
368
+ optional .CMsgOpacity.AnimationFrameData animation_frame_data = 1004;
369
+ }
370
+
371
+ message AnimationFrameData {
372
+ optional double data = 1;
373
+ }
374
+
375
+ optional double base = 1;
376
+ optional double transition = 2;
377
+ optional .CMsgTransitionData transition_data = 3;
378
+ optional uint32 style_symbol = 4;
379
+ repeated .CMsgAnimationData animations = 5;
380
+ }
381
+
382
+ message CMsgRotate2D {
383
+ extend .CMsgAnimationFrameData {
384
+ optional .CMsgRotate2D.AnimationFrameData animation_frame_data = 1014;
385
+ }
386
+
387
+ message AnimationFrameData {
388
+ optional double data = 1;
389
+ }
390
+
391
+ optional double base = 1;
392
+ optional double transition = 2;
393
+ optional .CMsgTransitionData transition_data = 3;
394
+ optional uint32 style_symbol = 4;
395
+ repeated .CMsgAnimationData animations = 5;
396
+ }
397
+
398
+ message CMsgOpacityMaskData {
399
+ optional uint32 opacity_mask_texture_id = 1;
400
+ optional double opacity_mask_opacity = 2;
401
+ }
402
+
403
+ message CMsgOpacityMask {
404
+ extend .CMsgAnimationFrameData {
405
+ optional .CMsgOpacityMask.AnimationFrameData animation_frame_data = 1013;
406
+ }
407
+
408
+ message AnimationFrameData {
409
+ optional .CMsgOpacityMaskData data = 1;
410
+ }
411
+
412
+ optional .CMsgOpacityMaskData base = 1;
413
+ optional .CMsgOpacityMaskData transition = 2;
414
+ optional .CMsgTransitionData transition_data = 3;
415
+ optional uint32 style_symbol = 4;
416
+ repeated .CMsgAnimationData animations = 5;
417
+ }
418
+
419
+ message CMsgHueShift {
420
+ extend .CMsgAnimationFrameData {
421
+ optional .CMsgHueShift.AnimationFrameData animation_frame_data = 1019;
422
+ }
423
+
424
+ message AnimationFrameData {
425
+ optional double data = 1;
426
+ }
427
+
428
+ optional double base = 1;
429
+ optional double transition = 2;
430
+ optional .CMsgTransitionData transition_data = 3;
431
+ optional uint32 style_symbol = 4;
432
+ repeated .CMsgAnimationData animations = 5;
433
+ }
434
+
435
+ message CMsgSaturation {
436
+ extend .CMsgAnimationFrameData {
437
+ optional .CMsgSaturation.AnimationFrameData animation_frame_data = 1005;
438
+ }
439
+
440
+ message AnimationFrameData {
441
+ optional double data = 1;
442
+ }
443
+
444
+ optional double base = 1;
445
+ optional double transition = 2;
446
+ optional .CMsgTransitionData transition_data = 3;
447
+ optional uint32 style_symbol = 4;
448
+ repeated .CMsgAnimationData animations = 5;
449
+ }
450
+
451
+ message CMsgBrightness {
452
+ extend .CMsgAnimationFrameData {
453
+ optional .CMsgBrightness.AnimationFrameData animation_frame_data = 1020;
454
+ }
455
+
456
+ message AnimationFrameData {
457
+ optional double data = 1;
458
+ }
459
+
460
+ optional double base = 1;
461
+ optional double transition = 2;
462
+ optional .CMsgTransitionData transition_data = 3;
463
+ optional uint32 style_symbol = 4;
464
+ repeated .CMsgAnimationData animations = 5;
465
+ }
466
+
467
+ message CMsgContrast {
468
+ extend .CMsgAnimationFrameData {
469
+ optional .CMsgContrast.AnimationFrameData animation_frame_data = 1021;
470
+ }
471
+
472
+ message AnimationFrameData {
473
+ optional double data = 1;
474
+ }
475
+
476
+ optional double base = 1;
477
+ optional double transition = 2;
478
+ optional .CMsgTransitionData transition_data = 3;
479
+ optional uint32 style_symbol = 4;
480
+ repeated .CMsgAnimationData animations = 5;
481
+ }
482
+
483
+ message CMsgGaussianValues {
484
+ optional double passes = 1;
485
+ optional double stddev_hor = 2;
486
+ optional double stddev_ver = 3;
487
+ }
488
+
489
+ message CMsgGaussianBlur {
490
+ extend .CMsgAnimationFrameData {
491
+ optional .CMsgGaussianBlur.AnimationFrameData animation_frame_data = 1008;
492
+ }
493
+
494
+ message AnimationFrameData {
495
+ optional .CMsgGaussianValues data = 1;
496
+ }
497
+
498
+ optional .CMsgGaussianValues base = 1;
499
+ optional .CMsgGaussianValues transition = 2;
500
+ optional .CMsgTransitionData transition_data = 3;
501
+ optional uint32 style_symbol = 4;
502
+ repeated .CMsgAnimationData animations = 5;
503
+ }
504
+
505
+ message CMsgMotionBlurValues {
506
+ optional double velocity = 1;
507
+ optional double dirx = 2;
508
+ optional double diry = 3;
509
+ }
510
+
511
+ message CMsgMotionBlur {
512
+ extend .CMsgAnimationFrameData {
513
+ optional .CMsgMotionBlur.AnimationFrameData animation_frame_data = 1022;
514
+ }
515
+
516
+ message AnimationFrameData {
517
+ optional .CMsgMotionBlurValues data = 1;
518
+ }
519
+
520
+ optional .CMsgMotionBlurValues base = 1;
521
+ optional .CMsgMotionBlurValues transition = 2;
522
+ optional .CMsgTransitionData transition_data = 3;
523
+ repeated .CMsgAnimationData animations = 4;
524
+ optional uint32 style_symbol = 5;
525
+ }
526
+
527
+ message CMsg3DTransformPerspective {
528
+ extend .CMsgAnimationFrameData {
529
+ optional .CMsg3DTransformPerspective.AnimationFrameData animation_frame_data = 1003;
530
+ }
531
+
532
+ message AnimationFrameData {
533
+ optional double data = 1;
534
+ }
535
+
536
+ optional double base = 1;
537
+ optional double transition = 2;
538
+ optional .CMsgTransitionData transition_data = 3;
539
+ optional uint32 style_symbol = 4;
540
+ repeated .CMsgAnimationData animations = 5;
541
+ }
542
+
543
+ message CMsg3DTransformPerspectiveOrigin {
544
+ extend .CMsgAnimationFrameData {
545
+ optional .CMsg3DTransformPerspectiveOrigin.AnimationFrameData animation_frame_data = 1002;
546
+ }
547
+
548
+ message AnimationFrameData {
549
+ optional .CMsgPoint data = 1;
550
+ }
551
+
552
+ optional .CMsgPoint base = 1;
553
+ optional .CMsgPoint transition = 2;
554
+ optional .CMsgTransitionData transition_data = 3;
555
+ optional uint32 style_symbol = 4;
556
+ repeated .CMsgAnimationData animations = 5;
557
+ }
558
+
559
+ message CMsgTransformOriginData {
560
+ optional double x = 1;
561
+ optional double y = 2;
562
+ optional bool x_is_percent = 3;
563
+ optional bool y_is_percent = 4;
564
+ optional bool is_parent_relative = 5;
565
+ }
566
+
567
+ message CMsg3DTransformOrigin {
568
+ extend .CMsgAnimationFrameData {
569
+ optional .CMsg3DTransformOrigin.AnimationFrameData animation_frame_data = 1015;
570
+ }
571
+
572
+ message AnimationFrameData {
573
+ optional .CMsgTransformOriginData data = 1;
574
+ }
575
+
576
+ optional .CMsgTransformOriginData base = 1;
577
+ optional .CMsgTransformOriginData transition = 2;
578
+ optional .CMsgTransitionData transition_data = 3;
579
+ optional uint32 style_symbol = 4;
580
+ repeated .CMsgAnimationData animations = 5;
581
+ }
582
+
583
+ message CMsg3DTransformMatrix {
584
+ extend .CMsgAnimationFrameData {
585
+ optional .CMsg3DTransformMatrix.AnimationFrameData animation_frame_data = 1000;
586
+ }
587
+
588
+ message AnimationFrameData {
589
+ optional .CMsgMatrix4x4 data = 1;
590
+ }
591
+
592
+ optional .CMsgMatrix4x4 base = 1;
593
+ optional .CMsgTransitionData transition_data = 2;
594
+ optional .CMsgMatrix4x4 transition = 3;
595
+ optional uint32 style_symbol = 4;
596
+ repeated .CMsgAnimationData animations = 5;
597
+ }
598
+
599
+ message CMsgBorderRadius {
600
+ extend .CMsgAnimationFrameData {
601
+ optional .CMsgBorderRadius.AnimationFrameData animation_frame_data = 1006;
602
+ }
603
+
604
+ message AnimationFrameData {
605
+ optional .CRadiusData data = 1;
606
+ }
607
+
608
+ optional .CRadiusData base = 1;
609
+ optional .CMsgTransitionData transition_data = 2;
610
+ optional .CRadiusData transition = 3;
611
+ optional uint32 style_symbol = 4;
612
+ repeated .CMsgAnimationData animations = 5;
613
+ }
614
+
615
+ message CMsgBorder {
616
+ extend .CMsgAnimationFrameData {
617
+ optional .CMsgBorder.AnimationFrameData animation_frame_data = 1009;
618
+ }
619
+
620
+ message AnimationFrameData {
621
+ optional .CBorderData data = 1;
622
+ }
623
+
624
+ optional .CBorderData base = 1;
625
+ optional .CMsgTransitionData transition_data = 2;
626
+ optional .CBorderData transition = 3;
627
+ optional uint32 style_symbol = 4;
628
+ repeated .CMsgAnimationData animations = 5;
629
+ }
630
+
631
+ message CMsgBoxShadow {
632
+ extend .CMsgAnimationFrameData {
633
+ optional .CMsgBoxShadow.AnimationFrameData animation_frame_data = 1010;
634
+ }
635
+
636
+ message AnimationFrameData {
637
+ optional .CBoxShadowData data = 1;
638
+ }
639
+
640
+ optional .CBoxShadowData base = 1;
641
+ optional .CMsgTransitionData transition_data = 2;
642
+ optional .CBoxShadowData transition = 3;
643
+ optional uint32 style_symbol = 4;
644
+ repeated .CMsgAnimationData animations = 5;
645
+ }
646
+
647
+ message CMsgTextShadow {
648
+ extend .CMsgAnimationFrameData {
649
+ optional .CMsgTextShadow.AnimationFrameData animation_frame_data = 1017;
650
+ }
651
+
652
+ message AnimationFrameData {
653
+ optional .CTextShadowData data = 1;
654
+ }
655
+
656
+ optional .CTextShadowData base = 1;
657
+ optional .CMsgTransitionData transition_data = 2;
658
+ optional .CTextShadowData transition = 3;
659
+ optional uint32 style_symbol = 4;
660
+ repeated .CMsgAnimationData animations = 5;
661
+ }
662
+
663
+ message CMsgClip {
664
+ extend .CMsgAnimationFrameData {
665
+ optional .CMsgClip.AnimationFrameData animation_frame_data = 1018;
666
+ }
667
+
668
+ message AnimationFrameData {
669
+ optional .CMsgClipData data = 1;
670
+ }
671
+
672
+ optional .CMsgClipData base = 1;
673
+ optional .CMsgTransitionData transition_data = 2;
674
+ optional .CMsgClipData transition = 3;
675
+ optional uint32 style_symbol = 4;
676
+ repeated .CMsgAnimationData animations = 5;
677
+ }
678
+
679
+ message CMsgPushClipLayer {
680
+ optional .CMsgPoint top_left = 1;
681
+ optional .CMsgPoint bottom_right = 2;
682
+ optional .CRadiusData border_radius = 3;
683
+ }
684
+
685
+ message CMsgPopClipLayer {
686
+ }
687
+
688
+ message CMsgPushPanelContextInLayer {
689
+ optional double transform_m00 = 1;
690
+ optional double transform_m01 = 2;
691
+ optional double transform_m02 = 3;
692
+ optional double transform_m03 = 4;
693
+ optional double transform_m10 = 5;
694
+ optional double transform_m11 = 6;
695
+ optional double transform_m12 = 7;
696
+ optional double transform_m13 = 8;
697
+ optional double transform_m20 = 9;
698
+ optional double transform_m21 = 10;
699
+ optional double transform_m22 = 11;
700
+ optional double transform_m23 = 12;
701
+ optional double transform_m30 = 13;
702
+ optional double transform_m31 = 14;
703
+ optional double transform_m32 = 15;
704
+ optional double transform_m33 = 16;
705
+ optional .CBoxShadowData box_shadow = 17;
706
+ optional double width = 18;
707
+ optional double height = 19;
708
+ optional double position_x = 20;
709
+ optional double position_y = 21;
710
+ optional double position_z = 22;
711
+ optional .CBorderData border = 23;
712
+ optional double scroll_x = 24;
713
+ optional double scroll_y = 25;
714
+ }
715
+
716
+ message CMsgPopPanelContextInLayer {
717
+ }
718
+
719
+ message CMsgPushAAndTContext {
720
+ optional uint64 context_id = 1;
721
+ optional double width = 3;
722
+ optional double height = 4;
723
+ optional bool chilren_have_3dtransforms = 5;
724
+ optional float zindex = 6;
725
+ optional .CMsgPanelPosition panel_position = 7;
726
+ optional .CMsg3DTransformMatrix transform_matrix = 8;
727
+ optional .CMsg3DTransformOrigin transform_origin = 9;
728
+ optional .CMsg3DTransformPerspective transform_perspective = 10;
729
+ optional .CMsg3DTransformPerspectiveOrigin transform_perspective_origin = 11;
730
+ optional .CMsgOpacity opacity = 12;
731
+ optional .CMsgColor wash_color = 13;
732
+ optional .CMsgHueShift hue_shift = 14;
733
+ optional .CMsgSaturation saturation = 15;
734
+ optional .CMsgBrightness brightness = 16;
735
+ optional .CMsgContrast contrast = 17;
736
+ optional .CMsgOpacityMask opacity_mask = 18;
737
+ optional .CMsgBorderRadius border_radius = 19;
738
+ optional .CMsgGaussianBlur gaussian_blur = 20;
739
+ optional .CMsgBorder border = 21;
740
+ optional .CMsgBoxShadow box_shadow = 22;
741
+ optional .CMsgPointWithTransition scale_2d_centered = 23;
742
+ optional .CMsgRotate2D rotate_2d_centered = 24;
743
+ optional .CMsgTextShadow text_shadow = 25;
744
+ optional .CMsgClip clip = 26;
745
+ optional bool suppress_clip_to_bounds = 27;
746
+ optional int32 needs_full_repaint = 28;
747
+ optional bool needs_intermediate_texture = 29;
748
+ optional bool clip_after_transform = 30;
749
+ optional bool wants_hit_test = 31;
750
+ optional bool wants_hit_test_children = 32;
751
+ optional uint32 mix_blend_mode = 33;
752
+ optional bool opaque_background = 34;
753
+ optional uint32 child_panel_count = 35;
754
+ optional bool wants_screenspace_quad_output = 36;
755
+ optional .CMsgMotionBlur motion_blur = 37;
756
+ optional string composition_layer_texture_name = 38;
757
+ }
758
+
759
+ message CMsgPopAAndTContext {
760
+ optional uint64 context_id = 1;
761
+ }
762
+
763
+ message CMsgBeginPaintBackground {
764
+ }
765
+
766
+ message CMsgEndPaintBackground {
767
+ }
768
+
769
+ message CMsgBeginPaintLast {
770
+ }
771
+
772
+ message CMsgEndPaintLast {
773
+ }
774
+
775
+ message CMsgDrawFilledRect {
776
+ optional .CMsgPoint top_left = 1;
777
+ optional .CMsgPoint bottom_right = 2;
778
+ optional .CMsgFillBrushCollection fill_brush_collection = 3;
779
+ optional uint32 antialiasing = 4;
780
+ }
781
+
782
+ message CMsgRenderFilledRect {
783
+ optional .CMsgPoint top_left = 1;
784
+ optional .CMsgPoint bottom_right = 2;
785
+ optional .CMsgRenderFillBrushCollection fill_brush_collection = 3;
786
+ optional uint32 antialiasing = 4;
787
+ }
788
+
789
+ message CMsgDrawTexturedRect {
790
+ optional .CMsgPoint top_left = 1;
791
+ optional .CMsgPoint bottom_right = 2;
792
+ optional uint32 texture_id = 3;
793
+ optional .CMsgPoint texture_top_left = 4;
794
+ optional .CMsgPoint texture_bottom_right = 5;
795
+ optional int32 texture_serial = 6 [default = 0];
796
+ optional uint32 texture_sample_mode = 7 [default = 0];
797
+ optional .CMsgOpacity texture_opacity = 8;
798
+ }
799
+
800
+ message CMsgRenderTexturedRect {
801
+ optional .CMsgPoint top_left = 1;
802
+ optional .CMsgPoint bottom_right = 2;
803
+ optional uint32 texture_id = 3;
804
+ optional .CMsgPoint texture_top_left = 4;
805
+ optional .CMsgPoint texture_bottom_right = 5;
806
+ optional int32 texture_serial = 6 [default = 0];
807
+ optional uint32 texture_sample_mode = 7 [default = 0];
808
+ optional float texture_opacity = 8 [default = 1];
809
+ }
810
+
811
+ message CMsgLockTexture {
812
+ optional uint32 texture_id = 1;
813
+ optional int32 texture_serial = 2 [default = 0];
814
+ }
815
+
816
+ message CMsgTextInlineObject {
817
+ optional float width = 1;
818
+ optional float height = 2;
819
+ }
820
+
821
+ message CMsgTextFormat {
822
+ optional string font_name = 1;
823
+ optional double font_size = 2;
824
+ optional int32 font_weight = 3 [default = -1];
825
+ optional int32 font_style = 4 [default = -1];
826
+ optional bool underline = 5;
827
+ optional bool strikethrough = 6;
828
+ optional .CMsgFillBrushCollection fill_brush_collection = 7;
829
+ optional int32 letter_spacing = 8 [default = 0];
830
+ optional .CMsgTextInlineObject inline_object = 9;
831
+ }
832
+
833
+ message CMsgTextRangeFormat {
834
+ optional uint32 start_index = 1;
835
+ optional uint32 end_index = 2;
836
+ optional .CMsgTextFormat format = 3;
837
+ }
838
+
839
+ message CMsgRenderTextFormat {
840
+ optional string font_name = 1;
841
+ optional double font_size = 2;
842
+ optional int32 font_weight = 3 [default = -1];
843
+ optional int32 font_style = 4 [default = -1];
844
+ optional bool underline = 5;
845
+ optional bool strikethrough = 6;
846
+ optional .CMsgRenderFillBrushCollection fill_brush_collection = 7;
847
+ optional int32 letter_spacing = 8 [default = 0];
848
+ optional .CMsgTextInlineObject inline_object = 9;
849
+ }
850
+
851
+ message CMsgRenderTextRangeFormat {
852
+ optional uint32 start_index = 1;
853
+ optional uint32 end_index = 2;
854
+ optional .CMsgRenderTextFormat format = 3;
855
+ }
856
+
857
+ message CMsgDrawTextRegion {
858
+ optional bytes raw_text = 11;
859
+ optional int32 text_chars = 12;
860
+ optional int32 text_encoding = 13;
861
+ optional .CMsgTextFormat default_format = 3;
862
+ optional uint32 text_align = 4;
863
+ optional uint32 line_height = 5;
864
+ optional .CMsgPoint top_left = 6;
865
+ optional .CMsgPoint bottom_right = 7;
866
+ optional bool wrapping = 8;
867
+ optional bool ellipsis = 9;
868
+ repeated .CMsgTextRangeFormat range_formats = 10;
869
+ }
870
+
871
+ message CMsgRenderTextRegion {
872
+ optional bytes raw_text = 12;
873
+ optional int32 text_chars = 13;
874
+ optional int32 text_encoding = 14;
875
+ optional .CMsgRenderTextFormat default_format = 3;
876
+ optional uint32 text_align = 4;
877
+ optional uint32 line_height = 5;
878
+ optional .CMsgPoint top_left = 6;
879
+ optional .CMsgPoint bottom_right = 7;
880
+ optional bool wrapping = 8;
881
+ optional bool ellipsis = 9;
882
+ repeated .CMsgRenderTextRangeFormat range_formats = 10;
883
+ optional .CTextShadowData text_shadow = 11;
884
+ }
885
+
886
+ message CMsgRequestRenderCallback {
887
+ optional bytes callback_obj = 1;
888
+ optional .CMsgPoint top_left = 2;
889
+ optional .CMsgPoint bottom_right = 3;
890
+ optional .CMsgPoint top_left_padding = 4;
891
+ optional .CMsgPoint bottom_right_padding = 5;
892
+ optional bool needs_redraw_every_frame = 6;
893
+ }