Beispiel #1
0
 public static Mount LoadMount(DataRow Data)
 {
     Mount Mouninf = new Mount
     {
         MinLevel = GetDataTypes.GetByte(Data["Level"]),
         ItemID = GetDataTypes.GetUshort(Data["ItemID"]),
         TickSpeed = GetDataTypes.GetInt(Data["Tickspeed"]),
         Handle = GetDataTypes.GetUshort(Data["Handle"]),
         Food = GetDataTypes.GetUshort(Data["Food"]),
         speed = GetDataTypes.GetUshort(Data["Speed"]),
         CastTime = GetDataTypes.GetInt(Data["CastTime"]),
         Cooldown = GetDataTypes.GetUshort(Data["Cooldown"]),
         permanent = GetDataTypes.GetBool(Data["permanent"]),
     };
     return Mouninf;
 }