syntax = "proto3";

option go_package = "git.hlsq.asia/mmorpg/service-common/proto/rs/grpc_pb";
import "rs_common.proto";

service Gateway {
  // 发送消息到客户端
  rpc ToClient(stream ToClientReq) returns (ToClientResp) {}
  rpc KickUser(KickUserReq) returns (KickUserResp) {}
}

message ToClientReq {
  string USN = 1;
  int32 MessageID = 2;
  bytes Payload = 3;
}

message ToClientResp {
}

message KickUserReq {
  string USN = 1;
}

message KickUserResp {
}