예제 #1
0
        public EntityPlayerListRender(
            string nickname,
            Color drawcolor,
            int size,
            float mapLocX,
            float mapLocY,
            float mapLocZ,
            float mapLocXview,
            string weapon,
            string side,
            int health,
            string pose,
            bool cheater)
        {
            Nickname  = nickname;
            Drawcolor = drawcolor;
            Size      = size;
            MapLocX   = mapLocX;
            MapLocY   = mapLocY;
            MapLocZ   = mapLocZ;

            MapLocXview = mapLocXview;
            Weapon      = weapon;
            Side        = side;
            Health      = health;
            Pose        = pose;
            Cheater     = cheater;
            structs     = new PlayerStruct
            {
            };
        }
예제 #2
0
 public EntityPlayerListCache(IntPtr addrPointer, long addr)
 {
     baseAddrPointer = addrPointer;
     baseAddr        = (IntPtr)addr;
     structs         = new PlayerStruct
     {
         playerWeaponsSlotsPointer = new IntPtr[2],
         playerHealthPointer       = new IntPtr[7],
         MemberCategory            = -1,
         ResetTime = DateTime.Now,
     };
 }