-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/Emik03/KeepCoding
- Loading branch information
Showing
63 changed files
with
317 additions
and
346 deletions.
There are no files selected for viewing
15 changes: 0 additions & 15 deletions
15
Documentation/External.GetIgnoredModules.fQIMyTPUrX1CKZNUKD+Nrw.md
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
Documentation/External.GetRuleSeedId.+q.l1jLgbkfehrtZVZG.Zg.md
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#### [KeepCoding](index.md 'index') | ||
### [KeepCoding](KeepCoding.md 'KeepCoding').[Helper](Helper.md 'KeepCoding.Helper') | ||
## Helper.GetModules(KMBomb) Method | ||
Allows you to get the collection of [ModuleContainer](ModuleContainer.md 'KeepCoding.ModuleContainer') from a [KMBomb](https://docs.microsoft.com/en-us/dotnet/api/KMBomb 'KMBomb'). | ||
```csharp | ||
public static System.Collections.ObjectModel.ReadOnlyCollection<KeepCoding.ModuleContainer> GetModules(global::KMBomb bomb); | ||
``` | ||
#### Parameters | ||
<a name='KeepCoding.Helper.GetModules(global..KMBomb).bomb'></a> | ||
`bomb` [KMBomb](https://docs.microsoft.com/en-us/dotnet/api/KMBomb 'KMBomb') | ||
The instance of [KMBomb](https://docs.microsoft.com/en-us/dotnet/api/KMBomb 'KMBomb') that has modules. | ||
|
||
#### Returns | ||
[System.Collections.ObjectModel.ReadOnlyCollection<](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.ObjectModel.ReadOnlyCollection-1 'System.Collections.ObjectModel.ReadOnlyCollection`1')[ModuleContainer](ModuleContainer.md 'KeepCoding.ModuleContainer')[>](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.ObjectModel.ReadOnlyCollection-1 'System.Collections.ObjectModel.ReadOnlyCollection`1') | ||
All modules within [bomb](Helper.GetModules.iexB5RflxaZB6izRcfY9VQ.md#KeepCoding.Helper.GetModules(global..KMBomb).bomb 'KeepCoding.Helper.GetModules(global::KMBomb).bomb'). | ||
### Remarks | ||
This collection also includes vanilla modules, including [Empty](ComponentPool.ComponentTypeEnum.md#KeepCoding.ComponentPool.ComponentTypeEnum.Empty 'KeepCoding.ComponentPool.ComponentTypeEnum.Empty') components and [Timer](ComponentPool.ComponentTypeEnum.md#KeepCoding.ComponentPool.ComponentTypeEnum.Timer 'KeepCoding.ComponentPool.ComponentTypeEnum.Timer'). You can filter the collection with [IsVanilla](ModuleContainer.IsVanilla.md 'KeepCoding.ModuleContainer.IsVanilla'), [IsModded](ModuleContainer.IsModded.md 'KeepCoding.ModuleContainer.IsModded'), [IsSolvable](ModuleContainer.IsSolvable.md 'KeepCoding.ModuleContainer.IsSolvable'), or [IsNeedy](ModuleContainer.IsNeedy.md 'KeepCoding.ModuleContainer.IsNeedy'), [IsEmptyOrTimer](ModuleContainer.IsEmptyOrTimer.md 'KeepCoding.ModuleContainer.IsEmptyOrTimer'), or [IsModule](ModuleContainer.IsModule.md 'KeepCoding.ModuleContainer.IsModule'). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#### [KeepCoding](index.md 'index') | ||
### [KeepCoding](KeepCoding.md 'KeepCoding').[ModuleContainer](ModuleContainer.md 'KeepCoding.ModuleContainer') | ||
## ModuleContainer.GetIgnoredModules() Method | ||
Retrieves the ignore list from the Boss Module Manager mod used primarily by boss modules. | ||
```csharp | ||
public string[] GetIgnoredModules(); | ||
``` | ||
#### Returns | ||
[System.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System.String')[[]](https://docs.microsoft.com/en-us/dotnet/api/System.Array 'System.Array') | ||
If successful, the boss module's ignore list, otherwise a new empty string array. |
15 changes: 15 additions & 0 deletions
15
Documentation/ModuleContainer.GetRuleSeedId.5gJE4GImOnEI1ZNXJh2kOA.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#### [KeepCoding](index.md 'index') | ||
### [KeepCoding](KeepCoding.md 'KeepCoding').[ModuleContainer](ModuleContainer.md 'KeepCoding.ModuleContainer') | ||
## ModuleContainer.GetRuleSeedId(int) Method | ||
Gets the rule seed number, or a default value. | ||
```csharp | ||
public int GetRuleSeedId(int editorValue); | ||
``` | ||
#### Parameters | ||
<a name='KeepCoding.ModuleContainer.GetRuleSeedId(int).editorValue'></a> | ||
`editorValue` [System.Int32](https://docs.microsoft.com/en-us/dotnet/api/System.Int32 'System.Int32') | ||
The value to [return](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/return 'https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/return') if played on the Unity Editor. | ||
|
||
#### Returns | ||
[System.Int32](https://docs.microsoft.com/en-us/dotnet/api/System.Int32 'System.Int32') | ||
If successful, the rule seed's number that is used as the seed in [MonoRandom](MonoRandom.md 'KeepCoding.MonoRandom'). The default value is 1, or [editorValue](ModuleContainer.GetRuleSeedId.5gJE4GImOnEI1ZNXJh2kOA.md#KeepCoding.ModuleContainer.GetRuleSeedId(int).editorValue 'KeepCoding.ModuleContainer.GetRuleSeedId(int).editorValue') if played in the Unity Editor. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
Source/Instances/CustomEqualityComparer.cs → Source/Derived/CustomEqualityComparer.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.