Skip to content
This repository has been archived by the owner on Nov 17, 2022. It is now read-only.

서버와 클라의 공통 데이터 수정 #26

Merged
merged 55 commits into from
Nov 25, 2021
Merged

Conversation

iconstudio
Copy link
Owner

No description provided.

iconstudio and others added 30 commits November 23, 2021 16:09
- 아직 버그 있음.
- 수신 이벤트 객체는 이제 자동 리셋을 사용한다. 그래서 수동 리셋 이벤트 객체는 event_send_renders 뿐이 안 남았다.
- 렌더링 정보를 만들 함수 BuildRenderings() 추가
- 플레이어 동작 큐는 한번 수신하고 처리한 후에 초기화
- 플레이어 처리는 접속한 수만큼 반복하고 나서야 렌더링으로 넘어감
- 렌더링 정보는 한 함수에서 만들고, 한번에 보낸다.

# 함수 순서
1. ConnectProcess
1. AwaitClientAcceptEvent
1. CastClientAccept
1. CommunicateProcess

1. CastStartGame
1. AwaitStartGameEvent
1. GameInitializeProcess
1. CommunicateProcess
1. QueingPlayerAction
1. AwaitProcessingGameEvent
1. GameProcess
1. InterpretPlayerAction
1. ProceedReceiveIndex
1. ClearPlayerActions
1. 조건이 만족되면 렌더링 전송, 아니면 다시 CommunicateProcess로
1. BuildRenderings
1. AwaitSendRendersEvent
1. 다시 CommunicateProcess로 돌아감
@iconstudio iconstudio added this to the 기본 게임 완성 milestone Nov 24, 2021
@iconstudio iconstudio self-assigned this Nov 24, 2021
@tmdwnsasa tmdwnsasa merged commit 8d38fc9 into 2017182040 Nov 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants