add assignment test matchmake
parent
cd0c8ca54d
commit
da8167162a
|
|
@ -366,6 +366,23 @@ namespace Dof
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[global::ProtoBuf.ProtoContract()]
|
||||||
|
public partial class Assignment : global::ProtoBuf.IExtensible
|
||||||
|
{
|
||||||
|
private global::ProtoBuf.IExtension __pbn__extensionData;
|
||||||
|
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
|
||||||
|
=> global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);
|
||||||
|
|
||||||
|
[global::ProtoBuf.ProtoMember(1, Name = @"connection")]
|
||||||
|
[global::System.ComponentModel.DefaultValue("")]
|
||||||
|
public string Connection { get; set; } = "";
|
||||||
|
|
||||||
|
[global::ProtoBuf.ProtoMember(4, Name = @"extensions")]
|
||||||
|
[global::ProtoBuf.ProtoMap]
|
||||||
|
public global::System.Collections.Generic.Dictionary<string, global::Google.Protobuf.WellKnownTypes.Any> Extensions { get; } = new global::System.Collections.Generic.Dictionary<string, global::Google.Protobuf.WellKnownTypes.Any>();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
|
#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,8 @@ syntax = "proto3";
|
||||||
package dof;
|
package dof;
|
||||||
option go_package = "./;pb";
|
option go_package = "./;pb";
|
||||||
|
|
||||||
|
import "google/protobuf/any.proto";
|
||||||
|
|
||||||
// ClientMessage 客户端发送给服务端的消息类型
|
// ClientMessage 客户端发送给服务端的消息类型
|
||||||
message ClientMessage {
|
message ClientMessage {
|
||||||
oneof actual {
|
oneof actual {
|
||||||
|
|
@ -98,3 +100,16 @@ message PlayerLeave {
|
||||||
message Heartbeat {
|
message Heartbeat {
|
||||||
int64 timestamp = 1;
|
int64 timestamp = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message Assignment {
|
||||||
|
// Connection information for this Assignment.
|
||||||
|
string connection = 1;
|
||||||
|
|
||||||
|
// Customized information not inspected by Open Match, to be used by the match
|
||||||
|
// making function, evaluator, and components making calls to Open Match.
|
||||||
|
// Optional, depending on the requirements of the connected systems.
|
||||||
|
map<string, google.protobuf.Any> extensions = 4;
|
||||||
|
|
||||||
|
// Deprecated fields.
|
||||||
|
reserved 2, 3;
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue