Exemple #1
0
        public oCNpc CreateNPC(string instance)
        {
            zString str = zString.Create(Process, instance);
            oCNpc   npc = null;

            npc = CreateNPC(zCParser.getParser(Process).GetIndex(str));
            str.Dispose();

            return(npc);
        }
Exemple #2
0
 public int GetPermAttitude(oCNpc npc)
 {
     return(Process.THISCALL <IntArg>((uint)Address, (uint)FuncOffsets.GetPermAttitude, new CallValue[] { npc }).Address);
 }
 public void Close(oCNpc vob)
 {
     Process.THISCALL <NullReturnCall>((uint)Address, (uint)FuncOffsets.Close, new CallValue[] { vob });
 }
Exemple #4
0
 public void Init(oCNpc npc)
 {
     Process.THISCALL <NullReturnCall>((uint)Address, (uint)FuncOffsets.Init, new CallValue[] { npc });
 }
Exemple #5
0
 public void UpdateSingleRoutine(oCNpc npc)
 {
     Process.THISCALL <NullReturnCall>((uint)Address, (uint)FuncOffset.UpdateSingleRoutine, new CallValue[] { npc });
 }
 public void PickLock(oCNpc npc, char ch)
 {
     Process.THISCALL <NullReturnCall>((uint)Address, (uint)FuncOffsets.PickLock, new CallValue[] { npc, new CharArg(ch) });
 }
 public void StopInteraction(oCNpc npc)
 {
     Process.THISCALL <NullReturnCall>((uint)Address, (uint)FuncOffsets.StopInteraction, new CallValue[] { npc });
 }
Exemple #8
0
 public void DeleteNPC(oCNpc npc)
 {
     Process.THISCALL <NullReturnCall>((uint)Address, (uint)FuncOffsets.DeleteNPC, new CallValue[] { npc });
 }
 public void StartStateChange(oCNpc npc, int x, int y)
 {
     Process.THISCALL <NullReturnCall>((uint)Address, (uint)FuncOffsets.StartStateChange, new CallValue[] { npc, new IntArg(x), new IntArg(y) });
 }
 public void SetMobBodyState(oCNpc npc)
 {
     Process.THISCALL <NullReturnCall>((uint)Address, (uint)FuncOffsets.SetMobBodyState, new CallValue[] { npc });
 }
 public void AI_UseMobToState(oCNpc npc, int x)
 {
     Process.THISCALL <NullReturnCall>((uint)Address, (uint)FuncOffsets.AI_UseMobToState, new CallValue[] { npc, new IntArg(x) });
 }
 public void CallOnStateFunc(oCNpc npc, int x)
 {
     Process.THISCALL <NullReturnCall>((uint)Address, (uint)FuncOffsets.CallOnStateFunc, new CallValue[] { npc, new IntArg(x) });
 }
Exemple #13
0
 public void SpawnNPC(oCNpc npc, zVec3 pos, int value)
 {
     Process.THISCALL <NullReturnCall>((uint)Address, (uint)FuncOffsets.SpawnNPC, new CallValue[] { npc, pos, new IntArg(value) });
 }
Exemple #14
0
 public void DropUnconscious(float arg, oCNpc npc)
 {
     Process.THISCALL <NullReturnCall>((uint)Address, (uint)FuncOffsets.DropUnconscious, new CallValue[] { new FloatArg(arg), npc });
 }
Exemple #15
0
 public void Spell_Setup(oCNpc npc, zCVob vob, int i)
 {
     Process.THISCALL <NullReturnCall>((uint)Address, (uint)FuncOffsets.Spell_Setup, new CallValue[] { npc, vob, new IntArg(i) });
 }
Exemple #16
0
 public int AssessPlayer_S(oCNpc npc)
 {
     return(Process.THISCALL <IntArg>((uint)Address, (uint)FuncOffsets.AssessPlayer_S, new CallValue[] { npc }));
 }
Exemple #17
0
 public void SetOwner(oCNpc npc)
 {
     Process.THISCALL <NullReturnCall>((uint)Address, (int)FuncOffsets.SetOwner, new CallValue[] { npc });
 }