Battle Talent
V11
Static Public Member Functions
|
Static Public Attributes
|
Events
|
List of all members
GameLiftMgr Class Reference
Inherits MonoBehaviour.
Static Public Member Functions
static void
Init
()
static void
CreateServerProcess
(Action< int > startServer=null)
static void
InitPlayerSession
(string playerId)
static async void
OnHostPlayerJoined
(int bundleVersionCode, int regionIdx, string hostName, string roomName, string password)
static void
ShutdownGameSession
()
static void
DBAddRoomIDCallback
()
Static Public Attributes
static ushort
Port
= 7777
static int
awsShutdownCheck
= 30000
static int
awsHeartBeat
= 0
static string
winFilePath
= @"C:\GameMetadata\gamelift-metadata.json"
static string
linuxFilePath
= "/local/gamemetadata/gamelift-metadata.json"
static string
fleetId
= ""
static string
region
= ""
static int
regionIdx
= 0
static string
roomId
static string
ipAddress
static string
hostName
static bool
gameSessionCreated
= false
static bool
roomItemAdded
= false
static List< string >
serverLogPaths
static string
logPath
= "/local/game/serverLogs.txt"
static string
errorLogPath
= "/local/game/serverErrorLogs.txt"
static GameSession
createdGameSession
Events
static Action< ushort >
onServerProcessCreate
Member Data Documentation
◆
serverLogPaths
List<string> GameLiftMgr.serverLogPaths
static
Initial value:
=
new
List<string>()
{
"/local/game/serverLogs.txt"
,
"/local/game/serverErrorLogs.txt"
,
}
Generated by
1.9.1