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 
60 
61 int NWNX_Store_GetIsRestrictedBuyItem(object oStore, int nBaseItem)
62 {
63  NWNXPushInt(nBaseItem);
64  NWNXPushObject(oStore);
65  NWNXCall(NWNX_Store, "GetIsRestrictedBuyItem");
66  return NWNXPopInt();
67 }
68 
70 {
71  NWNXPushObject(oStore);
72  NWNXCall(NWNX_Store, "GetBlackMarketMarkDown");
73  return NWNXPopInt();
74 }
75 
76 void NWNX_Store_SetBlackMarketMarkDown(object oStore, int nValue)
77 {
78  NWNXPushInt(nValue);
79  NWNXPushObject(oStore);
80  NWNXCall(NWNX_Store, "SetBlackMarketMarkDown");
81 }
82 
83 int NWNX_Store_GetMarkDown(object oStore)
84 {
85  NWNXPushObject(oStore);
86  NWNXCall(NWNX_Store, "GetMarkDown");
87  return NWNXPopInt();
88 }
89 
90 void NWNX_Store_SetMarkDown(object oStore, int nValue)
91 {
92  NWNXPushInt(nValue);
93  NWNXPushObject(oStore);
94  NWNXCall(NWNX_Store, "SetMarkDown");
95 }
96 
97 int NWNX_Store_GetMarkUp(object oStore)
98 {
99  NWNXPushObject(oStore);
100  NWNXCall(NWNX_Store, "GetMarkUp");
101  return NWNXPopInt();
102 }
103 
104 void NWNX_Store_SetMarkUp(object oStore, int nValue)
105 {
106  NWNXPushInt(nValue);
107  NWNXPushObject(oStore);
108  NWNXCall(NWNX_Store, "SetMarkUp");
109 }
110 
112 {
113  NWNXPushObject(oStore);
114  NWNXCall(NWNX_Store, "GetCurrentCustomersCount");
115  return NWNXPopInt();
116 }
117 
118 int NWNX_Store_GetBlackMarket(object oStore)
119 {
120  NWNXPushObject(oStore);
121  NWNXCall(NWNX_Store, "GetBlackMarket");
122  return NWNXPopInt();
123 }
124 
125 void NWNX_Store_SetBlackMarket(object oStore, int nValue)
126 {
127  NWNXPushInt(nValue);
128  NWNXPushObject(oStore);
129  NWNXCall(NWNX_Store, "SetBlackMarket");
130 }
void NWNX_Store_SetBlackMarket(object oStore, int nValue)
Set the black market status.
Definition: nwnx_store.nss:125
int NWNX_Store_GetCurrentCustomersCount(object oStore)
Return current customer count.
Definition: nwnx_store.nss:111
int NWNX_Store_GetMarkDown(object oStore)
Return the mark down of a store.
Definition: nwnx_store.nss:83
int NWNX_Store_GetBlackMarket(object oStore)
Return the black market status.
Definition: nwnx_store.nss:118
void NWNX_Store_SetMarkUp(object oStore, int nValue)
Set the mark up of a store.
Definition: nwnx_store.nss:104
int NWNX_Store_GetIsRestrictedBuyItem(object oStore, int nBaseItem)
Return status of a base item purchase status.
Definition: nwnx_store.nss:61
void NWNX_Store_SetBlackMarketMarkDown(object oStore, int nValue)
Set the blackmarket mark down of a store.
Definition: nwnx_store.nss:76
int NWNX_Store_GetBlackMarketMarkDown(object oStore)
Return the blackmarket mark down of a store.
Definition: nwnx_store.nss:69
void NWNX_Store_SetMarkDown(object oStore, int nValue)
Set the mark down of a store.
Definition: nwnx_store.nss:90
int NWNX_Store_GetMarkUp(object oStore)
Return the mark up of a store.
Definition: nwnx_store.nss:97