forked from TuxCoding/FastLogin
Document event behavior that is platform specific
This commit is contained in:
@ -28,6 +28,9 @@ package com.github.games647.fastlogin.core.shared.event;
|
|||||||
import com.github.games647.fastlogin.core.StoredProfile;
|
import com.github.games647.fastlogin.core.StoredProfile;
|
||||||
import com.github.games647.fastlogin.core.shared.LoginSession;
|
import com.github.games647.fastlogin.core.shared.LoginSession;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This event fires if the plugin performs an auto login on the platform where the login plugin is.
|
||||||
|
*/
|
||||||
public interface FastLoginAutoLoginEvent extends FastLoginCancellableEvent {
|
public interface FastLoginAutoLoginEvent extends FastLoginCancellableEvent {
|
||||||
LoginSession getSession();
|
LoginSession getSession();
|
||||||
StoredProfile getProfile();
|
StoredProfile getProfile();
|
||||||
|
@ -28,6 +28,9 @@ package com.github.games647.fastlogin.core.shared.event;
|
|||||||
import com.github.games647.fastlogin.core.StoredProfile;
|
import com.github.games647.fastlogin.core.StoredProfile;
|
||||||
import com.github.games647.fastlogin.core.shared.LoginSource;
|
import com.github.games647.fastlogin.core.shared.LoginSource;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This action represents the login attempt of a player before the plugin makes any online mode actions.
|
||||||
|
*/
|
||||||
public interface FastLoginPreLoginEvent {
|
public interface FastLoginPreLoginEvent {
|
||||||
|
|
||||||
String getUsername();
|
String getUsername();
|
||||||
|
@ -27,6 +27,9 @@ package com.github.games647.fastlogin.core.shared.event;
|
|||||||
|
|
||||||
import com.github.games647.fastlogin.core.StoredProfile;
|
import com.github.games647.fastlogin.core.StoredProfile;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This even represents the opt-in premium status change by request.
|
||||||
|
*/
|
||||||
public interface FastLoginPremiumToggleEvent {
|
public interface FastLoginPremiumToggleEvent {
|
||||||
|
|
||||||
StoredProfile getProfile();
|
StoredProfile getProfile();
|
||||||
|
Reference in New Issue
Block a user