Beispiel #1
0
    public static T Get <T>(this ILuaState self, string gKey, params object[] Keys)
    {
        self.Get(gKey, Keys);
        T ret = self.ChkAnyObject <T>(-1);

        self.Pop(1);
        return((T)ret);
    }
Beispiel #2
0
 public static T ChkAnyObject <T>(this ILuaState self, int index)
 {
     return((T)self.ChkAnyObject(index, typeof(T)));
 }