Package edu.wisc.game.rest

## Class ChatWriteReport

- java.lang.Object
- - edu.wisc.game.rest.ResponseBase
  - - edu.wisc.game.rest.FileWriteReport
    - - edu.wisc.game.rest.ChatWriteReport

-     public class ChatWriteReport
      extends FileWriteReport

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static String` | `findPartnerPlayerId​(String moverPlayerId)` |
    `static FileWriteReport` | `writeChat​(String moverPlayerId, String text)` | Records a chat line (a text message sent by a 2PG player to his partner)

    - ### Methods inherited from class edu.wisc.game.rest.FileWriteReport

      `getByteCnt, getPath, setByteCnt, setPath`

    - ### Methods inherited from class edu.wisc.game.rest.ResponseBase

      `getErrmsg, getError, hasError, setErrmsg, setError`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### findPartnerPlayerId

          public static String findPartnerPlayerId​(String moverPlayerId)

    - #### writeChat

          public static FileWriteReport writeChat​(String moverPlayerId,
                                                  String text)

      Records a chat line (a text message sent by a 2PG player to his partner)
      Parameters:
        `moverPlayerId` - The player who sent the message
        `text` - The text of the message, entered by the player, to record