Channel Identifiers For Large Scale Games
Use channel identifiers for large-scale game servers with Vivox.
읽는 시간 1분최근 업데이트: 19일 전
다음 조건 중 하나에 해당하는 경우 채널 식별자를 구성할 때 주의를 기울여야 합니다.
- 애플리케이션이 100,000 PCU를 초과할 것으로 예상
- 멀티 채널 기능을 사용하려는 경우
- 해시를 사용하여 매치 식별
- 채널 식별자의 ‘샤드’ 부분에 지역 및 매치 식별자 포함
- 채널 식별자의 ‘샤드’ 부분 뒤에 3D 및 스쿼드 식별자 포함
d0634bad1ca5a9cdtundraNewChannelProps-
포지셔널 채널
string shard = "NA";string matchId = "d0634bad1ca5a9cd";string positionalSpaceId = "tundra";Channel3DProperties NewChannelProps = new Channel3DProperties(/* Add your own custom positional channel proprties here */);await VivoxService.Instance.JoinPositionalChannelAsync($"{shard}.{matchId}-{positionalSpaceId}", ChatCapability.AudioOnly, NewChannelProps);
-
스쿼드 1의 그룹 채널
string shard = "NA";string matchId = "d0634bad1ca5a9cd";int squadId = 1;await VivoxService.Instance.JoinGroupChannelAsync($"{shard}.{matchId}-{squadId}", ChatCapability.AudioOnly);
-
스쿼드 2의 그룹 채널
string shard = "NA";string matchId = "d0634bad1ca5a9cd";int squadId = 2;await VivoxService.Instance.JoinGroupChannelAsync($"{shard}.{matchId}-{squadId}", ChatCapability.AudioOnly);