usedl5.cpp.svn-base

来自「这是一段游戏修改工具的源代码.ring3功能由dephi开发,驱动是C开发.希望」· SVN-BASE 代码 · 共 31 行

SVN-BASE
31
字号
/* This uses the UCRI reflection interface
 * of the UC DLL
 */

#include <iostream.h>  
#include "mstring.h"

ostream& operator << (ostream& out, string s)
{
  out << s.c_str();
  return out;
}

#include "../src/ucri.h"
#include "ucdl.h"

UCDll session;

int main()
{ 
  static string s;

  // all the methods of class std::string
  XClass *ps = uc_std()->lookup_class("string");
  XFunctions& fl = ps->functions();
  for(XFunctions::iterator fli = fl.begin(); fli != fl.end(); ++fli) {
    (*fli)->as_str(s);
    cout << s << endl;
  }
  
 }

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?