1
0
mirror of https://github.com/Halofreak1990/XFXFramework synced 2024-12-26 13:49:34 +01:00
Halofreak1990 ec0c1820dd Fixed TextureCollection issues caused by circular dependencies.
Added RenderTarget and RenderTarget2D classes to the XFX::Graphics namespace
Added Internal StorageDeviceAsyncResult class to the XFX::Storage namespace to aid in the implementation of the Guide.
Added Guide::BeginShowMessageBox and Guide::EndShowMessageBox methods
Began fixing comments to properly show up in IntelliSense
2011-06-09 12:57:16 +00:00

76 lines
1.6 KiB
C++

/********************************************************
* Enums.h *
* *
* XFX::Net enumerations definition file *
* Copyright © XFX Team. All Rights Reserved *
********************************************************/
#ifndef _XFX_NET_ENUMS_
#define _XFX_NET_ENUMS_
namespace XFX
{
namespace Net
{
struct NetworkSessionEndReason
{
enum type
{
ClientSignedOut,
HostEndedSession,
RemovedByHost,
Disconnected
};
};
struct NetworkSessionJoinError
{
enum type
{
SessionNotFound,
SessionNotJoinable,
SessionFull
};
};
struct NetworkSessionState
{
enum type
{
Lobby,
Playing,
Ended
};
};
struct NetworkSessionType
{
enum type
{
Local,
SystemLink,
PlayerMatch,
Ranked
};
};
struct SendDataOptions
{
enum type
{
InOrder = 2,
None = 0,
Reliable = 1,
ReliableInOrder = 3
};
};
typedef NetworkSessionEndReason::type NetworkSessionEndReason_t; // Defines the reason a session ended.
typedef NetworkSessionJoinError::type NetworkSessionJoinError_t; // Contains additional data about a NetworkSessionJoinException.
typedef NetworkSessionState::type NetworkSessionState_t; // Defines the different states of a multiplayer session.
typedef NetworkSessionType::type NetworkSessionType_t; // Defines the different types of a multiplayer session.
typedef SendDataOptions::type SendDataOptions_t; // Defines options for network packet transmission.
}
}
#endif //_XFX_NET_ENUMS_