Esempio n. 1
0
        public List <zCVob> getItemList(zCVob.gVobTypes vobType)
        {
            List <zCVob> vobs = new List <zCVob>();

            zCListSort <zCVob> vobList = this.VobList;

            do
            {
                zCVob vob = vobList.Data;

                //Check if vob is item
                if (vob == null || vob.Address == 0 || vob.VTBL != vobType)
                {
                    continue;
                }

                //add the vob to the itemlist
                vobs.Add(vob);
            } while ((vobList = vobList.Next).Address != 0);

            return(vobs);
        }
Esempio n. 2
0
 public void OnUnTrigger(zCVob triggertarget, zCVob sender)
 {
     Process.THISCALL <NullReturnCall>(Address, FuncAddresses.OnUnTrigger, triggertarget, sender);
 }
Esempio n. 3
0
 public zCVob MergeVobSubTree(zString visualName, zCVob parent, int mergeType = 0)
 {
     return(Process.THISCALL <zCVob>(Address, FuncAddresses.MergeVobSubtree, visualName, parent, new IntArg(mergeType)));
 }
Esempio n. 4
0
 public void RemoveVobSubTree(zCVob vob)
 {
     Process.THISCALL <NullReturnCall>(Address, 0x624D60, vob);
 }
Esempio n. 5
0
 public virtual void RemoveVob(zCVob vob)
 {
     Process.THISCALL <NullReturnCall>(Address, FuncAddresses.RemoveVob, vob);
 }
Esempio n. 6
0
 public zCTree <zCVob> AddVobAsChild(zCVob child, zCVob parent)
 {
     return(Process.THISCALL <zCTree <zCVob> >(Address, 0x6247F0, child, parent));
 }
Esempio n. 7
0
 public zCTree <zCVob> AddVob(zCVob vob)
 {
     return(Process.THISCALL <zCTree <zCVob> >(Address, FuncAddresses.AddVob, vob));
 }
Esempio n. 8
0
 public void Init(zCVob self, zCVob owner, zVec3 start, float angle, float force, zMat4 trafo)
 {
     Process.THISCALL <NullReturnCall>(Address, 0x69F540, self, owner, start, (FloatArg)angle, (FloatArg)force, trafo);
 }
Esempio n. 9
0
 public int GetSoundMaterial(zCVob vob, int arg)
 {
     return(Process.THISCALL <IntArg>(Address, 0x69EF30, vob, (IntArg)arg));
 }
Esempio n. 10
0
 public void Begin(zCVob vob)
 {
     Process.THISCALL <NullReturnCall>(Address, 0x50E750, vob);
 }
Esempio n. 11
0
 public void DisableVob(zCVob vob)
 {
     Process.THISCALL <NullReturnCall>(Address, FuncAddresses.DisableVob, vob);
 }
Esempio n. 12
0
 public void InsertVobInWorld(zCVob vob)
 {
     Process.THISCALL <NullReturnCall>(Address, FuncAddresses.InsertVobInWorld, vob);
 }
Esempio n. 13
0
 public void CreateTrail(zCVob vob)
 {
     Process.THISCALL <NullReturnCall>(Address, 0x6A0420, vob);
 }
Esempio n. 14
0
 public void CreateHit(zCVob vob)
 {
     Process.THISCALL <NullReturnCall>(Address, FuncAddresses.CreateHit, vob);
 }
Esempio n. 15
0
 public void SetHeadingYWorld(zCVob vob)
 {
     Process.THISCALL <NullReturnCall>(Address, FuncAddresses.SetHeadingYWorld_vob, vob);
 }