Skip to content

Commit

Permalink
move : 파일 이동
Browse files Browse the repository at this point in the history
1. 파일 이동
  • Loading branch information
purebver committed Nov 15, 2024
1 parent 3f5846a commit eccd898
Show file tree
Hide file tree
Showing 13 changed files with 17 additions and 22 deletions.
File renamed without changes.
6 changes: 6 additions & 0 deletions src/config/config.js → game/src/config/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,10 @@ export const config = {
sequenceLength: SEQUENCE_LENGTH,
payloadLength: PAYLOAD_LENGTH,
},
globalFailCode: {
NONE: 0,
UNKNOWN_ERROR: 1,
INVALID_REQUEST: 2,
AUTHENTICATION_FAILED: 3,
},
};
File renamed without changes.
11 changes: 11 additions & 0 deletions game/src/constants/haeader.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
export const TOTAL_HEADER_LENGTH_EXCEPT_VERSION = 11;
export const PACKET_TYPE_LENGTH = 2;
export const VERSION_LENGTH = 1;
export const SEQUENCE_LENGTH = 4;
export const PAYLOAD_LENGTH = 4;
export const PACKET_TYPE = {
ConnectGameRequest: 10,
ConnectGameNotification: 11,
MoveRequest: 20,
MoveNotification: 21,
};
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
22 changes: 0 additions & 22 deletions src/protobuf/common/common.packet.proto

This file was deleted.

0 comments on commit eccd898

Please sign in to comment.