GC-Proto/proto/PrivateChatReq.proto

32 lines
1.0 KiB
Protocol Buffer
Raw Normal View History

2023-08-22 20:34:44 +03:00
// Grasscutter - A server software reimplementation for a certain anime game.
// Copyright (C) 2022 Grasscutter Team
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published
// by the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
2022-11-06 15:30:21 +03:00
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
2023-08-22 20:34:44 +03:00
// CmdId: 5022
2023-08-22 20:23:37 +03:00
// EnetChannelId: 0
// EnetIsReliable: true
// IsAllowClient: true
2022-11-06 15:30:21 +03:00
message PrivateChatReq {
2023-08-22 20:34:44 +03:00
uint32 target_uid = 7;
2023-08-22 20:23:37 +03:00
oneof content {
2023-08-22 20:34:44 +03:00
string text = 3;
uint32 icon = 4;
2023-08-22 20:09:33 +03:00
}
2022-11-06 15:30:21 +03:00
}