Create client.session package

This commit is contained in:
apple502j 2023-08-27 18:05:37 +09:00
parent 5235c4de6c
commit 29200696d4
No known key found for this signature in database
GPG Key ID: AFDA4829AC6D8993
36 changed files with 37 additions and 37 deletions

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_8186 net/minecraft/client/util/BanReason
CLASS net/minecraft/class_8186 net/minecraft/client/session/BanReason
FIELD field_42904 description Lnet/minecraft/class_2561;
METHOD <init> (Ljava/lang/String;ILjava/lang/String;)V
ARG 3 id

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_7588 net/minecraft/client/util/Bans
CLASS net/minecraft/class_7588 net/minecraft/client/session/Bans
FIELD field_39720 TEMPORARY_TITLE Lnet/minecraft/class_2561;
FIELD field_39721 PERMANENT_TITLE Lnet/minecraft/class_2561;
FIELD field_46009 NAME_TITLE Lnet/minecraft/class_2561;

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_7853 net/minecraft/client/util/ProfileKeys
CLASS net/minecraft/class_7853 net/minecraft/client/session/ProfileKeys
FIELD field_40800 MISSING Lnet/minecraft/class_7853;
METHOD method_46522 fetchKeyPair ()Ljava/util/concurrent/CompletableFuture;
METHOD method_46523 isExpired ()Z

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_7434 net/minecraft/client/util/ProfileKeysImpl
CLASS net/minecraft/class_7434 net/minecraft/client/session/ProfileKeysImpl
COMMENT A class to fetch, load, and save the player's public and private keys.
FIELD field_39074 LOGGER Lorg/slf4j/Logger;
FIELD field_39075 PROFILE_KEYS_PATH Ljava/nio/file/Path;

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_320 net/minecraft/client/util/Session
CLASS net/minecraft/class_320 net/minecraft/client/session/Session
FIELD field_1982 username Ljava/lang/String;
FIELD field_1983 accessToken Ljava/lang/String;
FIELD field_1984 accountType Lnet/minecraft/class_320$class_321;

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_7855 net/minecraft/client/report/AbuseReport
CLASS net/minecraft/class_7855 net/minecraft/client/session/report/AbuseReport
FIELD field_40813 reportId Ljava/util/UUID;
FIELD field_40814 currentTime Ljava/time/Instant;
FIELD field_40815 reportedPlayerUuid Ljava/util/UUID;

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_7574 net/minecraft/client/report/AbuseReportContext
CLASS net/minecraft/class_7574 net/minecraft/client/session/report/AbuseReportContext
FIELD field_39675 MAX_LOGS I
FIELD field_40819 sender Lnet/minecraft/class_7563;
FIELD field_40820 environment Lnet/minecraft/class_7569;

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_7573 net/minecraft/client/report/AbuseReportReason
CLASS net/minecraft/class_7573 net/minecraft/client/session/report/AbuseReportReason
FIELD field_39671 id Ljava/lang/String;
FIELD field_39672 text Lnet/minecraft/class_2561;
FIELD field_39673 description Lnet/minecraft/class_2561;

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_7563 net/minecraft/client/report/AbuseReportSender
CLASS net/minecraft/class_7563 net/minecraft/client/session/report/AbuseReportSender
METHOD method_44561 canSendReports ()Z
METHOD method_44562 create (Lnet/minecraft/class_7569;Lcom/mojang/authlib/minecraft/UserApiService;)Lnet/minecraft/class_7563;
ARG 0 environment

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_8776 net/minecraft/client/report/AbuseReportType
CLASS net/minecraft/class_8776 net/minecraft/client/session/report/AbuseReportType
FIELD field_46067 name Ljava/lang/String;
METHOD <init> (Ljava/lang/String;ILjava/lang/String;)V
ARG 3 name

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_7566 net/minecraft/client/report/ChatAbuseReport
CLASS net/minecraft/class_7566 net/minecraft/client/session/report/ChatAbuseReport
FIELD field_46059 selectedMessages Lit/unimi/dsi/fastutil/ints/IntSet;
METHOD method_44569 toggleMessageSelection (ILcom/mojang/authlib/minecraft/report/AbuseReportLimits;)V
ARG 1 index

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_7757 net/minecraft/client/report/ContextMessageCollector
CLASS net/minecraft/class_7757 net/minecraft/client/session/report/ContextMessageCollector
FIELD field_40498 leadingContextMessageCount I
FIELD field_40499 contextMessages Ljava/util/List;
METHOD <init> (I)V

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_7541 net/minecraft/client/report/MessagesListAdder
CLASS net/minecraft/class_7541 net/minecraft/client/session/report/MessagesListAdder
FIELD field_39581 log Lnet/minecraft/class_7555;
FIELD field_39582 reportablePredicate Ljava/util/function/Predicate;
FIELD field_40439 contextMessageCollector Lnet/minecraft/class_7757;

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_7569 net/minecraft/client/report/ReporterEnvironment
CLASS net/minecraft/class_7569 net/minecraft/client/session/report/ReporterEnvironment
METHOD method_44586 ofIntegratedServer ()Lnet/minecraft/class_7569;
METHOD method_44587 ofRealm (Lnet/minecraft/class_4877;)Lnet/minecraft/class_7569;
ARG 0 server

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_8777 net/minecraft/client/report/SkinAbuseReport
CLASS net/minecraft/class_8777 net/minecraft/client/session/report/SkinAbuseReport
FIELD field_46069 skinSupplier Ljava/util/function/Supplier;
METHOD <init> (Ljava/util/UUID;Ljava/time/Instant;Ljava/util/UUID;Ljava/util/function/Supplier;)V
ARG 1 reportId

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_8773 net/minecraft/client/report/UsernameAbuseReport
CLASS net/minecraft/class_8773 net/minecraft/client/session/report/UsernameAbuseReport
FIELD field_46060 username Ljava/lang/String;
METHOD <init> (Ljava/util/UUID;Ljava/time/Instant;Ljava/util/UUID;Ljava/lang/String;)V
ARG 1 reportId

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_7555 net/minecraft/client/report/log/ChatLog
CLASS net/minecraft/class_7555 net/minecraft/client/session/report/log/ChatLog
COMMENT A chat log holds received message entries with sequential indices, where
COMMENT newer entries receive bigger indices.
COMMENT

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_7629 net/minecraft/client/report/log/ChatLogEntry
CLASS net/minecraft/class_7629 net/minecraft/client/session/report/log/ChatLogEntry
COMMENT An entry logged to {@link ChatLog}.
FIELD field_40803 CODEC Lcom/mojang/serialization/Codec;
METHOD method_46538 getType ()Lnet/minecraft/class_7629$class_7854;

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_7557 net/minecraft/client/report/log/ReceivedMessage
CLASS net/minecraft/class_7557 net/minecraft/client/session/report/log/ReceivedMessage
COMMENT A message received by the client and stored in {@link ChatLog}.
COMMENT
COMMENT <p>This includes both {@linkplain net.minecraft.network.packet.s2c.play.ChatMessageS2CPacket

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_8561 net/minecraft/client/util/telemetry/GameLoadTimeEvent
CLASS net/minecraft/class_8561 net/minecraft/client/session/telemetry/GameLoadTimeEvent
FIELD field_44842 INSTANCE Lnet/minecraft/class_8561;
FIELD field_44843 LOGGER Lorg/slf4j/Logger;
FIELD field_44844 ticker Lcom/google/common/base/Ticker;

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_7977 net/minecraft/client/util/telemetry/PerformanceMetricsEvent
CLASS net/minecraft/class_7977 net/minecraft/client/session/telemetry/PerformanceMetricsEvent
FIELD field_41510 MAX_MEMORY_KB J
FIELD field_41511 frameRateSamples Lit/unimi/dsi/fastutil/longs/LongList;
FIELD field_41512 renderTimeSamples Lit/unimi/dsi/fastutil/longs/LongList;

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_7973 net/minecraft/client/util/telemetry/PropertyMap
CLASS net/minecraft/class_7973 net/minecraft/client/session/telemetry/PropertyMap
FIELD field_41496 backingMap Ljava/util/Map;
METHOD <init> (Ljava/util/Map;)V
ARG 1 backingMap

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_7976 net/minecraft/client/util/telemetry/SampleEvent
CLASS net/minecraft/class_7976 net/minecraft/client/session/telemetry/SampleEvent
FIELD field_41505 INTERVAL_IN_MILLIS I
FIELD field_41506 BATCH_SIZE I
FIELD field_41507 sampleCount I

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_7962 net/minecraft/client/util/telemetry/SentTelemetryEvent
CLASS net/minecraft/class_7962 net/minecraft/client/session/telemetry/SentTelemetryEvent
FIELD field_41430 CODEC Lcom/mojang/serialization/Codec;
METHOD method_47711 createEvent (Lcom/mojang/authlib/minecraft/TelemetrySession;)Lcom/mojang/authlib/minecraft/TelemetryEvent;
ARG 1 session

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_7969 net/minecraft/client/util/telemetry/TelemetryEventProperty
CLASS net/minecraft/class_7969 net/minecraft/client/session/telemetry/TelemetryEventProperty
FIELD field_41457 DATE_TIME_FORMATTER Ljava/time/format/DateTimeFormatter;
METHOD method_47743 getTitle ()Lnet/minecraft/class_5250;
METHOD method_47744 (Lcom/mojang/authlib/minecraft/TelemetryPropertyContainer;Ljava/lang/String;Lnet/minecraft/class_7969$class_7971;)V

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_7966 net/minecraft/client/util/telemetry/TelemetryEventType
CLASS net/minecraft/class_7966 net/minecraft/client/session/telemetry/TelemetryEventType
FIELD field_41435 CODEC Lcom/mojang/serialization/Codec;
FIELD field_41436 WORLD_LOADED Lnet/minecraft/class_7966;
FIELD field_41437 PERFORMANCE_METRICS Lnet/minecraft/class_7966;

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_7968 net/minecraft/client/util/telemetry/TelemetryLogManager
CLASS net/minecraft/class_7968 net/minecraft/client/session/telemetry/TelemetryLogManager
FIELD field_41452 LOGGER Lorg/slf4j/Logger;
FIELD field_41453 FILE_EXTENSION Ljava/lang/String;
FIELD field_41454 RETENTION_DAYS I

View File

@ -0,0 +1,3 @@
CLASS net/minecraft/class_7964 net/minecraft/client/session/telemetry/TelemetryLogger
METHOD log (Lnet/minecraft/class_7962;)V
ARG 1 event

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_6628 net/minecraft/client/util/telemetry/TelemetryManager
CLASS net/minecraft/class_6628 net/minecraft/client/session/telemetry/TelemetryManager
FIELD field_34948 NEXT_WORKER_ID Ljava/util/concurrent/atomic/AtomicInteger;
FIELD field_34949 EXECUTOR Ljava/util/concurrent/Executor;
FIELD field_41426 userApiService Lcom/mojang/authlib/minecraft/UserApiService;

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_7965 net/minecraft/client/util/telemetry/TelemetrySender
CLASS net/minecraft/class_7965 net/minecraft/client/session/telemetry/TelemetrySender
FIELD field_41434 NOOP Lnet/minecraft/class_7965;
METHOD decorate (Ljava/util/function/Consumer;)Lnet/minecraft/class_7965;
ARG 1 decorationAdder

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_7963 net/minecraft/client/util/telemetry/ThreadedLogWriter
CLASS net/minecraft/class_7963 net/minecraft/client/session/telemetry/ThreadedLogWriter
FIELD field_41431 LOGGER Lorg/slf4j/Logger;
FIELD field_41432 writer Lnet/minecraft/class_7935;
FIELD field_41433 executor Lnet/minecraft/class_3846;

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_7981 net/minecraft/client/util/telemetry/WorldLoadTimesEvent
CLASS net/minecraft/class_7981 net/minecraft/client/session/telemetry/WorldLoadTimesEvent
FIELD field_41519 newWorld Z
FIELD field_41520 worldLoadTime Ljava/time/Duration;
METHOD <init> (ZLjava/time/Duration;)V

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_7979 net/minecraft/client/util/telemetry/WorldLoadedEvent
CLASS net/minecraft/class_7979 net/minecraft/client/session/telemetry/WorldLoadedEvent
FIELD field_41516 sent Z
FIELD field_41517 gameMode Lnet/minecraft/class_7969$class_7971;
FIELD field_41518 brand Ljava/lang/String;

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_7975 net/minecraft/client/util/telemetry/WorldSession
CLASS net/minecraft/class_7975 net/minecraft/client/session/telemetry/WorldSession
FIELD field_41499 sessionId Ljava/util/UUID;
FIELD field_41500 sender Lnet/minecraft/class_7965;
FIELD field_41501 worldLoadedEvent Lnet/minecraft/class_7979;

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_7982 net/minecraft/client/util/telemetry/WorldUnloadedEvent
CLASS net/minecraft/class_7982 net/minecraft/client/session/telemetry/WorldUnloadedEvent
FIELD field_41521 startTime Ljava/util/Optional;
FIELD field_41522 ticksSinceLoad J
FIELD field_41523 lastTick J

View File

@ -1,3 +0,0 @@
CLASS net/minecraft/class_7964 net/minecraft/client/util/telemetry/TelemetryLogger
METHOD log (Lnet/minecraft/class_7962;)V
ARG 1 event