Server name, message and submarine list syncing
This commit is contained in:
@@ -16,13 +16,14 @@ namespace Barotrauma.Networking
|
||||
UPDATE_LOBBY, //update state in lobby
|
||||
UPDATE_INGAME, //update state ingame while alive
|
||||
}
|
||||
enum ClientNetObject
|
||||
{
|
||||
END_OF_MESSAGE, //self-explanatory
|
||||
CHAT_MESSAGE, //also self-explanatory
|
||||
VOTE, //you get the idea
|
||||
CHARACTER_INPUT,
|
||||
ITEM_INTERACTION
|
||||
enum ClientNetObject
|
||||
{
|
||||
END_OF_MESSAGE, //self-explanatory
|
||||
SYNC_IDS, //ids of the last changes the client knows about
|
||||
CHAT_MESSAGE, //also self-explanatory
|
||||
VOTE, //you get the idea
|
||||
CHARACTER_INPUT,
|
||||
ITEM_INTERACTION
|
||||
}
|
||||
|
||||
enum ServerPacketHeader
|
||||
@@ -32,13 +33,14 @@ namespace Barotrauma.Networking
|
||||
UPDATE_LOBBY, //update state in lobby (votes and chat messages)
|
||||
UPDATE_INGAME, //update state ingame while alive (character input and chat messages)
|
||||
}
|
||||
enum ServerNetObject
|
||||
{
|
||||
END_OF_MESSAGE,
|
||||
CHAT_MESSAGE,
|
||||
VOTE,
|
||||
CHARACTER_POSITION,
|
||||
ITEM_STATE
|
||||
enum ServerNetObject
|
||||
{
|
||||
END_OF_MESSAGE,
|
||||
SYNC_IDS,
|
||||
CHAT_MESSAGE,
|
||||
VOTE,
|
||||
CHARACTER_POSITION,
|
||||
ITEM_STATE
|
||||
}
|
||||
|
||||
enum VoteType
|
||||
|
||||
Reference in New Issue
Block a user