private void SetValue(MetadataConfiguration <AppFolders> metadataConfiguration) { metadataConfiguration.For(p => p.SampleProfileImagesFolder, Path.Combine(_env.WebRootPath, $"Common{Path.DirectorySeparatorChar}Images{Path.DirectorySeparatorChar}SampleProfilePics")); metadataConfiguration.For(p => p.TempFileDownloadFolder, Path.Combine(_env.WebRootPath, $"Temp{Path.DirectorySeparatorChar}Downloads")); metadataConfiguration.For(p => p.WebLogsFolder, Path.Combine(_env.ContentRootPath, $"App_Data{Path.DirectorySeparatorChar}Logs")); metadataConfiguration.For(p => p.UploadFilesFolder, Path.Combine(_env.WebRootPath, $"Upload")); }
private static void GetKickAllMetadata( MetadataConfiguration<RConCommandMetadata> metadataConfiguration) { metadataConfiguration .For(am => am.Name, "kickall") .For(am => am.Description, "Kicks all players from the server."); }
private static void GetGetPlayersMetadata( MetadataConfiguration<RConCommandMetadata> metadataConfiguration) { metadataConfiguration .For(am => am.Name, "getplayers") .For(am => am.Description, "Retrieves the list of players online."); }
private static void GetUpdateDbPlayersMetadata( MetadataConfiguration<RConCommandMetadata> metadataConfiguration) { metadataConfiguration .For(am => am.Name, "update_dbplayers") .For(am => am.Description, "Updates online players in the database."); }