Added SQL Regions and Fixed SQL Warps

This commit is contained in:
Twitchy 2011-07-08 23:36:53 +12:00
parent 6d531283fc
commit 16a90f3240
5 changed files with 271 additions and 101 deletions

View file

@ -34,6 +34,7 @@ namespace TShockAPI.DB
{
return reader.Get<T>(reader.GetOrdinal(column));
}
public static T Get<T>(this IDataReader reader, int column)
{
if (ReadFuncs.ContainsKey(typeof(T)))