-
카테고리
-
세부 분야
게임 프로그래밍
-
해결 여부
미해결
31:49초 에서도 GenPacket.bat 실행 시 오류 발생합니다
21.01.06 20:55 작성 조회수 265
0
오류내용 :
Protocol.proto:8:3: "C_CHAT" is already defined in "Protocol".
Protocol.proto:8:3: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "C_CHAT" must be unique within "Protocol", not just within "MsgId".
Protocol.proto:9:3: "S_CHAT" is already defined in "Protocol".
Protocol.proto:9:3: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "S_CHAT" must be unique within "Protocol", not just within "MsgId".
[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part7: MMO 컨텐츠 구현 (Unity + C# 서버 연동 기초)
Protobuf 이식 (코드 리뷰)
강의실 바로가기
답변을 작성해보세요.
2
Rookiss
지식공유자2021.01.06
에러 메시지에서 나온대로,
enum MsgId와 message를 다르게 하면 됩니다.
C_CHAT과 C_Chat 이렇게 대소문자를 구분해주시면 됩니다.
답변 1