コード例 #1
0
ファイル: MsgUnPackerWrap.cs プロジェクト: soulhez/RPG_JG
    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
ファイル: MsgUnPacker.cs プロジェクト: soulhez/RPG_JG
    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);
    }