Skip to content
View in the app

A better way to browse. Learn more.

WRobot

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Question]CustomClass

Featured Replies

Hello,

is there a way to call the start method of a fight class by our self or is it just possible atm with the fight class engine? if so it would be nice if there would be a way to pulse the Start method since the engine is kinda overloaded and i want to start my fight class without all those extra "stuff".

 

thanks in advance, iMod

  • Author
2 hours ago, Droidz said:

Salut, tu peux donner plus de détails sur ce que tu veux faire, j'ai du mal à comprendre

Hi, I made a own product and i want to start the loaded fight class with my product without your fight engine but i found no way to do that.
For example "CustomClass.Start();"

Edited by iMod

Hello, if you use dll fightclass you can:

        var dllFile = System.IO.File.ReadAllBytes("fightclass.dll");
        var assembly = System.Reflection.Assembly.Load(dllFile);
        var obj = assembly.CreateInstance("Main", false);
        if (obj is ICustomClass instanceFromOtherAssembly)
        {
            instanceFromOtherAssembly.Initialize();
        }

else you need to use CompileAssemblyFromSource

  • Author
17 hours ago, Droidz said:

Hello, if you use dll fightclass you can:


        var dllFile = System.IO.File.ReadAllBytes("fightclass.dll");
        var assembly = System.Reflection.Assembly.Load(dllFile);
        var obj = assembly.CreateInstance("Main", false);
        if (obj is ICustomClass instanceFromOtherAssembly)
        {
            instanceFromOtherAssembly.Initialize();
        }

else you need to use CompileAssemblyFromSource

Alright thought there will be a other way but this should be enough, thanks :)

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.