Browse Source

add nodiscard to get map

Co-authored-by: Timothy Liu <liuxf19@163.com>
tags/0.1.0
DragonAura GitHub 2 years ago
parent
commit
ebd7d06b26
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      CAPI/cpp/API/include/Communication.h

+ 1
- 1
CAPI/cpp/API/include/Communication.h View File

@@ -50,7 +50,7 @@ public:
protobuf::MessageToClient GetMessage2Client();
void AddPlayer(int64_t playerID, THUAI6::PlayerType playerType, THUAI6::StudentType studentType, THUAI6::TrickerType trickerType);

std::vector<std::vector<THUAI6::PlaceType>> GetMap(int64_t playerID);
[[nodiscard]] std::vector<std::vector<THUAI6::PlaceType>> GetMap(int64_t playerID);

void ReadMessage(int64_t playerID);



Loading…
Cancel
Save