/// <summary> /// Initializes a new instance of the <see cref="EditGlobalObjectEventArgs" /> class. /// </summary> /// <param name="player">The player.</param> /// <param name="object">The global object.</param> /// <param name="response">The response.</param> /// <param name="position">The position.</param> /// <param name="rotation">The rotation.</param> public EditGlobalObjectEventArgs(GtaPlayer player, GlobalObject @object, EditObjectResponse response, Vector3 position, Vector3 rotation) : base(position) { Player = player; Object = @object; EditObjectResponse = response; Rotation = rotation; }
/// <summary> /// Initializes a new instance of the <see cref="EditGlobalObjectEventArgs" /> class. /// </summary> /// <param name="player">The player.</param> /// <param name="object">The global object.</param> /// <param name="response">The response.</param> /// <param name="position">The position.</param> /// <param name="rotation">The rotation.</param> public EditGlobalObjectEventArgs(BasePlayer player, GlobalObject @object, EditObjectResponse response, Vector3 position, Vector3 rotation) : base(position) { Player = player; Object = @object; EditObjectResponse = response; Rotation = rotation; }
public PlayerEditEventArgs(BasePlayer player, EditObjectResponse response, Vector3 position, Vector3 rotation) : base(position) { Player = player; Response = response; Rotation = rotation; }
/// <summary> /// Initializes a new instance of the EditAttachedObjectEventArgs class. /// </summary> /// <param name="response">EditObjectResponse.</param> /// <param name="index">Index of the attached object.</param> /// <param name="modelid">Model of the attached object.</param> /// <param name="bone">The bone the object was attached to.</param> /// <param name="offset">Offset of the attached object.</param> /// <param name="rotation">Rotation of the attached object.</param> /// <param name="scale">Scale of the attached object.</param> public EditAttachedObjectEventArgs(EditObjectResponse response, int index, int modelid, Bone bone, Vector3 offset, Vector3 rotation, Vector3 scale) { EditObjectResponse = response; Index = index; ModelId = modelid; Bone = bone; Offset = offset; Rotation = rotation; Scale = scale; }
/// <summary> /// Initializes a new instance of the EditAttachedObjectEventArgs class. /// </summary> /// <param name="response">EditObjectResponse.</param> /// <param name="index">Index of the attached object.</param> /// <param name="modelid">Model of the attached object.</param> /// <param name="bone">The bone the object was attached to.</param> /// <param name="offset">Offset of the attached object.</param> /// <param name="rotation">Rotation of the attached object.</param> /// <param name="scale">Scale of the attached object.</param> public EditAttachedObjectEventArgs(EditObjectResponse response, int index, int modelid, Bone bone, Vector3 offset, Vector3 rotation, Vector3 scale) { EditObjectResponse = response; Index = index; ModelId = modelid; Bone = bone; Offset = offset; Rotation = rotation; Scale = scale; }