EnvWriteString
CKS native primitive that writes a string value under a key into a settlement's Env key-value store.
Signature
void EnvWriteString(Settlement, str, str)Parameters and return
Global scope · Return: void
| Position | Type |
|---|---|
| 1 | Settlement |
| 2 | str |
| 3 | str |
Other overloads
| Member | Signature and description |
|---|---|
EnvWriteStringGlobal | void EnvWriteString(str, str)Pops value and key managed strings and delegates their payloads to the environment writer. |
EnvWriteStringGlobal | void EnvWriteString(Building, str, str)Requests a string write under an environment key scoped to the specified building and its settlement. Arguments are the building, the key and the string. |
EnvWriteStringGlobal | void EnvWriteString(int, str, str)Writes a string under a key in the specified player's environment. Arguments are, in order, the player number, the key, and the string to write. |