@deafwave/osrs-botmaker-types 0.8.42 → 0.8.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -668,18 +668,24 @@ declare namespace net.runelite.api {
|
|
|
668
668
|
getServerVarps(): number[];
|
|
669
669
|
|
|
670
670
|
/**
|
|
671
|
-
* Gets an array of all client
|
|
671
|
+
* Gets an array of all client varplayers.
|
|
672
|
+
*
|
|
673
|
+
* @return local player variables
|
|
672
674
|
*/
|
|
673
|
-
|
|
675
|
+
getVarpsLong(): number[];
|
|
674
676
|
|
|
675
677
|
/**
|
|
676
|
-
*
|
|
677
|
-
*
|
|
678
|
-
*
|
|
679
|
-
* @return the
|
|
680
|
-
* @see Client#getVarbitValue(int)
|
|
678
|
+
* Get an array of all server varplayers. These vars are only
|
|
679
|
+
* modified by the server, and so represent the server's idea of
|
|
680
|
+
* the varp values.
|
|
681
|
+
* @return the server varps
|
|
681
682
|
*/
|
|
682
|
-
|
|
683
|
+
getServerVarpsLong(): number[];
|
|
684
|
+
|
|
685
|
+
/**
|
|
686
|
+
* Gets an array of all client variables.
|
|
687
|
+
*/
|
|
688
|
+
getVarcMap(): Record<number, any>;
|
|
683
689
|
|
|
684
690
|
/**
|
|
685
691
|
* Gets the value of the given varbit.
|
|
@@ -718,6 +724,39 @@ declare namespace net.runelite.api {
|
|
|
718
724
|
*/
|
|
719
725
|
getServerVarpValue(varpId: number): number;
|
|
720
726
|
|
|
727
|
+
/**
|
|
728
|
+
* Sets the value of a VarPlayer
|
|
729
|
+
* @param varpId the VarPlayer id
|
|
730
|
+
* @param value the value
|
|
731
|
+
*/
|
|
732
|
+
setVarpValue(varpId: number, value: number): void;
|
|
733
|
+
|
|
734
|
+
/**
|
|
735
|
+
* Gets the value of a given VarPlayer.
|
|
736
|
+
*
|
|
737
|
+
* @param varpId the VarPlayer id
|
|
738
|
+
* @return the value
|
|
739
|
+
*/
|
|
740
|
+
getVarpLongValue(varpId: number): number;
|
|
741
|
+
|
|
742
|
+
/**
|
|
743
|
+
* Gets the value of a given VarPlayer.
|
|
744
|
+
* This returns the server's idea of the value, not the client's. This is
|
|
745
|
+
* specifically the last value set by the server regardless of changes to
|
|
746
|
+
* the var by the client.
|
|
747
|
+
*
|
|
748
|
+
* @param varpId the VarPlayer id
|
|
749
|
+
* @return the value
|
|
750
|
+
*/
|
|
751
|
+
getServerVarpLongValue(varpId: number): number;
|
|
752
|
+
|
|
753
|
+
/**
|
|
754
|
+
* Sets the value of a VarPlayer
|
|
755
|
+
* @param varpId the VarPlayer id
|
|
756
|
+
* @param value the value
|
|
757
|
+
*/
|
|
758
|
+
setVarpLongValue(varpId: number, value: number): void;
|
|
759
|
+
|
|
721
760
|
/**
|
|
722
761
|
* Gets the value of a given VarClientInt
|
|
723
762
|
*
|
|
@@ -1046,10 +1085,6 @@ declare namespace net.runelite.api {
|
|
|
1046
1085
|
|
|
1047
1086
|
mergeModels(...models: ModelData[]): ModelData;
|
|
1048
1087
|
|
|
1049
|
-
mergeModels(models: Model[], length: number): Model;
|
|
1050
|
-
|
|
1051
|
-
mergeModels(...models: Model[]): Model;
|
|
1052
|
-
|
|
1053
1088
|
/**
|
|
1054
1089
|
* Loads and lights a model from the cache
|
|
1055
1090
|
*
|