diff --git a/Runtime/NetworkGen/Messages.cs b/Runtime/NetworkGen/Messages.cs index 6f3824e..001e061 100644 --- a/Runtime/NetworkGen/Messages.cs +++ b/Runtime/NetworkGen/Messages.cs @@ -366,23 +366,6 @@ 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 Extensions { get; } = new global::System.Collections.Generic.Dictionary(); - - } - } #pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 diff --git a/Runtime/ServerProto/messages.proto b/Runtime/ServerProto/messages.proto index 8bd79cb..f1643f5 100644 --- a/Runtime/ServerProto/messages.proto +++ b/Runtime/ServerProto/messages.proto @@ -2,8 +2,6 @@ syntax = "proto3"; package dof; option go_package = "./;pb"; -import "google/protobuf/any.proto"; - // ClientMessage 客户端发送给服务端的消息类型 message ClientMessage { oneof actual { @@ -99,17 +97,4 @@ message PlayerLeave { message Heartbeat { 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 extensions = 4; - - // Deprecated fields. - reserved 2, 3; } \ No newline at end of file