Skip to content

Commit

Permalink
Added OWO mod id
Browse files Browse the repository at this point in the history
  • Loading branch information
shadorki committed Feb 17, 2024
1 parent 0eb3610 commit d4c2004
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion owo_suit.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
dll_path = os.path.abspath(os.path.join(os.path.dirname(__file__), './owo/OWO.dll'))
from System.Reflection import Assembly
Assembly.UnsafeLoadFrom(dll_path)
from OWOGame import OWO, SensationsFactory, Muscle, ConnectionState
from OWOGame import OWO, SensationsFactory, Muscle, ConnectionState, GameAuth

class OWOSuit:
def __init__(self, config: Config, gui: Gui):
Expand Down Expand Up @@ -88,6 +88,7 @@ def map_parameters(self, dispatcher: dispatcher.Dispatcher) -> None:
dispatcher.set_default_handler(self.on_collission_enter)

def connect(self) -> bool:
OWO.Configure(GameAuth.Create().WithId(74604770))
owo_ip = self.config.get_by_key("owo_ip")
if type(owo_ip) is str and owo_ip != "":
OWO.Connect(owo_ip)
Expand Down

0 comments on commit d4c2004

Please sign in to comment.