Exemplo n.º 1
0
 /// <summary>
 /// Creates a string when enumerating on an invalid value.
 /// </summary>
 /// <param name="type">The type of the value.</param>
 /// <returns>An error string.</returns>
 public static string CannotEnumerate(LuaValueType type)
 {
     return string.Format(Resources.CannotEnumerate, type.ToString().ToLower());
 }
Exemplo n.º 2
0
 /// <summary>
 /// Creates a string when performing arithmetic on an invalid value.
 /// </summary>
 /// <param name="type">The type of the value.</param>
 /// <returns>An error string.</returns>
 public static string CannotArithmetic(LuaValueType type)
 {
     return string.Format(Resources.CannotArithmetic, type.ToString().ToLower());
 }
Exemplo n.º 3
0
 /// <summary>
 /// Creates a string when indexing on an invalid value.
 /// </summary>
 /// <param name="type">The type of the value.</param>
 /// <returns>An error string.</returns>
 public static string CannotIndex(LuaValueType type)
 {
     return string.Format(Resources.CannotIndex, type.ToString().ToLower());
 }
Exemplo n.º 4
0
 /// <summary>
 /// Creates a string when enumerating on an invalid value.
 /// </summary>
 /// <param name="type">The type of the value.</param>
 /// <returns>An error string.</returns>
 public static string CannotEnumerate(LuaValueType type)
 {
     return(string.Format(Resources.CannotEnumerate, type.ToString().ToLower()));
 }
Exemplo n.º 5
0
 /// <summary>
 /// Creates a string when performing arithmetic on an invalid value.
 /// </summary>
 /// <param name="type">The type of the value.</param>
 /// <returns>An error string.</returns>
 public static string CannotArithmetic(LuaValueType type)
 {
     return(string.Format(Resources.CannotArithmetic, type.ToString().ToLower()));
 }
Exemplo n.º 6
0
 /// <summary>
 /// Creates a string when indexing on an invalid value.
 /// </summary>
 /// <param name="type">The type of the value.</param>
 /// <returns>An error string.</returns>
 public static string CannotIndex(LuaValueType type)
 {
     return(string.Format(Resources.CannotIndex, type.ToString().ToLower()));
 }