update player prototype & upgrade kolben
This commit is contained in:
parent
774cc4aa07
commit
93e6a97d53
|
@ -36,6 +36,35 @@ Namespace Scripting.V3.Prototypes
|
|||
|
||||
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
|
||||
|
||||
|
|
|
@ -86,12 +86,10 @@ Rival
|
|||
- (get, set) name
|
||||
|
||||
Player
|
||||
- (get) inventory
|
||||
- (get) pokegear
|
||||
- (get) isRiding
|
||||
- (get) isSurfing
|
||||
- getPokedex
|
||||
- (get, set) hasPokegear
|
||||
- setSkin
|
||||
- (get) skin
|
||||
- move
|
||||
|
|
2
kolben
2
kolben
|
@ -1 +1 @@
|
|||
Subproject commit 850f7a0403e9b1729c888d8814fd245071dbf16d
|
||||
Subproject commit b2c266dc7311bdcd75885989f00165ad5f5c1dd3
|
Loading…
Reference in New Issue