mirror of
https://github.com/Melledy/Nebula.git
synced 2026-09-20 01:29:54 +02:00
Implement heartlink invite
This commit is contained in:
@@ -25,6 +25,7 @@ import emu.nebula.game.quest.QuestCondType;
|
||||
import emu.nebula.net.NetMsgId;
|
||||
import emu.nebula.proto.Notify.Skin;
|
||||
import emu.nebula.proto.Notify.SkinChange;
|
||||
import emu.nebula.proto.Public.AffinityInfo;
|
||||
import emu.nebula.proto.Public.Char;
|
||||
import emu.nebula.proto.Public.CharGemPreset;
|
||||
import emu.nebula.proto.Public.CharGemSlot;
|
||||
@@ -861,6 +862,15 @@ public class GameCharacter implements GameDatabaseObject {
|
||||
return proto;
|
||||
}
|
||||
|
||||
public AffinityInfo getAffinityProto() {
|
||||
var proto = AffinityInfo.newInstance()
|
||||
.setCharId(this.getCharId())
|
||||
.setAffinityLevel(this.getAffinityLevel())
|
||||
.setAffinityExp(this.getAffinityExp());
|
||||
|
||||
return proto;
|
||||
}
|
||||
|
||||
// Database fix
|
||||
|
||||
@PreLoad
|
||||
|
||||
Reference in New Issue
Block a user