Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,8 @@ public uint CostInLocalCurrency
public uint PurchaseType
{ get => Accessor.GetUInt32("purchase_type"); set => Accessor.SetUInt32("purchase_type", value); }


public ulong SupplementalData
{ get => Accessor.GetUInt64("supplemental_data"); set => Accessor.SetUInt64("supplemental_data", value); }

}
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,8 @@ public CMsgAdjustEquipSlotsImpl(nint handle, bool isManuallyAllocated): base(han
public IProtobufRepeatedFieldSubMessageType<CMsgAdjustEquipSlot> Slots
{ get => new ProtobufRepeatedFieldSubMessageType<CMsgAdjustEquipSlot>(Accessor, "slots"); }


public uint ChangeNum
{ get => Accessor.GetUInt32("change_num"); set => Accessor.SetUInt32("change_num", value); }

}
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,28 @@ public uint BaseitemDefidx
public float StickerWear
{ get => Accessor.GetFloat("sticker_wear"); set => Accessor.SetFloat("sticker_wear", value); }


public float StickerRotation
{ get => Accessor.GetFloat("sticker_rotation"); set => Accessor.SetFloat("sticker_rotation", value); }


public float StickerScale
{ get => Accessor.GetFloat("sticker_scale"); set => Accessor.SetFloat("sticker_scale", value); }


public float StickerOffsetX
{ get => Accessor.GetFloat("sticker_offset_x"); set => Accessor.SetFloat("sticker_offset_x", value); }


public float StickerOffsetY
{ get => Accessor.GetFloat("sticker_offset_y"); set => Accessor.SetFloat("sticker_offset_y", value); }


public float StickerOffsetZ
{ get => Accessor.GetFloat("sticker_offset_z"); set => Accessor.SetFloat("sticker_offset_z", value); }


public float StickerWearTarget
{ get => Accessor.GetFloat("sticker_wear_target"); set => Accessor.SetFloat("sticker_wear_target", value); }

}
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ public int Attack2StartHistoryIndex
{ get => Accessor.GetInt32("attack2_start_history_index"); set => Accessor.SetInt32("attack2_start_history_index", value); }


public int Attack3StartHistoryIndex
{ get => Accessor.GetInt32("attack3_start_history_index"); set => Accessor.SetInt32("attack3_start_history_index", value); }


public bool LeftHandDesired
{ get => Accessor.GetBool("left_hand_desired"); set => Accessor.SetBool("left_hand_desired", value); }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ public uint AdditionalBackpackSlots
{ get => Accessor.GetUInt32("additional_backpack_slots"); set => Accessor.SetUInt32("additional_backpack_slots", value); }


public uint TradeBanExpiration
{ get => Accessor.GetUInt32("trade_ban_expiration"); set => Accessor.SetUInt32("trade_ban_expiration", value); }


public uint BonusXpTimestampRefresh
{ get => Accessor.GetUInt32("bonus_xp_timestamp_refresh"); set => Accessor.SetUInt32("bonus_xp_timestamp_refresh", value); }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ public float AnalogLeftDelta
{ get => Accessor.GetFloat("analog_left_delta"); set => Accessor.SetFloat("analog_left_delta", value); }


public float AnalogPitchDelta
{ get => Accessor.GetFloat("analog_pitch_delta"); set => Accessor.SetFloat("analog_pitch_delta", value); }
public float PitchDelta
{ get => Accessor.GetFloat("pitch_delta"); set => Accessor.SetFloat("pitch_delta", value); }


public float AnalogYawDelta
{ get => Accessor.GetFloat("analog_yaw_delta"); set => Accessor.SetFloat("analog_yaw_delta", value); }
public float YawDelta
{ get => Accessor.GetFloat("yaw_delta"); set => Accessor.SetFloat("yaw_delta", value); }

}
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,7 @@ public interface CGCStorePurchaseInit_LineItem : ITypedProtobuf<CGCStorePurchase

public uint PurchaseType { get; set; }


public ulong SupplementalData { get; set; }

}
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@ public interface CMsgAdjustEquipSlots : ITypedProtobuf<CMsgAdjustEquipSlots>

public IProtobufRepeatedFieldSubMessageType<CMsgAdjustEquipSlot> Slots { get; }


public uint ChangeNum { get; set; }

}
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,22 @@ public interface CMsgApplySticker : ITypedProtobuf<CMsgApplySticker>

public float StickerWear { get; set; }


public float StickerRotation { get; set; }


public float StickerScale { get; set; }


public float StickerOffsetX { get; set; }


public float StickerOffsetY { get; set; }


public float StickerOffsetZ { get; set; }


public float StickerWearTarget { get; set; }

}
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ public interface CSGOUserCmdPB : ITypedProtobuf<CSGOUserCmdPB>
public int Attack2StartHistoryIndex { get; set; }


public int Attack3StartHistoryIndex { get; set; }


public bool LeftHandDesired { get; set; }


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ public interface CSOEconGameAccountClient : ITypedProtobuf<CSOEconGameAccountCli
public uint AdditionalBackpackSlots { get; set; }


public uint TradeBanExpiration { get; set; }


public uint BonusXpTimestampRefresh { get; set; }


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ public interface CSubtickMoveStep : ITypedProtobuf<CSubtickMoveStep>
public float AnalogLeftDelta { get; set; }


public float AnalogPitchDelta { get; set; }
public float PitchDelta { get; set; }


public float AnalogYawDelta { get; set; }
public float YawDelta { get; set; }

}
1 change: 0 additions & 1 deletion protobufs/cs2/cs_usercmd.proto
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ message CSGOUserCmdPB {
repeated .CSGOInputHistoryEntryPB input_history = 2;
optional int32 attack1_start_history_index = 6 [default = -1];
optional int32 attack2_start_history_index = 7 [default = -1];
optional int32 attack3_start_history_index = 8 [default = -1];
optional bool left_hand_desired = 9 [default = false];
optional bool is_predicting_body_shot_fx = 11 [default = false];
optional bool is_predicting_head_shot_fx = 12 [default = false];
Expand Down
4 changes: 2 additions & 2 deletions protobufs/cs2/usercmd.proto
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ message CSubtickMoveStep {
optional float when = 3;
optional float analog_forward_delta = 4;
optional float analog_left_delta = 5;
optional float analog_pitch_delta = 6;
optional float analog_yaw_delta = 7;
optional float pitch_delta = 8;
optional float yaw_delta = 9;
}

message CBaseUserCmdPB {
Expand Down