Method | Description | |
---|---|---|
PeekNext ( ) : object |
Read next piece of data from the stream without advancing the "current" item.
|
|
PhotonStream ( bool write, object incomingData ) : System |
Creates a stream and initializes it. Used by PUN internally.
|
|
ReceiveNext ( ) : object |
Read next piece of data from the stream when isReading is true.
|
|
SendNext ( object obj ) : void |
Add another piece of data to send it when isWriting is true.
|
|
Serialize ( PhotonPlayer, &obj ) : void |
Will read or write the value, depending on the stream's isWriting value.
|
|
Serialize ( Quaternion &obj ) : void |
Will read or write the value, depending on the stream's isWriting value.
|
|
Serialize ( Vector2 &obj ) : void |
Will read or write the value, depending on the stream's isWriting value.
|
|
Serialize ( Vector3 &obj ) : void |
Will read or write the value, depending on the stream's isWriting value.
|
|
Serialize ( bool &myBool ) : void |
Will read or write the value, depending on the stream's isWriting value.
|
|
Serialize ( char &value ) : void |
Will read or write the value, depending on the stream's isWriting value.
|
|
Serialize ( float &obj ) : void |
Will read or write the value, depending on the stream's isWriting value.
|
|
Serialize ( int &myInt ) : void |
Will read or write the value, depending on the stream's isWriting value.
|
|
Serialize ( short &value ) : void |
Will read or write the value, depending on the stream's isWriting value.
|
|
Serialize ( string &value ) : void |
Will read or write the value, depending on the stream's isWriting value.
|
|
ToArray ( ) : object[] |
Turns the stream into a new object[].
|
public PhotonStream ( bool write, object incomingData ) : System | ||
write | bool | |
incomingData | object | |
return | System |
public Serialize ( PhotonPlayer, &obj ) : void | ||
obj | PhotonPlayer, | |
return | void |