コード例 #1
0
ファイル: MsgUnPackerWrap.cs プロジェクト: soulhez/RPG_JG
    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);
    }
コード例 #2
0
ファイル: MsgUnPacker.cs プロジェクト: soulhez/RPG_JG
    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);
    }
コード例 #3
0
ファイル: MsgUnPacker.cs プロジェクト: soulhez/RPG_JG
    public List <double> GetDoubleList(int index)
    {
        MsgUnPacker _unpacker = new MsgUnPacker(this.buff);

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

        _unpacker.Close();
        return(rst);
    }
コード例 #4
0
ファイル: MsgUnPacker.cs プロジェクト: soulhez/RPG_JG
    public List <string> GetStringList(int index)
    {
        MsgUnPacker _unpacker = new MsgUnPacker(this.buff);

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

        _unpacker.Close();
        return(rst);
    }
コード例 #5
0
ファイル: MsgUnPacker.cs プロジェクト: soulhez/RPG_JG
    public List <float> GetFloatList(int index)
    {
        MsgUnPacker _unpacker = new MsgUnPacker(this.buff);

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

        _unpacker.Close();
        return(rst);
    }
コード例 #6
0
ファイル: MsgUnPacker.cs プロジェクト: soulhez/RPG_JG
    public string GetString(int index)
    {
        MsgUnPacker _unpacker = new MsgUnPacker(this.buff);

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

        _unpacker.Close();
        return(rst);
    }
コード例 #7
0
ファイル: MsgUnPacker.cs プロジェクト: soulhez/RPG_JG
    public double GetDouble(int index)
    {
        MsgUnPacker _unpacker = new MsgUnPacker(this.buff);

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

        _unpacker.Close();
        return(rst);
    }
コード例 #8
0
ファイル: MsgUnPacker.cs プロジェクト: soulhez/RPG_JG
    public float GetFloat(int index)
    {
        MsgUnPacker _unpacker = new MsgUnPacker(this.buff);

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

        _unpacker.Close();
        return(rst);
    }
コード例 #9
0
ファイル: MsgUnPacker.cs プロジェクト: soulhez/RPG_JG
    public int GetInt(int index)
    {
        MsgUnPacker _unpacker = new MsgUnPacker(this.buff);

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

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