RingSecretUpdateGameInfo Method |
Updates the
Rings property with the rings in this secret
Namespace:
Zyrenth.Zora
Assembly:
ZoraSharp (in ZoraSharp.dll) Version: 2.3
Syntaxpublic void UpdateGameInfo(
GameInfo info,
bool appendRings
)
Public Sub UpdateGameInfo (
info As GameInfo,
appendRings As Boolean
)
Parameters
- info
- Type: Zyrenth.ZoraGameInfo
The information. - appendRings
- Type: SystemBoolean
If true, this will add the rings contained in the secret to the
existings Rings. If false, it will overwrite them.
ExceptionsException | Condition |
---|
SecretException |
The Game IDs or regions of the secret and game info do not match.
|
ExamplesRingSecret secret = new RingSecret()
{
GameID = 14129,
Rings = Rings.PowerRingL1 | Rings.DoubleEdgeRing | Rings.ProtectionRing
};
GameInfo info = new GameInfo() { GameID = 14129 };
bool appendRings = true;
secret.UpdateGameInfo(info, appendRings);
See Also