강의

멘토링

커뮤니티

Inflearn Community Q&A

lchbest107229's profile image
lchbest107229

asked

[C# and Unity MMORPG Game Development Series] Part 7: MMO Content Implementation (Basics of Unity + C# Server Integration)

Enter the game

protobuf를 쓰지않고 패킷을 만들경우

Written on

·

569

0

한번은 직접 패킷을 다루는걸 해보려고 하는데

repeated PlayerInfo players

부분은 리스트처럼 가변크기 데이터로는 못보내고

고정크기 배열로 패킷을 만들어야 하는게 맞을까요?

 

c#C#unity

Answer 1

0

Rookiss님의 프로필 이미지
Rookiss
Instructor

직접 만든 패킷을 어떻게 설계하는지가 중요한데요.
Part4에서 만든 자체 제작 패킷이라면
먼저 개수를 입력해서 파싱하기 때문에 가변 처리가 가능합니다.

lchbest107229's profile image
lchbest107229

asked

Ask a question