Esempio n. 1
0
 /// <summary>
 /// Adds an <see cref="OpenWorldCallback"/> delegate that can open a world and return a corresponding <see cref="NbtWorld"/> object.
 /// </summary>
 /// <param name="callback">The delegate to return to the code that raised the event.</param>
 public void AddHandler(OpenWorldCallback callback)
 {
     _handlers.Add(callback);
 }
Esempio n. 2
0
 /// <summary>
 /// Adds an <see cref="OpenWorldCallback"/> delegate that can open a world and return a corresponding <see cref="NbtWorld"/> object.
 /// </summary>
 /// <param name="callback">The delegate to return to the code that raised the event.</param>
 public void AddHandler(OpenWorldCallback callback)
 {
     _handlers.Add(callback);
 }