Initial version
This commit is contained in:
51
Protobufs/artifact/clientmessages.proto
Normal file
51
Protobufs/artifact/clientmessages.proto
Normal file
@@ -0,0 +1,51 @@
|
||||
option optimize_for = SPEED;
|
||||
option cc_generic_services = false;
|
||||
|
||||
enum EBaseClientMessages {
|
||||
CM_CustomGameEvent = 280;
|
||||
CM_CustomGameEventBounce = 281;
|
||||
CM_ClientUIEvent = 282;
|
||||
CM_DevPaletteVisibilityChanged = 283;
|
||||
CM_WorldUIControllerHasPanelChanged = 284;
|
||||
CM_RotateAnchor = 285;
|
||||
CM_MAX_BASE = 300;
|
||||
}
|
||||
|
||||
enum EClientUIEvent {
|
||||
EClientUIEvent_Invalid = 0;
|
||||
EClientUIEvent_DialogFinished = 1;
|
||||
EClientUIEvent_FireOutput = 2;
|
||||
}
|
||||
|
||||
message CClientMsg_CustomGameEvent {
|
||||
optional string event_name = 1;
|
||||
optional bytes data = 2;
|
||||
}
|
||||
|
||||
message CClientMsg_CustomGameEventBounce {
|
||||
optional string event_name = 1;
|
||||
optional bytes data = 2;
|
||||
optional int32 player_index = 3;
|
||||
}
|
||||
|
||||
message CClientMsg_ClientUIEvent {
|
||||
optional .EClientUIEvent event = 1 [default = EClientUIEvent_Invalid];
|
||||
optional uint32 ent_ehandle = 2;
|
||||
optional uint32 client_ehandle = 3;
|
||||
optional string data1 = 4;
|
||||
optional string data2 = 5;
|
||||
}
|
||||
|
||||
message CClientMsg_DevPaletteVisibilityChangedEvent {
|
||||
optional bool visible = 1;
|
||||
}
|
||||
|
||||
message CClientMsg_WorldUIControllerHasPanelChangedEvent {
|
||||
optional bool has_panel = 1;
|
||||
optional uint32 client_ehandle = 2;
|
||||
optional uint32 literal_hand_type = 3;
|
||||
}
|
||||
|
||||
message CClientMsg_RotateAnchor {
|
||||
optional float angle = 1;
|
||||
}
|
||||
Reference in New Issue
Block a user