diff --git a/Runtime/NetworkGen/Messages.cs b/Runtime/NetworkGen/Messages.cs index 3b5d260..82cd908 100644 --- a/Runtime/NetworkGen/Messages.cs +++ b/Runtime/NetworkGen/Messages.cs @@ -198,6 +198,9 @@ namespace Dof [global::ProtoBuf.ProtoMember(1, Name = @"level_resource")] public global::System.Collections.Generic.List LevelResources { get; } = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(2, Name = @"player_entered")] + public global::System.Collections.Generic.List PlayerEntereds { get; } = new global::System.Collections.Generic.List(); + } [global::ProtoBuf.ProtoContract()] diff --git a/Runtime/ServerProto/messages.proto b/Runtime/ServerProto/messages.proto index 534fed5..245333c 100644 --- a/Runtime/ServerProto/messages.proto +++ b/Runtime/ServerProto/messages.proto @@ -46,6 +46,7 @@ message PlayerEntered { message GameStart { repeated LevelResource level_resource = 1; + repeated PlayerEnter player_entered = 2; } message LevelPrepared { @@ -83,4 +84,4 @@ message GameFinish { message PlayerLeave { int64 cid = 1; -} +} \ No newline at end of file