mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-31 01:35:20 +02:00
update player prototype & upgrade kolben
This commit is contained in:
parent
774cc4aa07
commit
93e6a97d53
@ -36,6 +36,35 @@ Namespace Scripting.V3.Prototypes
|
|||||||
|
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
|
<ScriptFunction(ScriptFunctionType.Getter, VariableName:="hasPokegear", IsStatic:=True)>
|
||||||
|
<ApiMethodSignature(GetType(Boolean))>
|
||||||
|
Public Shared Function GetHasPokegear(This As Object, objLink As ScriptObjectLink, parameters As Object()) As Object
|
||||||
|
|
||||||
|
Return Core.Player.HasPokegear
|
||||||
|
|
||||||
|
End Function
|
||||||
|
|
||||||
|
<ScriptFunction(ScriptFunctionType.Setter, VariableName:="hasPokegear", IsStatic:=True)>
|
||||||
|
<ApiMethodSignature(GetType(Boolean))>
|
||||||
|
Public Shared Function SetHasPokegear(This As Object, objLink As ScriptObjectLink, parameters As Object()) As Object
|
||||||
|
|
||||||
|
If TypeContract.Ensure(parameters, GetType(Boolean)) Then
|
||||||
|
|
||||||
|
Core.Player.HasPokegear = CType(parameters(0), Boolean)
|
||||||
|
|
||||||
|
End If
|
||||||
|
|
||||||
|
Return NetUndefined.Instance
|
||||||
|
|
||||||
|
End Function
|
||||||
|
|
||||||
|
<ScriptFunction(ScriptFunctionType.Getter, VariableName:="inventory", IsStatic:=True)>
|
||||||
|
<ApiMethodSignature(GetType(InventoryPrototype))>
|
||||||
|
Public Shared Function GetInventory(This As Object, objLink As ScriptObjectLink, parameters As Object()) As Object
|
||||||
|
|
||||||
|
Return New InventoryPrototype()
|
||||||
|
|
||||||
|
End Function
|
||||||
|
|
||||||
End Class
|
End Class
|
||||||
|
|
||||||
|
@ -86,12 +86,10 @@ Rival
|
|||||||
- (get, set) name
|
- (get, set) name
|
||||||
|
|
||||||
Player
|
Player
|
||||||
- (get) inventory
|
|
||||||
- (get) pokegear
|
- (get) pokegear
|
||||||
- (get) isRiding
|
- (get) isRiding
|
||||||
- (get) isSurfing
|
- (get) isSurfing
|
||||||
- getPokedex
|
- getPokedex
|
||||||
- (get, set) hasPokegear
|
|
||||||
- setSkin
|
- setSkin
|
||||||
- (get) skin
|
- (get) skin
|
||||||
- move
|
- move
|
||||||
|
2
kolben
2
kolben
@ -1 +1 @@
|
|||||||
Subproject commit 850f7a0403e9b1729c888d8814fd245071dbf16d
|
Subproject commit b2c266dc7311bdcd75885989f00165ad5f5c1dd3
|
Loading…
x
Reference in New Issue
Block a user