Defines a component which gives you a unique Guid. More...
Public Member Functions | |
delegate void | ModGuidChangedCallback (ModGUIDComponent component, Guid guid) |
void | AddGuidChangedCallback (ModGuidChangedCallback callback) |
Add a callback for when the guid changes. | |
void | RemoveGuidChangedCallback (ModGuidChangedCallback callback) |
Removes a callback for when the guid changes. | |
void | GenerateNewGUID () |
Generates a new guid. | |
void | SetGUID (Guid guid) |
Sets the guid. | |
void | SetGUID (string guidString) |
Sets the guid. | |
Guid | GetGUID () |
Returns the guid. | |
string | GetGUIDString () |
Returns the guid. | |
Defines a component which gives you a unique Guid.
void ModWobblyLife.ModGUIDComponent.AddGuidChangedCallback | ( | ModGuidChangedCallback | callback | ) |
Add a callback for when the guid changes.
callback |
void ModWobblyLife.ModGUIDComponent.GenerateNewGUID | ( | ) |
Generates a new guid.
Guid ModWobblyLife.ModGUIDComponent.GetGUID | ( | ) |
Returns the guid.
string ModWobblyLife.ModGUIDComponent.GetGUIDString | ( | ) |
Returns the guid.
delegate void ModWobblyLife.ModGUIDComponent.ModGuidChangedCallback | ( | ModGUIDComponent | component, |
Guid | guid | ||
) |
void ModWobblyLife.ModGUIDComponent.RemoveGuidChangedCallback | ( | ModGuidChangedCallback | callback | ) |
Removes a callback for when the guid changes.
callback |
void ModWobblyLife.ModGUIDComponent.SetGUID | ( | Guid | guid | ) |
Sets the guid.
guid |
void ModWobblyLife.ModGUIDComponent.SetGUID | ( | string | guidString | ) |
Sets the guid.
guidString |