Class AddEntityPacket
Inheritance
AddEntityPacket
Assembly: SlipeServer.Packets.dll
Syntax
public sealed class AddEntityPacket : Packet
Constructors
|
Edit this page
View Source
AddEntityPacket()
Declaration
Properties
|
Edit this page
View Source
PacketId
Declaration
public override PacketId PacketId { get; }
Property Value
Overrides
|
Edit this page
View Source
Priority
Declaration
public override PacketPriority Priority { get; }
Property Value
Overrides
|
Edit this page
View Source
Reliability
Declaration
public override PacketReliability Reliability { get; }
Property Value
Overrides
Methods
|
Edit this page
View Source
AddBlip(ElementId, byte, ElementId?, byte, ushort, ElementAttachment?, bool, bool, CustomData, string, byte, Vector3, short, ushort, byte, byte, Color)
Declaration
public void AddBlip(ElementId elementId, byte elementType, ElementId? parentId, byte interior, ushort dimension, ElementAttachment? attachment, bool areCollisionsEnabled, bool isCallPropagationEnabled, CustomData customData, string name, byte timeContext, Vector3 position, short ordering, ushort visibleDistance, byte icon, byte size, Color color)
Parameters
|
Edit this page
View Source
AddColCircle(ElementId, byte, ElementId?, byte, ushort, ElementAttachment?, bool, bool, CustomData, string, byte, byte, Vector3, bool, bool, float)
Declaration
public void AddColCircle(ElementId elementId, byte elementType, ElementId? parentId, byte interior, ushort dimension, ElementAttachment? attachment, bool areCollisionsEnabled, bool isCallPropagationEnabled, CustomData customData, string name, byte timeContext, byte colShapeType, Vector3 position, bool isEnabled, bool autoCallEvent, float radius)
Parameters
|
Edit this page
View Source
AddColCuboid(ElementId, byte, ElementId?, byte, ushort, ElementAttachment?, bool, bool, CustomData, string, byte, byte, Vector3, bool, bool, Vector3)
Declaration
public void AddColCuboid(ElementId elementId, byte elementType, ElementId? parentId, byte interior, ushort dimension, ElementAttachment? attachment, bool areCollisionsEnabled, bool isCallPropagationEnabled, CustomData customData, string name, byte timeContext, byte colShapeType, Vector3 position, bool isEnabled, bool autoCallEvent, Vector3 size)
Parameters
|
Edit this page
View Source
AddColPolygon(ElementId, byte, ElementId?, byte, ushort, ElementAttachment?, bool, bool, CustomData, string, byte, byte, Vector3, bool, bool, Vector2[], Vector2)
Declaration
public void AddColPolygon(ElementId elementId, byte elementType, ElementId? parentId, byte interior, ushort dimension, ElementAttachment? attachment, bool areCollisionsEnabled, bool isCallPropagationEnabled, CustomData customData, string name, byte timeContext, byte colShapeType, Vector3 position, bool isEnabled, bool autoCallEvent, Vector2[] vertices, Vector2 height)
Parameters
|
Edit this page
View Source
AddColRectangle(ElementId, byte, ElementId?, byte, ushort, ElementAttachment?, bool, bool, CustomData, string, byte, byte, Vector3, bool, bool, Vector2)
Declaration
public void AddColRectangle(ElementId elementId, byte elementType, ElementId? parentId, byte interior, ushort dimension, ElementAttachment? attachment, bool areCollisionsEnabled, bool isCallPropagationEnabled, CustomData customData, string name, byte timeContext, byte colShapeType, Vector3 position, bool isEnabled, bool autoCallEvent, Vector2 size)
Parameters
|
Edit this page
View Source
AddColSphere(ElementId, byte, ElementId?, byte, ushort, ElementAttachment?, bool, bool, CustomData, string, byte, byte, Vector3, bool, bool, float)
Declaration
public void AddColSphere(ElementId elementId, byte elementType, ElementId? parentId, byte interior, ushort dimension, ElementAttachment? attachment, bool areCollisionsEnabled, bool isCallPropagationEnabled, CustomData customData, string name, byte timeContext, byte colShapeType, Vector3 position, bool isEnabled, bool autoCallEvent, float radius)
Parameters
|
Edit this page
View Source
AddColTube(ElementId, byte, ElementId?, byte, ushort, ElementAttachment?, bool, bool, CustomData, string, byte, byte, Vector3, bool, bool, float, float)
Declaration
public void AddColTube(ElementId elementId, byte elementType, ElementId? parentId, byte interior, ushort dimension, ElementAttachment? attachment, bool areCollisionsEnabled, bool isCallPropagationEnabled, CustomData customData, string name, byte timeContext, byte colShapeType, Vector3 position, bool isEnabled, bool autoCallEvent, float radius, float height)
Parameters
|
Edit this page
View Source
AddColshape(ElementId, byte, ElementId?, byte, ushort, ElementAttachment?, bool, bool, CustomData, string, byte, byte, Vector3, bool, bool)
Declaration
public void AddColshape(ElementId elementId, byte elementType, ElementId? parentId, byte interior, ushort dimension, ElementAttachment? attachment, bool areCollisionsEnabled, bool isCallPropagationEnabled, CustomData customData, string name, byte timeContext, byte colShapeType, Vector3 position, bool isEnabled, bool autoCallEvent)
Parameters
|
Edit this page
View Source
AddDummy(ElementId, byte, ElementId?, byte, ushort, ElementAttachment?, bool, bool, CustomData, string, byte, string, Vector3)
Declaration
public void AddDummy(ElementId elementId, byte elementType, ElementId? parentId, byte interior, ushort dimension, ElementAttachment? attachment, bool areCollisionsEnabled, bool isCallPropagationEnabled, CustomData customData, string name, byte timeContext, string type, Vector3 position)
Parameters
|
Edit this page
View Source
AddEntity(ElementId, byte, ElementId?, byte, ushort, ElementAttachment?, bool, bool, CustomData, string, byte)
Declaration
public void AddEntity(ElementId elementId, byte elementType, ElementId? parentId, byte interior, ushort dimension, ElementAttachment? attachment, bool areCollisionsEnabled, bool isCallPropagationEnabled, CustomData customData, string name, byte timeContext)
Parameters
|
Edit this page
View Source
AddMarker(ElementId, byte, ElementId?, byte, ushort, ElementAttachment?, bool, bool, CustomData, string, byte, Vector3, byte, float, Color, Vector3?)
Declaration
public void AddMarker(ElementId elementId, byte elementType, ElementId? parentId, byte interior, ushort dimension, ElementAttachment? attachment, bool areCollisionsEnabled, bool isCallPropagationEnabled, CustomData customData, string name, byte timeContext, Vector3 position, byte markerType, float size, Color color, Vector3? targetPosition)
Parameters
|
Edit this page
View Source
AddObject(ElementId, byte, ElementId?, byte, ushort, ElementAttachment?, bool, bool, CustomData, string, byte, Vector3, Vector3, ushort, byte, bool, ElementId?, bool, bool, bool, PositionRotationAnimation?, Vector3, bool, float)
Declaration
public void AddObject(ElementId elementId, byte elementType, ElementId? parentId, byte interior, ushort dimension, ElementAttachment? attachment, bool areCollisionsEnabled, bool isCallPropagationEnabled, CustomData customData, string name, byte timeContext, Vector3 position, Vector3 rotation, ushort model, byte alpha, bool isLowLod, ElementId? lowLodElementId, bool isDoubleSided, bool isBreakable, bool isVisibleInAllDimensions, PositionRotationAnimation? positionRotationAnimation, Vector3 scale, bool isFrozen, float health)
Parameters
|
Edit this page
View Source
AddPed(ElementId, byte, ElementId?, byte, ushort, ElementAttachment?, bool, bool, CustomData, string, byte, Vector3, ushort, float, float, float, ElementId?, byte?, bool, bool, bool, bool, byte, byte, PedClothing[], PedWeapon[], byte)
Declaration
public void AddPed(ElementId elementId, byte elementType, ElementId? parentId, byte interior, ushort dimension, ElementAttachment? attachment, bool areCollisionsEnabled, bool isCallPropagationEnabled, CustomData customData, string name, byte timeContext, Vector3 position, ushort model, float rotation, float health, float armor, ElementId? vehicleId, byte? seat, bool hasJetpack, bool isSyncable, bool isHeadless, bool isFrozen, byte alpha, byte moveAnimation, PedClothing[] clothes, PedWeapon[] weapons, byte currentSlot)
Parameters
|
Edit this page
View Source
AddPickup(ElementId, byte, ElementId?, byte, ushort, ElementAttachment?, bool, bool, CustomData, string, byte, Vector3, ushort, bool, byte, float?, float?, byte?, ushort?)
Declaration
public void AddPickup(ElementId elementId, byte elementType, ElementId? parentId, byte interior, ushort dimension, ElementAttachment? attachment, bool areCollisionsEnabled, bool isCallPropagationEnabled, CustomData customData, string name, byte timeContext, Vector3 position, ushort model, bool isVisible, byte pickupType, float? armor, float? health, byte? weaponType, ushort? ammo)
Parameters
|
Edit this page
View Source
AddRadarArea(ElementId, byte, ElementId?, byte, ushort, ElementAttachment?, bool, bool, CustomData, string, byte, Vector2, Vector2, Color, bool)
Declaration
public void AddRadarArea(ElementId elementId, byte elementType, ElementId? parentId, byte interior, ushort dimension, ElementAttachment? attachment, bool areCollisionsEnabled, bool isCallPropagationEnabled, CustomData customData, string name, byte timeContext, Vector2 position, Vector2 size, Color color, bool isFlashing)
Parameters
|
Edit this page
View Source
AddTeam(ElementId, byte, ElementId?, byte, ushort, ElementAttachment?, bool, bool, CustomData, string, byte, string, Color, bool, ElementId[])
Declaration
public void AddTeam(ElementId elementId, byte elementType, ElementId? parentId, byte interior, ushort dimension, ElementAttachment? attachment, bool areCollisionsEnabled, bool isCallPropagationEnabled, CustomData customData, string name, byte timeContext, string teamName, Color color, bool isFriendlyFireEnabled, ElementId[] playerIds)
Parameters
|
Edit this page
View Source
AddVehicle(ElementId, byte, ElementId?, byte, ushort, ElementAttachment?, bool, bool, CustomData, string, byte, Vector3, Vector3, ushort, float, byte, Color[], byte, VehicleDamage, byte, byte, Vector2?, ushort?, float[], byte[], string, byte, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, float, Color, VehicleHandling?, VehicleSirenSet?)
Declaration
public void AddVehicle(ElementId elementId, byte elementType, ElementId? parentId, byte interior, ushort dimension, ElementAttachment? attachment, bool areCollisionsEnabled, bool isCallPropagationEnabled, CustomData customData, string name, byte timeContext, Vector3 position, Vector3 rotation, ushort model, float health, byte blownState, Color[] colors, byte paintJob, VehicleDamage damage, byte variant1, byte variant2, Vector2? turret, ushort? adjustableProperty, float[] doorRatios, byte[] upgrades, string plateText, byte overrideLights, bool isLandingGearDown, bool isSirenActive, bool isFuelTankExplodable, bool isEngineOn, bool isLocked, bool areDoorsUndamageable, bool isDamageProof, bool isFrozen, bool isDerailed, bool isDerailable, bool trainDirection, bool isTaxiLightOn, float alpha, Color headlightColor, VehicleHandling? handling, VehicleSirenSet? sirens)
Parameters
|
Edit this page
View Source
AddWater(ElementId, byte, ElementId?, byte, ushort, ElementAttachment?, bool, bool, CustomData, string, byte, Vector3[], bool)
Declaration
public void AddWater(ElementId elementId, byte elementType, ElementId? parentId, byte interior, ushort dimension, ElementAttachment? attachment, bool areCollisionsEnabled, bool isCallPropagationEnabled, CustomData customData, string name, byte timeContext, Vector3[] vertices, bool isShallow)
Parameters
|
Edit this page
View Source
AddWeapon(ElementId, byte, ElementId?, byte, ushort, ElementAttachment?, bool, bool, CustomData, string, byte, Vector3, Vector3, ushort, byte, bool, ElementId?, bool, bool, bool, PositionRotationAnimation?, Vector3, bool, float, byte, ElementId?, byte?, byte?, Vector3?, bool, ushort?, float?, float?, float?, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, byte, ushort, ushort, ElementId)
Declaration
public void AddWeapon(ElementId elementId, byte elementType, ElementId? parentId, byte interior, ushort dimension, ElementAttachment? attachment, bool areCollisionsEnabled, bool isCallPropagationEnabled, CustomData customData, string name, byte timeContext, Vector3 position, Vector3 rotation, ushort model, byte alpha, bool isLowLod, ElementId? lowLodElementId, bool isDoubleSided, bool isBreakable, bool isVisibleInAllDimensions, PositionRotationAnimation? positionRotationAnimation, Vector3 scale, bool isFrozen, float health, byte targetType, ElementId? targetElementId, byte? boneTarget, byte? wheelTarget, Vector3? targetPosition, bool isChanged, ushort? damagePerHit, float? accuracy, float? targetRange, float? weaponRange, bool disableWeaponModel, bool instantReload, bool shootIfTargetBlocked, bool shootIfTargetOutOfRange, bool checkBuildings, bool checkCarTires, bool checkDummies, bool checkObjects, bool checkPeds, bool checkVehicles, bool ignoreSomeObjectForCamera, bool seeThroughStuff, bool shootThroughStuff, byte weaponState, ushort ammo, ushort clipAmmo, ElementId ownerId)
Parameters
|
Edit this page
View Source
Read(byte[])
Declaration
public override void Read(byte[] bytes)
Parameters
Type |
Name |
Description |
byte[] |
bytes |
|
Overrides
|
Edit this page
View Source
Write()
Declaration
public override byte[] Write()
Returns
Overrides