-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpda_fragment_contacts.php
70 lines (65 loc) · 1.91 KB
/
pda_fragment_contacts.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?php
namespace app\forms;
use std, gui, framework, app;
use php\gui\event\UXWindowEvent;
class pda_fragment_contacts extends AbstractForm
{
/**
* @event selected_new.click-Left
*/
function CharacterClick(UXMouseEvent $e = null)
{
$this->selected_new->opacity = 0.35;
$this->bio->show();
}
/**
* @event selected_new.click-2x
*/
function RedirectRaiting(UXMouseEvent $e = null)
{
$this->form('maingame')->Pda->content->RankingBtn();
$this->form('maingame')->Pda->content->Pda_Ranking->content->EnemyInListBtn();
}
/**
* @event frame.click-Left
*/
function HideCharacter(UXMouseEvent $e = null)
{
if ($this->selected_new->opacity == 0.35)
{
$this->selected_new->opacity = 0;
$this->bio->hide();
}
}
function AddEnemyContacts()
{
$this->name->show();
$this->community->show();
$this->community_desc->show();
$this->rank->show();
$this->rank_desc->show();
$this->relationship->show();
$this->relationship_desc->show();
$this->reputation->show();
$this->reputation_desc->show();
$this->online_icon->show();
$this->icon->show();
if ($this->bio->visible) $this->bio->hide();
}
function DeleteEnemyContacts()
{
$this->name->hide();
$this->community->hide();
$this->community_desc->hide();
$this->rank->hide();
$this->rank_desc->hide();
$this->relationship->hide();
$this->relationship_desc->hide();
$this->reputation->hide();
$this->reputation_desc->hide();
$this->online_icon->hide();
$this->icon->hide();
$this->selected_new->opacity = 0;
if ($this->bio->visible) $this->bio->hide();
}
}