mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
GameHandler now uses GameConnectionID instead of connection pointers
This commit is contained in:
20
lib/serializer/GameConnectionID.h
Normal file
20
lib/serializer/GameConnectionID.h
Normal file
@@ -0,0 +1,20 @@
|
||||
/*
|
||||
* GameConnectionID.h, part of VCMI engine
|
||||
*
|
||||
* Authors: listed in file AUTHORS in main folder
|
||||
*
|
||||
* License: GNU General Public License v2.0 or later
|
||||
* Full text of license available in license.txt file, in main folder
|
||||
*
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
enum class GameConnectionID : int8_t
|
||||
{
|
||||
INVALID = -1,
|
||||
FIRST_CONNECTION = 1
|
||||
};
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
Reference in New Issue
Block a user