Browse Source

feat(proto): add treat msg

tags/0.1.0
DragonAura 2 years ago
parent
commit
f3d2c40158
2 changed files with 8 additions and 2 deletions
  1. +6
    -0
      dependency/proto/Message2Server.proto
  2. +2
    -2
      dependency/proto/py_output.sh

+ 6
- 0
dependency/proto/Message2Server.proto View File

@@ -46,6 +46,12 @@ message IDMsg
int64 player_id = 1; int64 player_id = 1;
} }


message TreatAndRescueMsg
{
int64 player_id = 1;
int64 to_player_id = 2;
}

message SkillMsg message SkillMsg
{ {
int64 player_id = 1; int64 player_id = 1;


+ 2
- 2
dependency/proto/py_output.sh View File

@@ -3,5 +3,5 @@ python3 -m grpc_tools.protoc -I. --python_out=. --pyi_out=. Message2Clients.prot
python3 -m grpc_tools.protoc -I. --python_out=. --pyi_out=. Message2Server.proto python3 -m grpc_tools.protoc -I. --python_out=. --pyi_out=. Message2Server.proto
python3 -m grpc_tools.protoc -I. --python_out=. --pyi_out=. --grpc_python_out=. Services.proto python3 -m grpc_tools.protoc -I. --python_out=. --pyi_out=. --grpc_python_out=. Services.proto
chmod -R 755 ./ chmod -R 755 ./
mv -f ./*.py ../../PyAPI/proto
mv -f ./*.pyi ../../PyAPI/proto
mv -f ./*.py ../../CAPI/python/proto
mv -f ./*.pyi ../../CAPI/python/proto

Loading…
Cancel
Save