📄 userrptresp.java
字号:
// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi
// Source File Name: UserrptResp.java
package spApi;
import java.io.OutputStream;
import java.io.PrintStream;
// Referenced classes of package spApi:
// SGIP_Command, MsgHead
public class UserrptResp extends SGIP_Command
{
private static final int CommandLength = 9;
private static final int CommandID = 0x80000011;
int Result;
public UserrptResp(long l, int i)
{
super(l, 9, 0x80000011);
bodybytes[0] = SGIP_Command.IntToByte(i);
Result = i;
}
public UserrptResp(MsgHead msghead)
{
super(msghead, 9, 0x80000011);
}
public UserrptResp(int i)
{
super(9, 0x80000011);
bodybytes[0] = SGIP_Command.IntToByte(i);
Result = i;
}
public void SetResult(int i)
{
bodybytes[0] = SGIP_Command.IntToByte(i);
Result = i;
}
public int write(OutputStream outputstream)
{
try
{
byte abyte0[] = new byte[TotalLength];
SGIP_Command.BytesCopy(head.Head, abyte0, 0, 19, 0);
SGIP_Command.BytesCopy(bodybytes, abyte0, 0, TotalLength - 20 - 1, 20);
outputstream.write(abyte0);
return 0;
}
catch(Exception exception)
{
System.out.println(exception.toString());
}
return -1;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -