-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathChatEvent.php
More file actions
113 lines (98 loc) · 2.69 KB
/
ChatEvent.php
File metadata and controls
113 lines (98 loc) · 2.69 KB
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: player_events.proto
namespace Df\Plugin;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\GPBUtil;
use Google\Protobuf\RepeatedField;
/**
* Generated from protobuf message <code>df.plugin.ChatEvent</code>
*/
class ChatEvent extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>string player_uuid = 1 [json_name = "playerUuid"];</code>
*/
protected $player_uuid = '';
/**
* Generated from protobuf field <code>string name = 2 [json_name = "name"];</code>
*/
protected $name = '';
/**
* Generated from protobuf field <code>string message = 3 [json_name = "message"];</code>
*/
protected $message = '';
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $player_uuid
* @type string $name
* @type string $message
* }
*/
public function __construct($data = NULL) {
\Df\Plugin\GPBMetadata\PlayerEvents::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>string player_uuid = 1 [json_name = "playerUuid"];</code>
* @return string
*/
public function getPlayerUuid()
{
return $this->player_uuid;
}
/**
* Generated from protobuf field <code>string player_uuid = 1 [json_name = "playerUuid"];</code>
* @param string $var
* @return $this
*/
public function setPlayerUuid($var)
{
GPBUtil::checkString($var, True);
$this->player_uuid = $var;
return $this;
}
/**
* Generated from protobuf field <code>string name = 2 [json_name = "name"];</code>
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Generated from protobuf field <code>string name = 2 [json_name = "name"];</code>
* @param string $var
* @return $this
*/
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
}
/**
* Generated from protobuf field <code>string message = 3 [json_name = "message"];</code>
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* Generated from protobuf field <code>string message = 3 [json_name = "message"];</code>
* @param string $var
* @return $this
*/
public function setMessage($var)
{
GPBUtil::checkString($var, True);
$this->message = $var;
return $this;
}
}