je suis entrain de mettre a jours des fichier et je rencontre un probleme avec une ligne de code qui es tcelle ci.
- Code: Select all
public Style GetStyle(string stylename) { if (stylename != null) { DataObject[] specs = GameServer.Database.SelectAllObjects(typeof(DBSpecialization)); if (specs != null) { foreach (DBSpecialization spec in specs) { if (spec.Styles != null) { foreach (DBStyle style in spec.Styles) { if (style.Name == stylename) { Style st = new Style(style); return st; } } } } } } return null; }
DataObject[] specs = GameServer.Database.SelectAllObjects(typeof(DBSpecialization));
si quelqu'un peut m'aider , ca serait vraiment sympas !