Initial commit

This commit is contained in:
Eagle517
2025-02-17 23:17:30 -06:00
commit 7cad314c94
4726 changed files with 1145203 additions and 0 deletions

42
engine/game/auth.h Executable file
View File

@@ -0,0 +1,42 @@
//-----------------------------------------------------------------------------
// Torque Game Engine
// Copyright (C) GarageGames.com, Inc.
//-----------------------------------------------------------------------------
#ifndef _AUTH_H_
#define _AUTH_H_
#ifndef _EVENT_H_
#include "platform/event.h"
#endif
/// Formerly contained a certificate, showing that something was valid.
class Auth2Certificate
{
U32 xxx;
};
/// Formerly contained data indicating whether a user is valid.
struct AuthInfo
{
enum {
MaxNameLen = 31,
};
bool valid;
char name[MaxNameLen + 1];
};
/// Formerly validated the server's authentication info.
inline bool validateAuthenticatedServer()
{
return true;
}
/// Formerly validated the client's authentication info.
inline bool validateAuthenticatedClient()
{
return true;
}
#endif