Exemple #1
0
    static int PopDoubleList(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 1);
        MsgUnPacker   obj = (MsgUnPacker)LuaScriptMgr.GetNetObjectSelf(L, 1, "MsgUnPacker");
        List <double> o   = obj.PopDoubleList();

        LuaScriptMgr.PushObject(L, o);
        return(1);
    }
Exemple #2
0
    public List <double> GetDoubleList(int index)
    {
        MsgUnPacker _unpacker = new MsgUnPacker(this.buff);

        _unpacker.skip(index);
        List <double> rst = _unpacker.PopDoubleList();

        _unpacker.Close();
        return(rst);
    }