public InnerPlayerPhysics(ILogger <InnerPlayerPhysics> logger, InnerPlayerControl playerControl, IEventManager eventManager, Game game) { _logger = logger; _playerControl = playerControl; _eventManager = eventManager; _game = game; }
public InnerCustomNetworkTransform(ICustomMessageManager <ICustomRpc> customMessageManager, Game game, ILogger <InnerCustomNetworkTransform> logger, InnerPlayerControl playerControl, IEventManager eventManager, ObjectPool <PlayerMovementEvent> pool) : base(customMessageManager, game) { _logger = logger; _playerControl = playerControl; _eventManager = eventManager; _pool = pool; }
public static void Postfix(InnerPlayerControl __instance, InnerPlayerControl DGDGDKCCKHJ) { var pos = MOD.GetSystem(DGDGDKCCKHJ.GetTruePosition()); Stats.Murder(__instance, DGDGDKCCKHJ, pos); Process.SetDeath(DGDGDKCCKHJ); }
public InnerCustomNetworkTransform(ILogger <InnerCustomNetworkTransform> logger, InnerPlayerControl playerControl, Game game, IEventManager eventManager, ObjectPool <PlayerMovementEvent> pool) { _logger = logger; _playerControl = playerControl; _game = game; _eventManager = eventManager; _pool = pool; }
public virtual Vector2 GetSpawnLocation(InnerPlayerControl player, int numPlayers, bool initialSpawn) { var vector = new Vector2(0, 1); vector = Rotate(vector, (player.PlayerId - 1) * (360f / numPlayers)); vector *= this.SpawnRadius; return((initialSpawn ? this.InitialSpawnCenter : this.MeetingSpawnCenter) + vector + new Vector2(0f, 0.3636f)); }
public override Vector2 GetSpawnLocation(InnerPlayerControl player, int numPlayers, bool initialSpawn) { if (initialSpawn) { return(base.GetSpawnLocation(player, numPlayers, initialSpawn)); } Vector2 position; if (player.PlayerId < 5) { position = this.MeetingSpawnCenter + (new Vector2(1, 0) * player.PlayerId); } else { position = this.MeetingSpawnCenter2 + (new Vector2(1, 0) * (player.PlayerId - 5)); } return(position); }
public static void SetName(InnerPlayerControl __instance, string LFBNFBOLLNN, bool PKGCJHDPPAF) { if (PlayerControl.LocalPlayer == null || ((PlayerInfo)__instance).Name == "") { return; } if (PlayerControl.LocalPlayer == __instance) { MOD.RunLater(() => Process.Lobby(PlayerInfo.All), 2000); } else { Process.PlayerJoin(__instance); } UIVoIP.CreateVoipMark(); VoIPConnection.SetArgs(new ConnectEventArgs { GameCode = Singleton.GameStartManager.GameRoomName.text.Split('\n')[1], GameName = PlayerControl.LocalPlayer.nameText.name, ID = PlayerControl.LocalPlayer.PlayerId }); }
public InnerPlayerPhysics(Game game, ILogger <InnerPlayerPhysics> logger, InnerPlayerControl playerControl, IEventManager eventManager) : base(game) { _logger = logger; _playerControl = playerControl; _eventManager = eventManager; }
public InnerCustomNetworkTransform(ILogger <InnerCustomNetworkTransform> logger, InnerPlayerControl playerControl, Game game) { _logger = logger; _playerControl = playerControl; _game = game; }
public override Vector2 GetSpawnLocation(InnerPlayerControl player, int numPlayers, bool initialSpawn) { return(new Vector2(-25, 40)); }
public InnerPlayerPhysics(ICustomMessageManager <ICustomRpc> customMessageManager, Game game, ILogger <InnerPlayerPhysics> logger, InnerPlayerControl playerControl, IEventManager eventManager) : base(customMessageManager, game) { _logger = logger; _playerControl = playerControl; _eventManager = eventManager; }
public InnerPlayerPhysics(ILogger <InnerPlayerPhysics> logger, InnerPlayerControl playerControl) { _logger = logger; _playerControl = playerControl; }
public static void SetColor(InnerPlayerControl __instance, int CKNNKEMNHAK) { Process.ChangeColor(__instance, CKNNKEMNHAK); MOD.log.LogMessage(__instance.PPMOEEPBHJO.Get().Name + " change color to: " + (PlayerColor)CKNNKEMNHAK); }
nameof(InnerPlayerControl.CoStartMeeting))] // CmdReportDeadBody public static void StartMeeting(InnerPlayerControl __instance, InnerPlayerInfo DGDGDKCCKHJ) { var pos = MOD.GetSystem(__instance.GetTruePosition()); Stats.Report(__instance, DGDGDKCCKHJ, pos); }