예제 #1
0
    static int PopKStringVDoubleMap(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 1);
        MsgUnPacker obj = (MsgUnPacker)LuaScriptMgr.GetNetObjectSelf(L, 1, "MsgUnPacker");
        Dictionary <string, double> o = obj.PopKStringVDoubleMap();

        LuaScriptMgr.PushObject(L, o);
        return(1);
    }
예제 #2
0
    public Dictionary <string, double> GetKStringVDouble(int index)
    {
        MsgUnPacker _unpacker = new MsgUnPacker(this.buff);

        _unpacker.skip(index);
        Dictionary <string, double> rst = _unpacker.PopKStringVDoubleMap();

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