mirror of
https://github.com/hanetzer/sdraw_mods_cvr.git
synced 2025-09-03 18:39:23 +00:00
Minor code changes
This commit is contained in:
parent
19606527fc
commit
11287e7dc5
36 changed files with 329 additions and 273 deletions
|
@ -33,12 +33,12 @@ namespace ml_pin
|
|||
static MelonLoader.MelonPreferences_Category ms_category = null;
|
||||
static List<MelonLoader.MelonPreferences_Entry> ms_entries = null;
|
||||
|
||||
static public event Action<NotificationType> NotifyTypeChange;
|
||||
static public event Action<float> VolumeChange;
|
||||
static public event Action<bool> NotifyInPublicChange;
|
||||
static public event Action<bool> NotifyInFriendsChange;
|
||||
static public event Action<bool> NotifyInPrivateChange;
|
||||
static public event Action<bool> FriendsAlwaysChange;
|
||||
public static event Action<NotificationType> NotifyTypeChange;
|
||||
public static event Action<float> VolumeChange;
|
||||
public static event Action<bool> NotifyInPublicChange;
|
||||
public static event Action<bool> NotifyInFriendsChange;
|
||||
public static event Action<bool> NotifyInPrivateChange;
|
||||
public static event Action<bool> FriendsAlwaysChange;
|
||||
|
||||
internal static void Init()
|
||||
{
|
||||
|
|
|
@ -7,6 +7,6 @@ namespace ml_pin
|
|||
{
|
||||
static readonly FieldInfo ms_view = typeof(CohtmlControlledViewWrapper).GetField("_view", BindingFlags.NonPublic | BindingFlags.Instance);
|
||||
|
||||
static public void ExecuteScript(this CohtmlControlledViewWrapper p_instance, string p_script) => ((cohtml.Net.View)ms_view.GetValue(p_instance)).ExecuteScript(p_script);
|
||||
public static void ExecuteScript(this CohtmlControlledViewWrapper p_instance, string p_script) => ((cohtml.Net.View)ms_view.GetValue(p_instance)).ExecuteScript(p_script);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue