SHARE
TWEET

Untitled

a guest Jun 18th, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. PyObject * nonplayerGetMonsterRaceFlag(PyObject * poSelf, PyObject * poArgs)
  2. {
  3.     int race;
  4.     if (!PyTuple_GetInteger(poArgs, 0, &race))
  5.         return Py_BuildException();
  6.  
  7.     CPythonNonPlayer& rkNonPlayer=CPythonNonPlayer::Instance();
  8.  
  9.     return Py_BuildValue("i", rkNonPlayer.GetMonsterRaceFlag(race));
  10. }
  11.  
  12.         { "GetMonsterRaceFlag",         nonplayerGetMonsterRaceFlag,        METH_VARARGS },
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top