Exemplo n.º 1
0
        public static void HandleSpawnUser(S_SPAWN_USER p)
        {
            EntityManager.SpawnUser(p.EntityId, p.Name);
            if (!GroupWindowViewModel.Instance.Exists(p.EntityId)) return;

            GroupWindowViewModel.Instance.UpdateMemberGear(p);
        }
Exemplo n.º 2
0
 private static void OnSpawnUser(S_SPAWN_USER p)
 {
     _win.Dispatcher.BeginInvoke(new Action(() =>
     {
         _win.VM.AddMatch(new CardVM(p.Name, $"{p.GuildRank} of {p.GuildName}", p.Level,
                                     App.Random.Next(10, 1000), TccUtils.RaceFromTemplateId((int)p.TemplateId), p.PlayerId));
     }));
 }
Exemplo n.º 3
0
        public static void HandleSpawnUser(S_SPAWN_USER p)
        {
            if (!GroupWindowViewModel.Instance.Exists(p.EntityId))
            {
                return;
            }

            GroupWindowViewModel.Instance.UpdateMemberGear(p);
        }