(int id)
| 39 | } |
| 40 | |
| 41 | public final void attach(int id) { |
| 42 | // config: create Buf by id. |
| 43 | BBuf buf = new BBuf(); |
| 44 | buf.setId(id); |
| 45 | buf.setAttachTime(System.currentTimeMillis()); |
| 46 | buf.setContinueTime(3600 * 1000); // 1 hour |
| 47 | buf.setExtra(new BBufExtra()); |
| 48 | |
| 49 | (new BufExtra(buf, buf.getExtra_Game_Buf_BBufExtra())).Attach(this); |
| 50 | } |
| 51 | |
| 52 | public final void attach(Buf buf) { |
| 53 | // config: conflict 等 |
no test coverage detected