| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent e88efa2 commit 49ba7b1
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,3 +1,14 @@ | |||
| 1 | + srv_check = False | ||
| 2 | + | ||
| 3 | + | ||
| 4 | + [function] | ||
| 5 | + | ||
| 6 | + [[set_attacker]] | ||
| 7 | + identifier_windows = 55 8B EC 53 8B 5D 08 56 57 8B F9 53 | ||
| 8 | + identifier_linux = 55 89 E5 57 56 53 83 EC 2C C7 45 DC 00 00 00 00 8B 5D 08 | ||
| 9 | + arguments = POINTER | ||
| 10 | + | ||
| 11 | + | ||
| 1 | 12 | [property] | |
| 2 | 13 | ||
| 3 | 14 | bounces = m_nBounces | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,8 +6,11 @@ | |||
| 6 | 6 | # >> IMPORTS | |
| 7 | 7 | # ============================================================================= | |
| 8 | 8 | # Source.Python | |
| 9 | - from entities import BaseEntityGenerator | ||
| 9 | + # Entities | ||
| 10 | 10 | from . import Entity as _Entity | |
| 11 | + from entities import BaseEntityGenerator | ||
| 12 | + from entities.helpers import pointer_from_inthandle | ||
| 13 | + # Weapons | ||
| 11 | 14 | from weapons.manager import weapon_manager | |
| 12 | 15 | ||
| 13 | 16 | ||
@@ -68,3 +71,8 @@ def find(cls, classname): | |||
| 68 | 71 | ) in (index, 0): | |
| 69 | 72 | return cls(entity.index) | |
| 70 | 73 | return super().find(classname) | |
| 74 | + | ||
| 75 | + thrower = property( | ||
| 76 | + lambda self: self.__getattr__('thrower'), | ||
| 77 | + lambda self, inthandle: self.set_attacker(pointer_from_inthandle(inthandle)) | ||
| 78 | + ) | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments