예제 #1
0
 public bool UnshiftFaction()
 {
     if (IsShifted())
     {
         mFaction    = mOldFaction;
         mOldFaction = null;
         return(true);
     }
     return(false);
 }
예제 #2
0
 public bool ShiftFaction(NPC_Taxonomy newFaction)
 {
     if (mFaction == newFaction)
     {
         return(false);
     }
     UnshiftFaction();
     mOldFaction = mFaction;
     mFaction    = newFaction;
     return(true);
 }
예제 #3
0
 public void sv_SetFaction(NPC_Taxonomy aFaction)
 {
     mFaction = aFaction;
     if (mFaction != null)
     {
         mFactionId = aFaction.GetResourceId();
     }
     else
     {
         mFactionId = 0;
     }
     //sv2clrel_SetFaction_CallStub(mFactionId);
 }
예제 #4
0
 public void sv_OnSpawn(int aFameLevel, int aPePRank, NPC_Taxonomy aFaction)
 {
     //TODO find out what this does actually
 }