public byte[] StallWindow(uint Noob, Character C)
{
ushort PacketsType= 0x3f2;//packet.length PacketType; 758292; C.UID; ID; 272; 198; 6;
byte[] Packet = new byte[24];//ushort, ushort, uint, uint, uint, ushort,ushrot,ushort,ushort
fixed (byte* Ptr = Packet)
{
*((ushort*)Ptr) = (ushort)Packet.Length;
*((ushort*)Ptr) = (ushort)PacketsType;
*((uint*)Ptr) = (uint)758292;
*((uint*)Ptr) = (uint)C.UID;
*((uint*)Ptr) = (uint)Noob;
*((ushort*)Ptr) = (ushort)272;
*((byte*)Ptr) = (byte)198;
*((sbyte*)Ptr) = (sbyte)6;
}
return Packet
}
just needa someone to tell me what are Packet.Length;
Packettype 758292 C.UID ID 272 198 6
and don't post comments like this is pointers cuse i already know that and i know how to use them but i dunno what are the other stffs
{
ushort PacketsType= 0x3f2;//packet.length PacketType; 758292; C.UID; ID; 272; 198; 6;
byte[] Packet = new byte[24];//ushort, ushort, uint, uint, uint, ushort,ushrot,ushort,ushort
fixed (byte* Ptr = Packet)
{
*((ushort*)Ptr) = (ushort)Packet.Length;
*((ushort*)Ptr) = (ushort)PacketsType;
*((uint*)Ptr) = (uint)758292;
*((uint*)Ptr) = (uint)C.UID;
*((uint*)Ptr) = (uint)Noob;
*((ushort*)Ptr) = (ushort)272;
*((byte*)Ptr) = (byte)198;
*((sbyte*)Ptr) = (sbyte)6;
}
return Packet
}
just needa someone to tell me what are Packet.Length;
Packettype 758292 C.UID ID 272 198 6
and don't post comments like this is pointers cuse i already know that and i know how to use them but i dunno what are the other stffs