NWNX:EE  8193.37.17
nwnx_store.nss
Go to the documentation of this file.
1 
6 const string NWNX_Store = "NWNX_Store";
7 
12 int NWNX_Store_GetIsRestrictedBuyItem(object oStore, int nBaseItem);
13 
17 int NWNX_Store_GetBlackMarketMarkDown(object oStore);
18 
22 void NWNX_Store_SetBlackMarketMarkDown(object oStore, int nValue);
23 
27 int NWNX_Store_GetMarkDown(object oStore);
28 
32 void NWNX_Store_SetMarkDown(object oStore, int nValue);
33 
37 int NWNX_Store_GetMarkUp(object oStore);
38 
42 void NWNX_Store_SetMarkUp(object oStore, int nValue);
43 
47 int NWNX_Store_GetCurrentCustomersCount(object oStore);
48 
52 int NWNX_Store_GetBlackMarket(object oStore);
53 
57 void NWNX_Store_SetBlackMarket(object oStore, int nValue);
58 
62 int NWNX_Store_GetGold(object oStore);
63 
67 void NWNX_Store_SetGold(object oStore, int nValue);
68 
72 int NWNX_Store_GetIdentifyCost(object oStore);
73 
77 void NWNX_Store_SetIdentifyCost(object oStore, int nValue);
78 
82 int NWNX_Store_GetMaxBuyPrice(object oStore);
83 
87 void NWNX_Store_SetMaxBuyPrice(object oStore, int nValue);
88 
90 
91 int NWNX_Store_GetIsRestrictedBuyItem(object oStore, int nBaseItem)
92 {
93  NWNXPushInt(nBaseItem);
94  NWNXPushObject(oStore);
95  NWNXCall(NWNX_Store, "GetIsRestrictedBuyItem");
96  return NWNXPopInt();
97 }
98 
100 {
101  NWNXPushObject(oStore);
102  NWNXCall(NWNX_Store, "GetBlackMarketMarkDown");
103  return NWNXPopInt();
104 }
105 
106 void NWNX_Store_SetBlackMarketMarkDown(object oStore, int nValue)
107 {
108  NWNXPushInt(nValue);
109  NWNXPushObject(oStore);
110  NWNXCall(NWNX_Store, "SetBlackMarketMarkDown");
111 }
112 
113 int NWNX_Store_GetMarkDown(object oStore)
114 {
115  NWNXPushObject(oStore);
116  NWNXCall(NWNX_Store, "GetMarkDown");
117  return NWNXPopInt();
118 }
119 
120 void NWNX_Store_SetMarkDown(object oStore, int nValue)
121 {
122  NWNXPushInt(nValue);
123  NWNXPushObject(oStore);
124  NWNXCall(NWNX_Store, "SetMarkDown");
125 }
126 
127 int NWNX_Store_GetMarkUp(object oStore)
128 {
129  NWNXPushObject(oStore);
130  NWNXCall(NWNX_Store, "GetMarkUp");
131  return NWNXPopInt();
132 }
133 
134 void NWNX_Store_SetMarkUp(object oStore, int nValue)
135 {
136  NWNXPushInt(nValue);
137  NWNXPushObject(oStore);
138  NWNXCall(NWNX_Store, "SetMarkUp");
139 }
140 
142 {
143  NWNXPushObject(oStore);
144  NWNXCall(NWNX_Store, "GetCurrentCustomersCount");
145  return NWNXPopInt();
146 }
147 
148 int NWNX_Store_GetBlackMarket(object oStore)
149 {
150  NWNXPushObject(oStore);
151  NWNXCall(NWNX_Store, "GetBlackMarket");
152  return NWNXPopInt();
153 }
154 
155 void NWNX_Store_SetBlackMarket(object oStore, int nValue)
156 {
157  NWNXPushInt(nValue);
158  NWNXPushObject(oStore);
159  NWNXCall(NWNX_Store, "SetBlackMarket");
160 }
161 
162 int NWNX_Store_GetGold(object oStore)
163 {
164  NWNXPushObject(oStore);
165  NWNXCall(NWNX_Store, "GetGold");
166  return NWNXPopInt();
167 }
168 
169 void NWNX_Store_SetGold(object oStore, int nValue)
170 {
171  NWNXPushInt(nValue);
172  NWNXPushObject(oStore);
173  NWNXCall(NWNX_Store, "SetGold");
174 }
175 
176 int NWNX_Store_GetIdentifyCost(object oStore)
177 {
178  NWNXPushObject(oStore);
179  NWNXCall(NWNX_Store, "GetIdentifyCost");
180  return NWNXPopInt();
181 }
182 
183 void NWNX_Store_SetIdentifyCost(object oStore, int nValue)
184 {
185  NWNXPushInt(nValue);
186  NWNXPushObject(oStore);
187  NWNXCall(NWNX_Store, "SetIdentifyCost");
188 }
189 
190 int NWNX_Store_GetMaxBuyPrice(object oStore)
191 {
192  NWNXPushObject(oStore);
193  NWNXCall(NWNX_Store, "GetMaxBuyPrice");
194  return NWNXPopInt();
195 }
196 
197 void NWNX_Store_SetMaxBuyPrice(object oStore, int nValue)
198 {
199  NWNXPushInt(nValue);
200  NWNXPushObject(oStore);
201  NWNXCall(NWNX_Store, "SetMaxBuyPrice");
202 }
void NWNX_Store_SetBlackMarket(object oStore, int nValue)
Set the black market status.
Definition: nwnx_store.nss:155
int NWNX_Store_GetCurrentCustomersCount(object oStore)
Return current customer count.
Definition: nwnx_store.nss:141
void NWNX_Store_SetIdentifyCost(object oStore, int nValue)
Set the identify cost.
Definition: nwnx_store.nss:183
int NWNX_Store_GetMarkDown(object oStore)
Return the mark down of a store.
Definition: nwnx_store.nss:113
void NWNX_Store_SetGold(object oStore, int nValue)
Set the gold amount.
Definition: nwnx_store.nss:169
void NWNX_Store_SetMaxBuyPrice(object oStore, int nValue)
Set the MaxBuyPrice amount.
Definition: nwnx_store.nss:197
int NWNX_Store_GetBlackMarket(object oStore)
Return the black market status.
Definition: nwnx_store.nss:148
void NWNX_Store_SetMarkUp(object oStore, int nValue)
Set the mark up of a store.
Definition: nwnx_store.nss:134
int NWNX_Store_GetGold(object oStore)
Return the gold amount.
Definition: nwnx_store.nss:162
int NWNX_Store_GetIsRestrictedBuyItem(object oStore, int nBaseItem)
Return status of a base item purchase status.
Definition: nwnx_store.nss:91
void NWNX_Store_SetBlackMarketMarkDown(object oStore, int nValue)
Set the blackmarket mark down of a store.
Definition: nwnx_store.nss:106
int NWNX_Store_GetBlackMarketMarkDown(object oStore)
Return the blackmarket mark down of a store.
Definition: nwnx_store.nss:99
void NWNX_Store_SetMarkDown(object oStore, int nValue)
Set the mark down of a store.
Definition: nwnx_store.nss:120
int NWNX_Store_GetMarkUp(object oStore)
Return the mark up of a store.
Definition: nwnx_store.nss:127
int NWNX_Store_GetIdentifyCost(object oStore)
Return the identify cost.
Definition: nwnx_store.nss:176
int NWNX_Store_GetMaxBuyPrice(object oStore)
Return the MaxBuyPrice amount.
Definition: nwnx_store.nss:190