Beispiel #1
0
    static int skip(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 2);
        MsgUnPacker obj  = (MsgUnPacker)LuaScriptMgr.GetNetObjectSelf(L, 1, "MsgUnPacker");
        int         arg0 = (int)LuaScriptMgr.GetNumber(L, 2);

        obj.skip(arg0);
        return(0);
    }
Beispiel #2
0
    public Dictionary <string, string> GetKStringVString(int index)
    {
        MsgUnPacker _unpacker = new MsgUnPacker(this.buff);

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

        _unpacker.Close();
        return(rst);
    }
Beispiel #3
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);
    }
Beispiel #4
0
    public List <string> GetStringList(int index)
    {
        MsgUnPacker _unpacker = new MsgUnPacker(this.buff);

        _unpacker.skip(index);
        List <string> rst = _unpacker.PopStringList();

        _unpacker.Close();
        return(rst);
    }
Beispiel #5
0
    public List <float> GetFloatList(int index)
    {
        MsgUnPacker _unpacker = new MsgUnPacker(this.buff);

        _unpacker.skip(index);
        List <float> rst = _unpacker.PopFloatList();

        _unpacker.Close();
        return(rst);
    }
Beispiel #6
0
    public string GetString(int index)
    {
        MsgUnPacker _unpacker = new MsgUnPacker(this.buff);

        _unpacker.skip(index);
        string rst = _unpacker.PopString();

        _unpacker.Close();
        return(rst);
    }
Beispiel #7
0
    public double GetDouble(int index)
    {
        MsgUnPacker _unpacker = new MsgUnPacker(this.buff);

        _unpacker.skip(index);
        double rst = _unpacker.PopDouble();

        _unpacker.Close();
        return(rst);
    }
Beispiel #8
0
    public float GetFloat(int index)
    {
        MsgUnPacker _unpacker = new MsgUnPacker(this.buff);

        _unpacker.skip(index);
        float rst = _unpacker.PopFloat();

        _unpacker.Close();
        return(rst);
    }
Beispiel #9
0
    public int GetInt(int index)
    {
        MsgUnPacker _unpacker = new MsgUnPacker(this.buff);

        _unpacker.skip(index);
        int rst = _unpacker.PopInt();

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