YashasSamaga

Untitled

Feb 23rd, 2017
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. void Trigger_OnScriptInit(int scriptKey)
  2. {
  3. for(int i = 0, j = InterfaceList.size(); i < j; i++)
  4. {
  5. if (i == scriptKey) continue;
  6. if (InterfaceList[i].empty()) continue;
  7.  
  8. InterfaceList[i].Trigger_OnScriptInit(scriptKey, const_cast<char *>(InterfaceList[scriptKey].ScriptIdentifier.c_str()));
  9. }
  10. }
Add Comment
Please, Sign In to add comment