Changeset 6665 in orxonox.OLD for branches/network/src/lib/network/network_game_manager.h
- Timestamp:
- Jan 24, 2006, 1:36:11 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/network_game_manager.h
r6634 r6665 19 19 * protocol definition 20 20 * 21 * CREATE_ENTITY: CLASS_ID, UNIQUE_ID, OWNER22 * REMOVE_ENTITY: UNIQUE_ID21 * CREATE_ENTITY: >> CLASS_ID, UNIQUE_ID, OWNER 22 * REMOVE_ENTITY: >> UNIQUE_ID 23 23 * 24 * CREATE_ENTITY_LIST: NUMBER, [CLASS_ID, UNIQUE_ID, OWNER][0..NUMBER]25 * REMOVE_ENTITY_LIST: NUMBER, [UNIQUE_ID][0..NUMBER]24 * CREATE_ENTITY_LIST: >> NUMBER, [CLASS_ID, UNIQUE_ID, OWNER][0..NUMBER] 25 * REMOVE_ENTITY_LIST: >> NUMBER, [UNIQUE_ID][0..NUMBER] 26 26 * 27 * REQUEST_CREATE: CLASS_ID 28 * REQUEST_REMOVE: UNIQUE_ID 27 * REQUEST_CREATE: >> CLASS_ID 28 * << [Sync Info] 29 * REQUEST_REMOVE: >> UNIQUE_ID 30 * << [Sync Info] 29 31 * 30 32 * //REQUEST_CREATE_LIST: NUMBER, [CLASS_ID][0..NUMBER] … … 32 34 * 33 35 * REQUEST_ENTITY_LIST: //request the whole world :D 34 * REQUEST_SYNC: UNIQUE_ID 36 * REQUEST_SYNC: >> UNIQUE_ID 37 * << [Sync Info] 35 38 * //REQUEST_SYNC_LIST: NUMBER, [UNIQUE_ID][0..NUMBER] 36 39 * 37 * YOU_ARE_ENTITY: UNIQUE_ID 40 * YOU_ARE_ENTITY: >> UNIQUE_ID 41 * 42 * REQUEST_PNODE_PATH >> UNIQUE_ID_START UNIQUE_ID_STOP 43 * << UNIQUE_ID_1 UNIQUE_ID_2 UNIQUE_ID_3 ... UNIQUE_ID_N 38 44 * 39 45 */ 40 46 41 47 typedef enum NetworkGameManagerProtocol{ 42 CREATE_ENTITY = 0, 43 REMOVE_ENTITY, 44 CREATE_ENTITY_LIST, 45 REMOVE_ENTITY_LIST, 46 REQUEST_CREATE, 47 REQUEST_REMOVE, 48 REQUEST_SYNC, 49 YOU_ARE_ENTITY, 50 REQUEST_ENTITY_LIST 48 NET_CREATE_ENTITY = 0, 49 NET_REMOVE_ENTITY, 50 NET_CREATE_ENTITY_LIST, 51 NET_REMOVE_ENTITY_LIST, 52 NET_REQUEST_CREATE, 53 NET_REQUEST_REMOVE, 54 NET_REQUEST_SYNC, 55 NET_YOU_ARE_ENTITY, 56 NET_REQUEST_ENTITY_LIST, 57 NET_REQUEST_PNODE_PATH, 58 59 NET_NUMBER 51 60 }; 52 61
Note: See TracChangeset
for help on using the changeset viewer.