Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Public Class Player
- Inherits Character
- Public Sub New()
- MyBase.New(MemoryManager.ReadInt(Pointers.CharactersList, &H0)) 'qua non so quale offset sia necessario per ottenere la struct del player
- End Sub
- Public Property AttackMode As Integer
- Get
- Return MemoryManager.ReadInt(Me._firstAddress + Offsets.AttackMode)
- End Get
- Set(ByVal value As Integer)
- MemoryManager.WriteInt(value, Me._firstAddress + Offsets.AttackMode)
- End Set
- End Property
- Public Property AttackRange As Single
- Get
- Return MemoryManager.ReadSingle(Me._firstAddress + Offsets.AttackRange)
- End Get
- Set(ByVal value As Single)
- MemoryManager.WriteSingle(value, Me._firstAddress + Offsets.AttackRange)
- End Set
- End Property
- Public Property MoveSpeed As Single
- Get
- Return MemoryManager.ReadSingle(Me._firstAddress + Offsets.MoveSpeed)
- End Get
- Set(ByVal value As Single)
- MemoryManager.WriteSingle(value, Me._firstAddress + Offsets.MoveSpeed)
- End Set
- End Property
- Public Property AttackSpeed As Single
- Get
- Return MemoryManager.ReadSingle(Me._firstAddress + Offsets.AttackSpeed)
- End Get
- Set(ByVal value As Single)
- MemoryManager.WriteSingle(value, Me._firstAddress + Offsets.AttackSpeed)
- End Set
- End Property
- Public Property OneHit As Integer
- Get
- Return MemoryManager.ReadInt(Me._firstAddress + Offsets.OneHit)
- End Get
- Set(ByVal value As Integer)
- MemoryManager.WriteInt(value, Me._firstAddress + Offsets.OneHit)
- End Set
- End Property
- Public Property Combo As Integer
- Get
- Return MemoryManager.ReadInt(Me._firstAddress + Offsets.Combo)
- End Get
- Set(ByVal value As Integer)
- MemoryManager.WriteInt(value, Me._firstAddress + Offsets.Combo)
- End Set
- End Property
- End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement