Releases
v1.2.0
Deprecation Notices
Entity.FindProperty()
has been deprecated, use Entity.FindPropertyI()
instead which returns IProperty
instead of *Property
Entity.Properties()
has been deprecated, use Entity.PropertiesI()
instead which returns []IProperty
instead of []Property
TickDone
has been deprecated, use FrameDone
instead (#120 )
New Features / Changes
Added PlayerSpottersChanged
event (#114 )
Added helper functions to common.Player
(#114 ):
IsSpottedBy(*Player) bool
HasSpotted(*Player) bool
Added helper functions to Participants
(#114 ):
SpottersOf(*Player) []*Player
SpottedBy(*Player) []*Player
Added helper functions to common.Player
for easily retrieving additional data (#115 ):
Player.IsInBombZone()
Player.IsInBuyZone()
Player.IsWalking()
Player.IsScoped()
Player.CashSpentThisRound()
Player.CashSpentTotal()
Added helper functions to common.TeamState
for retrieving information over all members of a team:
TeamState.Members()
TeamState.CurrentEquipmentValue()
TeamState.RoundStartEquipmentValue()
TeamState.FreezeTimeEndEquipmentValue()
TeamState.CashSpentThisRound()
TeamState.CashSpentTotal()
Updated protobuf descriptions (allows parsing of new data)
Fixes
Added missing events.RankUpdate
parsing and dispatching (#112 - thanks @allenymin )
Fixed EquipmentElement.String()
returning M4A1
for EqM4A4
(#124 - thanks @xavier-rodet )
You can’t perform that action at this time.