I was trying to put a random number generator in my code today and I was going to use the maximum x and y values for it. Here is a snippet of my code:
Warning: file_get_contents({ "players": [ { "SteamId": "76561198078737264", "CommunityBanned": false, "VACBanned": true, "NumberOfVACBans": 1, "DaysSinceLastBan": 309, "NumberOfGameBans": 0, "EconomyBan": "none" } ] }): failed to open stream: Invalid argument in C:\xampp\htdocs\addToList.php on line 18
But I continue to get the error message:
Use of unresolved identifier 'maxXValue' Use of unresolved identifier 'maxYValue'
Any tips to fix this problem? Thanks!
答案 0 :(得分:0)
If you don't specify what are your void CreatePageModel()
{
var localization = new Localization();
var model = new FrameworkModel();
...
model.Page.Title = localization.LocalizeText(r => r.Home.Title);
model.Page.Keywords = localization.LocalizeText(r => r.Home.Keywords);
model.Page.Description = localization.LocalizeText(r => r.Home.Description);
model.Page.RSS = localization.LocalizeText(r => r.Home.RSS);
model.Page.Scripts.Header = localization.LocalizeText(r => r.Home.ScriptsHeader);
model.Page.Scripts.Footer = localization.LocalizeText(r => r.Home.ScriptsFooter);
model.Page.Body = localization.LocalizeText(r => r.Home.Body);
}
and maxXValue
it won't work, these values don't exist by default.
Define them as follows :
maxYValue
Obviously these values are examples and you have to choose them yourself.